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..8cf080647 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_makesystems_meta_robots() { |
| 115 | global $current_blog; |
| 116 | if ( $current_blog && 'systems' === trim( $current_blog->path, '/' ) ) { |
| 117 | remove_action( 'wp_head', 'noindex', 1 ); |
| 118 | add_action( 'wp_head', 'wp_no_robots', 1 ); |
| 119 | } |
| 120 | } |
| 121 | add_filter( 'after_setup_theme', 'wporg_makesystems_meta_robots' ); |