PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/class-query.php +1 -7 8.2.08.0.2 View file →
@@ -400,15 +400,9 @@
400 400 if ( ! $meta ) {
401 401 return false;
402 402 }
403 403
404 - $post = $this->get_queried_object();
405 -
406 - // Ensure the meta belongs to the queried post to prevent arbitrary meta disclosure.
407 - if ( (int) $meta->post_id !== $post->ID ) {
408 - return false;
409 - }
410 -
404 + $post = $this->get_queried_object();
411 405 $user_uri = get_user_id( $post->post_author );
412 406
413 407 if ( ! $user_uri ) {
414 408 return false;