Ticket #45186: 45186.diff
| File 45186.diff, 3.6 KB (added by , 4 years ago) |
|---|
-
src/wp-admin/options-discussion.php
38 38 39 39 <div class="wrap"> 40 40 <h1><?php echo esc_html( $title ); ?></h1> 41 <?php settings_errors(); ?> 41 42 42 43 <form method="post" action="options.php"> 43 44 <?php settings_fields( 'discussion' ); ?> -
src/wp-admin/options-general.php
55 55 56 56 <div class="wrap"> 57 57 <h1><?php echo esc_html( $title ); ?></h1> 58 <?php settings_errors(); ?> 58 59 59 60 <form method="post" action="options.php" novalidate="novalidate"> 60 61 <?php settings_fields( 'general' ); ?> -
src/wp-admin/options-head.php
15 15 add_settings_error( 'general', 'settings_updated', __( 'Settings saved.' ), 'success' ); 16 16 } 17 17 18 settings_errors(); 18 /* 19 * Display settings errors for non-core files. 20 * For core files, settings_errors() is called after 21 * the first heading on individual settings screens. 22 */ 23 if ( ! file_exists( ABSPATH . "/wp-admin/$pagenow" ) ) { 24 settings_errors(); 25 } -
src/wp-admin/options-media.php
48 48 49 49 <div class="wrap"> 50 50 <h1><?php echo esc_html( $title ); ?></h1> 51 <?php settings_errors(); ?> 51 52 52 53 <form action="options.php" method="post"> 53 54 <?php settings_fields( 'media' ); ?> -
src/wp-admin/options-permalink.php
207 207 ?> 208 208 <div class="wrap"> 209 209 <h1><?php echo esc_html( $title ); ?></h1> 210 <?php settings_errors(); ?> 210 211 211 212 <form name="form" action="options-permalink.php" method="post"> 212 213 <?php wp_nonce_field( 'update-permalink' ); ?> -
src/wp-admin/options-reading.php
59 59 60 60 <div class="wrap"> 61 61 <h1><?php echo esc_html( $title ); ?></h1> 62 <?php settings_errors(); ?> 62 63 63 64 <form method="post" action="options.php"> 64 65 <?php -
src/wp-admin/options-writing.php
59 59 60 60 <div class="wrap"> 61 61 <h1><?php echo esc_html( $title ); ?></h1> 62 <?php settings_errors(); ?> 62 63 63 64 <form method="post" action="options.php"> 64 65 <?php settings_fields( 'writing' ); ?> -
src/wp-admin/options.php
356 356 357 357 <div class="wrap"> 358 358 <h1><?php esc_html_e( 'All Settings' ); ?></h1> 359 <?php settings_errors(); ?> 359 360 360 361 <div class="notice notice-warning"> 361 362 <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>