If the ‘postcustom’ meta box is enabled, then we need to perform some extra initialization on it.
Source
case 'draft':
$message = 10;
break;
default:
$message = isset( $_POST['publish'] ) ? 6 : 1;
break;
}
If the ‘postcustom’ meta box is enabled, then we need to perform some extra initialization on it.
case 'draft':
$message = 10;
break;
default:
$message = isset( $_POST['publish'] ) ? 6 : 1;
break;
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.