[wp-trac] [WordPress Trac] #25706: in_category() returns true if the first parameter is empty

WordPress Trac noreply at wordpress.org
Fri Oct 25 21:32:47 UTC 2013


#25706: in_category() returns true if the first parameter is empty
--------------------------+--------------------
 Reporter:  n.uddin.w     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7.1
Component:  Taxonomy      |     Version:  3.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------

Comment (by nacin):

 > has_tag() returns also true, but in 3.6 too.

 Let's reduce the regression here and not cause any others. Did it return
 false at any point previously?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25706#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list