@@ 29-31 (lines=3) @@ | ||
26 | $sync_module->clear_status(); |
|
27 | } |
|
28 | ||
29 | if ( isset( $args['modules'] ) && !empty( $args['modules'] ) ) { |
|
30 | $modules = array_map('trim', explode( ',', $args['modules'] ) ); |
|
31 | } |
|
32 | ||
33 | /** This action is documented in class.jetpack-sync-sender.php */ |
|
34 | Jetpack_Sync_Actions::schedule_full_sync( $modules ); |
@@ 2187-2189 (lines=3) @@ | ||
2184 | $attributes['required'] = false; |
|
2185 | ||
2186 | // parse out comma-separated options list (for selects, radios, and checkbox-multiples) |
|
2187 | if ( !empty( $attributes['options'] ) && is_string( $attributes['options'] ) ) { |
|
2188 | $attributes['options'] = array_map( 'trim', explode( ',', $attributes['options'] ) ); |
|
2189 | } |
|
2190 | ||
2191 | if ( $form ) { |
|
2192 | // make a unique field ID based on the label, with an incrementing number if needed to avoid clashes |