Making WordPress.org


Ignore:
Timestamp:
03/29/2018 04:39:13 PM (8 years ago)
Author:
ocean90
Message:

Main: About: Use the actual page title for translatable page titles.

Adds context to all page titles. Reverts parts of [6969].

See #3046.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-history.php

    r6950 r6972  
    1111
    1212$GLOBALS['menu_items'] = [
    13         'about/requirements' => __( 'Requirements', 'wporg' ),
    14         'about/features'     => __( 'Features', 'wporg' ),
    15         'about/security'     => __( 'Security', 'wporg' ),
    16         'about/roadmap'      => __( 'Roadmap', 'wporg' ),
    17         'about/history'      => __( 'History', 'wporg' ),
     13        'about/requirements' => _x( 'Requirements', 'Page title', 'wporg' ),
     14        'about/features'     => _x( 'Features', 'Page title', 'wporg' ),
     15        'about/security'     => _x( 'Security', 'Page title', 'wporg' ),
     16        'about/roadmap'      => _x( 'Roadmap', 'Page title', 'wporg' ),
     17        'about/history'      => _x( 'History', 'Page title', 'wporg' ),
    1818];
    1919
     
    3333                <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    3434                        <header class="entry-header">
    35                                 <h1 class="entry-title col-8"><?php esc_html_e( 'History', 'wporg' ); ?></h1>
     35                                <h1 class="entry-title col-8"><?php the_title(); ?></h1>
    3636                        </header><!-- .entry-header -->
    3737
Note: See TracChangeset for help on using the changeset viewer.