Skip to content

Commit

Permalink
Merge pull request #7142 from pods-framework/feature/7141-translate-a…
Browse files Browse the repository at this point in the history
…uto-templates
  • Loading branch information
sc0ttkclark authored Sep 4, 2023
2 parents a388895 + 0c676cc commit 83869ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@ function pods_by_title( $title, $output = OBJECT, $type = 'page', $status = null

if ( 0 < $page ) {
if ( 'id' === $return ) {
return $page;
return pods_v( $page, 'post_id' );
}

return get_post( $page, $output );
Expand Down

0 comments on commit 83869ef

Please sign in to comment.