Make WordPress Core


Ignore:
Timestamp:
05/16/2023 03:18:41 PM (3 years ago)
Author:
audrasjb
Message:

Grouped backports to the 6.0 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.0 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.

File:
1 edited

Legend:

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

    r55372 r55773  
    4141                        <div class="column">
    4242                                <h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
     43                                <p>
     44                                        <?php
     45                                        printf(
     46                                                /* translators: %s: WordPress version number. */
     47                                                __( '<strong>Version %s</strong> addressed some security issues.' ),
     48                                                '6.0.4'
     49                                        );
     50                                        ?>
     51                                        <?php
     52                                        printf(
     53                                                /* translators: %s: HelpHub URL. */
     54                                                __( 'For more information, see <a href="%s">the release notes</a>.' ),
     55                                                sprintf(
     56                                                        /* translators: %s: WordPress version. */
     57                                                        esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     58                                                        sanitize_title( '6.0.4' )
     59                                                )
     60                                        );
     61                                        ?>
     62                                </p>
    4363                                <p>
    4464                                        <?php
Note: See TracChangeset for help on using the changeset viewer.