[wp-trac] [WordPress Trac] #16839: Category Base Should be Slugified
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 13 08:42:05 UTC 2011
#16839: Category Base Should be Slugified
-----------------------------+-----------------------------
Reporter: miklb | Owner:
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Future Release
Component: Rewrite Rules | Version: 3.1
Severity: normal | Resolution:
Keywords: early has-patch |
-----------------------------+-----------------------------
Changes (by scribu):
* status: new => reviewing
Comment:
I think it would be safe to remove the following two lines as well:
{{{
if ( ! empty( $category_base ) )
$category_base = $blog_prefix . preg_replace('#/+#', '/', '/' .
str_replace( '#', '', $category_base ) );
}}}
since it's already taken care of.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16839#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list