Docs: Correct `$term_id` parameter description in `wp_xmlrpc_server::get_term_custom_fields()` and `::set_term_custom_fields()`.
Props upadalavipul. Fixes #41397. Built from https://develop.svn.wordpress.org/trunk@41114 git-svn-id: http://core.svn.wordpress.org/trunk@40954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
118dba300e
commit
e8e68a50f8
|
@ -408,7 +408,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
*
|
*
|
||||||
* @since 4.9.0
|
* @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.
|
* @return array Array of custom fields, if they exist.
|
||||||
*/
|
*/
|
||||||
public function get_term_custom_fields( $term_id ) {
|
public function get_term_custom_fields( $term_id ) {
|
||||||
|
@ -437,7 +437,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
*
|
*
|
||||||
* @since 4.9.0
|
* @since 4.9.0
|
||||||
*
|
*
|
||||||
* @param int $post_id Post ID.
|
* @param int $term_id Term ID.
|
||||||
* @param array $fields Custom fields.
|
* @param array $fields Custom fields.
|
||||||
*/
|
*/
|
||||||
public function set_term_custom_fields( $term_id, $fields ) {
|
public function set_term_custom_fields( $term_id, $fields ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-41113';
|
$wp_version = '4.9-alpha-41114';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue