Squiz.PHP.DiscouragedFunctions.Discouraged

Discouraged PHP function

The plugin uses a PHP or WordPress pattern that coding standards discourage.

medium weight

Why It Shows Up

Plugin Check found a discouraged function, forbidden function, goto, backtick operator, or similar construct.

Why It Matters

Discouraged patterns are often harder to review, less portable across hosts, or easier to misuse securely.

How to Fix

  • Identify why the construct is used and whether WordPress provides a safer API.
  • Replace shell execution, dynamic execution, or broad forbidden functions with constrained WordPress APIs.
  • If a third-party library triggers the warning, isolate and document it.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#701Email Subscription Popup — Newsletter & GDPR Consent356831931k+Output is not escaped
#702EWWW Image Optimizer352257291m+Direct Query
#703Extendify35117168500k+Non-prefixed global variable
#704External Links Overview3557200800Non-prefixed global variable
#705FooGallery Migrate35412321k+Non-prefixed global variable
#706Force Regenerate Thumbnails351217200k+unlink unlink
#707g-FFL Cockpit3518224500Direct Query
#708Gumlet – Image optimization with Resize, Compression, Lazy load, Caching & CDN delivery355345500parse url parse url
#709Heartbeat Control35271880k+Missing Arg Domain
#710PDF Compressor & Watermark – iLovePDF352165600Text Domain Mismatch
#711ImageMagick Engine35632960k+Unsafe printing function
#712Inspiro Starter Sites – 20+ Free Demo Templates for Gutenberg & Elementor35620010k+Non-prefixed global variable
#713Social Feed Gallery351045280k+Text Domain Mismatch
#714Static Site Exporter355425500file system operations mkdir
#715Lead Form Builder & Contact Form354003459k+Output is not escaped
#716Less PHP Compiler35163473k+Exception output is not escaped
#717LiteSpeed Cache352868937m+Non-prefixed global variable
#718AI Product Search for WooCommerce – Motive Commerce Search357082400Missing direct file access protection
#719My Eyes Are Up Here357122k+Missing nonce verification
#720Page Optimize357041200k+Non Singular String Literal Domain
#721Post Password Token3513238600Text Domain Mismatch
#722Presto Player353777100k+Missing Arg Domain
#723RICG Responsive Images3529252k+wp function not compatible with requires wp
#724Simple History – Track, Log, and Audit WordPress Changes3532122300k+Non-prefixed global variable
#725Social Sharing Plugin – Social Warfare351714320k+Non-prefixed class
#726SweepPress: Website Cleanup and Optimization3571176600Non-prefixed global variable
#727Taxonomy CSV Import Export35530700Missing nonce verification
#728Starter Sites & Templates by Neve352888100k+Non-prefixed hook name
#729theMarketer – Email marketing, Newsletters, Automation & Loyalty for Woocommerce35447700Nonce verification recommended
#730Converter for Media – Optimize images | Convert WebP & AVIF3513353500k+curl curl setopt
#731ALD – Dropshipping and Fulfillment for AliExpress and WooCommerce355034310k+Request data is not unslashed
#732Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing354923050k+Non-prefixed hook name
#733Database Backup for WordPress351288870k+Output is not escaped
#734WP PGP Encrypted Emails356339400Output is not escaped
#735WPPerformanceTester3594441k+Output is not escaped
#736XServer Migrator35395310k+Interpolated SQL is not prepared
#737Year Make Model Search for WooCommerce351881621k+Output is not escaped
#738Ziina3510252k+Input is not sanitized
#739SOOZ – AI for SEO – Bulk Generate Focus Keyphrases, Metadata, Alt Text (SEO Autopilot)3643422k+Nonce verification recommended
#740Bard Extra3615975700Text Domain Mismatch
#741Blaze Demo Importer36101948k+Output is not escaped
#742Desktop Mode3615792k+Direct Query
#743Google SEO Pressor for Rich snippets3651160400Missing nonce verification
#744Jetpack VideoPress366182247k+Text Domain Mismatch
#745Lara's Google Analytics (GA4)36303579k+Unsafe printing function
#746Materialis Companion36129676k+Unsafe printing function
#747Plugins Garbage Collector (Database Cleanup)36325110k+Missing nonce verification
#748Quick 301 Redirects36891205k+Non-prefixed global variable
#749Rara One Click Demo Import361229820k+Missing Translators Comment
#750Optimize Database after Deleting Revisions3664412760k+Output is not escaped