Remove extra underscore from four XML-RPC filters. props maxcutler. fixes #20549.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
58ef081f06
commit
1214aa9870
|
@ -503,7 +503,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
|
|
||||||
unset( $_taxonomy['update_count_callback'] );
|
unset( $_taxonomy['update_count_callback'] );
|
||||||
|
|
||||||
return apply_filters( 'xmlrpc__prepare_taxonomy', $_taxonomy, $taxonomy );
|
return apply_filters( 'xmlrpc_prepare_taxonomy', $_taxonomy, $taxonomy );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -528,7 +528,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
// Count we are happy to return as an Integer because people really shouldn't use Terms that much.
|
// Count we are happy to return as an Integer because people really shouldn't use Terms that much.
|
||||||
$_term['count'] = intval( $_term['count'] );
|
$_term['count'] = intval( $_term['count'] );
|
||||||
|
|
||||||
return apply_filters( 'xmlrpc__prepare_term', $_term, $term );
|
return apply_filters( 'xmlrpc_prepare_term', $_term, $term );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -640,7 +640,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return apply_filters( 'xmlrpc__prepare_post', $_post, $post, $fields );
|
return apply_filters( 'xmlrpc_prepare_post', $_post, $post, $fields );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -697,7 +697,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
$_post_type['taxonomies'] = get_object_taxonomies( $_post_type['name'] );
|
$_post_type['taxonomies'] = get_object_taxonomies( $_post_type['name'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
return apply_filters( 'xmlrpc__prepare_post_type', $_post_type, $post_type );
|
return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue