mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
After [35028], normalize get_term_field()
doc formatting.
Fixes #34245. Built from https://develop.svn.wordpress.org/trunk@35029 git-svn-id: http://core.svn.wordpress.org/trunk@34994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1a87ade436
commit
58aee33cd9
@ -927,10 +927,10 @@ function get_term_children( $term_id, $taxonomy ) {
|
||||
*
|
||||
* @see sanitize_term_field()
|
||||
*
|
||||
* @param string $field Term field to fetch.
|
||||
* @param int|WP_Term $term Term ID or object.
|
||||
* @param string $taxonomy Optional. Taxonomy Name. Default empty.
|
||||
* @param string $context Optional, default is display. Look at sanitize_term_field() for available options.
|
||||
* @param string $field Term field to fetch.
|
||||
* @param int|WP_Term $term Term ID or object.
|
||||
* @param string $taxonomy Optional. Taxonomy Name. Default empty.
|
||||
* @param string $context Optional, default is display. Look at sanitize_term_field() for available options.
|
||||
* @return string|int|null|WP_Error Will return an empty string if $term is not an object or if $field is not set in $term.
|
||||
*/
|
||||
function get_term_field( $field, $term, $taxonomy = '', $context = 'display' ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35028';
|
||||
$wp_version = '4.4-alpha-35029';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user