Skip to content

Commit

Permalink
Remove unnecessary build
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Mar 23, 2024
1 parent 23b4773 commit d403566
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions includes/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ) {
Expand Down

0 comments on commit d403566

Please sign in to comment.