Skip to content

Commit 86280c6

Browse files
committed
Declare visibility of _prepare_post_type() as protected. See #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20714 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8ecb207 commit 86280c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-includes/class-wp-xmlrpc-server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ protected function _prepare_post( $post, $fields ) {
689689
* @param array $fields The subset of post fields to return
690690
* @return array The prepared post type data
691691
*/
692-
public function _prepare_post_type( $post_type, $fields ) {
692+
protected function _prepare_post_type( $post_type, $fields ) {
693693
$_post_type = array(
694694
'name' => $post_type->name,
695695
'label' => $post_type->label,

0 commit comments

Comments
 (0)