Tagging 0.9.2.1.

This commit is contained in:
Nathan Rice
2013-08-09 13:09:21 -04:00
parent 78faae2bbd
commit 39f34f9982
4 changed files with 34 additions and 10 deletions
+1 -4
View File
@@ -31,10 +31,7 @@ function ss_inpost_metabox() {
</p>
<?php
// don't show the option if there are no 3 column layouts registered
$_layouts = (array) genesis_get_layouts();
$_layouts = array_keys( $_layouts );
$_3_column = array_intersect( $_layouts, array( 'content-sidebar-sidebar', 'sidebar-content-sidebar', 'sidebar-sidebar-content' ) );
if ( empty( $_3_column ) )
if ( !ss_has_3_column_layouts() )
return;
?>
<p>