[wp-trac] Re: [WordPress Trac] #5684: Tags should be able to edit names/slugs

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 29 10:02:56 GMT 2008


#5684: Tags should be able to edit names/slugs
----------------------------+-----------------------------------------------
 Reporter:  jhodgdon        |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.5      
Component:  Administration  |      Version:  2.5      
 Severity:  normal          |   Resolution:           
 Keywords:  tags has-patch  |  
----------------------------+-----------------------------------------------
Comment (by nbachiyski):

 If strings, included in LIKE patterns include {{{%}}} or {{{_}}} more
 results than we want will be returned. For example if we search for
 {{{%}}} we will get all rows, instead of just those containing {{{%}}}.

 Here is a patch, which adds {{{like_escape}}} function and passes
 {{{$searchterms}}} through it. There are lots of other places in the code,
 where the same problem exists. If you like the idea of {{{like_escape}}} I
 will find and patch them.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5684#comment:16>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list