Globalize everything in vars.php. props duck_. fixes #17749.
git-svn-id: https://develop.svn.wordpress.org/trunk@18994 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0ea00a75d1
commit
e8946bf56a
@ -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