Ticket #6654: 6654.diff
File 6654.diff, 4.0 KB (added by , 2 years ago) |
---|
-
pub/wporg-photos/functions.php
190 190 * @type string $site Optional. Site title when not on home page. 191 191 * } 192 192 * @return array Filtered title parts. 193 * @global WP_Query $wp_query Query object. 193 194 */ 194 195 function document_title( $title ) { 195 196 global $wp_query; -
pub/wporg-plugins/functions.php
254 254 * @type string $site Optional. Site title when not on home page. 255 255 * } 256 256 * @return array Filtered title parts. 257 * @global WP_Query $wp_query Query object. 257 258 */ 258 259 function document_title( $title ) { 259 260 global $wp_query; -
pub/wporg-plugins/template-parts/plugin-single.php
5 5 * @link https://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPressdotorg\Plugin_Directory\Theme 8 * @global WP_Post $post Global post object. 9 * @global $section 10 * @global $section_slug 11 * @global $section_content 8 12 */ 9 13 10 14 namespace WordPressdotorg\Plugin_Directory\Theme; -
pub/wporg-plugins/template-parts/section-advanced.php
5 5 * @link https://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPressdotorg\Plugin_Directory\Theme 8 * @global WP_Post $post Global post object. 8 9 */ 9 10 10 11 namespace WordPressdotorg\Plugin_Directory\Theme; -
pub/wporg-plugins/template-parts/section-blocks.php
5 5 * @link https://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPressdotorg\Plugin_Directory\Theme 8 * @global $section 9 * @global $section_slug 10 * @global $section_content 8 11 */ 9 12 10 13 global $section, $section_slug, $section_content; -
pub/wporg-plugins/template-parts/section.php
5 5 * @link https://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPressdotorg\Plugin_Directory\Theme 8 * @global $section 9 * @global $section_slug 10 * @global $section_content 8 11 */ 9 12 10 13 global $section, $section_slug, $section_content; -
pub/wporg-support/functions.php
272 272 } 273 273 add_filter( 'excerpt_length', 'wporg_support_excerpt_length' ); 274 274 275 /** 276 * @param string $title 277 */ 275 278 function wporg_support_bbp_raw_title( $title ) { 276 279 if ( get_query_var( 'paged' ) && ! is_404() ) { 277 280 $title .= sprintf( ' - page %s', get_query_var( 'paged' ) ); … … 285 288 * Add bbPress titles to the document title. 286 289 * 287 290 * bbPress doesn't support `title-tag` theme support, instead relying upon `wp_title` filters instead. 291 * @param string $title 288 292 */ 289 293 function wporg_support_pre_get_document_title( $title ) { 290 294 // See wp_get_document_title() … … 649 653 650 654 /** 651 655 * Change "Stick (to front)" link text to "Stick (to all forums)". 656 * @param string $links 652 657 */ 653 658 function wporg_support_change_super_sticky_text( $links ) { 654 659 if ( isset( $links['stick'] ) ) {