Changeset 2217326
- Timestamp:
- 12/24/2019 05:04:09 AM (6 years ago)
- Location:
- admin-menu-search/trunk
- Files:
-
- 3 edited
-
admin-menu-search.js (modified) (1 diff)
-
admin-menu-search.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
admin-menu-search/trunk/admin-menu-search.js
r2142250 r2217326 5 5 jQuery("#adminmenu").prepend("<li style='width: 80%;margin: 10px auto 10px auto;'><input type='text' id='admin-menu-filter-field' placeholder='Search Menus' style='width: 100%;background-image: url(../wp-content/plugins/admin-menu-search/icon-search.png);background-repeat: no-repeat;text-indent: 20px;-webkit-user-select:text;'></li>"); 6 6 7 jQuery(document).on(' keyup', '#admin-menu-filter-field', function(){7 jQuery(document).on('change input propertychange paste keyup', '#admin-menu-filter-field', function(){ 8 8 9 9 var adminMenuFilterFieldValue = this.value.toLowerCase(); -
admin-menu-search/trunk/admin-menu-search.php
r2142250 r2217326 4 4 Plugin URI: https://herchen.com/admin-menu-search/ 5 5 Description: Adds a search box to the top of the WordPress Admin Menu. Allows you to easily locate admin menu functions for sites with large amounts of menus or menu items. 6 Version: 1. 16 Version: 1.2 7 7 Author: Michael Herchenroder 8 8 Author URI: http://herchen.com 9 9 */ 10 10 11 add_action('admin_enqueue_scripts', 'fhqwhgads_load_scripts'); 12 function fhqwhgads_load_scripts() { 13 wp_enqueue_script( 'admin-menu-search', plugin_dir_url( __FILE__ ) . "/admin-menu-search.js", array(), '1.2', true ); 14 } 15 16 11 17 if ( is_admin() ) { 12 13 wp_enqueue_script( 'admin-menu-search', plugin_dir_url( __FILE__ ) . "/admin-menu-search.js", array(), '1.1', true );14 18 add_filter( 'plugin_row_meta', 'fhqwhgads_donate_link', 10, 2 ); 15 19 } -
admin-menu-search/trunk/readme.txt
r2141978 r2217326 4 4 Text Domain: admin-menu-search 5 5 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8NJPQ6RHLT5HN&source=url 6 Tested up to: 5. 2.26 Tested up to: 5.3.2 7 7 License: GPL2 8 8 License URI: https://www.gnu.org/licenses
Note: See TracChangeset
for help on using the changeset viewer.