WordPress.org

Support

Support » Plugins and Hacks » OGraphr for WordPress » Alcohol flag always on

Alcohol flag always on

  • Recent changes may have changed behaviour of the restrict_content flag:

    if(isset($content)){
    $opengraph_meta['og:restrictions:content'] = 'alcohol';
    }

    does not function as expected — the metabox on the post screen apparently saves an empty meta key for restrict_content when the alcohol box is unchecked, but this logic only checks for isset().

    if(!empty($content)) {

    might be more appropriate.

    http://wordpress.org/plugins/meta-ographr/

Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks like user agent detection is hard-coded for Facebook-specific tags; this fails spectacularly due to caching.

    Plugin Author idleberg

    @yathosho

    i look into changing the logic, but did you have any problems with that setting? it still works for me and from what i remember the wordpress debug mode complains when not using isset()

    not sure what your second post is supposed to mean, can you please specify?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Alcohol flag always on’ is closed to new replies.
Skip to toolbar