mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2720 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
$mode = 'bookmarklet';
|
||||
require_once('admin.php');
|
||||
|
||||
if ($user_level == 0)
|
||||
if ( ! current_user_can('edit_posts') )
|
||||
die ("Cheatin' uh?");
|
||||
|
||||
if ('b' == $a) {
|
||||
|
||||
Reference in New Issue
Block a user