[wp-trac] [WordPress Trac] #35246: post_exists creates SQL-error

WordPress Trac noreply at wordpress.org
Mon Dec 28 19:06:08 UTC 2015


#35246: post_exists creates SQL-error
--------------------------------------+-----------------------------
 Reporter:  yetAnotherDaniel          |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.5
Component:  Posts, Post Types         |     Version:  2.8
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36113"]:
 {{{
 #!CommitTicketReference repository="" revision="36113"
 Import: Add a missing space to `post_exists()`.

 The lack of space resulted in SQL error when searching for posts by
 content.

 Props yetAnotherDaniel, johnbillion.
 Fixes #35246.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35246#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list