[wp-trac] [WordPress Trac] #41970: Removed unused variable.

WordPress Trac noreply at wordpress.org
Mon Sep 25 08:09:15 UTC 2017


#41970: Removed unused variable.
-------------------------+------------------------------
 Reporter:  adnan.limdi  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by adnan.limdi):

 {{{#!php
 <?php
 1625    $comments = $wpdb->get_results(
                 "SELECT `comment_ID` FROM `{$wpdb->comments}`
                         WHERE `comment_date_gmt` > '2015-04-26'
                         AND LENGTH( `comment_content` ) >=
 {$allowed_length}
                         AND ( `comment_content` LIKE '%<%' OR
 `comment_content` LIKE '%>%' )"
         );
 }}}

 Also I See This here date is define static : WHERE `comment_date_gmt` >
 '2015-04-26' so we need to update this for future version.

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


More information about the wp-trac mailing list