Make WordPress Core

Changeset 61273


Ignore:
Timestamp:
11/20/2025 12:42:03 AM (4 days ago)
Author:
peterwilsoncc
Message:

Docs: Detail 6.9.0 changes for esc_url_raw() and sanitize_url().

Duplicates the @since 6.9.0 annotation on esc_url() to the two wrapper functions affected by the change.

Props peterwilsoncc, westonruter.
Fixes #52886.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r61270 r61273  
    45954595 * @since 2.8.0
    45964596 * @since 6.1.0 Turned into an alias for sanitize_url().
     4597 * @since 6.9.0 Prepends `https://` to the URL if it does not already contain a scheme
     4598 *              and the first item in `$protocols` is 'https'.
    45974599 *
    45984600 * @see sanitize_url()
     
    46134615 * @since 2.8.0 Deprecated in favor of esc_url_raw().
    46144616 * @since 5.9.0 Restored (un-deprecated).
     4617 * @since 6.9.0 Prepends `https://` to the URL if it does not already contain a scheme
     4618 *              and the first item in `$protocols` is 'https'.
    46154619 *
    46164620 * @see esc_url()
Note: See TracChangeset for help on using the changeset viewer.