Make WordPress Core

Changeset 47388


Ignore:
Timestamp:
02/27/2020 09:58:54 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Replace quotation marks in starter content with HTML entities.

Props fahimmurshed.
Fixes #49534.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/inc/starter-content.php

    r46827 r47388  
    127127                        '<!-- wp:group {"align":"wide"} -->',
    128128                        '<div class="wp-block-group alignwide"><div class="wp-block-group__inner-container"><!-- wp:heading {"align":"center","textColor":"accent"} -->',
    129                         '<h2 class="has-accent-color has-text-align-center">' . __( '”Cyborgs, as the philosopher Donna Haraway established, are not reverent. They do not remember the cosmos.”', 'twentytwenty' ) . '</h2>',
     129                        '<h2 class="has-accent-color has-text-align-center">' . __( '&#8220;Cyborgs, as the philosopher Donna Haraway established, are not reverent. They do not remember the cosmos.&#8221;', 'twentytwenty' ) . '</h2>',
    130130                        '<!-- /wp:heading --></div></div>',
    131131                        '<!-- /wp:group -->',
Note: See TracChangeset for help on using the changeset viewer.