Initialize a variable. props maxcutler. fixes #21058.

git-svn-id: http://core.svn.wordpress.org/trunk@21158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-06-28 19:04:42 +00:00
parent 63084e8efb
commit e0012c7e67
1 changed files with 1 additions and 0 deletions

View File

@ -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;