Changeset 48185 for trunk/src/wp-includes/canonical.php
- Timestamp:
- 06/26/2020 06:47:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r48184 r48185 850 850 * Filters whether to attempt to guess a redirect URL for a 404 request. 851 851 * 852 * Passing a false value tothe filter will disable the URL guessing852 * Returning a false value from the filter will disable the URL guessing 853 853 * and return early without performing a redirect. 854 854 * … … 856 856 * 857 857 * @param bool $do_redirect_guess Whether to attempt to guess a redirect URL 858 * for a 404 request. Default istrue.858 * for a 404 request. Default true. 859 859 */ 860 860 if ( false === apply_filters( 'do_redirect_guess_404_permalink', true ) ) { … … 865 865 * Short-circuits the redirect URL guessing for 404 requests. 866 866 * 867 * Passing a non-null value tothe filter will effectively short-circuit867 * Returning a non-null value from the filter will effectively short-circuit 868 868 * the URL guessing, returning the passed value instead. 869 869 * … … 882 882 * Filters whether to perform a strict guess for a 404 redirect. 883 883 * 884 * Passing a truthy value tothe filter will redirect only exact post_name matches.884 * Returning a truthy value from the filter will redirect only exact post_name matches. 885 885 * 886 886 * @since 5.5.0
Note: See TracChangeset
for help on using the changeset viewer.