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
#751WP Hardening (discontinued)362308510k+Text Domain Mismatch
#752wpShopGermany IT-RECHT KANZLEI363747500Input is not sanitized
#753Database Snapshots – WPvivid36661081k+Direct Query
#754Zeno – AI-Powered Chatbot36311131500Text Domain Mismatch
#755Add From Server37522060k+Output is not escaped
#756Exploit Scanner37251308k+Non-prefixed global variable
#757Get Custom Field Values3740441k+Output is not escaped
#758Google for WooCommerce37328121800k+Exception output is not escaped
#759XML Sitemap Generator for Google3743791m+Input is not validated
#760Images to WebP3739509k+curl curl setopt
#761JS Help Desk – AI-Powered Support & Ticketing System37174067k+Missing nonce verification
#762LearnPress – Course Review37674320k+Output is not escaped
#763LiveJournal Importer3786678k+Output is not escaped
#764Media Sweep – WordPress Media Cleaner37561371k+Interpolated SQL is not prepared
#765CrawlWP SEO – Instant Search Engine Indexing & SEO Performance Monitor37479040k+Dynamic hook name
#766Phoenix Media Rename3718010450k+Output is not escaped
#767Post Terms Order – per Post based3770362k+Output is not escaped
#768Orders Tracking for WooCommerce37731210k+Request data is not unslashed
#769Quickpay for WooCommerce3766564k+Nonce verification recommended
#770Action Scheduler389213420k+Exception output is not escaped
#771Admin Bar & Dashboard Access Control3894373k+Text Domain Mismatch
#772Ashe Extra38109543k+Text Domain Mismatch
#773Blogger Importer38443950k+Output is not escaped
#774Export User Data38187626k+Text Domain Mismatch
#775Buttonizer – Social Media Share Buttons, Social Icons, & Social Feeds381678240k+Output is not escaped
#776Social Photo Fetcher38151431k+Output is not escaped
#777Social Shop for WooCommerce385124800Output is not escaped
#778HashThemes Demo Importer3871446k+Output is not escaped
#779Jupiter X Core387176770k+Non-prefixed global variable
#780Lana Downloads Manager38146783k+Unsafe printing function
#781MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites383136700k+Non-prefixed hook name
#782One Click Demo Import3822841m+Non-prefixed global variable
#783Podlove Subscribe button38148452k+Output is not escaped
#784qTranslate X Cleanup and WPML Import38167102800Text Domain Mismatch
#785RDP Wiki Embed386926400Output is not escaped
#786Slickplan Importer384058400Non-prefixed global variable
#787Social Snap — Social Share Buttons & Click to Tweet38616910k+Direct Query
#788Subscriptions & Memberships for PayPal3873237900Request data is not unslashed
#789Templatiq383194900Non-prefixed hook name
#790Photo Reviews for WooCommerce382622210k+Request data is not unslashed
#791Native PHP Sessions38309210k+Direct Query
#792Better WordPress External Links3913035400Non Singular String Literal Domain
#793Cache Images3972271k+Unsafe printing function
#794Culqi39571881k+Text Domain Mismatch
#795GS Only PDF Preview3946361k+Output is not escaped
#796S2W – Import Shopify to WooCommerce3981323k+Request data is not unslashed
#797Media Sync39193750k+Short PHP open tag found
#798Movable Type and TypePad Importer39422520k+Output is not escaped
#799NextGEN Download Gallery3957212k+Short PHP open tag found
#800Redirect 404 Error Page to Homepage or Custom Page with Logs39275310k+Nonce verification recommended