[wp-trac] [WordPress Trac] #27487: Clarify the return value of wp_generate_tag_cloud()

WordPress Trac noreply at wordpress.org
Mon Mar 24 00:29:16 UTC 2014


#27487: Clarify the return value of wp_generate_tag_cloud()
----------------------------+-------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Taxonomy        |     Version:  2.7
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+-------------------

Comment (by DrewAPicture):

 The verbiage of `return $return` is not my favorite, even though it's
 already in use at the end of the function. Would be nice if it were
 something like `$output` instead.

 That said, I agree about returning only a string or array.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27487#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list