[wp-trac] [WordPress Trac] #50392: set-screen-option hook broken in 5.4.2

WordPress Trac noreply at wordpress.org
Tue Jun 30 21:52:01 UTC 2020


#50392: set-screen-option hook broken in 5.4.2
----------------------------+------------------------
 Reporter:  sswells         |       Owner:  whyisjake
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  5.4.3
Component:  Administration  |     Version:  5.4.2
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48241" 48241]:
 {{{
 #!CommitTicketReference repository="" revision="48241"
 Administration: Pass the result of `set-screen-option` filter to the new
 `set_screen_option_{$option}` filter to ensure backward compatibility.

 Rename the `$keep` parameter of both filters to `$screen_option` for
 clarity, update the documentation to better reflect its purpose.

 Props Chouby, sswells, SergeyBiryukov.
 Fixes #50392.
 }}}

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


More information about the wp-trac mailing list