Make WordPress Core

Changeset 53244


Ignore:
Timestamp:
04/22/2022 10:54:07 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the expected parameter type for WP_Customize_Manager::remove_preview_signature().

Before the method was deprecated, the parameter contained the value passed through for the wp_die_handler filter, which expects a callable function.

Follow-up to [20926], [32535], [34320], [38810], [53242], [53243].

See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r53242 r53244  
    22362236     * @deprecated 4.7.0
    22372237     *
    2238      * @param mixed $callback Value passed through for {@see 'wp_die_handler'} filter.
    2239      * @return mixed Value passed through for {@see 'wp_die_handler'} filter.
     2238     * @param callable|null $callback Optional. Value passed through for {@see 'wp_die_handler'} filter.
     2239     *                                Default null.
     2240     * @return callable|null Value passed through for {@see 'wp_die_handler'} filter.
    22402241     */
    22412242    public function remove_preview_signature( $callback = null ) {
Note: See TracChangeset for help on using the changeset viewer.