WordPress.org

Make WordPress Core

Ticket #21058: 21058.patch

File 21058.patch, 436 bytes (added by maxcutler, 22 months ago)
  • wp-includes/class-wp-xmlrpc-server.php

     
    43744374                if ( !$posts_list ) 
    43754375                        return array(); 
    43764376 
     4377                $struct = array(); 
    43774378                foreach ($posts_list as $entry) { 
    43784379                        if ( !current_user_can( 'edit_post', $entry['ID'] ) ) 
    43794380                                continue;