mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Use void instead of null where appropriate when pipe-delimiting @return types. If a @return only contains void, remove it.
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32568 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -631,7 +631,7 @@ function wp_list_categories( $args = '' ) {
|
||||
* @since 2.3.0
|
||||
*
|
||||
* @param array|string|null $args Optional. Override default arguments.
|
||||
* @return null|array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument.
|
||||
* @return void|array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument.
|
||||
* Otherwise, this function outputs the tag cloud.
|
||||
*/
|
||||
function wp_tag_cloud( $args = '' ) {
|
||||
@@ -1405,7 +1405,7 @@ function get_the_term_list( $id, $taxonomy, $before = '', $sep = '', $after = ''
|
||||
* @param string $before Optional. Before list.
|
||||
* @param string $sep Optional. Separate items using this.
|
||||
* @param string $after Optional. After list.
|
||||
* @return false|null False on WordPress error. Returns null when displaying.
|
||||
* @return false|void False on WordPress error.
|
||||
*/
|
||||
function the_terms( $id, $taxonomy, $before = '', $sep = ', ', $after = '' ) {
|
||||
$term_list = get_the_term_list( $id, $taxonomy, $before, $sep, $after );
|
||||
|
||||
Reference in New Issue
Block a user