Ticket #4712: 4712.delay_filter_after_cache.diff
| File 4712.delay_filter_after_cache.diff, 646 bytes (added by DD32, 5 years ago) |
|---|
-
wp-includes/post.php
1183 1183 $query .= " ORDER BY " . $sort_column . " " . $sort_order ; 1184 1184 1185 1185 $pages = $wpdb->get_results($query); 1186 $pages = apply_filters('get_pages', $pages, $r);1187 1186 1188 1187 if ( empty($pages) ) 1189 1188 return array(); … … 1197 1196 $cache[ $key ] = $pages; 1198 1197 wp_cache_set( 'get_pages', $cache, 'page' ); 1199 1198 1199 $pages = apply_filters('get_pages', $pages, $r); 1200 1200 1201 return $pages; 1201 1202 } 1202 1203 … … 1878 1879 } 1879 1880 } 1880 1881 1881 ?> 1882 No newline at end of file 1882 ?>
