Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19623, comment 5


Ignore:
Timestamp:
07/23/2012 03:29:30 PM (12 years ago)
Author:
hardy101
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19623, comment 5

    initial v1  
    13133) Cleaned up the 'where' string concatenation when building the SQL query.
    1414
    15 4) Did a check for empty $post__in array when adding " AND comment_post_ID IN ($_post__in)" to where clause.  Would cause an SQL syntax error if passed an empty array.
     154) Did a check for empty $post_in array when adding " AND comment_post_ID IN ($_post_in)" to where clause.  Would cause an SQL syntax error if passed an empty array.
    1616
    1717I think this combination effort may be a winner.  See patch 19623-2.diff