WordPress.WP.AlternativeFunctions.file_system_operations_fclose

file system operations fclose

The plugin performs filesystem work with raw PHP functions where WordPress expects safer filesystem handling.

medium weight

Why It Shows Up

Plugin Check found functions such as `fopen`, `fwrite`, `chmod`, `mkdir`, `readfile`, or related operations.

Why It Matters

WordPress sites can use different filesystem permissions and transports. Raw filesystem calls can fail on common hosts or write to unsafe locations.

How to Fix

  • Use WordPress filesystem helpers when writing, reading, or changing files in plugin-managed paths.
  • Validate paths and keep writes inside directories owned by the plugin or WordPress uploads.
  • Never write PHP code from user input or remote responses.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#801WP ULike – Like & Dislike Buttons for Engagement and Feedback3126935860k+Output is not escaped
#802Hosting Benchmark tool312021154k+rand rand
#803YML for Yandex Market313729310k+Non-prefixed global variable
#804Zendesk Support for WordPress31195882k+Output is not escaped
#805ACME Divi Modules3257335400Text Domain Mismatch
#806Admin Menu Editor32159233300k+Non-prefixed global variable
#807Advanced Access Manager – Access Governance for WordPress3284962100k+Output is not escaped
#808Affiliate Coupons – Coupon Display Manager – Excellent Tool for Affiliate Marketers32183611k+Output is not escaped
#809AI Alt Text Generator3276241k+Missing Translators Comment
#810Speed Kit32296732k+Output is not escaped
#811Child Theme Configurator32442267300k+Unsafe printing function
#812Code Manager32217261500Nonce verification recommended
#813Contact Form Block326477500Non Singular String Literal Domain
#814Cooked – Recipe Management324622753k+Output is not escaped
#815CSV Import and Exporter32831381k+Non-prefixed global variable
#816Download Attachments32691888k+Non-prefixed hook name
#817Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection)325601985k+Text Domain Mismatch
#818Gallery Box32395431k+Text Domain Mismatch
#819WP Gravity Forms HubSpot32771160600Text Domain Mismatch
#820CRM Perks Integration for Gravity Forms and Salesforce328071781k+Text Domain Mismatch
#821WP Gravity Forms Zoho CRM and Bigin32750174400Text Domain Mismatch
#822GlotPress32403103500Unsafe printing function
#823Gwolle Guestbook3226952720k+Output is not escaped
#824Manager for IcoMoon3227068400Short PHP open tag found
#825DEPRECATED – Shipmondo – A complete shipping solution for WooCommerce321661195k+Output is not escaped
#826Persian Admnin Fonts32343468500Non-prefixed global variable
#827Responsive Filterable Portfolio Gallery – Media Grid & Video Portfolio324361631k+Output is not escaped
#828Shariff Wrapper323340430k+Non-prefixed global variable
#829Simple Ajax Chat – Add a Fast, Secure Chat Box321082662k+Output is not escaped
#830System Dashboard32912051k+Request data is not unslashed
#831TK Google Fonts GDPR Compliant32582341k+Output is not escaped
#832Tumult Hype Animations32561171k+Output is not escaped
#833User Registration Using Contact Form 73210315500wp function not compatible with requires wp
#834Easy 3D Viewer323992411k+Text Domain Mismatch
#835WP 2-step verification32154651k+Output is not escaped
#836WP Bannerize Pro32281216800Text Domain Mismatch
#837Advanced Custom Fields: Typography Field33445574k+Text Domain Mismatch
#838Affiliate Program & Referral Tracking for WooCommerce & WordPress – Affilia3380172500Nonce verification recommended
#839Activity Plus Reloaded for BuddyPress3388931k+Output is not escaped
#840Cargus334864700Input is not sanitized
#841Century ToolKit3311878800Output is not escaped
#842Contact List – Online Staff Directory & Address Book331183421k+Nonce verification recommended
#843Easy Upload Files During Checkout33218199500Unsafe printing function
#844EchBay Phonering Alo3374471k+Output is not escaped
#845Human Presence – Stop Form Spam Without ReCaptcha3354651k+Request data is not unslashed
#846Gallery Custom Links33646230k+Non Singular String Literal Domain
#847GetResponse Forms by Optin Cat33681381k+Missing direct file access protection
#848WP GIF Uploader33117441k+Text Domain Mismatch
#849Five Star Restaurant Reviews33242142400Output is not escaped
#850Comments – GraphComment | AI-Moderated Comment System33191177400Unsafe printing function