[wp-trac] [WordPress Trac] #34443: Correct type for global variable docs in add_submenu_page() (was: Fix global vals type : wp-admin/includes/plugin.php)

WordPress Trac noreply at wordpress.org
Mon Oct 26 08:25:08 UTC 2015


#34443: Correct type for global variable docs in add_submenu_page()
--------------------------+------------------------------
 Reporter:  NExt-Season   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => has-patch
 * type:  enhancement => defect (bug)


Old description:

> Fix global vals type : wp-admin/includes/plugin.php

New description:

 Fix global vars type in wp-admin/includes/plugin.php

--

Comment:

 Hey there, thanks for the patch!

 It would be great to have descriptions for those globals as well, if
 possible.

 Note: `get_admin_page_parent()` defines `$_wp_real_parent_file` as a
 string, even though it's an array. Should be fixed too I guess.

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


More information about the wp-trac mailing list