[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 8 22:06:50 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:
-----------------------------------------------+---------------------------
Changes (by whyisjake):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51111" 51111]:
 {{{
 #!CommitTicketReference repository="" revision="51111"
 Media: Ensure that post_id variable is initiated ahead of usage.

 This prevents warnings when using custom bulk actions in the media
 library.

 Props gitlost, achbed, Boniu91, wpgurudev, hellofromTonya.

 Fixes #39589.
 }}}

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


More information about the wp-trac mailing list