Coding Standards: Remove unnecessary type casting in wp-links-opml.php.
Follow-up to [13747]. Props dilipbheda, debarghyabanerjee, umeshsinghin. Fixes #63367. Built from https://develop.svn.wordpress.org/trunk@60207 git-svn-id: http://core.svn.wordpress.org/trunk@59543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.9-alpha-60206';
|
||||
$wp_version = '6.9-alpha-60207';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
@@ -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 ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user