Changeset 1648110
- Timestamp:
- 04/29/2017 05:12:05 PM (9 years ago)
- Location:
- wp-libre-form
- Files:
-
- 8 edited
- 1 copied
-
tags/1.3.1 (copied) (copied from wp-libre-form/trunk)
-
tags/1.3.1/classes/class-cpt-wplf-submission.php (modified) (1 diff)
-
tags/1.3.1/inc/wplf-form-actions.php (modified) (1 diff)
-
tags/1.3.1/readme.txt (modified) (1 diff)
-
tags/1.3.1/wp-libre-form.php (modified) (2 diffs)
-
trunk/classes/class-cpt-wplf-submission.php (modified) (1 diff)
-
trunk/inc/wplf-form-actions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-libre-form.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-libre-form/tags/1.3.1/classes/class-cpt-wplf-submission.php
r1648100 r1648110 271 271 ?> 272 272 <tr> 273 <th><strong><?php echo esc_html( $field ); ?></strong> <?php echo wp_kses( $possible_link ); ?></th>273 <th><strong><?php echo esc_html( $field ); ?></strong> <?php echo wp_kses( $possible_link, '' ); ?></th> 274 274 <?php if ( strlen( $value ) > 60 || strpos( $value, "\n" ) ) : ?> 275 275 <td><textarea style="width:100%" readonly><?php echo esc_textarea( $value ); ?></textarea></td> -
wp-libre-form/tags/1.3.1/inc/wplf-form-actions.php
r1648100 r1648110 21 21 || isset( $submission_id ) ) { 22 22 23 $to = $form_meta['_wplf_email_copy_to'][0]; 24 // translators: %s is email address of form submitter 25 $subject = wp_sprintf( __( 'New submission from %s', 'wp-libre-form' ), $referrer ); 23 $to = isset( $form_meta['_wplf_email_copy_to'] ) ? 24 $form_meta['_wplf_email_copy_to'][0] : get_option( 'admin_email' ); 25 26 // translators: %1$s is submission ID, %2$s is URL where form was submitted 27 $subject = wp_sprintf( __( '[%1$s] New submission to %2$s', 'wp-libre-form' ), $return->submission_id, $referrer ); 26 28 27 29 if ( isset( $submission_id ) ) { 28 30 $to = get_post_meta( $submission_id, '_wplf_email_copy_to', true ); 29 // translators: % s is email address of form submitter30 $subject = wp_sprintf( __( ' Submission from %s', 'wp-libre-form' ), $referrer );31 // translators: %1$s is submission ID, %2$s is URL where form was submitted 32 $subject = wp_sprintf( __( '[%1$s] Submission from %2$s', 'wp-libre-form' ), $return->submission_id, $referrer ); 31 33 } 32 34 -
wp-libre-form/tags/1.3.1/readme.txt
r1648100 r1648110 5 5 Requires at least: 4.2 6 6 Tested up to: 4.7.4 7 Stable tag: 1.3 7 Stable tag: 1.3.1 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html -
wp-libre-form/tags/1.3.1/wp-libre-form.php
r1648100 r1648110 4 4 * Plugin URI: https://github.com/anttiviljami/wp-libre-form 5 5 * Description: A minimal HTML form builder for WordPress; made for developers 6 * Version: 1.3 6 * Version: 1.3.1 7 7 * Author: @anttiviljami 8 8 * Author URI: https://github.com/anttiviljami/ … … 32 32 if ( ! class_exists( 'WP_Libre_Form' ) ) : 33 33 34 define( 'WPLF_VERSION', '1.3 ' );34 define( 'WPLF_VERSION', '1.3.1' ); 35 35 36 36 class WP_Libre_Form { -
wp-libre-form/trunk/classes/class-cpt-wplf-submission.php
r1648100 r1648110 271 271 ?> 272 272 <tr> 273 <th><strong><?php echo esc_html( $field ); ?></strong> <?php echo wp_kses( $possible_link ); ?></th>273 <th><strong><?php echo esc_html( $field ); ?></strong> <?php echo wp_kses( $possible_link, '' ); ?></th> 274 274 <?php if ( strlen( $value ) > 60 || strpos( $value, "\n" ) ) : ?> 275 275 <td><textarea style="width:100%" readonly><?php echo esc_textarea( $value ); ?></textarea></td> -
wp-libre-form/trunk/inc/wplf-form-actions.php
r1648100 r1648110 21 21 || isset( $submission_id ) ) { 22 22 23 $to = $form_meta['_wplf_email_copy_to'][0]; 24 // translators: %s is email address of form submitter 25 $subject = wp_sprintf( __( 'New submission from %s', 'wp-libre-form' ), $referrer ); 23 $to = isset( $form_meta['_wplf_email_copy_to'] ) ? 24 $form_meta['_wplf_email_copy_to'][0] : get_option( 'admin_email' ); 25 26 // translators: %1$s is submission ID, %2$s is URL where form was submitted 27 $subject = wp_sprintf( __( '[%1$s] New submission to %2$s', 'wp-libre-form' ), $return->submission_id, $referrer ); 26 28 27 29 if ( isset( $submission_id ) ) { 28 30 $to = get_post_meta( $submission_id, '_wplf_email_copy_to', true ); 29 // translators: % s is email address of form submitter30 $subject = wp_sprintf( __( ' Submission from %s', 'wp-libre-form' ), $referrer );31 // translators: %1$s is submission ID, %2$s is URL where form was submitted 32 $subject = wp_sprintf( __( '[%1$s] Submission from %2$s', 'wp-libre-form' ), $return->submission_id, $referrer ); 31 33 } 32 34 -
wp-libre-form/trunk/readme.txt
r1648100 r1648110 5 5 Requires at least: 4.2 6 6 Tested up to: 4.7.4 7 Stable tag: 1.3 7 Stable tag: 1.3.1 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html -
wp-libre-form/trunk/wp-libre-form.php
r1648100 r1648110 4 4 * Plugin URI: https://github.com/anttiviljami/wp-libre-form 5 5 * Description: A minimal HTML form builder for WordPress; made for developers 6 * Version: 1.3 6 * Version: 1.3.1 7 7 * Author: @anttiviljami 8 8 * Author URI: https://github.com/anttiviljami/ … … 32 32 if ( ! class_exists( 'WP_Libre_Form' ) ) : 33 33 34 define( 'WPLF_VERSION', '1.3 ' );34 define( 'WPLF_VERSION', '1.3.1' ); 35 35 36 36 class WP_Libre_Form {
Note: See TracChangeset
for help on using the changeset viewer.