Commit 75c587f
committed
Coding Standards: Cast
This resolves an issue where the string `$expired` value is used both in a comparison and addition with integer values.
Follow-up to [6387], [28424], [45590].
Props justlevine.
See #52217.
git-svn-id: https://develop.svn.wordpress.org/trunk@59459 602fd350-edb4-49c9-b593-d223f7449a82$expired to an integer in wp_validate_auth_cookie().1 parent 1aa41de commit 75c587f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | | - | |
714 | 713 | | |
715 | 714 | | |
| 715 | + | |
| 716 | + | |
716 | 717 | | |
717 | 718 | | |
718 | 719 | | |
| |||
0 commit comments