Plugin Directory

Changeset 3364569


Ignore:
Timestamp:
09/19/2025 01:33:11 PM (3 months ago)
Author:
rubengc
Message:

1.0.1

Location:
bbforms
Files:
625 added
4 edited

Legend:

Unmodified
Added
Removed
  • bbforms/trunk/bbforms.php

    r3364402 r3364569  
    44 * Plugin URI:          https://bbforms.com
    55 * Description:         Build [forms] faster and easily just by typing them!
    6  * Version:             1.0.0
     6 * Version:             1.0.1
    77 * Author:              BBForms
    88 * Author URI:          https://bbforms.com/
     
    8282
    8383        // Plugin version
    84         define( 'BBFORMS_VER', '1.0.0' );
     84        define( 'BBFORMS_VER', '1.0.1' );
    8585
    8686        // Plugin file
  • bbforms/trunk/includes/editor-controls.php

    r3364402 r3364569  
    157157                    <?php foreach ( $tag_group_args['tags'] as $tag_key => $tag ) :
    158158                            if( $tag_key === 'field.FIELD_NAME' ) continue;
     159                            // ensure required elements
     160                            if( ! isset( $tag['label'] ) ) $tag['label'] = '{' . $tag_key . '}';
     161                            if( ! isset( $tag['preview'] ) ) $tag['preview'] = '';
    159162                            ?>
    160163                        <?php echo '<span class="bbforms-editor-control bbforms-editor-control-dropdown-option bbforms-editor-control-dropdown-' . esc_attr( $tag_key ) . '-' . esc_attr( $for ) . '-option cm-s-default" '
  • bbforms/trunk/includes/tags.php

    r3364402 r3364569  
    255255    );
    256256
     257    $tags['settings']['tags']['settings.SETTING_NAME'] = array(
     258        'label'     => __( 'Setting value', 'bbforms' ),
     259        'type'      => 'text',
     260        'preview'   => __( 'BBForms setting value, replace "SETTING_NAME" by the setting name.', 'bbforms' ),
     261    );
     262
    257263    $form_messages = bbforms_get_form_messages();
    258264    $form_messages_labels = bbforms_get_form_messages_labels();
     
    262268        $tags['settings']['tags']['settings.' . $key] = array(
    263269            // translators: %s: Message name
    264             'label'     => ( isset( $form_messages_labels[$key] ) ? sprintf( __( '%s Message', 'bbforms' ), $form_messages_labels[$key] )  : $key ),
     270            'label'     => ( isset( $form_messages_labels[$key] ) ? sprintf( __( '%s Message', 'bbforms' ), strip_tags( $form_messages_labels[$key] ) )  : $key ),
    265271            'type'      => 'text',
    266272            'preview'   => bbforms_get_form_message( $key ),
     
    268274
    269275    }
    270 
    271     $tags['settings']['tags']['settings.SETTING_NAME'] = array(
    272         'label'     => __( 'Setting value', 'bbforms' ),
    273         'type'      => 'text',
    274         'preview'   => __( 'BBForms setting value, replace "SETTING_NAME" by the setting name.', 'bbforms' ),
    275     );
    276276
    277277    /**
  • bbforms/trunk/readme.txt

    r3364414 r3364569  
    44Requires at least: 4.4
    55Tested up to: 6.8
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    351351== Changelog ==
    352352
     353= 1.0.1 =
     354
     355* **Improvements**
     356* Improve tags display.
     357
    353358= 1.0.0 =
    354359
Note: See TracChangeset for help on using the changeset viewer.