mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-03 08:40:10 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user