Skip to content

Commit 7616d11

Browse files
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
1 parent 0aa29fd commit 7616d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-links-opml.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
if ( ! empty( $_GET['link_cat'] ) ) {
2020
$link_cat = $_GET['link_cat'];
2121
if ( ! in_array( $link_cat, array( 'all', '0' ), true ) ) {
22-
$link_cat = absint( (string) urldecode( $link_cat ) );
22+
$link_cat = absint( urldecode( $link_cat ) );
2323
}
2424
}
2525

0 commit comments

Comments
 (0)