From bece1ff7a5867c30a08ba794723b39f250f1d912 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 21 Jul 2017 13:39:59 +0000 Subject: [PATCH] Docs: Correct `$term_id` parameter description in `wp_xmlrpc_server::get_term_custom_fields()` and `::set_term_custom_fields()`. Props upadalavipul. Fixes #41397. git-svn-id: https://develop.svn.wordpress.org/trunk@41114 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-xmlrpc-server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php index ffeb102d27..06e818cc57 100644 --- a/src/wp-includes/class-wp-xmlrpc-server.php +++ b/src/wp-includes/class-wp-xmlrpc-server.php @@ -408,7 +408,7 @@ class wp_xmlrpc_server extends IXR_Server { * * @since 4.9.0 * - * @param int $post_id Post ID. + * @param int $term_id Term ID. * @return array Array of custom fields, if they exist. */ public function get_term_custom_fields( $term_id ) { @@ -437,7 +437,7 @@ class wp_xmlrpc_server extends IXR_Server { * * @since 4.9.0 * - * @param int $post_id Post ID. + * @param int $term_id Term ID. * @param array $fields Custom fields. */ public function set_term_custom_fields( $term_id, $fields ) {