[wp-trac] [WordPress Trac] #11471: After bulk comment actions, spaces in a search are removed

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 17 15:05:17 UTC 2009


#11471: After bulk comment actions, spaces in a search are removed
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:           
     Type:  defect (bug)    |      Status:  new      
 Priority:  normal          |   Milestone:  2.9      
Component:  Administration  |     Version:  2.9      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
Changes (by nacin):

  * keywords:  => has-patch


Comment:

 edit-comments.php handles redirection after a bulk action unlike the other
 pages. Instead of using wp_get_referer(), remove the query args it needs
 to, and adds the query args it needs to, it uses a base of "edit-
 comments.php" then adds on everything, including existing contextual query
 args such as the search query.

 Patch follows the lead set by other pages. Alternatively, we can simply
 urlencode()  $_REQUEST['s'] on what is currently line 106.

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


More information about the wp-trac mailing list