Skip to content

Commit

Permalink
Refactored WP_Filesystem invocation
Browse files Browse the repository at this point in the history
- [CHANGED] Updated the way WP_Filesystem is called to use absolute namespace
  • Loading branch information
smileBeda committed May 26, 2024
1 parent 70087ec commit 3efd3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/src/utilities/class-wp-filesystem-utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static function get_filesystem(): object {

if ( null === self::$filesystem ) {

WP_Filesystem();
\WP_Filesystem();
self::$filesystem = new WP_Filesystem_Direct( true );
}

Expand Down

0 comments on commit 3efd3c3

Please sign in to comment.