json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php 1 location
|
@@ 20-26 (lines=7) @@
|
| 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(); |
| 23 |
|
} else { |
| 24 |
|
$this->autoupdate_translations_off(); |
| 25 |
|
} |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
return true; |
| 29 |
|
} |
json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php 1 location
|
@@ 149-155 (lines=7) @@
|
| 146 |
|
} |
| 147 |
|
} |
| 148 |
|
|
| 149 |
|
if ( isset( $args['autoupdate_translations'] ) && is_bool( $args['autoupdate_translations'] ) ) { |
| 150 |
|
if ( $args['autoupdate_translations'] ) { |
| 151 |
|
$this->autoupdate_translations_on(); |
| 152 |
|
} else { |
| 153 |
|
$this->autoupdate_translations_off(); |
| 154 |
|
} |
| 155 |
|
} |
| 156 |
|
|
| 157 |
|
return true; |
| 158 |
|
} |