[wp-trac] [WordPress Trac] #20062: Don't use $title as var name if it's in global context
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 17 19:08:34 UTC 2012
#20062: Don't use $title as var name if it's in global context
----------------------------+-----------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Administration | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------
In `admin-header.php` we declare `$title` as a global variable. `$title`
should be used for setting up the title of the page.
In `wp-admin/themes.php` line 240 we are using `$title` as a variable
name, but not for setting up the title.
A result of this is, that `get_admin_page_title()` can return a wrong
title. (In this case a broken theme name.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20062>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list