mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Better is_admin() check from filosofo and pishmishy. fixes #5487
git-svn-id: https://develop.svn.wordpress.org/trunk@6412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
define('WP_ADMIN', TRUE);
|
||||
|
||||
if ( defined('ABSPATH') )
|
||||
require_once( ABSPATH . 'wp-config.php');
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user