From d403566233b865863a2a254c88442c00251c30ff Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Fri, 22 Mar 2024 23:06:41 -0500 Subject: [PATCH] Remove unnecessary build --- includes/access.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/access.php b/includes/access.php index 20795eb983..68a8d5fb0f 100644 --- a/includes/access.php +++ b/includes/access.php @@ -849,8 +849,6 @@ function pods_access_bypass_post_with_password( array $args ): bool { * @return bool Whether a post should be bypassed because it is private and capabilities are not met. */ function pods_access_bypass_private_post( array $args ): bool { - $args['build_pod'] = true; - $info = pods_info_from_args( $args ); if ( 'post_type' !== $info['object_type'] || ! $info['item_id'] ) {