We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc5c59f + 014893b commit 03db164Copy full SHA for 03db164
classes/class-alerts-list.php
@@ -334,6 +334,10 @@ public function enqueue_scripts( $page ) {
334
* @return array
335
*/
336
function save_alert_inline_edit( $data, $postarr ) {
337
+ if ( did_action( 'customize_preview_init' ) ) {
338
+ return $data;
339
+ }
340
+
341
$post_id = $postarr['ID'];
342
$post_type = wp_stream_filter_input( INPUT_POST, 'post_type' );
343
if ( Alerts::POST_TYPE !== $post_type ) {
0 commit comments