Closed szepeviktor closed 3 years ago
@ocean90 Is it okay for you?
To resolve those
/** @var \WP_Filesystem_Base|null $wp_filesystem */
global $wp_filesystem;
if ( ! $wp_filesystem instanceof \WP_Filesystem_Base ) {
(a simple !
is for boolean variables unless your friend is called type juggling)
In master the messages are already ignored but we can also use a stricter check as a follow-up.
So the solution is using scanFiles
instead of bootstrapFiles
? @swissspidy feel free to merge with your branch if it looks good to you too.
Let's give it a try 👍
Description
Answer to https://github.com/wearerequired/traduttore/pull/124#issuecomment-853866115