[wp-trac] [WordPress Trac] #50036: WP_Screen action property not correct on post edit pages

WordPress Trac noreply at wordpress.org
Tue Jan 26 05:25:57 UTC 2021


#50036: WP_Screen action property not correct on post edit pages
-------------------------+-----------------------------
 Reporter:  DarkoG       |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:
 Severity:  minor        |  Resolution:  wontfix
 Keywords:               |     Focuses:  administration
-------------------------+-----------------------------
Changes (by peterwilsoncc):

 * status:  new => closed
 * version:  5.5 =>
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the ticket @DarkoG.

 You are quite correct, the `action` name could be better if it was
 consistent on the new and edit posts page. Unfortunately it's been
 different for quite some time now so changing it could cause backward
 compatibility issues with theme and plugin developers.

 `get_current_screen()->base` and a couple of other attributes are in
 common so you may be able to use those to avoid all the additional if
 conditions.

 Due to the back-compatibility issues, I am going to close this off as
 wontfix.

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


More information about the wp-trac mailing list