WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
Non-prefixed hook name
The plugin defines a hook name without a plugin-specific prefix.
Why It Shows Up
WordPress loads many plugins in the same PHP runtime. Plugin Check found a global symbol or hook name that is not clearly namespaced to this plugin.
Why It Matters
Unprefixed globals can collide with WordPress core, themes, or other plugins, causing fatal errors, overwritten values, or handlers running in the wrong context.
How to Fix
- Choose a short, unique prefix or namespace based on the plugin slug or vendor name.
- Rename the hook name so it cannot collide with code from another plugin.
- For public hooks, document the final hook name and keep it stable after release.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #1301 | Tidio – Live Chat & AI Chatbots | 34 | 52 | 19 | 80k+ | curl curl setopt | |
| #1302 | Travel Agency Companion – Create Tour & Travel Website Using WP Travel Engine | 34 | 128 | 211 | 4k+ | Non Prefixed Variable Found | |
| #1303 | Tools for Twitter | 34 | 135 | 87 | 1k+ | Output Not Escaped | |
| #1304 | Ultimate 410 Gone Status Code | 34 | 136 | 65 | 7k+ | Echo Found | |
| #1305 | Visual Form Builder | 34 | 82 | 329 | 20k+ | Direct Query | |
| #1306 | Abandoned Cart Reports For WooCommerce | 34 | 133 | 163 | 2k+ | Output Not Escaped | |
| #1307 | Donation Platform for WooCommerce: Fundraising & Donation Management | 34 | 331 | 448 | 7k+ | Non Prefixed Variable Found | |
| #1308 | Weaver Xtreme Theme Support | 34 | 1,625 | 43 | 9k+ | Text Domain Mismatch | |
| #1309 | Checkout Field Editor (Checkout Page Manager) for WooCommerce | 34 | 706 | 232 | 2k+ | Text Domain Mismatch | |
| #1310 | PostNL for WooCommerce | 34 | 587 | 104 | 3k+ | Text Domain Mismatch | |
| #1311 | Simple Discount Rules for Woocommerce | 34 | 175 | 214 | 5k+ | Recommended | |
| #1312 | Advanced Free Shipping for WooCommerce | 34 | 270 | 132 | 40k+ | Text Domain Mismatch | |
| #1313 | Easy Booking – WooCommerce Booking & Reservation Plugin | 34 | 138 | 172 | 4k+ | Output Not Escaped | |
| #1314 | Mercado Pago payments for WooCommerce | 34 | 604 | 63 | 100k+ | Echo Found | |
| #1315 | Product Tabs for WooCommerce | 34 | 196 | 93 | 10k+ | Text Domain Mismatch | |
| #1316 | WP-Cron Status Checker | 34 | 277 | 111 | 5k+ | Text Domain Mismatch | |
| #1317 | WP Maps – Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters | 34 | 219 | 453 | 60k+ | wp function not compatible with requires wp | |
| #1318 | Insert Headers And Footers | 34 | 83 | 113 | 300k+ | Non Prefixed Variable Found | |
| #1319 | Email Template Designer – WP HTML Mail | 34 | 62 | 80 | 20k+ | badly named files | |
| #1320 | WP Mail Logging | 34 | 76 | 258 | 300k+ | Recommended | |
| #1321 | WP Maintenance | 34 | 40 | 217 | 50k+ | Non Prefixed Variable Found | |
| #1322 | LightStart – Maintenance Mode, Coming Soon and Landing Page Builder | 34 | 42 | 312 | 400k+ | Missing Unslash | |
| #1323 | WP Random Post Thumbnails | 34 | 420 | 26 | 1k+ | Text Domain Mismatch | |
| #1324 | Thumbnail carousel slider | 34 | 277 | 143 | 2k+ | Output Not Escaped | |
| #1325 | WP Ultimate Post Grid | 34 | 114 | 74 | 4k+ | missing direct file access protection | |
| #1326 | Live Visitor Counter | 34 | 108 | 114 | 4k+ | Interpolated Not Prepared | |
| #1327 | Wp Favs – Plugin Manager | 34 | 238 | 153 | 3k+ | Text Domain Mismatch | |
| #1328 | YourChannel: Everything you want in a YouTube plugin. | 34 | 262 | 115 | 10k+ | Text Domain Mismatch | |
| #1329 | Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades | 34 | 571 | 195 | 100k+ | Output Not Escaped | |
| #1330 | ACF Color Swatches | 35 | 50 | 21 | 1k+ | Text Domain Mismatch | |
| #1331 | Advanced Custom Fields: Image Aspect Ratio Crop Field | 35 | 70 | 37 | 20k+ | Text Domain Mismatch | |
| #1332 | ACF OpenStreetMap Field | 35 | 40 | 46 | 9k+ | Non Prefixed Variable Found | |
| #1333 | SOOZ – AI for SEO – Bulk Generate Focus Keyphrases, Metadata, Alt Text (SEO Autopilot) | 35 | 44 | 394 | 2k+ | Recommended | |
| #1334 | Akismet Anti-spam: Spam Protection | 35 | 33 | 99 | 6m+ | Non Prefixed Variable Found | |
| #1335 | AnsPress – Question and answer | 35 | 22 | 778 | 3k+ | Non Prefixed Function Found | |
| #1336 | Aquila Admin Theme | 35 | 151 | 329 | 3k+ | Non Prefixed Variable Found | |
| #1337 | Basic Google Maps Placemarks | 35 | 189 | 80 | 3k+ | Output Not Escaped | |
| #1338 | bbPress Notify (No-Spam) | 35 | 62 | 66 | 2k+ | wp function not compatible with requires wp | |
| #1339 | Before After Image Comparison – Visual Comparison for Two Images | 35 | 19 | 16 | 3k+ | Text Domain Mismatch | |
| #1340 | Better Recent Comments | 35 | 127 | 29 | 2k+ | Text Domain Mismatch | |
| #1341 | Block Manager | 35 | 33 | 26 | 4k+ | Text Domain Mismatch | |
| #1342 | Gutenberg Block Editor Toolkit – EditorsKit | 35 | 61 | 25 | 30k+ | Text Domain Mismatch | |
| #1343 | BlossomThemes Toolkit | 35 | 347 | 52 | 30k+ | Output Not Escaped | |
| #1344 | Bluehost Site Migrator | 35 | 11 | 18 | 4k+ | missing direct file access protection | |
| #1345 | Registration Options for BuddyPress | 35 | 47 | 132 | 1k+ | Non Prefixed Function Found | |
| #1346 | Business Hours Indicator | 35 | 139 | 106 | 8k+ | Output Not Escaped | |
| #1347 | Cache Enabler | 35 | 44 | 75 | 90k+ | Input Not Sanitized | |
| #1348 | CartPops – High Converting Add To Cart Popup For WooCommerce | 35 | 56 | 187 | 4k+ | Non Prefixed Variable Found | |
| #1349 | CatFolders – WordPress Media Library Folders & Categories | 35 | 35 | 76 | 6k+ | Direct Query | |
| #1350 | CF7 Submissions – Securely Store Contact Form 7 Data and Attachments, Reply to the Sender and more | 35 | 16 | 119 | 2k+ | Non Prefixed Variable Found |