small note: you have several such lines:
return !empty(get_post_meta($post->ID, self::$options_prefix)) ? get_post_meta($post->ID, self::$options_prefix)[0] : array();
and it’s odd overoad of a call.
just do it:
return !empty($x= get_post_meta($post->ID, self::$options_prefix)) ? $x[0] : array();
-
This reply was modified 8 years, 10 months ago by
tazotodua.
Hi! Yes, version 3.0.0 fixes a lot of this, but some HTML entities still might not be getting encoded properly — will resolve in future release:
https://github.com/alexmacarthur/wp-complete-open-graph/issues/9
Hi again! I just released version 3.0.1 which resolves the issue you were having. Thanks again for bringing it to my attention.
thanks for excellent support