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

WordPress Trac noreply at wordpress.org
Fri Jul 25 15:33:31 UTC 2014


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

 * keywords:  has-patch commit => has-patch
 * milestone:  4.0 => Future Release


Comment:

 Sounds like there's some stuff left to do here:

 Replying to [comment:8 wonderboymusic]:
 > [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.

 Punting.

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


More information about the wp-trac mailing list