WP_DEBGU warnings
-
Hi, there’s a could of debug warnings generated if WP_DEBUG is set.
Line 114 in class-wp-dev-dashboard-list-table.php:
parse_str( $url_parts['query'], $query );
Assumes ‘query’ exists, this is safer:
if ( is_array( $url_parts ) && array_key_exists( 'query', $url_parts ) ) { parse_str( $url_parts['query'], $query ); } else { $query = array(); }
Line 240 has the same issue and fix.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP_DEBGU warnings’ is closed to new replies.