941*942* @since 5.5.0943*944* @param null|string|false$pre Whether to short-circuit guessing the redirect for a 404.945*Defaultnull to continue with the URL guessing.946*/947$pre=apply_filters('pre_redirect_guess_404_permalink',null);948if(null!==$pre){949return$pre;950}951952if(get_query_var('name')){953$publicly_viewable_statuses=array_filter(get_post_stati(),'is_post_status_viewable');
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.