mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -13,8 +13,6 @@ require_once('admin-header.php');
|
||||
<?php
|
||||
if ( current_user_can('edit_pages') ) {
|
||||
$action = 'post';
|
||||
get_currentuserinfo();
|
||||
|
||||
$post = get_default_post_to_edit();
|
||||
$post->post_type = 'page';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user