Skip to content

Commit

Permalink
output-query
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Oct 16, 2024
1 parent 730dde4 commit 2d9f868
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/class-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,8 @@ private function has_required_priviledges() {
public function friend_posts_query( $query ) {
global $wp_query, $wp, $authordata;
if ( $wp_query !== $query || $query->is_admin() || $query->is_home() ) {
var_dump( $query );

Check warning on line 1178 in includes/class-frontend.php

View workflow job for this annotation

GitHub Actions / Basic CS and QA checks

var_dump() found. Debug code should not normally be used in production.

return $query;
}

Expand Down

0 comments on commit 2d9f868

Please sign in to comment.