diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-p2/functions.php wordpress.org/public_html/wp-content/themes/pub/wporg-p2/functions.php
index c68e3f420..59de3d217 100644
|
|
|
function wporg_p2_handbook_sidebar_args( $sidebar_args, $handbook ) { |
| 111 | 111 | } |
| 112 | 112 | add_filter( 'wporg_handbook_sidebar_args', 'wporg_p2_handbook_sidebar_args', 10, 2 ); |
| 113 | 113 | |
| | 114 | function wporg_noindex_follow() { |
| | 115 | echo "<meta name='robots' content='noindex,follow' />\n"; |
| | 116 | } |
| | 117 | function wporg_makesystems_meta_robots() { |
| | 118 | global $current_blog; |
| | 119 | if ( $current_blog && 'systems' === trim( $current_blog->path, '/' ) ) { |
| | 120 | remove_action( 'wp_head', 'noindex', 1 ); |
| | 121 | add_action( 'wp_head', 'wporg_noindex_follow', 1 ); |
| | 122 | } |
| | 123 | } |
| | 124 | add_filter( 'after_setup_theme', 'wporg_makesystems_meta_robots' ); |