Make WordPress Core

Changeset 45743


Ignore:
Timestamp:
08/04/2019 01:02:58 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Administration: Display a warning at the top of "All Settings" screen.

Props zodiac1978, donmhico, pixolin.
Fixes #47718.

File:
1 edited

Legend:

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

    r45674 r45743  
    319319<div class="wrap">
    320320    <h1><?php esc_html_e( 'All Settings' ); ?></h1>
     321
     322    <div class="notice notice-warning">
     323        <p><strong><?php _e( 'WARNING!' ); ?></strong> <?php _e( 'This page allows direct access to your site settings. You can break things here. Please be cautious!' ); ?></p>
     324    </div>
     325
    321326    <form name="form" action="options.php" method="post" id="all-options">
    322327        <?php wp_nonce_field( 'options-options' ); ?>
Note: See TracChangeset for help on using the changeset viewer.