mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Remove unnecessary variables names from @return tags.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48100 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -287,8 +287,8 @@ function sanitize_category_field( $field, $value, $cat_id, $context ) {
|
||||
*
|
||||
* @type string $taxonomy Taxonomy to retrieve terms for. Default 'post_tag'.
|
||||
* }
|
||||
* @return WP_Term[]|int|WP_Error $tags Array of 'post_tag' term objects, a count thereof,
|
||||
* or WP_Error if any of the taxonomies do not exist.
|
||||
* @return WP_Term[]|int|WP_Error Array of 'post_tag' term objects, a count thereof,
|
||||
* or WP_Error if any of the taxonomies do not exist.
|
||||
*/
|
||||
function get_tags( $args = '' ) {
|
||||
$defaults = array( 'taxonomy' => 'post_tag' );
|
||||
|
||||
Reference in New Issue
Block a user