projects/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 13-19 (lines=7) @@ | 
                                                            
                                    | 10 |  |  | 
                                                            
                                    | 11 |  | 	public function default_action() { | 
                                                            
                                    | 12 |  | 		$args = $this->input(); | 
                                                            
                                    | 13 |  | 		if ( isset( $args['autoupdate'] ) && is_bool( $args['autoupdate'] ) ) { | 
                                                            
                                    | 14 |  | 			if ( $args['autoupdate'] ) { | 
                                                            
                                    | 15 |  | 				$this->autoupdate_on(); | 
                                                            
                                    | 16 |  | 			} else { | 
                                                            
                                    | 17 |  | 				$this->autoupdate_off(); | 
                                                            
                                    | 18 |  | 			} | 
                                                            
                                    | 19 |  | 		} | 
                                                            
                                    | 20 |  | 		if ( isset( $args['autoupdate_translations'] ) && is_bool( $args['autoupdate_translations'] ) ) { | 
                                                            
                                    | 21 |  | 			if ( $args['autoupdate_translations'] ) { | 
                                                            
                                    | 22 |  | 				$this->autoupdate_translations_on(); | 
                                                                        
                 
                                                            
                    
projects/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 142-148 (lines=7) @@ | 
                                                            
                                    | 139 |  | 	public function default_action() { | 
                                                            
                                    | 140 |  | 		$args = $this->input(); | 
                                                            
                                    | 141 |  |  | 
                                                            
                                    | 142 |  | 		if ( isset( $args['autoupdate'] ) && is_bool( $args['autoupdate'] ) ) { | 
                                                            
                                    | 143 |  | 			if ( $args['autoupdate'] ) { | 
                                                            
                                    | 144 |  | 				$this->autoupdate_on(); | 
                                                            
                                    | 145 |  | 			} else { | 
                                                            
                                    | 146 |  | 				$this->autoupdate_off(); | 
                                                            
                                    | 147 |  | 			} | 
                                                            
                                    | 148 |  | 		} | 
                                                            
                                    | 149 |  |  | 
                                                            
                                    | 150 |  | 		if ( isset( $args['active'] ) && is_bool( $args['active'] ) ) { | 
                                                            
                                    | 151 |  | 			if ( $args['active'] ) { |