[wp-trac] [WordPress Trac] #36690: Improve documentation on deleting all terms associated with an object

WordPress Trac noreply at wordpress.org
Sun Oct 2 21:37:56 UTC 2016


#36690: Improve documentation on deleting all terms associated with an object
-------------------------+------------------------------
 Reporter:  barryceelen  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:  4.6
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  docs
-------------------------+------------------------------

Comment (by morganestes):

 I think we should avoid using `mixed` if we know exactly what to expect
 for a parameter's value, so `@param array|int|string $terms` is fine, but
 the order in the description should match the order of the types.

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


More information about the wp-trac mailing list