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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Alcohol flag always on’ is closed to new replies.