You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WP 6.5 introduced the wp_is_serving_rest_request() function (and the wp_is_rest_endpoint() function) that can rcompletely replace our Request_Helper class, so let's do that and use the core wp_is_serving_rest_request() function instead.
Things to take note of:
check references of the Request_Helper class and the REST_REQUEST define, in all our plugins, so we replace all of them.
check if in some cases, wp_is_rest_endpoint() is the more appropriate function to use
The text was updated successfully, but these errors were encountered:
WP 6.5 introduced the
wp_is_serving_rest_request()
function (and thewp_is_rest_endpoint()
function) that can rcompletely replace ourRequest_Helper
class, so let's do that and use the corewp_is_serving_rest_request()
function instead.Things to take note of:
Request_Helper
class and theREST_REQUEST
define, in all our plugins, so we replace all of them.wp_is_rest_endpoint()
is the more appropriate function to useThe text was updated successfully, but these errors were encountered: