WordPress.org

Make WordPress Core

Changeset 20714


Ignore:
Timestamp:
05/03/2012 03:59:50 PM (9 years ago)
Author:
duck_
Message:

Declare visibility of _prepare_post_type() as protected. See #20566.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r20703 r20714  
    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,
Note: See TracChangeset for help on using the changeset viewer.