Apraksts
Adds a button to clear the search field inside the admin area that will save you time and make intensive search usage more convenient.
Works in the search engine for posts, pages, comments, users, media library, categories, tags, plugins and themes.
Uzstādīšana
- Go to Plugins > Add New Plugin.
- Search for Clear Internal Search Button.
- Install and activate the Clear Internal Search Button plugin.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Clear Internal Search Button” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
Līdzdalībnieki“Clear Internal Search Button” ir tulkots lokalizācijās 4. Paldies tulkotājiem par ieguldījumu.
Tulkot “Clear Internal Search Button” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
[2.1.2] – 2026-06-14
- Escaped enqueued script and style URLs with esc_url().
- Added title attribute to the clear button.
- Made the “Clear search field” string translatable via i18n.
[2.1.1] – 2026-05-25
- Bumped minimum WordPress requirement to 6.3.
- Bumped minimum PHP requirement to 7.4.
- Tested up to WordPress 7.0.
[2.1] – 2025-03-05
- Bumped minimum WordPress requirement to 6.9.
- Bumped minimum PHP requirement to 8.2.
- Changed capability check from edit_posts to manage_options.
[2.0] – 2025-02-27
- Added capability check to prevent asset loading for unprivileged users.
- Introduced CISB_VERSION constant to centralise version management.
- Separated wp_register_script/style from wp_enqueue_script/style.
- Added strict comparison to in_array() calls.
- Added PHPDoc block to main function.
- Replaced inline HTML string in jQuery button constructor with object syntax.
- Moved initial button visibility from inline style to CSS.
- Replaced fragile positional CSS selectors with class-based selectors.
- Removed !important from button alignment rule.
- Fixed changelog date formats to YYYY-MM-DD.
[1.9] – 2024-08-04
- Scripts and styles will be loaded only when necessary.
- Prevent text from hiding behind the clear button.
[1.8] – 2024-10-28
- Commented style.css
- Fixes in style.css
[1.6] – 2024-05-14
- Added “X” button inside the search field.
[1.5] – 2024-05-13
- Added version to
wp_enqueue_style. - Security fix
[1.3] – 2024-04-27
- Added clear button on media library, categories, plugins and themes pages.
[1.2] – 2024-03-31
- Button appears only when there is text in the search field.
- Added clear button on comments and users pages.
- Some corrections.
[1.0] – 2024-01-15
- First version.
