Plugin Directory

Changeset 2726219


Ignore:
Timestamp:
05/18/2022 03:58:42 PM (4 years ago)
Author:
impacttechpartners
Message:

release version 1.0.16 - require utt script in settings form

Location:
impact-partnership-cloud
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • impact-partnership-cloud/tags/1.0.16/changelog.txt

    r2695629 r2726219  
    11*** Impact Partnership Cloud ***
     2
     32022-05-16 - version 1.0.16
     4 * Tweak - made utt script field required
    25
    362022-03-09 - version 1.0.15
  • impact-partnership-cloud/tags/1.0.16/impact.php

    r2695629 r2726219  
    33 * Plugin Name:       Impact: Partnership Cloud
    44 * Description:       Partnership cloud app plugin for Woocomerce that tracks every conversion made trough one of Impact's referral links.
    5  * Version:           1.0.15
     5 * Version:           1.0.16
    66 * Requires at least: 5.0
    77 * Requires PHP:      7.0
     
    3131     * @var string
    3232     */
    33     private $version = '1.0.15';
     33    private $version = '1.0.16';
    3434    /**
    3535     * Singleton instance of the plugin
     
    324324                $sanitary_values[ $key ] = $input[ $key ];
    325325            }
    326             if ( empty( $value ) && 'custom_script_5' !== $key ) {
     326            if ( empty( $value ) ) {
    327327                $e_value = $key;
    328328                switch ( $key ) {
     
    339339                        $e_value = 'Event Type ID';
    340340                        break;
     341                    case 'custom_script_5':
     342                        $e_value = 'UTT Script';
     343                        break;
    341344                }
    342345
     
    428431        $value = get_option( 'impact_settings_option_name' );
    429432        printf(
    430             '<textarea class="large-text" rows="5" name="impact_settings_option_name[custom_script_5]" id="custom_script_5" >%s</textarea><small class="form-text text-muted">
     433            '<textarea class="large-text" rows="5" name="impact_settings_option_name[custom_script_5]" id="custom_script_5" required>%s</textarea><small class="form-text text-muted">
    431434            You can find this in your Impact Account > Settings > Tracking > General > Universal Tracking Tag field
    432435            </small>',
  • impact-partnership-cloud/tags/1.0.16/includes/impact_settings_page.php

    r2603254 r2726219  
    3838</div>
    3939
    40 <?php if ( 'true' === $user_exist ) : ?>
     40<?php if ( 'true' === $user_exist && !get_settings_errors()) : ?>
    4141    <div class="modal mt-5" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static">
    4242        <div class="modal-dialog" role="document">
  • impact-partnership-cloud/tags/1.0.16/readme.txt

    r2695629 r2726219  
    44Tested up to: 5.9
    55Requires PHP: 7.0
    6 Stable tag: 1.0.15
     6Stable tag: 1.0.16
    77License: GPLv2 or later License
    88URI: http://www.gnu.org/licenses/gpl-2.0.html
  • impact-partnership-cloud/trunk/changelog.txt

    r2695629 r2726219  
    11*** Impact Partnership Cloud ***
     2
     32022-05-16 - version 1.0.16
     4 * Tweak - made utt script field required
    25
    362022-03-09 - version 1.0.15
  • impact-partnership-cloud/trunk/impact.php

    r2695629 r2726219  
    33 * Plugin Name:       Impact: Partnership Cloud
    44 * Description:       Partnership cloud app plugin for Woocomerce that tracks every conversion made trough one of Impact's referral links.
    5  * Version:           1.0.15
     5 * Version:           1.0.16
    66 * Requires at least: 5.0
    77 * Requires PHP:      7.0
     
    3131     * @var string
    3232     */
    33     private $version = '1.0.15';
     33    private $version = '1.0.16';
    3434    /**
    3535     * Singleton instance of the plugin
     
    324324                $sanitary_values[ $key ] = $input[ $key ];
    325325            }
    326             if ( empty( $value ) && 'custom_script_5' !== $key ) {
     326            if ( empty( $value ) ) {
    327327                $e_value = $key;
    328328                switch ( $key ) {
     
    339339                        $e_value = 'Event Type ID';
    340340                        break;
     341                    case 'custom_script_5':
     342                        $e_value = 'UTT Script';
     343                        break;
    341344                }
    342345
     
    428431        $value = get_option( 'impact_settings_option_name' );
    429432        printf(
    430             '<textarea class="large-text" rows="5" name="impact_settings_option_name[custom_script_5]" id="custom_script_5" >%s</textarea><small class="form-text text-muted">
     433            '<textarea class="large-text" rows="5" name="impact_settings_option_name[custom_script_5]" id="custom_script_5" required>%s</textarea><small class="form-text text-muted">
    431434            You can find this in your Impact Account > Settings > Tracking > General > Universal Tracking Tag field
    432435            </small>',
  • impact-partnership-cloud/trunk/includes/impact_settings_page.php

    r2603254 r2726219  
    3838</div>
    3939
    40 <?php if ( 'true' === $user_exist ) : ?>
     40<?php if ( 'true' === $user_exist && !get_settings_errors()) : ?>
    4141    <div class="modal mt-5" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static">
    4242        <div class="modal-dialog" role="document">
  • impact-partnership-cloud/trunk/readme.txt

    r2695629 r2726219  
    44Tested up to: 5.9
    55Requires PHP: 7.0
    6 Stable tag: 1.0.15
     6Stable tag: 1.0.16
    77License: GPLv2 or later License
    88URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.