| @@ -3,20 +3,15 @@ | ||
| 3 | 3 | * @package Adminimize |
| 4 | 4 | * @subpackage Notice for settings page |
| 5 | 5 | * @author Frank Bültge |
| 6 | 6 | */ |
| 7 | - | |
| 8 | 7 | if ( ! function_exists( 'add_filter' ) ) { |
| 9 | 8 | echo "Hi there! I'm just a part of plugin, not much I can do when called directly."; |
| 10 | 9 | exit; |
| 11 | 10 | } |
| 12 | - | |
| 13 | -// always visible. | |
| 11 | +// always visible | |
| 14 | 12 | add_action( 'load-settings_page_adminimize/adminimize', '_mw_adminimize_add_settings_error' ); |
| 15 | 13 | |
| 16 | -/** | |
| 17 | - * Add custom errer messages for the error notes. | |
| 18 | - */ | |
| 19 | 14 | function _mw_adminimize_add_settings_error() { |
| 20 | 15 | |
| 21 | 16 | $settings_hint_message = '<span style="font-size: 35px; float: left; margin: 10px 3px 0 0;">☝</span>' |
| 22 | 17 | . esc_attr__( |
| @@ -22,9 +17,8 @@ | ||
| 22 | 17 | . esc_attr__( |
| 23 | 18 | 'Please note: The Adminimize settings page ignores the Menu Options below and displays the menu with all entries.', |
| 24 | 19 | 'adminimize' |
| 25 | 20 | ) |
| 26 | - . ' ' | |
| 27 | 21 | . esc_attr__( |
| 28 | 22 | 'To view your changes to the menu you need to navigate away from the Adminimize settings page.', |
| 29 | 23 | 'adminimize' |
| 30 | 24 | ); |