Changeset 2406934
- Timestamp:
- 10/26/2020 04:32:55 PM (5 years ago)
- Location:
- wp-clean-admin-menu/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
wp-clean-admin-menu.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-clean-admin-menu/trunk/README.txt
r2256317 r2406934 9 9 Author URI: https://www.proy.info 10 10 Requires at least: 4.5 11 Tested up to: 5. 411 Tested up to: 5.5.1 12 12 Stable tag: 1.0 13 Version: 1. 0.113 Version: 1.1 14 14 License: GPLv2 15 15 -
wp-clean-admin-menu/trunk/wp-clean-admin-menu.php
r2071782 r2406934 23 23 24 24 public $toggleItemSlug = 'toggle_wpcleanadminmenu'; 25 public $toggleItemOrder = ' 98.1';25 public $toggleItemOrder = '300.1'; 26 26 public $hiddenItemsOptionName = 'toggle_wpcleanadminmenu_items'; 27 27 public $nonceName = 'toggle_wpcleanadminmenu_options'; … … 176 176 .table-menulist td { padding: 5px; border-bottom: 1px solid #DFDFDF; } 177 177 .table-menulist tr:last-child td { border-bottom: 0;} 178 .table-menulist .awaiting-mod, .table-menulist .update-plugins {display: inline-block;vertical-align: top;box-sizing: border-box;margin: 1px 0 -1px 2px;padding: 0 5px;min-width: 18px;height: 18px;border-radius: 9px;background-color: #ca4a1f;color: #fff;font-size: 11px;line-height: 1.6;text-align: center;z-index: 26;} 178 179 </style> 179 180 <div class="wrap"> 180 181 <h1><?php esc_html_e('WP Clean Admin Menu', $pluginName); ?></h1> 181 <?php 182 echo (($_GET['saved']==1)?'<div class="updated"><p>' . __('Success! Admin menu cleaned successfully', $this->plugin_name) . '</p></div>':''); 183 ?> 182 <?php echo (($_GET['saved']==1)?'<div class="updated"><p>' . __('Success! Admin menu cleaned successfully', $this->plugin_name) . '</p></div>':''); ?> 184 183 <p> 185 184 This plugin helps to simplify WordPress admin-menu by hiding the rarely used admin-menu items/links.<br/> 186 < h3>Selected menu items will be HIDDEN by default. Use The toggle Menu item to show/hide items.</h3>185 <strong>Selected menu items will be HIDDEN by default. Use The toggle Menu item to show/hide items.</strong> 187 186 </p> 188 187 <form action="<?php echo esc_attr(admin_url('options-general.php?page=wp-clean-admin-menu_options')); ?>" method="post"> … … 222 221 <span style="color:#CA4A1F;" class="dashicons-before dashicons-hidden"></span> 223 222 <?php }else{?> 224 <span style="color:# DFDFDF;" class="dashicons-before dashicons-visibility"></span>223 <span style="color:#18dc0b;" class="dashicons-before dashicons-visibility"></span> 225 224 <?php } ?> 226 225 </td> … … 230 229 <?php 231 230 if ($menuItem[2] === 'toggle_wpcleanadminmenu') 232 echo '―― '.strtoupper($menuItem[0]).' ――<br><sub style="color:#616A74;">Used to toggle menu items </sub>';231 echo '―― '.strtoupper($menuItem[0]).' ――<br><sub style="color:#616A74;">Used to toggle menu items.<br>Check this item to hide from menu list.</sub>'; 233 232 else 234 233 echo $menuItem[0];
Note: See TracChangeset
for help on using the changeset viewer.