[wp-trac] [WordPress Trac] #54798: Check for int in menu priority

WordPress Trac noreply at wordpress.org
Wed Jan 12 23:38:43 UTC 2022


#54798: Check for int in menu priority
---------------------------------------------+-----------------------
 Reporter:  kirtan95                         |       Owner:  audrasjb
     Type:  defect (bug)                     |      Status:  reopened
 Priority:  normal                           |   Milestone:  6.0
Component:  Administration                   |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by audrasjb):

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


Comment:

 Looking back on the code committed in [52569], it looks like there is a
 missing indentation in the translators comment. Also, `/* translators: %s:
 add_submenu_page() */` should probably be replaced with `/* translators:
 %s: add_menu_page() */`.

 Reopening to address those issues.

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


More information about the wp-trac mailing list