Make WordPress Core


Ignore:
Timestamp:
11/08/2021 09:41:43 PM (2 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/options-privacy.php

    r51657 r52053  
    2929
    3030$action = isset( $_POST['action'] ) ? $_POST['action'] : '';
     31
     32get_current_screen()->add_help_tab(
     33    array(
     34        'id'      => 'overview',
     35        'title'   => __( 'Overview' ),
     36        'content' =>
     37                '<p>' . __( 'The Privacy screen lets you either build a new privacy-policy page or choose one you already have to show.' ) . '</p>' .
     38                '<p>' . __( 'This screen includes suggestions to help you write your own privacy policy. However, it is your responsibility to use these resources correctly, to provide the information required by your privacy policy, and to keep this information current and accurate.' ) . '</p>'
     39    )
     40);
     41
     42get_current_screen()->set_help_sidebar(
     43    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
     44    '<p>' . __( '<a href="https://wordpress.org/support/article/settings-privacy-screen/">Documentation on Privacy Settings</a>' ) . '</p>'
     45);
    3146
    3247if ( ! empty( $action ) ) {
Note: See TracChangeset for help on using the changeset viewer.