[wp-trac] [WordPress Trac] #15324: There needs to be a page_base in rewrite.php

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 13 08:59:23 UTC 2011


#15324: There needs to be a page_base in rewrite.php
-------------------------------------+-----------------------------
 Reporter:  nkuttler                 |       Owner:
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Rewrite Rules            |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch, dev-feedback  |
-------------------------------------+-----------------------------

Comment (by nacin):

 I'm not a fan of this. You'll probably want to actually leverage a CPT
 rather than pages in this case, as that's the only real difference.
 Especially since this patch doesn't take into account rewrite rule
 generation, as the catchall, or without regard to verbose rules either.

 This should probably be done through register_post_type instead. Ideally
 we can begin to move pages and posts more in the direction of CPTs in
 terms of dogfood, very similar to what we did in 3.1 with categories and
 tags.

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


More information about the wp-trac mailing list