[wp-meta] [Making WordPress.org] #6569: Search is too permissive

Making WordPress.org noreply at wordpress.org
Tue Nov 8 04:39:41 UTC 2022


#6569: Search is too permissive
-----------------------------+---------------------
 Reporter:  topher1kenobe    |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Photo Directory  |  Resolution:
 Keywords:                   |
-----------------------------+---------------------

Comment (by dd32):

 Just noting that it appears the Photo directory is using standard
 WordPress search at present.

 This is the pertinent search parts of the WHERE for the above deli
 example:
 {{{
 WHERE
   (
     (
       (
         wp_posts.post_title LIKE '%deli%'
       )
       OR (
         wp_posts.post_excerpt LIKE '%deli%'
       )
       OR (
         wp_term_taxonomy.taxonomy = 'photo_tag'
         AND wp_terms.name = 'deli'
       )
       OR (
         wp_posts.post_content LIKE '%deli%'
       )
     )
   )
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6569#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list