afd6dedf by Jeff Balicki

clean up

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 64a4dd30
......@@ -74,8 +74,6 @@ function theme_broker_enqueue_scripts()
|| is_page_template("broker_notifications_archive.php")
|| is_page_template("broker_account_pages.php")
|| get_post_type() == 'notifications'
) {
wp_enqueue_style('global', get_bloginfo('template_url') . '/styles/brokers/landing-page/broker_landing.css', [], "0.0.67");
wp_enqueue_style('broker_new', get_bloginfo('template_url') . '/styles/broker_new.css', [], "0.0.71");
......@@ -102,6 +100,7 @@ function theme_broker_enqueue_scripts()
wp_enqueue_style('global', get_bloginfo('template_url') . '/styles/brokers/secondary-page/broker.css', array(), '0.0.64');
wp_enqueue_style('broker_new', get_bloginfo('template_url') . '/styles/broker_new.css', [], "0.0.7");
}
if (
is_page_template("broker_landing_page.php")
|| is_page_template("broker_pages.php")
......@@ -313,10 +312,7 @@ function handle_preflight()
}
add_role(
'cwl_staff',
__(
'CWL Staff'
),
'cwl_staff', __('CWL Staff'),
array(
'read' => true, // Allows user to read
'create_posts' => true, // Allows user to create new posts
......@@ -339,9 +335,6 @@ function ja_theme_setup()
function enable_extended_upload($mime_types = array())
{
// The MIME types listed here will be allowed in the media library.
// You can add as many MIME types as you want.
$mime_types['gz'] = 'application/x-gzip';
$mime_types['zip'] = 'application/zip';
$mime_types['rtf'] = 'application/rtf';
......@@ -351,8 +344,6 @@ function enable_extended_upload($mime_types = array())
$mime_types['svg'] = 'image/svg+xml';
$mime_types['xlsm'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
// If you want to forbid specific file types which are otherwise allowed,
// specify them here. You can add as many as possible.
unset($mime_types['exe']);
unset($mime_types['bin']);
......