@@ 793-796 (lines=4) @@ | ||
790 | global $pods; |
|
791 | ||
792 | // Fix any global confusion wherever this runs |
|
793 | if ( isset( $pods ) && !isset( $GLOBALS[ 'pods' ] ) ) |
|
794 | $GLOBALS[ 'pods' ] =& $pods; |
|
795 | elseif ( !isset( $pods ) && isset( $GLOBALS[ 'pods' ] ) ) |
|
796 | $pods =& $GLOBALS[ 'pods' ]; |
|
797 | ||
798 | if ( !defined( 'PODS_DISABLE_POD_PAGE_CHECK' ) || !PODS_DISABLE_POD_PAGE_CHECK ) { |
|
799 | if ( null === self::$exists ) |
|
@@ 847-850 (lines=4) @@ | ||
844 | global $pods; |
|
845 | ||
846 | // Fix any global confusion wherever this runs |
|
847 | if ( isset( $pods ) && !isset( $GLOBALS[ 'pods' ] ) ) |
|
848 | $GLOBALS[ 'pods' ] =& $pods; |
|
849 | elseif ( !isset( $pods ) && isset( $GLOBALS[ 'pods' ] ) ) |
|
850 | $pods =& $GLOBALS[ 'pods' ]; |
|
851 | ||
852 | if ( 0 < strlen( trim( $pods_page[ 'code' ] ) ) ) |
|
853 | $content = trim( $pods_page[ 'code' ] ); |
|
@@ 894-897 (lines=4) @@ | ||
891 | global $pods; |
|
892 | ||
893 | // Fix any global confusion wherever this runs |
|
894 | if ( isset( $pods ) && !isset( $GLOBALS[ 'pods' ] ) ) |
|
895 | $GLOBALS[ 'pods' ] =& $pods; |
|
896 | elseif ( !isset( $pods ) && isset( $GLOBALS[ 'pods' ] ) ) |
|
897 | $pods =& $GLOBALS[ 'pods' ]; |
|
898 | ||
899 | if ( false !== self::$exists ) { |
|
900 | $permission = pods_permission( self::$exists[ 'options' ] ); |