WordPress.org

Making WordPress.org

Ticket #2314: 2314.diff

File 2314.diff, 560 bytes (added by joostdevalk, 3 years ago)

Patch

  • header.php

     
    1818);
    1919
    2020$GLOBALS['pagetitle'] = __( 'Plugin Directory — Free WordPress Plugins', 'wporg-plugins' );
     21if ( is_singular( 'plugin' ) ) {
     22    /* Translators: The name of the plugin. */
     23    $GLOBALS['pagetitle'] = sprintf( __( '%s — WordPress Plugin Directory', 'wporg-plugins' ), get_the_title( get_the_ID() ) );
     24}
    2125require WPORGPATH . 'header.php';
    2226?>
    2327<div id="page" class="site">