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

WordPress Trac noreply at wordpress.org
Wed Jul 1 09:43:40 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 fixed-major  |     Focuses:
-----------------------------------+------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48244" 48244]:
 {{{
 #!CommitTicketReference repository="" revision="48244"
 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.

 Follow-up to [47951].

 Props Chouby, sswells, SergeyBiryukov.
 Merges [48241] to the 5.4 branch.
 Fixes #50392.
 }}}

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


More information about the wp-trac mailing list