Changeset 55636
- Timestamp:
- 04/08/2023 09:19:29 AM (3 years ago)
- Location:
- branches/6.2
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
src/wp-admin/user-edit.php (modified) (2 diffs)
-
src/wp-includes/block-template-utils.php (modified) (1 diff)
-
src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php (modified) (1 diff)
-
src/wp-includes/script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.2
-
branches/6.2/src/wp-admin/user-edit.php
r55414 r55636 350 350 351 351 <?php 352 $languages = get_available_languages();352 $languages = get_available_languages(); 353 353 $can_install_translations = current_user_can( 'install_languages' ) && wp_can_install_language_pack(); 354 354 ?> … … 371 371 wp_dropdown_languages( 372 372 array( 373 'name' => 'locale',374 'id' => 'locale',375 'selected' => $user_locale,376 'languages' => $languages,373 'name' => 'locale', 374 'id' => 'locale', 375 'selected' => $user_locale, 376 'languages' => $languages, 377 377 'show_available_translations' => $can_install_translations, 378 'show_option_site_default' => true,378 'show_option_site_default' => true, 379 379 ) 380 380 ); -
branches/6.2/src/wp-includes/block-template-utils.php
r55501 r55636 1339 1339 $template_hierarchy[] = $type; 1340 1340 } 1341 } else if ( preg_match( '/^(author|category|archive|tag|page)-.+$/', $slug, $matches ) ) {1341 } elseif ( preg_match( '/^(author|category|archive|tag|page)-.+$/', $slug, $matches ) ) { 1342 1342 $template_hierarchy[] = $matches[1]; 1343 } else if ( preg_match( '/^(taxonomy|single)-(.+)$/', $slug, $matches ) ) {1343 } elseif ( preg_match( '/^(taxonomy|single)-(.+)$/', $slug, $matches ) ) { 1344 1344 $type = $matches[1]; 1345 1345 $slug_remaining = $matches[2]; -
branches/6.2/src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php
r55192 r55636 273 273 } 274 274 275 $result = wp_update_post( wp_slash( (array) $changes ), true, false );275 $result = wp_update_post( wp_slash( (array) $changes ), true, false ); 276 276 if ( is_wp_error( $result ) ) { 277 277 return $result; -
branches/6.2/src/wp-includes/script-loader.php
r55491 r55636 1109 1109 $scripts->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-mediaelement$suffix.js", array( 'mediaelement' ), false, 1 ); 1110 1110 $mejs_settings = array( 1111 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),1112 'classPrefix' => 'mejs-',1113 'stretching' => 'responsive',1111 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), 1112 'classPrefix' => 'mejs-', 1113 'stretching' => 'responsive', 1114 1114 /** This filter is documented in wp-includes/media.php */ 1115 1115 'audioShortcodeLibrary' => apply_filters( 'wp_audio_shortcode_library', 'mediaelement' ),
Note: See TracChangeset
for help on using the changeset viewer.