Make WordPress Core


Ignore:
Timestamp:
12/02/2016 10:36:25 PM (10 years ago)
Author:
helen
Message:

About page: Remove link tags from inside translatable strings.

props ramiy.
see #38616.

File:
1 edited

Legend:

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

    r39442 r39443  
    144144                        <div class="under-the-hood three-col">
    145145                                <div class="col">
    146                                         <h3><?php
    147                                                 printf(
    148                                                         /* translators: %s: https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/  */
    149                                                         __( '<a href="%s">Post Type Templates</a>' ),
    150                                                         'https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/'
    151                                                 );
    152                                         ?></h3>
     146                                        <h3><a href="https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/"><?php _e( 'Post Type Templates' ); ?></a></h3>
    153147                                        <p><?php _e( 'By opening up the page template functionality to all post types, theme developers have even more flexibility with the WordPress template hierarchy.' ); ?></p>
    154148                                </div>
     
    164158                                </div>
    165159                                <div class="col">
    166                                         <h3><?php
    167                                                 printf(
    168                                                         /* translators: %s: https://make.wordpress.org/core/2016/10/04/custom-bulk-actions/  */
    169                                                         __( '<a href="%s">Custom Bulk Actions</a>' ),
    170                                                         'https://make.wordpress.org/core/2016/10/04/custom-bulk-actions/'
    171                                                 );
    172                                         ?></h3>
     160                                        <h3><a href="https://make.wordpress.org/core/2016/10/04/custom-bulk-actions/"><?php _e( 'Custom Bulk Actions' ); ?></a></h3>
    173161                                        <p><?php _e( 'List tables, now with more than bulk edit and delete.' ); ?></p>
    174162                                </div>
     
    177165                        <div class="under-the-hood three-col">
    178166                                <div class="col">
    179                                         <h3><?php
    180                                                 printf(
    181                                                         '<a href="%1$s">%2$s</a>',
    182                                                         'https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/',
    183                                                         '<code>WP_Hook</code>'
    184                                                 );
    185                                         ?></h3>
     167                                        <h3><a href="https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/"><code>WP_Hook</code></a></h3>
    186168                                        <p><?php
    187169                                                printf(
     
    204186                                </div>
    205187                                <div class="col">
    206                                         <h3><?php
    207                                                 printf(
    208                                                         /* translators: %s: https://make.wordpress.org/core/2016/10/12/customize-changesets-technical-design-decisions/  */
    209                                                         __( '<a href="%s">Customize Changesets</a>' ),
    210                                                         'https://make.wordpress.org/core/2016/10/12/customize-changesets-technical-design-decisions/'
    211                                                 );
    212                                         ?></h3>
     188                                        <h3><a href="https://make.wordpress.org/core/2016/10/12/customize-changesets-technical-design-decisions/"><?php _e( 'Customize Changesets' ); ?></a></h3>
    213189                                        <p><?php _e( 'Customize changesets make changes in the customizer persistent, like autosave drafts. They also make exciting new features like starter content possible.' ); ?></p>
    214190                                </div>
Note: See TracChangeset for help on using the changeset viewer.