Skip to content

Commit

Permalink
Prevent potential PHP errors when shortcodes are used improperly by o…
Browse files Browse the repository at this point in the history
…ther plugins
  • Loading branch information
sc0ttkclark committed Feb 22, 2024
1 parent d79e80b commit 7cd0820
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 @@ -1346,7 +1346,7 @@ function pods_shortcode( $tags, $content = null ) {
*
* @return string
*/
function pods_shortcode_run_safely( array $tags, ?string $content = null, bool $check_display_access_rights = true ): string {
function pods_shortcode_run_safely( $tags, ?string $content = null, bool $check_display_access_rights = true ): string {
pods_doing_shortcode( true );

$return_exception = static function() {
Expand Down

0 comments on commit 7cd0820

Please sign in to comment.