[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:53:31 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  |
------------------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

 Adds unit tests.

 props ericlewis.
 fixes #25706 for trunk.
 }}}

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


More information about the wp-trac mailing list