You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coding Standards: Remove redundant checks in wp_resolve_numeric_slug_conflicts().
This commit removes two unnecessary conditional checks:
* A truthy check for `$compare`, as a falsey value causes an earlier return a few lines above.
* A check to ensure `$maybe_page` is not an empty string, as it is already cast to an integer.
Follow-up to [32648], [34492], [53857].
Props justlevine.
See #63268.
git-svn-id: https://develop.svn.wordpress.org/trunk@60447 602fd350-edb4-49c9-b593-d223f7449a82
0 commit comments