Changeset 54754
- Timestamp:
- 11/05/2022 10:01:47 PM (2 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r54751 r54754 557 557 ); 558 558 559 $args 559 $args = array( 560 560 'name' => $slug, 561 561 ); 562 $args = wp_parse_args( $args, $default_args ); 562 $args = wp_parse_args( $args, $default_args ); 563 563 564 $posts_query = new WP_Query( $args ); 564 565 … … 592 593 'title' => $post_title, 593 594 ); 594 $args = wp_parse_args( $args, $default_args ); 595 $args = wp_parse_args( $args, $default_args ); 596 595 597 $posts_with_same_title_query = new WP_Query( $args ); 596 598 … … 631 633 $term_query = new WP_Term_Query(); 632 634 633 $args 635 $args = array( 634 636 'number' => 1, 635 637 'slug' => $slug, 636 638 ); 637 $args = wp_parse_args( $args, $default_args ); 639 $args = wp_parse_args( $args, $default_args ); 640 638 641 $terms_query = $term_query->query( $args ); 639 642 … … 669 672 'name' => $term_title, 670 673 ); 671 $args = wp_parse_args( $args, $default_args ); 674 $args = wp_parse_args( $args, $default_args ); 675 672 676 $terms_with_same_title_query = $term_query->query( $args ); 673 677 -
trunk/src/wp-includes/class-wp-oembed.php
r54652 r54754 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' => array( 'https://www.tumblr.com/oembed/1.0', true ),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 ), -
trunk/src/wp-includes/functions.php
r54712 r54754 3568 3568 get_bloginfo( 'name' ) 3569 3569 ); 3570 $html = $title; 3571 $html .= '</p><p>'; 3570 3572 3571 $redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : ''; 3573 $html .= sprintf( 3572 3573 $html = $title; 3574 $html .= '</p><p>'; 3575 $html .= sprintf( 3574 3576 /* translators: %s: Logout URL. */ 3575 3577 __( 'Do you really want to <a href="%s">log out</a>?' ), … … 3578 3580 } else { 3579 3581 $html = __( 'The link you followed has expired.' ); 3582 3580 3583 if ( wp_get_referer() ) { 3581 3584 $wp_http_referer = remove_query_arg( 'updated', wp_get_referer() ); 3582 3585 $wp_http_referer = wp_validate_redirect( esc_url_raw( $wp_http_referer ) ); 3586 3583 3587 $html .= '</p><p>'; 3584 3588 $html .= sprintf( -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r54476 r54754 2891 2891 2892 2892 $query_params['slug'] = array( 2893 'description' 2894 'type' 2895 'items' 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 ), -
trunk/src/wp-includes/script-loader.php
r54687 r54754 3687 3687 return $editor_settings; 3688 3688 } 3689 $suffix = wp_scripts_get_suffix(); 3689 3690 $suffix = wp_scripts_get_suffix(); 3690 3691 $classic_theme_styles = ABSPATH . WPINC . "/css/classic-themes$suffix.css"; 3691 3692
Note: See TracChangeset
for help on using the changeset viewer.