PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.3
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.3
4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 All 201 releases
← All changes | includes/Admin/Importer/Parsers/WXR_Parser_Regex.php +3 -0 4.5.4 → 4.9.3 View file →
@@ -1,5 +1,6 @@
1 1 <?php
2 +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- inherited WP Importer hook contract preserved for compat with external listeners.
2 3 namespace WPDeveloper\BetterDocs\Admin\Importer\Parsers;
3 4
4 5 use WP_Error;
5 6
@@ -353,8 +354,9 @@
353 354 if ( $this->has_gzip ) {
354 355 return gzopen( $filename, $mode );
355 356 }
356 357
358 + // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_fopen -- streaming read; WP_Filesystem cannot replace this.
357 359 return fopen( $filename, $mode );
358 360 }
359 361
360 362 private function feof( $fp ) {
@@ -377,8 +379,9 @@
377 379 if ( $this->has_gzip ) {
378 380 return gzclose( $fp );
379 381 }
380 382
383 + // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_fclose -- streaming close; WP_Filesystem cannot replace this.
381 384 return fclose( $fp );
382 385 }
383 386
384 387 public function __construct() {