Warning: This method has been deprecated.

WP_Customize_Manager::customize_preview_override_404_status()

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' );
}


Top ↑

Changelog

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

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.