Administration: Display a warning at the top of "All Settings" screen.
Props zodiac1978, donmhico, pixolin. Fixes #47718. git-svn-id: https://develop.svn.wordpress.org/trunk@45743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7a6f44b979
commit
b536f1de0b
@ -318,6 +318,11 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
|||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h1><?php esc_html_e( 'All Settings' ); ?></h1>
|
<h1><?php esc_html_e( 'All Settings' ); ?></h1>
|
||||||
|
|
||||||
|
<div class="notice notice-warning">
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
|
||||||
<form name="form" action="options.php" method="post" id="all-options">
|
<form name="form" action="options.php" method="post" id="all-options">
|
||||||
<?php wp_nonce_field( 'options-options' ); ?>
|
<?php wp_nonce_field( 'options-options' ); ?>
|
||||||
<input type="hidden" name="action" value="update" />
|
<input type="hidden" name="action" value="update" />
|
||||||
|
Loading…
Reference in New Issue
Block a user