Changeset 3969 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
- Timestamp:
- 09/05/2016 08:22:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
r3966 r3969 62 62 global $wpdb; 63 63 64 $clauses['join'] .= " JOIN ratings ON ( $wpdb->posts.ID = ratings.post_id )";64 $clauses['join'] .= " INNER JOIN ratings ON ( $wpdb->posts.ID = ratings.post_id )"; 65 65 $clauses['where'] .= $wpdb->prepare( " AND ratings.rating = %d", $this->filter ); 66 66 … … 173 173 $filter = isset( $_GET['filter'] ) ? absint( $_GET['filter'] ) : 0; 174 174 if ( $filter > 0 && $filter < 6 ) { 175 echo '<div class="col- 10reviews-filtered-msg" style="font-style:italic;margin-top:24px;">';175 echo '<div class="col-9 reviews-filtered-msg" style="font-style:italic;margin-top:24px;">'; 176 176 printf( 177 177 _n( 'You are currently viewing the reviews that provided a rating of <strong>%d star</strong>. <a href="%s">Click here</a> to see all reviews.',
Note: See TracChangeset
for help on using the changeset viewer.