Make WordPress Core

Opened 7 months ago

Last modified 7 months ago

#59275 assigned defect (bug)

PHP 8.1 Deprecated function: rtrim(): Passing null to parameter

Reported by: srishtis's profile srishtis Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2.2
Component: Formatting Keywords:
Focuses: php-compatibility Cc:

Description

Deprecated - rtrim(): Passing null to parameter #1 ($string) of type string is deprecated

used in
wp-includes/formatting.php:2809
rtrim()
wp-includes/formatting.php:2809
untrailingslashit()
wp-includes/formatting.php:2794
trailingslashit()
wp-content/mu-plugins/http-concat/concat-utils.php:27
WPCOM_Concat_Utils::realpath()
wp-content/mu-plugins/http-concat/cssconcat.php:84
WPcom_CSS_Concat->do_items()
wp-includes/functions.wp-styles.php:68
wp_print_styles()
wp-includes/class-wp-hook.php:308
do_action('wp_head')
wp-includes/general-template.php:3049
wp_head()
wp-includes/template-canvas.php:17
MU Plugin: http-concat

Change History (1)

#1 @srishtis
7 months ago

Also Found in WP version 6.3 and version 6.3.1

Note: See TracTickets for help on using tickets.