Ticket #50344: 50344.diff
| File 50344.diff, 724 bytes (added by , 6 years ago) |
|---|
-
src/wp-includes/category.php
283 283 * @see get_terms() For list of arguments to pass. 284 284 * 285 285 * @param string|array $args Tag arguments to use when retrieving tags. 286 * @return WP_Term[]|int $tags Array of 'post_tag' term objects, or a count thereof. 286 * @return WP_Term[]|int|WP_Error $tags Array of 'post_tag' term objects, a count thereof, or WP_Error if any 287 * explicitly specified taxonomies do not exist. 287 288 */ 288 289 function get_tags( $args = '' ) { 289 290 $defaults = array( 'taxonomy' => 'post_tag' );