Changeset 13489
- Timestamp:
- 04/10/2024 03:33:00 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
r12566 r13489 96 96 public function add_filter_to_posts_clauses( $clauses ) { 97 97 global $wpdb; 98 99 if ( false !== strpos( $clauses['where'], ".post_type = 'wp_navigation' " ) ) { 100 return $clauses; 101 } 98 102 99 103 $clauses['join'] .= " INNER JOIN ratings ON ( $wpdb->posts.ID = ratings.post_id )";
Note: See TracChangeset
for help on using the changeset viewer.