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
#801Holded integration5572232k+Non Singular String Literal Domain
#802AI Copilot – ChatGPT Chatbot & AI Engine for Post Automation5665201k+Text Domain Mismatch
#803SureMembers – Membership & Content Restriction Plugin5652102800Request data is not unslashed
#804Pantheon Migrations5715261k+Output is not escaped
#805MC4WP: Mailchimp for WordPress572381m+Non-prefixed global variable
#806Search Exclude57734050k+Text Domain Mismatch
#807Social Chat – Click To Chat App Button578144200k+Text Domain Mismatch
#808PDF invoice for WP ERP58961342k+Non-prefixed global variable
#809flowpaper58143110k+Non-prefixed function
#810Co-Authors Plus5927620k+Input is not sanitized
#811Cloudways WordPress Migrator62152520k+Output is not escaped
#812DreamHost Automated Migration62152320k+Output is not escaped
#813Migrate To Liquid Web & Nexcess6215232k+Output is not escaped
#814Pressable Automated Migration6215233k+Output is not escaped
#815Migrate to WordPress.com6215282k+Output is not escaped
#816Mantenimiento web63491520k+Text Domain Mismatch
#817Werk aan de Muur644820900Non Singular String Literal Domain
#818SocketLabs651518900Output is not escaped
#819Web and WooCommerce Addons for WPBakery Builder654971231k+Text Domain Mismatch
#820Easy PHP Settings6634482k+Missing Translators Comment
#821Popup Maker – Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder6651690700k+Non-prefixed hook name
#822Really Simple CSV Importer6638840k+Output is not escaped
#823Safe Redirect Manager6696040k+Non-prefixed hook name
#824Ajax add to cart for WooCommerce66673110k+Text Domain Mismatch
#825News Magazine X Core6863305k+Missing Translators Comment
#826Shiptastic Integration for DHL68543610k+Missing Translators Comment
#827Increase Maximum Upload File Size68281440k+Missing Arg Domain
#828WP Sanitize Accented Uploads681516800Quoted Simple Placeholder
#829WP Wand – Unlimited Content Generation using AI – for OpenAI, Claude, Openrouter and Deepseek69452251k+Text Domain Mismatch
#830Automatic Domain Changer69371410k+Text Domain Mismatch
#831ELEX WooCommerce Bulk Edit Products, Prices & Attributes (Basic)69511514k+Text Domain Mismatch
#832WPThumb70309800Output is not escaped
#833Direct Checkout for WooCommerce71783580k+Text Domain Mismatch
#834Auto Featured Image from Title722441k+Setting is missing a sanitization callback
#835OpenID Connect Generic Client7395910k+Non-prefixed hook name
#836Change Storefront Footer Copyright Text7372214k+Text Domain Mismatch
#837Edit Author Slug7458100k+Output is not escaped
#838Force First and Last Name as Display Name755122k+Missing nonce verification
#839Starter Templates & Sites Pack by ThemeGrill75215070k+Non-prefixed hook name
#840Autocomplete WooCommerce Orders76705530k+Text Domain Mismatch
#841FluentPlayer – Video Player With Forms & Lead Capture765401k+Database parameter is not escaped
#842Rearrange Products for WooCommerce7612220k+Input is not sanitized
#843Bit Flows: AI Agent Automation & Integrations for Forms, CRM, eCommerce, Google Sheets, and More7718202k+wp function not compatible with requires wp
#844RSS Aggregator by Feedzy – Feed to Post, Autoblogging, News & YouTube Video Feeds Aggregator773728240k+Non-prefixed global variable
#845Index WP Users For Speed7710351k+Non-prefixed global variable
#846SureRank SEO – Smart Assistant with Meta Tags, Social Preview, XML Sitemap, and Schema775894300k+Non-prefixed hook name
#847Template Kit – Import774160400k+Non-prefixed global variable
#848Related Products Manager for WooCommerce799431k+Non-prefixed global variable
#849New Relic Reporting for WordPress79416600Nonce verification recommended
#850Interlinks Manager – Internal Links Optimizer8017138k+Database parameter is not escaped