At file all-in-one-seo-pack\aioseop_class.php Line 1392 the plugin just checks URL is not empty, and it doesn’t check if URL contains errors.
Here is the original line:
if ( !empty( $url ) )
Here is a better version of it
if ( !empty( $url ) && ! is_wp_error( $url ) )
Could you change this line in the next update?
- The topic ‘Avoid using WP_error as string’ is closed to new replies.