diff --git a/admin/includes/editor.php b/admin/includes/editor.php index a6338f50..2bdc3b42 100644 --- a/admin/includes/editor.php +++ b/admin/includes/editor.php @@ -91,17 +91,17 @@ function wpcf7_editor_panel_mail( $post ) { ) ); } -function wpcf7_editor_box_mail( $post, $args = '' ) { - $args = wp_parse_args( $args, array( +function wpcf7_editor_box_mail( $post, $options = '' ) { + $options = wp_parse_args( $options, array( 'id' => 'wpcf7-mail', 'name' => 'mail', 'title' => __( 'Mail', 'contact-form-7' ), 'use' => null, ) ); - $id = esc_attr( $args['id'] ); + $id = esc_attr( $options['id'] ); - $mail = wp_parse_args( $post->prop( $args['name'] ), array( + $mail = wp_parse_args( $post->prop( $options['name'] ), array( 'active' => false, 'recipient' => '', 'sender' => '', @@ -115,12 +115,12 @@ function wpcf7_editor_box_mail( $post, $args = '' ) { ?>
- + | @@ -159,7 +159,7 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {- + | @@ -168,7 +168,7 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {- + | @@ -177,7 +177,7 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {- + | @@ -186,7 +186,7 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {- + @@ -199,7 +199,7 @@ function wpcf7_editor_box_mail( $post, $args = '' ) { | - + |