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

Sync Develop branch with Master #361

Merged
merged 22 commits into from
Oct 22, 2024
Merged

Sync Develop branch with Master #361

merged 22 commits into from
Oct 22, 2024

Conversation

Vedant-Gandhi
Copy link
Contributor

@Vedant-Gandhi Vedant-Gandhi commented Oct 18, 2024

Description

The aim of this PR is to sync the develop branch with master branch.

Testing

The code has been tested locally and is working as expected.

To Test the functionality -

  1. Switch to the develop branch.
  2. Ensure that all the basic functionality such as post,page,comment,feed are getting cached properly and purged when they are modified.
  3. Ensure that purge all button works as intended.
  4. Test custom URL's are getting purged.

PR's included

@Vedant-Gandhi Vedant-Gandhi marked this pull request as ready for review October 18, 2024 10:38
$all_urls = array();

foreach ( $sitemap_urls as $sitemap_url ) {
$urls = $this->extract_sitemap_urls( $sitemap_url );
Copy link
Member

Choose a reason for hiding this comment

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

  • Can you please align the = signs.


$urls = array();

if ( $xml === false ) {
Copy link
Member

Choose a reason for hiding this comment

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

@@ -40,6 +40,7 @@
'purge_page_on_deleted_comment',
'purge_feeds',
'smart_http_expire_form_nonce',
'preload_cache',
Copy link
Member

Choose a reason for hiding this comment

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

  • Please use tabs instead of spaces. Also, check this in other places.

Copy link
Member

@Pathan-Amaankhan Pathan-Amaankhan left a comment

Choose a reason for hiding this comment

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

LGTM!

@Vedant-Gandhi Vedant-Gandhi merged commit f0c88c9 into master Oct 22, 2024
1 of 3 checks passed
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.

2 participants