[wp-trac] [WordPress Trac] #30975: category_exists() unexpectedly fails due to default parent parameter

WordPress Trac noreply at wordpress.org
Sun Jan 11 00:05:42 UTC 2015


#30975: category_exists() unexpectedly fails due to default parent parameter
--------------------------+------------------------------
 Reporter:  hissy         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> The default $parent value of term_exists() has been changed to null from
> 0, but the default $parent value of category_exists() is still 0. We need
> to change this to null.
>
> https://core.trac.wordpress.org/changeset/29863

New description:

 The default $parent value of term_exists() has been changed to null from
 0, but the default $parent value of category_exists() is still 0. We need
 to change this to null.

 [29863]

--

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


More information about the wp-trac mailing list