Skip to content

Commit

Permalink
Merge pull request #384 from szepeviktor/typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
iamdharmesh authored Jul 15, 2024
2 parents 0980ab8 + fbf0b41 commit 1fb0309
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Reqest, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ All notable changes to this project will be documented in this file, per [the Ke
- Support for adding notes when importing redirects (props [@barryceelen](https://github.com/barryceelen), [@cadic](https://github.com/cadic), [@jayedul](https://github.com/jayedul) via [#277](https://github.com/10up/safe-redirect-manager/pull/277)).
- "Build release zip" GitHub Action (props [@iamdharmesh](https://github.com/iamdharmesh), [@cadic](https://github.com/cadic), [@faisal-alvi](https://github.com/faisal-alvi) via [#293](https://github.com/10up/safe-redirect-manager/pull/293)).
- GitHub Action summary added Cypress test report (props [@jayedul](https://github.com/jayedul), [@peterwilsoncc](https://github.com/peterwilsoncc), [@iamdharmesh](https://github.com/iamdharmesh) via [#314](https://github.com/10up/safe-redirect-manager/pull/314)).
- Dependency review Github action (props [@jeffpaul](https://github.com/jeffpaul), [@Sidsector9](https://github.com/Sidsector9) via [#317](https://github.com/10up/safe-redirect-manager/pull/317)).
- Dependency review GitHub action (props [@jeffpaul](https://github.com/jeffpaul), [@Sidsector9](https://github.com/Sidsector9) via [#317](https://github.com/10up/safe-redirect-manager/pull/317)).

### Changed
- Bumped PHP minimum supported version from 5.6 to 7.4 (props [@csloisel](https://github.com/csloisel), [@dkotter](https://github.com/dkotter), [@vikrampm1](https://github.com/vikrampm1) via [#289](https://github.com/10up/safe-redirect-manager/pull/289)).
Expand Down
2 changes: 1 addition & 1 deletion inc/classes/class-srm-post-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class SRM_Post_Type {

/**
* Status code lables for reuse
* Status code labels for reuse
*
* @var array
*/
Expand Down
4 changes: 2 additions & 2 deletions inc/classes/class-srm-redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ public function match_redirect( $requested_path ) {
* @param {string} $redirect_url Final URL to redirect to.
* @returns {string} Final URL to redirect to.
*/
$filterd_redirect_to = apply_filters( 'srm_redirect_to', $redirect_to );
$sanitized_redirect_to = esc_url_raw( $filterd_redirect_to );
$filtered_redirect_to = apply_filters( 'srm_redirect_to', $redirect_to );
$sanitized_redirect_to = esc_url_raw( $filtered_redirect_to );

return [
'redirect_to' => $sanitized_redirect_to,
Expand Down
2 changes: 1 addition & 1 deletion inc/classes/class-srm-wp-cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ public function export_csv( $args, $assoc_args ) {

if ( file_exists( $file_name ) ) {
WP_CLI::warning( sprintf( 'File already exists. The following file will be rewritten %s', $file_name ) );
WP_CLI::confirm( 'Proceed with rewritting the existing file?' );
WP_CLI::confirm( 'Proceed with rewriting the existing file?' );
}

$file_resource = fopen( $file_name, 'w' ); //phpcs:ignore
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Safe Redirect Manager includes a number of actions and filters developers can ma
* **Added:** Support for adding notes when importing redirects (props [@barryceelen](https://github.com/barryceelen), [@cadic](https://github.com/cadic), [@jayedul](https://github.com/jayedul) via [#277](https://github.com/10up/safe-redirect-manager/pull/277)).
* **Added:** "Build release zip" GitHub Action (props [@iamdharmesh](https://github.com/iamdharmesh), [@cadic](https://github.com/cadic), [@faisal-alvi](https://github.com/faisal-alvi) via [#293](https://github.com/10up/safe-redirect-manager/pull/293)).
* **Added:** GitHub Action summary added Cypress test report (props [@jayedul](https://github.com/jayedul), [@peterwilsoncc](https://github.com/peterwilsoncc), [@iamdharmesh](https://github.com/iamdharmesh) via [#314](https://github.com/10up/safe-redirect-manager/pull/314)).
* **Added:** - Dependency review Github action (props [@jeffpaul](https://github.com/jeffpaul), [@Sidsector9](https://github.com/Sidsector9) via [#317](https://github.com/10up/safe-redirect-manager/pull/317)).
* **Added:** - Dependency review GitHub action (props [@jeffpaul](https://github.com/jeffpaul), [@Sidsector9](https://github.com/Sidsector9) via [#317](https://github.com/10up/safe-redirect-manager/pull/317)).
* **Changed:** Bumped PHP minimum supported version from 5.6 to 7.4 (props [@csloisel](https://github.com/csloisel), [@dkotter](https://github.com/dkotter), [@vikrampm1](https://github.com/vikrampm1) via [#289](https://github.com/10up/safe-redirect-manager/pull/289)).
* **Changed:** Bumped WordPress minimum supported version from 4.6 to 5.7 (props [@csloisel](https://github.com/csloisel), [@dkotter](https://github.com/dkotter), [@vikrampm1](https://github.com/vikrampm1) via [#289](https://github.com/10up/safe-redirect-manager/pull/289)).
* **Changed:** Bumped PHPCS compat script to use 7.4 as test version (props [@csloisel](https://github.com/csloisel), [@dkotter](https://github.com/dkotter), [@vikrampm1](https://github.com/vikrampm1) via [#289](https://github.com/10up/safe-redirect-manager/pull/289)).
Expand Down

0 comments on commit 1fb0309

Please sign in to comment.