Changeset 54753
- Timestamp:
- 11/05/2022 09:59:35 PM (2 years ago)
- Location:
- branches/6.1/src/wp-includes
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1/src/wp-includes/block-template-utils.php
r54752 r54753 557 557 ); 558 558 559 $args = array(559 $args = array( 560 560 'name' => $slug, 561 561 ); 562 $args = wp_parse_args( $args, $default_args ); 563 562 $args = wp_parse_args( $args, $default_args ); 564 563 $posts_query = new WP_Query( $args ); 565 564 … … 593 592 'title' => $post_title, 594 593 ); 595 $args = wp_parse_args( $args, $default_args ); 596 594 $args = wp_parse_args( $args, $default_args ); 597 595 $posts_with_same_title_query = new WP_Query( $args ); 598 596 … … 633 631 $term_query = new WP_Term_Query(); 634 632 635 $args = array(633 $args = array( 636 634 'number' => 1, 637 635 'slug' => $slug, 638 636 ); 639 $args = wp_parse_args( $args, $default_args ); 640 637 $args = wp_parse_args( $args, $default_args ); 641 638 $terms_query = $term_query->query( $args ); 642 639 … … 672 669 'name' => $term_title, 673 670 ); 674 $args = wp_parse_args( $args, $default_args ); 675 671 $args = wp_parse_args( $args, $default_args ); 676 672 $terms_with_same_title_query = $term_query->query( $args ); 677 673 -
branches/6.1/src/wp-includes/class-wp-oembed.php
r54752 r54753 81 81 '#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'https://www.ted.com/services/v1/oembed.{format}', true ), 82 82 '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'https://animoto.com/oembeds/create', true ), 83 '#https?://(.+)\.tumblr\.com/.*#i' 83 '#https?://(.+)\.tumblr\.com/.*#i' => array( 'https://www.tumblr.com/oembed/1.0', true ), 84 84 '#https?://(www\.)?kickstarter\.com/projects/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), 85 85 '#https?://kck\.st/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), -
branches/6.1/src/wp-includes/functions.php
r54752 r54753 3568 3568 get_bloginfo( 'name' ) 3569 3569 ); 3570 3570 $html = $title; 3571 $html .= '</p><p>'; 3571 3572 $redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : ''; 3572 3573 $html = $title; 3574 $html .= '</p><p>'; 3575 $html .= sprintf( 3573 $html .= sprintf( 3576 3574 /* translators: %s: Logout URL. */ 3577 3575 __( 'Do you really want to <a href="%s">log out</a>?' ), … … 3580 3578 } else { 3581 3579 $html = __( 'The link you followed has expired.' ); 3582 3583 3580 if ( wp_get_referer() ) { 3584 3581 $wp_http_referer = remove_query_arg( 'updated', wp_get_referer() ); 3585 3582 $wp_http_referer = wp_validate_redirect( esc_url_raw( $wp_http_referer ) ); 3586 3587 3583 $html .= '</p><p>'; 3588 3584 $html .= sprintf( -
branches/6.1/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r54752 r54753 2891 2891 2892 2892 $query_params['slug'] = array( 2893 'description' => __( 'Limit result set to posts with one or more specific slugs.' ),2894 'type' => 'array',2895 'items' => array(2893 'description' => __( 'Limit result set to posts with one or more specific slugs.' ), 2894 'type' => 'array', 2895 'items' => array( 2896 2896 'type' => 'string', 2897 2897 ), -
branches/6.1/src/wp-includes/script-loader.php
r54752 r54753 3687 3687 return $editor_settings; 3688 3688 } 3689 3690 $suffix = wp_scripts_get_suffix(); 3689 $suffix = wp_scripts_get_suffix(); 3691 3690 $classic_theme_styles = ABSPATH . WPINC . "/css/classic-themes$suffix.css"; 3692 3691
Note: See TracChangeset
for help on using the changeset viewer.