[wp-trac] [WordPress Trac] #50344: Update @return docs for get_tags() to reflect that WP_Error is a possible return value

WordPress Trac noreply at wordpress.org
Tue Jun 9 11:13:13 UTC 2020


#50344: Update @return docs for get_tags() to reflect that WP_Error is a possible
return value
--------------------------+-----------------------------
 Reporter:  coffee2code   |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  5.5
Component:  Taxonomy      |     Version:
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47930" 47930]:
 {{{
 #!CommitTicketReference repository="" revision="47930"
 Docs: Document that `get_tags()` returns a `WP_Error` object if any of the
 specified taxonomies do not exist.

 Props coffee2code.
 Fixes #50344.
 }}}

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


More information about the wp-trac mailing list