Administration: Display a warning at the top of "All Settings" screen.
Props zodiac1978, donmhico, pixolin. Fixes #47718. Built from https://develop.svn.wordpress.org/trunk@45743 git-svn-id: http://core.svn.wordpress.org/trunk@45554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9967a3e030
commit
e8cd892ba4
@ -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" />
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45742';
|
$wp_version = '5.3-alpha-45743';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user