[wp-trac] [WordPress Trac] #39589: PHP Notice if nothing selected on custom bulk action in Media Library.

WordPress Trac noreply at wordpress.org
Tue Jun 15 17:03:20 UTC 2021


#39589: PHP Notice if nothing selected on custom bulk action in Media Library.
-----------------------------------------------+---------------------------
 Reporter:  gitlost                            |       Owner:
                                               |  hellofromTonya
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:  5.8
Component:  Media                              |     Version:  4.7
 Severity:  normal                             |  Resolution:  fixed
 Keywords:  has-patch has-testing-info commit  |     Focuses:
-----------------------------------------------+---------------------------

Comment (by SergeyBiryukov):

 In [changeset:"51163" 51163]:
 {{{
 #!CommitTicketReference repository="" revision="51163"
 Quick/Bulk Edit: Ensure that `$post_ids` variable is initialized ahead of
 usage.

 This brings some consistency between similar fragments of `wp-
 admin/edit.php` and `wp-admin/upload.php`.

 Follow-up to [51111], [51161].

 See #39589, #53411.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39589#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list