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

WordPress Trac noreply at wordpress.org
Sat Oct 26 02:54:22 UTC 2013


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

Comment (by nacin):

 In [changeset:"25924"]:
 {{{
 #!CommitTicketReference repository="" revision="25924"
 3.7 regression from [25119]: Have in_category() return false when the
 first argument is empty.

 Merges [25923] to the 3.7 branch.

 props ericlewis.
 fixes #25706.
 }}}

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


More information about the wp-trac mailing list