-
Notifications
You must be signed in to change notification settings - Fork 121
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
Conversation
admin/class-nginx-helper-admin.php
Outdated
$all_urls = array(); | ||
|
||
foreach ( $sitemap_urls as $sitemap_url ) { | ||
$urls = $this->extract_sitemap_urls( $sitemap_url ); |
There was a problem hiding this comment.
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.
admin/class-nginx-helper-admin.php
Outdated
|
||
$urls = array(); | ||
|
||
if ( $xml === false ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please use Yoda conditions.
@@ -40,6 +40,7 @@ | |||
'purge_page_on_deleted_comment', | |||
'purge_feeds', | |||
'smart_http_expire_form_nonce', | |||
'preload_cache', |
There was a problem hiding this comment.
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.
Adds code refactoring for develop branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
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 -
develop
branch.PR's included