Skip to content

Commit

Permalink
does this fix the media upload problem?
Browse files Browse the repository at this point in the history
  • Loading branch information
otrok7 committed Dec 20, 2024
1 parent 0d0698c commit 9aa2f26
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions admin/class-bread-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,10 +563,7 @@ function pwsix_process_settings_admin()
}
function process_customize_form()
{
$_POST['bmltmeetinglistsave'] = isset($_POST['bmltmeetinglistsave']);
$_POST['bmltmeetinglistpreview'] = isset($_POST['bmltmeetinglistpreview']);

if ($_POST['bmltmeetinglistsave'] || $_POST['bmltmeetinglistpreview']) {
if (isset($_POST['bmltmeetinglistsave']) || isset($_POST['bmltmeetinglistpreview'])) {
if (!wp_verify_nonce($_POST['_wpnonce'], 'bmltmeetinglistupdate-options')) {
die('Whoops! There was a problem with the data you posted. Please go back and try again.');
}
Expand Down

0 comments on commit 9aa2f26

Please sign in to comment.