From f84db05c75c5c574bb5e30bed4e3a19941ab8223 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 9 Aug 2013 18:44:30 -0500 Subject: [PATCH] use sidebar name rather than hardcoded labels --- includes/inpost.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/includes/inpost.php b/includes/inpost.php index e639cff..c1fb2ce 100644 --- a/includes/inpost.php +++ b/includes/inpost.php @@ -19,13 +19,18 @@ function ss_add_inpost_metabox() { function ss_inpost_metabox() { $_sidebars = stripslashes_deep( get_option( SS_SETTINGS_FIELD ) ); + global $wp_registered_sidebars; ?> + +

- +