Make WordPress Core


Ignore:
Timestamp:
04/28/2012 09:22:07 PM (12 years ago)
Author:
nacin
Message:

Use correct variable. Caught by unit tests. see #20566.

File:
1 edited

Legend:

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

    r20632 r20635  
    699699
    700700        if ( in_array( 'taxonomies', $fields ) )
    701             $_post_type['taxonomies'] = get_object_taxonomies( $_post_type->name, 'names' );
     701            $_post_type['taxonomies'] = get_object_taxonomies( $post_type->name, 'names' );
    702702
    703703        return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type );
Note: See TracChangeset for help on using the changeset viewer.