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
This commit is contained in:
parent
eb8e069932
commit
281ad053fc
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue