Make WordPress Core


Ignore:
Timestamp:
05/16/2023 03:13:50 PM (10 months ago)
Author:
audrasjb
Message:

Grouped backports to the 6.1 branch.

  • Media: Prevent CSRF setting attachment thumbnails.
  • Embeds: Add protocol validation for WordPress Embed code.
  • I18N: Introduce sanitization function for locale.
  • Editor: Ensure block comments are of a valid form.
  • Editor: Remove shortcode support from block templates.

Merges [55760-55764] to the 6.1 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.1/src/wp-admin/about.php

    r55371 r55771  
    4646            <div class="column">
    4747                <h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
     48                <p>
     49                    <?php
     50                    printf(
     51                        __( '<strong>Version %s</strong> addressed some security issues.' ),
     52                        '6.1.2'
     53                    );
     54                    ?>
     55                    <?php
     56                    printf(
     57                        /* translators: %s: HelpHub URL. */
     58                        __( 'For more information, see <a href="%s">the release notes</a>.' ),
     59                        sprintf(
     60                            /* translators: %s: WordPress version. */
     61                            esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     62                            sanitize_title( '6.1.2' )
     63                        )
     64                    );
     65                    ?>
     66                </p>
     67
    4868                <p>
    4969                    <?php
Note: See TracChangeset for help on using the changeset viewer.