Skip to content

Commit 9aa2f26

Browse files
committed
does this fix the media upload problem?
1 parent 0d0698c commit 9aa2f26

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

admin/class-bread-admin.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,7 @@ function pwsix_process_settings_admin()
563563
}
564564
function process_customize_form()
565565
{
566-
$_POST['bmltmeetinglistsave'] = isset($_POST['bmltmeetinglistsave']);
567-
$_POST['bmltmeetinglistpreview'] = isset($_POST['bmltmeetinglistpreview']);
568-
569-
if ($_POST['bmltmeetinglistsave'] || $_POST['bmltmeetinglistpreview']) {
566+
if (isset($_POST['bmltmeetinglistsave']) || isset($_POST['bmltmeetinglistpreview'])) {
570567
if (!wp_verify_nonce($_POST['_wpnonce'], 'bmltmeetinglistupdate-options')) {
571568
die('Whoops! There was a problem with the data you posted. Please go back and try again.');
572569
}

0 commit comments

Comments
 (0)