diff --git a/init.php b/init.php index 119be75..d91f483 100644 --- a/init.php +++ b/init.php @@ -588,7 +588,7 @@ function bsf_editor_footer_scripts() { ?> function bsf_force_send( $args ) { if ( ! isset( $_GET['bsf_file_upload_nonce'] ) || ! wp_verify_nonce( $_GET['bsf_file_upload_nonce'], 'ajax_nonce' ) ) { - return; + return $args; } // if the Gallery tab is opened from a custom meta box field, add Insert Into Post button. if ( isset( $_GET['bsf_force_send'] ) && 'true' == esc_attr( $_GET['bsf_force_send'] ) ) {