wordpress / latest / classes / wp_customize_manager / customize_preview_override_404_status.html

WP_Customize_Manager::customize_preview_override_404_status()

This method has been deprecated.

Prevents sending a 404 status when returning the response for the customize preview, since it causes the jQuery Ajax to fail. Send 200 instead.

Source

File: wp-includes/class-wp-customize-manager.php. View all references

public function customize_preview_override_404_status() {
	_deprecated_function( __METHOD__, '4.7.0' );
}

Uses

Uses Description

Changelog

Version Description
4.7.0 This method has been deprecated.
4.0.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/customize_preview_override_404_status