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

WordPress Trac noreply at wordpress.org
Mon Jun 15 16:40:15 UTC 2020


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

 * keywords:   => has-patch


Comment:

 Hi there, welcome back to WordPress Trac!

 Good catch, thanks for the report. I think the preferred fix here would be
 to return after `set-screen-option` if the value is unchanged, same as
 before 5.4.2. See [attachment:"50392.diff"].

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


More information about the wp-trac mailing list