Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent rewrite flushes for runtime checks #334

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Conversation

swissspidy
Copy link
Member

@swissspidy swissspidy commented Dec 11, 2023

Fixes #330

To test:

  1. Activate a plugin
  2. Set up pretty permalinks
  3. Run performance checks for the activated plugin
  4. See that .htaccess file won't be empty.

Cannot be tested with unit tests as there is no Apache with mod_rewrite in a testing environment, so it's not possible to verify .htaccess modifications in any way.

Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

Thanks @swissspidy, great catch!

@swissspidy swissspidy merged commit 0101c91 into trunk Dec 11, 2023
24 checks passed
@swissspidy swissspidy deleted the fix/330-rewrites branch December 11, 2023 22:53
@mukeshpanchal27
Copy link
Member

Thanks @swissspidy. Just miss to approve the PR last night. Great work.

@codestylist
Copy link

Thanks to everyone who fixed this small but important issue ;-). Good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin Check plugin will remove code in .htaccess
5 participants