Skip to content

Commit

Permalink
1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amarinediary authored Sep 8, 2022
1 parent e4b9bd4 commit 492dc9b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions WordPress-simple-URL-based-breadcrumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
/**
* Checks if a string ends with a given substring.
* Backward compatibility for PHP < 8.0.0.
* The more advanced and optimized way should be to use the native str_ends_with() function.
* @see https://www.php.net/manual/en/function.str-ends-with.php
*
* @since 1.2.0
* @param String $haystack The string to search in.
Expand Down Expand Up @@ -55,8 +53,6 @@ function backward_compatibility_str_ends_with( $haystack, $needle ) {
/**
* Determine if a string contains a given substring.
* Backward compatibility for PHP < 8.0.0.
* The more advanced and optimized way should be to use the native str_contains() function.
* @see https://www.php.net/manual/en/function.str-contains.php
*
* @since 1.2.0
* @param String $haystack The string to search in.
Expand Down

0 comments on commit 492dc9b

Please sign in to comment.