Make WordPress Core


Ignore:
Timestamp:
05/09/2018 06:13:38 PM (7 years ago)
Author:
azaozz
Message:

Privacy: remove the help tab from Settings => Privacy until we have something helpful to say :)

Props allendav.
Merges [43201] to the 4.9 branch.
Fixes #44023.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/privacy.php

    r43161 r43202  
    101101}
    102102
    103 get_current_screen()->add_help_tab( array(
    104     'id'      => 'privacy',
    105     'title'   => __( 'Privacy' ),
    106     'content' => '<p>' . __( 'This page provides settings with which you can manage your site&#8217;s privacy policy.' ) . '</p>',
    107 ) );
    108 
    109 get_current_screen()->set_help_sidebar(
    110     '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    111     '<p>' . __( '<a href="#">Documentation on privacy</a>' ) . '</p>'
    112 );
    113 
    114103require_once( ABSPATH . 'wp-admin/admin-header.php' );
    115104
Note: See TracChangeset for help on using the changeset viewer.