Closed 8ctopus closed 4 years ago
Fixed Google Rich Snippets is shown as disabled by default when it is in fact enabled by default.
in wp-postratings.php line 1203:
$ratings_options['richsnippet']` = isset( $ratings_options['richsnippet'] ) ? $ratings_options['richsnippet']` : 1;
if $ratings_options['richsnippet'] is not set, it will be set to 1 / true which will show the richsnippet.
In postratings-options.php line 116, the same logic must be applied for the setting to reflect whether or not the richsnippet added to the code.
The problem only occurs when the setting was never changed from the default value thus never stored in the options.
thanks!
Fixed Google Rich Snippets is shown as disabled by default when it is in fact enabled by default.
in wp-postratings.php line 1203:
if $ratings_options['richsnippet'] is not set, it will be set to 1 / true which will show the richsnippet.
In postratings-options.php line 116, the same logic must be applied for the setting to reflect whether or not the richsnippet added to the code.
The problem only occurs when the setting was never changed from the default value thus never stored in the options.