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

WordPress Trac noreply at wordpress.org
Wed Jul 1 09:45:00 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:"48246" 48246]:
 #!CommitTicketReference repository="" revision="48246"
 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.2 branch.
 Fixes #50392.

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

More information about the wp-trac mailing list