From 12249ab1bfb34560c9a0dc95b8dbcb89872e71f9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 30 Apr 2025 12:52:29 +0000 Subject: [PATCH] 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 --- wp-includes/version.php | 2 +- wp-links-opml.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index c0a7b05aaa..27a8e10550 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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. diff --git a/wp-links-opml.php b/wp-links-opml.php index 746c287a7e..51ef95bd1a 100644 --- a/wp-links-opml.php +++ b/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 ) ); } }