[wp-trac] [WordPress Trac] #61094: Unsupported `count` argument in `WP_Term_Query` DocBlock

WordPress Trac noreply at wordpress.org
Mon Oct 21 01:20:55 UTC 2024


#61094: Unsupported `count` argument in `WP_Term_Query` DocBlock
--------------------------+----------------------------
 Reporter:  Tyrannous     |       Owner:  peterwilsoncc
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.7
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59261" 59261]:
 {{{
 #!CommitTicketReference repository="" revision="59261"
 Taxonomy: Remove count argument from `WP_Term_Query` docs.

 The DocBlock of `WP_Term_Query::__construct` mentions the count argument,
 however, this argument is not supported in `WP_Term_Query::get_terms()`.

 Props sergeybiryukov, swissspidy, snehapatil02, tyrannous.
 Fixes #61094.
 }}}

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


More information about the wp-trac mailing list