[wp-trac] [WordPress Trac] #10663: Category name handling wrong function is_category

WordPress Trac noreply at wordpress.org
Fri May 2 17:58:26 UTC 2014


#10663: Category name handling wrong function is_category
----------------------------------------+--------------------
 Reporter:  Azaroth                     |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.0
Component:  Query                       |     Version:  2.8.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+--------------------
Changes (by wonderboymusic):

 * keywords:  dev-feedback has-patch needs-testing gsoc close => has-patch
     needs-unit-tests
 * milestone:  Future Release => 4.0


Comment:

 [attachment:10663.diff 10663.diff] - this bug sucks, we should fix it. All
 of my new assertions pass except for `$this->assertTrue( is_category(
 "$cat_id" ) );` - strangely does work for `is_tag()`, which we should also
 attack here.

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


More information about the wp-trac mailing list