Make WordPress Core

Changeset 61292


Ignore:
Timestamp:
11/24/2025 07:08:27 PM (8 weeks ago)
Author:
desrosj
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.

Reviewed by desrosj.
Merges [61273] to the 6.9 branch.

Props peterwilsoncc, westonruter, wildworks.
Fixes #52886.

Location:
branches/6.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.9

  • branches/6.9/src/wp-includes/formatting.php

    r61194 r61292  
    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.