Make WordPress Core

Changeset 56110


Ignore:
Timestamp:
06/29/2023 03:31:49 PM (8 months ago)
Author:
flixos90
Message:

General: Add missing parentheses to functions referenced in _deprecated_function() calls added in 6.3.

See #58235, #58301, #58555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r56101 r56110  
    46464646 */
    46474647function wp_queue_comments_for_comment_meta_lazyload( $comments ) {
    4648     _deprecated_function( __FUNCTION__, '6.3.0', 'wp_lazyload_comment_meta' );
     4648    _deprecated_function( __FUNCTION__, '6.3.0', 'wp_lazyload_comment_meta()' );
    46494649    // Don't use `wp_list_pluck()` to avoid by-reference manipulation.
    46504650    $comment_ids = array();
     
    46864686 */
    46874687function wp_get_loading_attr_default( $context ) {
    4688     _deprecated_function( __FUNCTION__, '6.3.0', 'wp_get_loading_optimization_attributes' );
     4688    _deprecated_function( __FUNCTION__, '6.3.0', 'wp_get_loading_optimization_attributes()' );
    46894689    global $wp_query;
    46904690
     
    47684768 */
    47694769function wp_img_tag_add_loading_attr( $image, $context ) {
    4770     _deprecated_function( __FUNCTION__, '6.3.0', 'wp_img_tag_add_loading_optimization_attrs' );
     4770    _deprecated_function( __FUNCTION__, '6.3.0', 'wp_img_tag_add_loading_optimization_attrs()' );
    47714771    /*
    47724772     * Get loading attribute value to use. This must occur before the conditional check below so that even images that
     
    52095209 */
    52105210function wp_register_duotone_support( $block_type ) {
    5211     _deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::register_duotone_support' );
     5211    _deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::register_duotone_support()' );
    52125212    return WP_Duotone::register_duotone_support( $block_type );
    52135213}
     
    52195219 * @since 6.1.0 Allow unset for preset colors.
    52205220 * @deprecated 6.3.0 Use WP_Duotone::render_duotone_support() instead.
    5221  * 
     5221 *
    52225222 * @access private
    52235223 *
     
    52275227 */
    52285228function wp_render_duotone_support( $block_content, $block ) {
    5229     _deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::render_duotone_support' );
     5229    _deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::render_duotone_support()' );
    52305230    return WP_Duotone::render_duotone_support( $block_content, $block );
    52315231}
Note: See TracChangeset for help on using the changeset viewer.