Skip to content

Conversation

@felixarntz
Copy link
Member

Summary

Follow up to #547: The WP_Filesystem() function is not guaranteed to succeed. If it fails in an environment, we need to account for that, as otherwise methods called on the global will at best "just not work", at worst result in a fatal error.

Checklist

  • PR has either [Focus] or Infrastructure label.
  • PR has a [Type] label.
  • PR has a milestone or the no milestone label.

@felixarntz felixarntz added [Type] Bug An existing feature is broken [Focus] Database labels Dec 12, 2022
@felixarntz felixarntz added this to the 1.8.0 milestone Dec 12, 2022
Copy link
Member

@aristath aristath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @felixarntz, LGTM.

@aristath aristath merged commit 4bceac2 into trunk Dec 13, 2022
@aristath aristath deleted the fix/sqlite-filesystem branch December 13, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Bug An existing feature is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants