Changeset 53455 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 06/01/2022 06:12:25 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/link-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r52959 r53455 2344 2344 * @param int $pagenum Optional. Page number. Default 1. 2345 2345 * @param bool $escape Optional. Whether to escape the URL for display, with esc_url(). Defaults to true. 2346 * Otherwise, prepares the URL with esc_url_raw().2346 * Otherwise, prepares the URL with sanitize_url(). 2347 2347 * @return string The link URL for the given page number. 2348 2348 */ … … 2411 2411 return esc_url( $result ); 2412 2412 } else { 2413 return esc_url_raw( $result );2413 return sanitize_url( $result ); 2414 2414 } 2415 2415 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)