diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-04-30 12:50:46 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-04-30 12:50:46 +0000 |
commit | 7616d11b21130a566a77522be3df5663254fa146 (patch) | |
tree | 151c883bb5d21d0fa8854d67ffcf990d5c43e1c4 | |
parent | 0aa29fd973213146d7b7875d17d3729990eb66a6 (diff) | |
download | wordpress-7616d11b21130a566a77522be3df5663254fa146.tar.gz wordpress-7616d11b21130a566a77522be3df5663254fa146.zip |
Coding Standards: Remove unnecessary type casting in `wp-links-opml.php`.
Follow-up to [13747].
Props dilipbheda, debarghyabanerjee, umeshsinghin.
Fixes #63367.
git-svn-id: https://develop.svn.wordpress.org/trunk@60207 602fd350-edb4-49c9-b593-d223f7449a82
-rw-r--r-- | src/wp-links-opml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wp-links-opml.php b/src/wp-links-opml.php index 746c287a7e..51ef95bd1a 100644 --- a/src/wp-links-opml.php +++ b/src/wp-links-opml.php @@ -19,7 +19,7 @@ $link_cat = ''; if ( ! empty( $_GET['link_cat'] ) ) { $link_cat = $_GET['link_cat']; if ( ! in_array( $link_cat, array( 'all', '0' ), true ) ) { - $link_cat = absint( (string) urldecode( $link_cat ) ); + $link_cat = absint( urldecode( $link_cat ) ); } } |