mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Initialize a variable. props maxcutler. fixes #21058.
git-svn-id: https://develop.svn.wordpress.org/trunk@21158 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4376,6 +4376,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
if ( !$posts_list )
|
||||
return array();
|
||||
|
||||
$struct = array();
|
||||
foreach ($posts_list as $entry) {
|
||||
if ( !current_user_can( 'edit_post', $entry['ID'] ) )
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user