[wp-trac] [WordPress Trac] #24920: Remove unused global $pagenow in multiple files

WordPress Trac noreply at wordpress.org
Thu Aug 1 23:55:25 UTC 2013


#24920: Remove unused global $pagenow in multiple files
--------------------------+-----------------------------
 Reporter:  jeremyfelt    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 An unused $pagenow global is called via:

 * `_wp_menu_output()` in `wp-admin/menu-header.php`
 * `media_upload_form()` in `wp-admin/includes/media.php`
 * `wp_link_pages` in `wp-includes/post-template.php`

 Attached patch removes these.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24920>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list