[wp-trac] [WordPress Trac] #25875: Category Names

WordPress Trac noreply at wordpress.org
Fri Nov 8 00:03:51 UTC 2013


#25875: Category Names
-----------------------------+-----------------------------
 Reporter:  MMDeveloper      |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  minor            |   Keywords:
-----------------------------+-----------------------------
 You are able to submit a category name with a $. When you assign that
 category, it crashes the non-admin portion of the site. It is possible to
 unselect the category, but I didn't know this was the reason and I lost
 about 3 hours trying the find out what the issue was. I think Wordpress
 should either remove the $ or save it as \$. But since it will create a
 category slug, I think it should be removed.

 Issue on wp-includes/class-wp.php. Line:

 if ( preg_match("#^$match#", $request_match, $matches) ||
                                                 preg_match("#^$match#",
 urldecode($request_match), $matches) ) {

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25875>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list