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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#451Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization2980162200k+Nonce verification recommended
#452Page View Count2910824710k+Dynamic hook name
#453Security Ninja – WordPress Security & Firewall291493477k+Direct Query
#454Shiptastic for WooCommerce2913663010k+Non-prefixed global variable
#455Themify Popup292321088k+Text Domain Mismatch
#456Ultimate Auction for WooCommerce – Excellent WP Auction Plugin29525232k+Non-prefixed global variable
#457Custom Post Types and Custom Fields creator – WCK291,30014310k+Text Domain Mismatch
#458Widget for Yelp Reviews291471582k+Output is not escaped
#459aThemes Starter Sites3025919540k+Text Domain Mismatch
#460Custom Field Template3052161830k+Nonce verification recommended
#461Edwiser Bridge – WordPress Moodle Integration3046694k+Non-prefixed hook name
#462Formzu WP301671633k+Text Domain Mismatch
#463Import WooCommerce Suite30804344k+Interpolated SQL is not prepared
#464Jetpack Protect30657217100k+Text Domain Mismatch
#465Mailrelay303181702k+Text Domain Mismatch
#466Popularis Extra302371417k+Output is not escaped
#467QA Assistants – Driven by data3048672k+Non-prefixed global variable
#468SmartCrawl SEO checker, analyzer & optimizer303471,30720k+Non-prefixed global variable
#469Themify Portfolio Post3021410230k+Text Domain Mismatch
#470User Access Manager3039317110k+Output is not escaped
#471Widgetize Pages Light301451043k+Output is not escaped
#472WCPOS – Point of Sale (POS) plugin for WooCommerce30772285k+Nonce verification recommended
#473WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into Event Calendar301134191k+Non-prefixed global variable
#474WPS Cleaner3043049120k+Output is not escaped
#475WPZOOM Addons for Beaver Builder302,2161524k+Text Domain Mismatch
#476Zoho CRM Lead Magnet301011,0253k+Request data is not unslashed
#477a3 Lazy Load318324090k+Dynamic hook name
#478AEH Speed Optimization: Browser Cache, Optimized Minify, Lazy Loading & Image Optimization31911332k+Output is not escaped
#479Advanced Woo Search – Product Search for WooCommerce3122837770k+Nonce verification recommended
#480The SEO Framework – Fast, Automated, Effortless.31363609200k+Non-prefixed global variable
#481Download Plugin317810250k+Output is not escaped
#482EnvoThemes Demo Import312211403k+Output is not escaped
#483FastDup – Fastest WordPress Migration & Duplicator3183665k+wp function not compatible with requires wp
#484Easy HTTPS Redirection (SSL)31224100100k+Unsafe printing function
#485Linguise – AI Automatic Multilingual Translation31612801k+Non-prefixed global variable
#486MainWP Dashboard: Self-hosted WordPress Management for Agencies319531720k+Interpolated SQL is not prepared
#487Qode Essential Addons315529510k+Non-prefixed global variable
#488Query Monitor3144273200k+Non-prefixed class
#489Rank Math SEO – AI SEO Tools to Dominate SEO Rankings31453734m+Non-prefixed global variable
#490SpeedyCache – Cache, Optimization, Performance3165115600k+Input is not validated
#491Staatic – Static Site Generator for WordPress314201952k+SQL query is not prepared
#492Project Manager – AI Powered Project Management, Task Management, Kanban Board & Time Tracker31639336k+Interpolated SQL is not prepared
#493Auto YouTube Importer323381731k+Text Domain Mismatch
#494Addi – Cuotas que se adaptan a ti321062102k+Direct Query
#495Child Theme Configurator32442267300k+Unsafe printing function
#496Download Attachments32691888k+Non-prefixed hook name
#497Freesoul Deactivate Plugins – Disable plugins on individual WordPress pages32537739k+Nonce verification recommended
#498Insights from Google PageSpeed3241447520k+Text Domain Mismatch
#499Gwolle Guestbook3226852820k+Output is not escaped
#500Jetpack VaultPress Backup3255421120k+Text Domain Mismatch