Changeset 3442507
- Timestamp:
- 01/19/2026 12:06:15 PM (3 months ago)
- Location:
- devsniper/trunk
- Files:
-
- 1 added
- 2 edited
-
AGENTS.md (added)
-
devsniper.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
devsniper/trunk/devsniper.php
r3442418 r3442507 2 2 /** 3 3 * Plugin Name: DevSniper – Global Developer Search 4 * Description: Global developer search and front-end inspector for WordPress admins.4 * Description: Lightning-fast admin search with a front-end inspector to find elements and jump straight to editing. 5 5 * Version: 0.5.1 6 6 * Author: InterestOffice 7 * Author URI: https://interest.org.il /devsniper/8 * Plugin URI: https://interest.org.il/devsniper /7 * Author URI: https://interest.org.il 8 * Plugin URI: https://interest.org.il/devsniper 9 9 * License: GPLv2 or later 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html -
devsniper/trunk/readme.txt
r3442428 r3442507 1 1 === DevSniper – Global Developer Search === 2 2 Contributors: interestoffice 3 Tags: command palette, admin search, inspector, developer tools, productivity3 Tags: admin search, command palette, inspector, elementor, gutenberg, admin tools, developer tools, productivity, admin bar, admin panel, frontend 4 4 Requires at least: 6.0 5 Tested up to: 6. 65 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 7 Stable tag: 0.5.1 8 Donate link: https://interest.org.il/devsniper/9 8 License: GPLv2 or later 10 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 10 12 Fast admin search (Cmd/Ctrl+K) + front-end inspector for admins to identify elements and jumpto editing.11 Lightning-fast admin search and front-end inspector so you can find anything and jump straight to editing. 13 12 14 13 == Description == 15 14 16 DevSniper is a lightweight productivity plugin for WordPress power users and developers. 17 It combines two tools in one: 15 DevSniper is a lightweight, WordPress-native toolkit built to help admins move faster and discover more without leaving the dashboard. 18 16 19 = 1) Front-end Inspector (admins only) = 20 Hover to highlight. Click to inspect. Copy selectors. Jump to the right editor. 17 It combines two essentials: 21 18 22 * Hover highlight + click-to-inspect (tag, ID, classes) 23 * Size, offsets and DOM path 24 * CSS selector generator + copy buttons 25 * Source detection: Elementor / Gutenberg / Theme (where possible) 26 * Quick “Open Editor” link (when available) 27 * Favourites and per-user saved toggle 28 * Capability is filterable via `devsniper_required_cap` 19 * 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. 20 * 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. 29 21 30 = 2) Admin Search (Command Palette) = 31 Open anywhere in wp-admin with `Ctrl/Cmd + K` for fast navigation and search. 22 Everything runs locally. No tracking, no external requests, and no locked “pro-only” code. This free version is fully usable. 32 23 33 * Quick search for posts/pages, media, users, and admin pages 34 * Keyboard-first UI that respects WordPress admin styling 35 * Per-user favourites with star toggle 36 * Tabbed settings: General / Sources / Premium (placeholder) 37 38 = Privacy & performance = 39 No tracking. No telemetry. No external requests. Assets load only for logged-in users with the required capability. 24 No tracking, no external requests, no locked “pro-only” code. Everything in this free version is fully usable. 40 25 41 26 == Installation == … … 44 29 2. Activate the plugin through **Plugins** in WordPress. 45 30 3. In wp-admin click the 🎯 icon in the admin bar or press `Ctrl/Cmd + K` to open the search palette. 46 4. On the frontend (logged-in admins), click the 🎯 icon or press `Ctrl/Cmd + Shift + I` to toggle the Inspector.31 4. On the frontend (logged-in admins), click the same 🎯 icon or press `Ctrl/Cmd + Shift + I` to toggle the Inspector. 47 32 48 33 == Frequently Asked Questions == 49 34 50 35 = Who can use the Inspector? = 51 By default, only logged-in users with `manage_options` (filterable via `devsniper_required_cap`). The Inspector state is saved per user. 36 37 By default only users with `manage_options` (filterable via `devsniper_required_cap`) and who are logged in. The state is saved per user. 52 38 53 39 = Does it load for visitors? = 40 54 41 No. Assets load only for logged-in users with the right capability. 55 42 56 43 = Do you send any data outside my site? = 57 No. There is no telemetry, no CDN and no remote requests in this version.58 44 59 = Can I customize capabilities? = 60 Yes. Use the `devsniper_required_cap` filter to change the required capability. 45 No. There is no telemetry, no CDN, no remote requests in this MVP. 61 46 62 47 == Screenshots == … … 80 65 * Capabilities: Inspector gated by `manage_options` (filter `devsniper_required_cap`); admin search limited to `edit_posts`. 81 66 * Nonces: All AJAX routes verify `devsniper_nonce` plus capability checks before mutating data. 82 * Sanitization/Escaping: Incoming text via `sanitize_text_field`/`esc_url_raw`; outputs escaped in HTML; URLs escaped.67 * Sanitization/Escaping: All incoming text via `sanitize_text_field`/`esc_url_raw`; outputs escaped in HTML; URLs escaped. 83 68 * External requests: None. No telemetry or third-party calls; assets served locally.
Note: See TracChangeset
for help on using the changeset viewer.