changeset 18 | be944660c56a |
parent 16 | a86126ab1dd4 |
child 21 | 48c4eec2b7e6 |
--- a/wp/wp-includes/class-wp-matchesmapregex.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/class-wp-matchesmapregex.php Wed Sep 21 18:19:35 2022 +0200 @@ -83,7 +83,7 @@ * @return string */ public function callback( $matches ) { - $index = intval( substr( $matches[0], 9, -1 ) ); + $index = (int) substr( $matches[0], 9, -1 ); return ( isset( $this->_matches[ $index ] ) ? urlencode( $this->_matches[ $index ] ) : '' ); } }