Making WordPress.org


Ignore:
Timestamp:
08/19/2016 04:03:16 AM (5 years ago)
Author:
dd32
Message:

Plugin Directory: Don't include spam'd or deleted reviews in the listing.

Fixes #1916

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-tools.php

    r3545 r3830  
    5757                ratings.object_type = 'plugin' AND
    5858                ratings.object_slug = %s AND
    59                 posts.post_position = 1
     59                posts.post_position = 1 AND
     60                topics.topic_status = 0 AND
     61                topics.topic_sticky = 0
    6062            ORDER BY ratings.review_id DESC LIMIT 2", $plugin_slug ) );
    6163
Note: See TracChangeset for help on using the changeset viewer.