diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php index 4275a4a2c6..17a9083cb6 100644 --- a/wp-admin/options-permalink.php +++ b/wp-admin/options-permalink.php @@ -56,12 +56,18 @@ get_current_screen()->add_help_tab( ) ); -get_current_screen()->set_help_sidebar( - '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Permalinks Settings' ) . '

' . - '

' . __( 'Documentation on Using Permalinks' ) . '

' . - '

' . __( 'Support' ) . '

' -); +$help_sidebar_content = '

' . __( 'For more information:' ) . '

' . + '

' . __( 'Documentation on Permalinks Settings' ) . '

' . + '

' . __( 'Documentation on Using Permalinks' ) . '

'; + +if ( $is_nginx ) { + $help_sidebar_content .= '

' . __( 'Documentation on Nginx configuration.' ) . '

'; +} + +$help_sidebar_content .= '

' . __( 'Support' ) . '

'; + +get_current_screen()->set_help_sidebar( $help_sidebar_content ); +unset( $help_sidebar_content ); $home_path = get_home_path(); $iis7_permalinks = iis7_supports_permalinks(); @@ -410,9 +416,7 @@ printf( __( 'If you like, you may enter custom structures for your category and

- -

Documentation on Nginx configuration.' ); ?>

- diff --git a/wp-includes/version.php b/wp-includes/version.php index 69373f3e7d..ba470bd9fa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51891'; +$wp_version = '5.9-alpha-51892'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.