Changeset 10241 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
- Timestamp:
- 09/08/2020 09:06:38 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r10183 r10241 246 246 } else { 247 247 if ( is_singular( 'plugin' ) ) { 248 $title['title'] .= ' - ' . __( 'WordPress plugin', 'wporg-plugins' ); 249 } 250 elseif ( is_tax() ) { 251 $title['title'] = sprintf( _( 'Plugins categorized as %s', 'wporg-plugins' ), strtolower( $title['title'] ) ); 248 if ( get_query_var( 'plugin_advanced' ) ) { 249 $title['title'] .= ' ' . __( '(advanced view)', 'wporg-plugins' ) . ' - ' . __( 'WordPress plugin', 'wporg-plugins' ); 250 } else { 251 $title['title'] .= ' - ' . __( 'WordPress plugin', 'wporg-plugins' ); 252 } 253 } elseif ( is_tax() ) { 254 $title['title'] = sprintf( __( 'Plugins categorized as %s', 'wporg-plugins' ), strtolower( $title['title'] ) ); 252 255 } 253 256
Note: See TracChangeset
for help on using the changeset viewer.