=== DevSniper – Global Developer Search === Contributors: interestoffice Tags: admin search, command palette, inspector, elementor, gutenberg, admin tools, developer tools, productivity, admin bar, admin panel, frontend Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 0.5.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Lightning-fast admin search and front-end inspector so you can find anything and jump straight to editing. == Description == DevSniper is a lightweight, WordPress-native toolkit built to help admins move faster and discover more without leaving the dashboard. It combines two essentials: * Admin Search (command palette) inside wp-admin with `Ctrl/Cmd + K`: instant results across posts, pages, media, users, and admin screens. Star items to create personal favourites and return to them in one click. The UI matches WordPress styling and stays out of your way. * Front-end Inspector for logged-in admins (or a custom capability via `devsniper_required_cap`). Hover to highlight elements, click to reveal tag/ID/classes, size and offsets, DOM path, CSS selector, and source detection (Elementor/Gutenberg/Theme). Copy data or jump to “Open Editor” directly. Everything runs locally. No tracking, no external requests, and no locked “pro-only” code. This free version is fully usable. No tracking, no external requests, no locked “pro-only” code. Everything in this free version is fully usable. == Installation == 1. Upload the plugin files to `/wp-content/plugins/devsniper` or install via the Plugins screen. 2. Activate the plugin through **Plugins** in WordPress. 3. In wp-admin click the 🎯 icon in the admin bar or press `Ctrl/Cmd + K` to open the search palette. 4. On the frontend (logged-in admins), click the same 🎯 icon or press `Ctrl/Cmd + Shift + I` to toggle the Inspector. == Frequently Asked Questions == = Who can use the Inspector? = By default only users with `manage_options` (filterable via `devsniper_required_cap`) and who are logged in. The state is saved per user. = Does it load for visitors? = No. Assets load only for logged-in users with the right capability. = Do you send any data outside my site? = No. There is no telemetry, no CDN, no remote requests in this MVP. == Screenshots == 1. Command palette in wp-admin with grouped results and favourites. 2. Front-end inspector highlight with floating panel and copy buttons. == Changelog == = 0.5.1 = * Update: Plugin name reverted to “DevSniper – Global Developer Search”. * Update: Version bump and housekeeping. = 0.1.0 = * New: Front-end Inspector with hover highlight, element details, copy buttons, open-editor link, favourites stored in user meta, and keyboard toggle `Ctrl/Cmd + Shift + I`. * New: Admin search keeps existing UI, now stores favourites per user, honours capability checks, and ships with tabbed settings + Premium placeholder. * Security: Capability filter, nonces on all AJAX, strict sanitization/escaping, uninstall cleanup of user meta. == SECURITY CHECKLIST == * Capabilities: Inspector gated by `manage_options` (filter `devsniper_required_cap`); admin search limited to `edit_posts`. * Nonces: All AJAX routes verify `devsniper_nonce` plus capability checks before mutating data. * Sanitization/Escaping: All incoming text via `sanitize_text_field`/`esc_url_raw`; outputs escaped in HTML; URLs escaped. * External requests: None. No telemetry or third-party calls; assets served locally.