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

WordPress Trac noreply at wordpress.org
Wed Jul 1 09:47:08 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:
-----------------------------------+------------------------

Comment (by SergeyBiryukov):

 In [changeset:"48249" 48249]:
 {{{
 #!CommitTicketReference repository="" revision="48249"
 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 4.9 branch.
 Fixes #50392.
 }}}

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


More information about the wp-trac mailing list