Changeset 44238
- Timestamp:
- 12/16/2018 09:18:38 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r44237 r44238 531 531 532 532 $tinymce_settings = array( 533 'plugins' => implode( ',', $tinymce_plugins ),534 'toolbar1' => implode( ',', $toolbar1 ),535 'toolbar2' => implode( ',', $toolbar2 ),536 'toolbar3' => implode( ',', $toolbar3 ),537 'toolbar4' => implode( ',', $toolbar4 ),538 'external_plugins' => wp_json_encode( $external_plugins ),533 'plugins' => implode( ',', $tinymce_plugins ), 534 'toolbar1' => implode( ',', $toolbar1 ), 535 'toolbar2' => implode( ',', $toolbar2 ), 536 'toolbar3' => implode( ',', $toolbar3 ), 537 'toolbar4' => implode( ',', $toolbar4 ), 538 'external_plugins' => wp_json_encode( $external_plugins ), 539 539 'classic_block_editor' => true, 540 540 ); … … 548 548 foreach ( $tinymce_settings as $key => $value ) { 549 549 if ( is_bool( $value ) ) { 550 $val = $value ? 'true' : 'false';550 $val = $value ? 'true' : 'false'; 551 551 $init_obj .= $key . ':' . $val . ','; 552 552 continue;
Note: See TracChangeset
for help on using the changeset viewer.