mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Globalize everything in vars.php. props duck_. fixes #17749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97f9966f3a
commit
c17df0bb43
@ -12,6 +12,10 @@
|
|||||||
* @package WordPress
|
* @package WordPress
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
global $pagenow,
|
||||||
|
$is_lynx, $is_gecko, $is_winIE, $is_macIE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone, $is_IE,
|
||||||
|
$is_apache, $is_IIS, $is_iis7;
|
||||||
|
|
||||||
// On which page are we ?
|
// On which page are we ?
|
||||||
if ( is_admin() ) {
|
if ( is_admin() ) {
|
||||||
// wp-admin pages are checked more carefully
|
// wp-admin pages are checked more carefully
|
||||||
|
Loading…
Reference in New Issue
Block a user