WordPress.org

Making WordPress.org

Changeset 2459


Ignore:
Timestamp:
02/03/2016 11:08:52 PM (4 years ago)
Author:
coffee2code
Message:

W.org Themes: Update document title generation to match changes to w.org.

  • Don't prepend 'WordPress' to titles.
  • Use — as the separator.
  • Add translator comment.

Props ramiy, SergeyBiryukov.
See #meta1105.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    r2451 r2459  
    5555            'query'    => wporg_themes_get_themes_for_query(),
    5656            'settings' => array(
    57                 'title'        => __( 'WordPress › %s « Free WordPress Themes', 'wporg-themes' ),
     57                /* translators: %s: theme name */
     58                'title'        => __( '%s — Free WordPress Themes', 'wporg-themes' ),
    5859                'isMobile'     => wp_is_mobile(),
    5960                'postsPerPage' => 24,
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php

    r1493 r2459  
    77
    88$GLOBALS['themes']    = wporg_themes_get_themes_for_query();
    9 $GLOBALS['pagetitle'] = __( 'Theme Directory « Free WordPress Themes', 'wporg-themes' );
     9$GLOBALS['pagetitle'] = __( 'Theme Directory — Free WordPress Themes', 'wporg-themes' );
    1010
    1111require WPORGPATH . 'header.php';
Note: See TracChangeset for help on using the changeset viewer.