Plugin Directory

Changeset 1648110


Ignore:
Timestamp:
04/29/2017 05:12:05 PM (9 years ago)
Author:
Zuige
Message:

Tagging version 1.3.1

Minor fixes for 1.3 release

Location:
wp-libre-form
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-libre-form/tags/1.3.1/classes/class-cpt-wplf-submission.php

    r1648100 r1648110  
    271271        ?>
    272272        <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>
    274274          <?php if ( strlen( $value ) > 60 || strpos( $value, "\n" ) ) : ?>
    275275          <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  
    2121    || isset( $submission_id ) ) {
    2222
    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 );
    2628
    2729    if ( isset( $submission_id ) ) {
    2830      $to = get_post_meta( $submission_id, '_wplf_email_copy_to', true );
    29       // translators: %s is email address of form submitter
    30       $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 );
    3133    }
    3234
  • wp-libre-form/tags/1.3.1/readme.txt

    r1648100 r1648110  
    55Requires at least: 4.2
    66Tested up to: 4.7.4
    7 Stable tag: 1.3
     7Stable tag: 1.3.1
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • wp-libre-form/tags/1.3.1/wp-libre-form.php

    r1648100 r1648110  
    44 * Plugin URI: https://github.com/anttiviljami/wp-libre-form
    55 * Description: A minimal HTML form builder for WordPress; made for developers
    6  * Version: 1.3
     6 * Version: 1.3.1
    77 * Author: @anttiviljami
    88 * Author URI: https://github.com/anttiviljami/
     
    3232if ( ! class_exists( 'WP_Libre_Form' ) ) :
    3333
    34 define( 'WPLF_VERSION', '1.3' );
     34define( 'WPLF_VERSION', '1.3.1' );
    3535
    3636class WP_Libre_Form {
  • wp-libre-form/trunk/classes/class-cpt-wplf-submission.php

    r1648100 r1648110  
    271271        ?>
    272272        <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>
    274274          <?php if ( strlen( $value ) > 60 || strpos( $value, "\n" ) ) : ?>
    275275          <td><textarea style="width:100%" readonly><?php echo esc_textarea( $value ); ?></textarea></td>
  • wp-libre-form/trunk/inc/wplf-form-actions.php

    r1648100 r1648110  
    2121    || isset( $submission_id ) ) {
    2222
    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 );
    2628
    2729    if ( isset( $submission_id ) ) {
    2830      $to = get_post_meta( $submission_id, '_wplf_email_copy_to', true );
    29       // translators: %s is email address of form submitter
    30       $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 );
    3133    }
    3234
  • wp-libre-form/trunk/readme.txt

    r1648100 r1648110  
    55Requires at least: 4.2
    66Tested up to: 4.7.4
    7 Stable tag: 1.3
     7Stable tag: 1.3.1
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • wp-libre-form/trunk/wp-libre-form.php

    r1648100 r1648110  
    44 * Plugin URI: https://github.com/anttiviljami/wp-libre-form
    55 * Description: A minimal HTML form builder for WordPress; made for developers
    6  * Version: 1.3
     6 * Version: 1.3.1
    77 * Author: @anttiviljami
    88 * Author URI: https://github.com/anttiviljami/
     
    3232if ( ! class_exists( 'WP_Libre_Form' ) ) :
    3333
    34 define( 'WPLF_VERSION', '1.3' );
     34define( 'WPLF_VERSION', '1.3.1' );
    3535
    3636class WP_Libre_Form {
Note: See TracChangeset for help on using the changeset viewer.