Changeset 11095
- Timestamp:
- 07/06/2021 04:54:46 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-untagged-posts/wporg-untagged-posts.php
r11006 r11095 54 54 } 55 55 add_filter( 'pre_get_posts', __NAMESPACE__ . '\\pre_get_posts' ); 56 57 /** 58 * Prepend feed name in feed's title tag 59 */ 60 function prepend_rss_title( $title ) { 61 if ( is_feed( FEED ) ) { 62 $title = ucwords( FEED ) . ' – ' . $title; 63 } 64 65 return $title; 66 } 67 add_filter( 'wp_title_rss', __NAMESPACE__ . '\\prepend_rss_title' );
Note: See TracChangeset
for help on using the changeset viewer.