From 281ad053fce8d631f4576f4b719441320c8c3546 Mon Sep 17 00:00:00 2001 From: duck_ Date: Thu, 3 May 2012 15:59:50 +0000 Subject: [PATCH] Declare visibility of _prepare_post_type() as protected. See #20566. git-svn-id: http://core.svn.wordpress.org/trunk@20714 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-xmlrpc-server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php index 9f0caeb9ae..a2b9f95f3b 100644 --- a/wp-includes/class-wp-xmlrpc-server.php +++ b/wp-includes/class-wp-xmlrpc-server.php @@ -689,7 +689,7 @@ class wp_xmlrpc_server extends IXR_Server { * @param array $fields The subset of post fields to return * @return array The prepared post type data */ - public function _prepare_post_type( $post_type, $fields ) { + protected function _prepare_post_type( $post_type, $fields ) { $_post_type = array( 'name' => $post_type->name, 'label' => $post_type->label,