[wp-trac] [WordPress Trac] #25267: PHP notices in register_post_type()

WordPress Trac noreply at wordpress.org
Fri Apr 25 20:10:58 UTC 2014


#25267: PHP notices in register_post_type()
-------------------------------+------------------------------
 Reporter:  Looimaster         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  3.6
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by channeleaton):

 I was able to reproduce using trunk build but without any notices.

 '''As a recap:'''
 1) /portfolio_category/motion/ - nothing found
 2) /portfolio_category/motion/?post_type=portfolio - found posts
 3) /?portfolio_category=motion&post_type=portfolio - found posts
 4) /?portfolio_category=motion - nothing found
 5) /portfolio-items/ - works fine

 I got the same behavior on items 3&4 using non-pretty permalinks.

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


More information about the wp-trac mailing list