Make WordPress Core


Ignore:
Timestamp:
11/08/2021 09:41:43 PM (3 years ago)
Author:
johnjamesjacoby
Message:

Admin/Help: add docs links to several screens.

This change intends to better guide users towards many of the useful resources available on WordPress.org.

  • Appearance/Customizer - Add link to Customizer docs.
  • Appearance/Editor - Improve link text & destination.
  • Privacy Settings - Link to Privacy Settings docs.
  • Site Health - Link to Site Health docs.

Props audrasjb, jdy68, webcommsat.

Fixes #54357.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/site-health.php

    r52018 r52053  
    7474
    7575$health_check_site_status = WP_Site_Health::get_instance();
     76
     77get_current_screen()->add_help_tab(
     78    array(
     79        'id'      => 'overview',
     80        'title'   => __( 'Overview' ),
     81        'content' =>
     82                '<p>' . __( 'This screen allows you to obtain a health diagnosis of your site, and displays an overall rating of the status of your installation.' ) . '</p>' .
     83                '<p>' . __( 'In the Status tab, you can see critical information about your WordPress configuration, along with anything else that requires your attention.' ) . '</p>' .
     84                '<p>' . __( 'In the Info tab, you will find all the details about the configuration of your WordPress site, server, and database. There is also an export feature that allows you to copy all of the information about your site to the clipboard, help solve problems on your site when obtaining support.' ) . '</p>'
     85    )
     86);
     87
     88get_current_screen()->set_help_sidebar(
     89    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
     90    '<p>' . __( '<a href="https://wordpress.org/support/article/site-health-screen/">Documentation on Site Health tool</a>' ) . '</p>'
     91);
    7692
    7793// Start by checking if this is a special request checking for the existence of certain filters.
Note: See TracChangeset for help on using the changeset viewer.