Changeset 52597
- Timestamp:
- 01/18/2022 08:27:39 PM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-patterns.php
r52593 r52597 121 121 $pattern_name = sanitize_title( $pattern['title'] ); 122 122 $registry = WP_Block_Patterns_Registry::get_instance(); 123 // Some patterns might be already register d as `core patterns with the `core` prefix.123 // Some patterns might be already registered as core patterns with the `core` prefix. 124 124 $is_registered = $registry->is_registered( $pattern_name ) || $registry->is_registered( "core/$pattern_name" ); 125 125 if ( ! $is_registered ) { -
trunk/src/wp-includes/block-template.php
r52595 r52597 67 67 $index = array_search( $relative_template_path, $templates, true ); 68 68 69 // If the template hie archy algorithm has successfully located a PHP template file,69 // If the template hierarchy algorithm has successfully located a PHP template file, 70 70 // we will only consider block templates with higher or equal specificity. 71 71 $templates = array_slice( $templates, 0, $index + 1 ); -
trunk/src/wp-includes/blocks.php
r52558 r52597 1165 1165 * 1166 1166 * @param WP_Block $block Block instance. 1167 * @param boolean $is_next Flag for han lding `next/previous` blocks.1167 * @param boolean $is_next Flag for handling `next/previous` blocks. 1168 1168 * 1169 1169 * @return string|null Returns the constructed WP_Query arguments. -
trunk/src/wp-includes/class-wp-http-encoding.php
r52150 r52597 89 89 * Warning: Magic numbers within. Due to the potential different formats that the compressed 90 90 * data may be returned in, some "magic offsets" are needed to ensure proper decompression 91 * takes place. For a simple pr ogmatic way to determine the magic offset in use, see:91 * takes place. For a simple pragmatic way to determine the magic offset in use, see: 92 92 * https://core.trac.wordpress.org/ticket/18273 93 93 * -
trunk/src/wp-includes/class-wp-http.php
r52422 r52597 137 137 * Default ABSPATH . WPINC . '/certificates/ca-bundle.crt'. 138 138 * @type bool $stream Whether to stream to a file. If set to true and no filename was 139 * given, it will be drop ed it in the WP temp dir and its name will139 * given, it will be dropped it in the WP temp dir and its name will 140 140 * be set using the basename of the URL. Default false. 141 141 * @type string $filename Filename of the file to write to when streaming. $stream must be -
trunk/src/wp-includes/class-wp-locale.php
r48991 r52597 139 139 // Abbreviations for each day. 140 140 $this->weekday_abbrev[ __( 'Sunday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Sun' ); 141 $this->weekday_abbrev[ __( 'Monday' ) ] = /* translators: T tree-letter abbreviation of the weekday. */ __( 'Mon' );141 $this->weekday_abbrev[ __( 'Monday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Mon' ); 142 142 $this->weekday_abbrev[ __( 'Tuesday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Tue' ); 143 143 $this->weekday_abbrev[ __( 'Wednesday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Wed' ); -
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r52372 r52597 148 148 * theme supports, if any. Note that if the same data 149 149 * is present in theme.json and in theme supports, 150 * the theme.json takes prece ndence.150 * the theme.json takes precedence. 151 151 * 152 152 * @since 5.8.0 -
trunk/src/wp-includes/class-wp-theme-json.php
r52434 r52597 1521 1521 * values they introduce don't conflict with default values. We do so 1522 1522 * by checking the incoming slugs for theme presets and compare them 1523 * with the equivalent d fefault presets: if a slug is present as a default1523 * with the equivalent default presets: if a slug is present as a default 1524 1524 * we remove it from the theme presets. 1525 1525 */ -
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php
r51783 r52597 596 596 * @param int $menu_id The term ID for the given menu. 597 597 * @param bool $auto_add Whether to auto-add or not. 598 * @return array (Maybe) modified nav_menu_o tions array.598 * @return array (Maybe) modified nav_menu_options array. 599 599 */ 600 600 protected function filter_nav_menu_options_value( $nav_menu_options, $menu_id, $auto_add ) {
Note: See TracChangeset
for help on using the changeset viewer.