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
#801bpost shipping369743700Output is not escaped
#802Contact Form 7 Gated Content3612236800Short PHP open tag found
#803CP Blocks3646381k+wp function not compatible with requires wp
#804Drag and Drop Multiple File Upload for Contact Form 736823660k+wp function not compatible with requires wp
#805Dynamic Visibility for Elementor36568950k+Non-prefixed hook name
#806Product Carousel Slider for Elementor36148631k+Text Domain Mismatch
#807Email Before Download3689296k+Unsafe printing function
#808Friendly Functions for Welcart36311831k+Non Singular String Literal Domain
#809Google Webfont Optimizer364549700Output is not escaped
#810HTML Forms – Simple WordPress Forms Plugin3623116610k+Output is not escaped
#811HTTP Requests Manager3698901k+Output is not escaped
#812Italy Cookie Choices (for EU Cookie Law & Cookie Notice)361157710k+Unsafe printing function
#813Login as User361016430k+Output is not escaped
#814LocalWeb All In One36342975k+Non-prefixed global variable
#815M Chart36291553k+Non-prefixed global variable
#816News Ticker for Elementor3676572k+Text Domain Mismatch
#817Photoswipe Masonry Gallery3657476k+Non Singular String Literal Text
#818Quick 301 Redirects36891205k+Non-prefixed global variable
#819Rara One Click Demo Import361229820k+Missing Translators Comment
#820ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution3663667100k+Non-prefixed global variable
#821Stripe Tax – Sales tax automation for WooCommerce36976130k+Exception output is not escaped
#822Supplier Order Email3654105400Output is not escaped
#823TrustMate.io – WooCommerce integration36251973k+Output is not escaped
#824WP Better Permalinks36110591k+Output is not escaped
#825WP Hotel Booking WooCommerce3693991k+Output is not escaped
#826WP Socializer – Simple & Easy Social Media Share Icons362145110k+Output is not escaped
#827Yandex.Metrica36763060k+Output is not escaped
#828WPAvatar3642545700Unsafe printing function
#829WP fail2ban Blocklist3661633k+SQL query is not prepared
#830Adaptive Images for WordPress3751753k+Output is not escaped
#831Add From Server37522060k+Output is not escaped
#832Add to Cart Redirect for WooCommerce372151418k+Text Domain Mismatch
#833Analytics Spam Blocker377622800Unsafe printing function
#834Before After Image Comparison Slider for Elementor37904110k+Text Domain Mismatch
#835Customize WordPress Emails and Alerts – Better Notifications for WP37644730k+Missing Arg Domain
#836bunny.net – WordPress CDN Plugin3716515910k+Output is not escaped
#837Buying Buddy IDX CRM – Real Estate MLS Plugin3770236500Request data is not unslashed
#838CDEKDelivery3798752k+Exception output is not escaped
#839ClickCease Click Fraud Protection37305810k+Non-prefixed class
#840CryptAPI Payment Gateway for WooCommerce3718729400Text Domain Mismatch
#841EasyMe Connect3713045500Text Domain Mismatch
#842果果推送3731561k+Nonce verification recommended
#843Gmail SMTP37847310k+Unsafe printing function
#844GoCache3727343900Non Singular String Literal Domain
#845XML Sitemap Generator for Google3743791m+Input is not validated
#846Icegram Mailer – Reliable Email Deliverability, No-code SMTP Replacement & Email logs37371021k+Non-prefixed global variable
#847Language Switcher37811051k+Missing Translators Comment
#848Lightbox with PhotoSwipe371792420k+Output is not escaped
#849MailingBoss WP Plugin3710830600Output is not escaped
#850MailMunch – Grow your Email List3782846k+Output is not escaped