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
This commit is contained in:
parent
668d465aa3
commit
bece1ff7a5
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user