Make WordPress Core


Ignore:
Timestamp:
12/13/2020 06:38:25 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-One: Use a more specific link for Dark Mode instructions.

Make both instances of the link translatable, for consistency.

Props engahmeds3ed, justinahinon.
Fixes #52010.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize-notice-control.php

    r49633 r49798  
    4040        <div class="notice notice-warning">
    4141            <p><?php esc_html_e( 'To access the Dark Mode settings, select a light background color.', 'twentytwentyone' ); ?></p>
    42             <p><a href="https://wordpress.org/support/article/twenty-twenty-one/">
     42            <p><a href="<?php echo esc_url( __( 'https://wordpress.org/support/article/twenty-twenty-one/#dark-mode-support', 'twentytwentyone' ) ); ?>">
    4343                <?php esc_html_e( 'Learn more about Dark Mode.', 'twentytwentyone' ); ?>
    4444            </a></p>
Note: See TracChangeset for help on using the changeset viewer.