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

WordPress Trac noreply at wordpress.org
Sat Jan 10 23:08:35 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        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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

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


More information about the wp-trac mailing list