classes/fields/avatar.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 173-178 (lines=6) @@
                                 | 
                            
                                                            
                                    | 170 | 
                                     | 
                                            $options = (array) $options;  | 
                                
                                                            
                                    | 171 | 
                                     | 
                                            $form_field_type = PodsForm::$field_type;  | 
                                
                                                            
                                    | 172 | 
                                     | 
                                     | 
                                
                                                            
                                    | 173 | 
                                     | 
                                            if ( !is_admin() ) { | 
                                
                                                            
                                    | 174 | 
                                     | 
                                                include_once( ABSPATH . '/wp-admin/includes/template.php' );  | 
                                
                                                            
                                    | 175 | 
                                     | 
                                     | 
                                
                                                            
                                    | 176 | 
                                     | 
                                                if ( is_multisite() )  | 
                                
                                                            
                                    | 177 | 
                                     | 
                                                    include_once( ABSPATH . '/wp-admin/includes/ms.php' );  | 
                                
                                                            
                                    | 178 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 179 | 
                                     | 
                                     | 
                                
                                                            
                                    | 180 | 
                                     | 
                                            if ( ( ( defined( 'PODS_DISABLE_FILE_UPLOAD' ) && true === PODS_DISABLE_FILE_UPLOAD )  | 
                                
                                                            
                                    | 181 | 
                                     | 
                                                   || ( defined( 'PODS_UPLOAD_REQUIRE_LOGIN' ) && is_bool( PODS_UPLOAD_REQUIRE_LOGIN ) && true === PODS_UPLOAD_REQUIRE_LOGIN && !is_user_logged_in() )  | 
                                
                                                                        
                 
                                                            
                    
classes/fields/file.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 338-343 (lines=6) @@
                                 | 
                            
                                                            
                                    | 335 | 
                                     | 
                                            $options = (array) $options;  | 
                                
                                                            
                                    | 336 | 
                                     | 
                                            $form_field_type = PodsForm::$field_type;  | 
                                
                                                            
                                    | 337 | 
                                     | 
                                     | 
                                
                                                            
                                    | 338 | 
                                     | 
                                            if ( !is_admin() ) { | 
                                
                                                            
                                    | 339 | 
                                     | 
                                                include_once( ABSPATH . '/wp-admin/includes/template.php' );  | 
                                
                                                            
                                    | 340 | 
                                     | 
                                     | 
                                
                                                            
                                    | 341 | 
                                     | 
                                                if ( is_multisite() )  | 
                                
                                                            
                                    | 342 | 
                                     | 
                                                    include_once( ABSPATH . '/wp-admin/includes/ms.php' );  | 
                                
                                                            
                                    | 343 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 344 | 
                                     | 
                                     | 
                                
                                                            
                                    | 345 | 
                                     | 
                                            if ( ( ( defined( 'PODS_DISABLE_FILE_UPLOAD' ) && true === PODS_DISABLE_FILE_UPLOAD )  | 
                                
                                                            
                                    | 346 | 
                                     | 
                                                   || ( defined( 'PODS_UPLOAD_REQUIRE_LOGIN' ) && is_bool( PODS_UPLOAD_REQUIRE_LOGIN ) && true === PODS_UPLOAD_REQUIRE_LOGIN && !is_user_logged_in() )  |