Changeset 4504
- Timestamp:
- 12/08/2016 12:38:26 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r4481 r4504 38 38 'caption', 39 39 ) ); 40 41 40 } 42 41 add_action( 'after_setup_theme', __NAMESPACE__ . '\setup' ); … … 275 274 return '<strong>' . $term . '</strong>'; 276 275 } 277 add_filter( 'post_type_archive_title', __NAMESPACE__ . '\strong_archive_title' ); 278 add_filter( 'single_term_title', __NAMESPACE__ . '\strong_archive_title' ); 279 add_filter( 'single_cat_title', __NAMESPACE__ . '\strong_archive_title' ); 280 add_filter( 'single_tag_title', __NAMESPACE__ . '\strong_archive_title' ); 281 add_filter( 'get_the_date', __NAMESPACE__ . '\strong_archive_title' ); 276 add_action( 'wp_head', function() { 277 add_filter( 'post_type_archive_title', __NAMESPACE__ . '\strong_archive_title' ); 278 add_filter( 'single_term_title', __NAMESPACE__ . '\strong_archive_title' ); 279 add_filter( 'single_cat_title', __NAMESPACE__ . '\strong_archive_title' ); 280 add_filter( 'single_tag_title', __NAMESPACE__ . '\strong_archive_title' ); 281 add_filter( 'get_the_date', __NAMESPACE__ . '\strong_archive_title' ); 282 } ); 282 283 283 284 /** -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
r4438 r4504 18 18 ); 19 19 20 $GLOBALS['pagetitle'] = __( 'Plugin Directory — Free WordPress Plugins', 'wporg-plugins');20 $GLOBALS['pagetitle'] = wp_get_document_title(); 21 21 require WPORGPATH . 'header.php'; 22 22 ?>
Note: See TracChangeset
for help on using the changeset viewer.