WordPress.org

Make WordPress Core

Changeset 20604


Ignore:
Timestamp:
04/25/2012 10:28:43 PM (6 years ago)
Author:
nacin
Message:

Remove extra underscore from four XML-RPC filters. props maxcutler. fixes #20549.

File:
1 edited

Legend:

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

    r20583 r20604  
    504504        unset( $_taxonomy['update_count_callback'] );
    505505
    506         return apply_filters( 'xmlrpc__prepare_taxonomy', $_taxonomy, $taxonomy );
     506        return apply_filters( 'xmlrpc_prepare_taxonomy', $_taxonomy, $taxonomy );
    507507    }
    508508
     
    529529        $_term['count'] = intval( $_term['count'] );
    530530
    531         return apply_filters( 'xmlrpc__prepare_term', $_term, $term );
     531        return apply_filters( 'xmlrpc_prepare_term', $_term, $term );
    532532    }
    533533
     
    641641        }
    642642
    643         return apply_filters( 'xmlrpc__prepare_post', $_post, $post, $fields );
     643        return apply_filters( 'xmlrpc_prepare_post', $_post, $post, $fields );
    644644    }
    645645
     
    698698        }
    699699
    700         return apply_filters( 'xmlrpc__prepare_post_type', $_post_type, $post_type );
     700        return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type );
    701701    }
    702702
Note: See TracChangeset for help on using the changeset viewer.