Ensure the requires for the admin bootstrap are documented in all wp-admin/user/ files.
Props NikV for the initial patch. Fixes #29111. Built from https://develop.svn.wordpress.org/trunk@30228 git-svn-id: http://core.svn.wordpress.org/trunk@30228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
* @since 3.1.0
|
||||
*/
|
||||
|
||||
/** Load WordPress Administration Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
require( ABSPATH . 'wp-admin/user-edit.php' );
|
||||
|
||||
Reference in New Issue
Block a user