diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-07-11 13:14:57 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-07-11 13:14:57 +0000 |
commit | b38123cf04859dd67930d961d1406d8fb023ec07 (patch) | |
tree | a03da2e5f249b61bd60dc8e0127397cb69af32ab /src/wp-admin/includes/schema.php | |
parent | eadf08bfacec3dcd86fe29d6480f848010410689 (diff) | |
download | wordpress-trunk.tar.gz wordpress-trunk.zip |
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-admin/includes/schema.php')
0 files changed, 0 insertions, 0 deletions