WordPress.WP.AlternativeFunctions.parse_url_parse_url

parse url parse url

The plugin uses raw URL parsing where WordPress URL helpers may be safer or more compatible.

medium weight

Why It Shows Up

Plugin Check found `parse_url()` in plugin code.

Why It Matters

URL parsing is easy to get subtly wrong, especially with relative URLs, encoded values, and malformed input.

How to Fix

  • Use WordPress helpers such as `wp_parse_url()`, `esc_url_raw()`, `esc_url()`, and `wp_http_validate_url()` where they fit.
  • Validate schemes and hosts before using parsed URL parts.
  • Do not use parsed URLs to build redirects or requests without allowlisting.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#951LWS Hide Login4555820k+Request data is not unslashed
#952Outdooractive Embed457018400Text Domain Mismatch
#953reCAPTCHA for Asgaros Forum4521364k+Input is not validated
#954TriPay Payment Gateway45478441k+Text Domain Mismatch
#955CLP Varnish Cache46155810k+Non-prefixed global variable
#956Link in Bio Creator – Social4652362k+Non Singular String Literal Domain
#957Flying Pages: Preload Pages for Faster Navigation & Improved User Experience47212120k+Missing direct file access protection
#958Groups 404 Redirect4735331k+Non Singular String Literal Domain
#959Tabby Checkout4733464k+Non-prefixed class
#9603CX Free Live Chat, Calls & Messaging472416100k+Output is not escaped
#961XML Sitemap & Google News47270224100k+Non-prefixed global variable
#962Ansar Import – One Click Starter Sites – for Elementor & Themes482711610k+Non-prefixed global variable
#963ACF Quick Edit Fields49207230k+Nonce verification recommended
#964CryptAPI Payment Gateway for WooCommerce4918523400Text Domain Mismatch
#965GamiPress – Multimedia Content491125500Nonce verification recommended
#966Secondary Product Image for WooCommerce4925292k+Output is not escaped
#967SpinupWP49433830k+Non-prefixed function
#968Auto Ping Booster Free501821900Setting is missing a sanitization callback
#969Headline Analyzer5013311k+Nonce verification recommended
#970TrustedSite50291420k+Output is not escaped
#971Gravatar Enhanced – Avatars, Profiles, and Privacy513848100k+Dynamic hook name
#972Mintpay511435600Nonce verification recommended
#973Trustpilot Reviews51145230k+Missing nonce verification
#974GSheetConnector for Gravity Forms – Send Gravity Forms Entries to Google Sheets in Real-Time5226271k+Exception output is not escaped
#975Podium5221235k+Missing direct file access protection
#976Multiple Post Thumbnails53251820k+Output is not escaped
#977Pinterest for WooCommerce534430300k+Exception output is not escaped
#978pretix widget532539400Non-prefixed global variable
#979WP User Switch538461k+Input is not sanitized
#980Disqus Comment System54173340k+Non-prefixed hook name
#981SpeedSize Image & Video AI-Optimizer549817400Text Domain Mismatch
#982Tax Switch for WooCommerce541532900Nonce verification recommended
#983Chabok | چابک551631400Nonce verification recommended
#984Gutenify – Visual Site Builder Blocks & Site Templates5566405k+Missing Arg Domain
#985Hide Admin Menu55182720k+Non-prefixed function
#986Marvy – Background Animations for Elementor5563344k+Text Domain Mismatch
#987Trusona for WordPress55834500Non-prefixed function
#988WP Ultimate Review552338170k+Non-prefixed global variable
#989CHEQ Essentials561449700Request data is not unslashed
#990Video Dashboard56331500Output is not escaped
#991iZooto – Web Push Notifications5726251k+wp function not compatible with requires wp
#992Debloat – Remove Unused CSS, Optimize JS58242030k+Nonce verification recommended
#993Safety Exit5852261k+Text Domain Mismatch
#994Videopack582810810k+Input is not sanitized
#995Cloak Affiliate Links for WooCommerce582862k+Non Singular String Literal Domain
#996etracker analytics591691k+Exception output is not escaped
#997Remove Add to Cart Button for WooCommerce5911518500Text Domain Mismatch
#998Typebot591793k+Output is not escaped
#999Accesibilidad Web con el Widget de AccedeMe6022231k+Text Domain Mismatch
#1000Surge6046474k+Non-prefixed global variable