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
#851Taxonomy Switcher4723362k+Nonce verification recommended
#852iControlWP4745591k+Missing direct file access protection
#853QuadLayers TikTok Feed4778527k+Text Domain Mismatch
#854Compress, Resize & Lazy Load Images – WPvivid Image Optimization471075810k+Missing direct file access protection
#855XML Sitemap & Google News47270224100k+Non-prefixed global variable
#856Ansar Import – One Click Starter Sites – for Elementor & Themes482711610k+Non-prefixed global variable
#857Jetpack Social4882925430k+Text Domain Mismatch
#858MWW Disclaimer Buttons482116400Output is not escaped
#859External Links4842139k+Output is not escaped
#860WS Action Scheduler Cleaner4813802k+error log error log
#861Download Media Library4922401k+Text Domain Mismatch
#862FooSales – Point of Sale (POS) for WooCommerce4992190700Non-prefixed global variable
#863Anti-Spam Protection – No API Key, GDPR Friendly4921061k+Direct Query
#864Ecommerce Fabrick4941351k+Nonce verification recommended
#865SKT Themes Demo Import492181044k+Text Domain Mismatch
#866Songkick Concerts and Festivals49948500Input is not sanitized
#867SpinupWP49433830k+Non-prefixed function
#868Page Builder Gutenberg Blocks – CoBlocks5016736300k+block api version too low
#869File Manager50427210k+Missing direct file access protection
#870IMGspider – 图片采集抓取插件5012492k+Missing nonce verification
#871PostmagThemes Demo Import501911141k+Text Domain Mismatch
#872Send Emails with Mandrill50361416k+Non-prefixed global variable
#873Theme Demo Import50101955k+Non-prefixed hook name
#874User Activity Tracking and Log50302593k+Non-prefixed global variable
#875StoryChief5112551k+Input is not sanitized
#876Trustpilot Reviews51145230k+Missing nonce verification
#877Hangul font nanumgothic – google5235161k+Output is not escaped
#878SEOWriting52102430k+Output is not escaped
#879Automattic For Agencies Client5324918420k+Text Domain Mismatch
#880Column Shortcodes5332960k+Unsafe printing function
#881Royal WordPress Backup, Restore & Migration Plugin – Backup WordPress Sites Safely53349020k+Database parameter is not escaped
#882aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder5483822k+Non-prefixed global variable
#883WP Menu Icons54685220k+Text Domain Mismatch
#884Go Live Update Urls55114980k+Non-prefixed hook name
#885Holded integration5572232k+Non Singular String Literal Domain
#886Popup Maker – Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder5554692700k+Non-prefixed hook name
#887AI Copilot – ChatGPT Chatbot & AI Engine for Post Automation5665201k+Text Domain Mismatch
#888easy AMP561024600Input is not sanitized
#889Social Chat – Click To Chat App Button568145200k+Text Domain Mismatch
#890Blog Time57386600Output is not escaped
#891Pantheon Migrations5715261k+Output is not escaped
#892MC4WP: Mailchimp for WordPress572381m+Non-prefixed global variable
#893Search Exclude57734050k+Text Domain Mismatch
#894Vibe AI – MCP Server for WordPress. Connect Claude, ChatGPT & Cursor5711512k+Interpolated SQL is not prepared
#895PDF invoice for WP ERP58961342k+Non-prefixed global variable
#896Co-Authors Plus5927620k+Input is not sanitized
#897flowpaper59133110k+Non-prefixed function
#898Post Blocks & Tools60946400Missing nonce verification
#899DreamHost Automated Migration62152320k+Output is not escaped
#900Migrate To Liquid Web & Nexcess6215232k+Output is not escaped