summaryrefslogtreecommitdiffstatshomepage
path: root/src/wp-includes/widgets/class-wp-widget-archives.php
diff options
context:
space:
mode:
authorSergey Biryukov <sergeybiryukov@git.wordpress.org>2025-07-11 13:14:57 +0000
committerSergey Biryukov <sergeybiryukov@git.wordpress.org>2025-07-11 13:14:57 +0000
commitb38123cf04859dd67930d961d1406d8fb023ec07 (patch)
treea03da2e5f249b61bd60dc8e0127397cb69af32ab /src/wp-includes/widgets/class-wp-widget-archives.php
parenteadf08bfacec3dcd86fe29d6480f848010410689 (diff)
downloadwordpress-trunk.tar.gz
wordpress-trunk.zip
Coding Standards: Remove redundant checks in `wp_resolve_numeric_slug_conflicts()`.HEADtrunk
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
Diffstat (limited to 'src/wp-includes/widgets/class-wp-widget-archives.php')
0 files changed, 0 insertions, 0 deletions