Ticket #21386: 21386.diff
File 21386.diff, 706 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/class-wp-xmlrpc-server.php
811 811 '_builtin' => (bool) $post_type->_builtin, 812 812 'has_archive' => (bool) $post_type->has_archive, 813 813 'supports' => get_all_post_type_supports( $post_type->name ), 814 'user_can_create' => current_user_can( $post_type->cap->create_posts ), 815 'user_can_edit' => current_user_can( $post_type->cap->edit_posts ), 816 'user_can_publish' => current_user_can( $post_type->cap->publish_posts ), 814 817 ); 815 818 816 819 if ( in_array( 'labels', $fields ) ) {