Making WordPress.org

Changeset 8580


Ignore:
Timestamp:
04/03/2019 08:00:53 PM (6 years ago)
Author:
coffee2code
Message:

Plugin Directory: Change page title format for category archives.

Adds text to provide context about the category.

Props jonoaldersonwp, coffee2code.
Fixes #4328.

File:
1 edited

Legend:

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

    r8579 r8580  
    248248            $title['title'] .= ' - ' . __( 'WordPress plugin', 'wporg-plugins' );
    249249        }
     250        elseif ( is_tax() ) {
     251            $title['title'] = sprintf( _( 'Plugins categorized as %s', 'wporg-plugins' ), strtolower( $title['title'] ) );
     252        }
    250253
    251254        // If results are paged and the max number of pages is known.
Note: See TracChangeset for help on using the changeset viewer.