mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Fix typos in comments. fixes #24337.
git-svn-id: http://core.svn.wordpress.org/trunk@24255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fe67f477d1
commit
5679830030
@ -562,13 +562,13 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
if ( ! is_array( $_term) )
|
if ( ! is_array( $_term) )
|
||||||
$_term = get_object_vars( $_term );
|
$_term = get_object_vars( $_term );
|
||||||
|
|
||||||
// For Intergers which may be largeer than XMLRPC supports ensure we return strings.
|
// For integers which may be larger than XML-RPC supports ensure we return strings.
|
||||||
$_term['term_id'] = strval( $_term['term_id'] );
|
$_term['term_id'] = strval( $_term['term_id'] );
|
||||||
$_term['term_group'] = strval( $_term['term_group'] );
|
$_term['term_group'] = strval( $_term['term_group'] );
|
||||||
$_term['term_taxonomy_id'] = strval( $_term['term_taxonomy_id'] );
|
$_term['term_taxonomy_id'] = strval( $_term['term_taxonomy_id'] );
|
||||||
$_term['parent'] = strval( $_term['parent'] );
|
$_term['parent'] = strval( $_term['parent'] );
|
||||||
|
|
||||||
// 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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user