Avoid using WP_error as string
-
Hi,
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?
Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Avoid using WP_error as string’ is closed to new replies.