Plugin Directory

Changeset 3236801


Ignore:
Timestamp:
02/07/2025 08:21:44 PM (5 weeks ago)
Author:
kprajapati22
Message:

Update to version 1.0.4 from GitHub

Location:
its-tracking-code
Files:
4 added
2 deleted
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • its-tracking-code/tags/1.0.4/includes/admin/class-tracking-code-admin.php

    r3008334 r3236801  
    5353    }
    5454}
    55 
  • its-tracking-code/tags/1.0.4/includes/admin/forms/tracking-code-settings.php

    r3008334 r3236801  
    3232        <p>
    3333            <h3><?php esc_html_e( 'Add Tracking Code to HTML head', 'trackingcode' ); ?></h3>
    34             <textarea rows="15" style="width:90%" name="tracking_code_options[tracking_head][code]"><?php echo @$tracking_code_options['tracking_head']['code']; ?></textarea>
     34            <textarea rows="15" style="width:90%" name="tracking_code_options[tracking_head][code]"><?php echo $tracking_code_options['tracking_head']['code'] ?? ''; ?></textarea>
    3535            <br />
    36             <input type="checkbox" name="tracking_code_options[tracking_head][disable]" id="tracking_head_disable" <?php checked( @$tracking_code_options['tracking_head']['disable'], 'on' ); ?>  />
     36            <input type="checkbox" name="tracking_code_options[tracking_head][disable]" id="tracking_head_disable" <?php checked( $tracking_code_options['tracking_head']['disable'] ?? '', 'on' ); ?>  />
    3737            <label for="tracking_head_disable"><?php esc_html_e( 'Disable this head tracking code', 'trackingcode' ); ?></label>
    3838        </p>
     
    4242        <p>
    4343            <h3><?php esc_html_e( 'Add Tracking Code to Footer', 'trackingcode' ); ?></h3>
    44             <textarea rows="15" style="width:90%" name="tracking_code_options[tracking_footer][code]"><?php echo @$tracking_code_options['tracking_footer']['code']; ?></textarea>
     44            <textarea rows="15" style="width:90%" name="tracking_code_options[tracking_footer][code]"><?php echo $tracking_code_options['tracking_footer']['code'] ?? ''; ?></textarea>
    4545            <br />
    46             <input type="checkbox" name="tracking_code_options[tracking_footer][disable]" id="tracking_footer_disable"  <?php checked( @$tracking_code_options['tracking_footer']['disable'], 'on' ); ?> />
     46            <input type="checkbox" name="tracking_code_options[tracking_footer][disable]" id="tracking_footer_disable" <?php checked( $tracking_code_options['tracking_footer']['disable'] ?? '', 'on' ); ?> />
    4747            <label for="tracking_footer_disable"><?php esc_html_e( 'Disable this footer tracking code', 'trackingcode' ); ?></label>
    4848        </p>
  • its-tracking-code/tags/1.0.4/it-tracking-code.php

    r3008334 r3236801  
    11<?php
    22/**
    3  * Plugin Name:     IT's Tracking Code
    4  * Description:     Add a tracking code to header & footer section
    5  * Version:         1.0.3
    6  * Author:          kprajapati22
    7  * Author URI:      https://profiles.wordpress.org/kprajapati22
    8  * Text Domain:     trackingcode
    9  * License: GPLv2
     3 * Plugin Name: KP Tracking Code
     4 * Description: Add a tracking code to header & footer section
     5 * Version: 1.0.4
     6 * Author: Kalpesh Prajapati
     7 * Author URI: https://profiles.wordpress.org/kprajapati22
     8 * Plugin URI: https://wordpress.org/plugins/kp-disable-admin-bar-based-on-user-roles
     9 * License: GPL2
     10 * Text Domain: trackingcode
     11 * Domain Path: /languages
     12 * Requires at least:  5.0
     13 * Requires PHP: 7.4
    1014 *
    11  * @package IT's Tracking Code
     15 * @package KP Tracking Code
    1216 */
    1317
     
    2024 * Basic plugin definitions
    2125 *
    22  * @package IT's Tracking Code
     26 * @package KP Tracking Code
    2327 * @since 1.0.0
    2428 */
    2529
    2630if ( ! defined( 'TRACKING_CODE_VERSION' ) ) {
    27     define( 'TRACKING_CODE_VERSION', '1.0.3' ); // version of plugin.
     31    define( 'TRACKING_CODE_VERSION', '1.0.4' ); // version of plugin.
    2832}
    2933if ( ! defined( 'TRACKING_CODE_DIR' ) ) {
     
    3640    define( 'TRACKING_CODE_ADMIN', TRACKING_CODE_DIR . '/includes/admin' ); // plugin admin dir.
    3741}
    38 
    39 /**
    40  * Load Text Domain
    41  *
    42  * This gets the plugin ready for translation.
    43  *
    44  * @package IT's Tracking Code
    45  * @since 1.0.0
    46  */
    47 load_plugin_textdomain( 'trackingcode', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    4842
    4943/**
     
    8074 * Includes some required files for plugin
    8175 *
    82  * @package IT's Tracking Code
     76 * @package KP Tracking Code
    8377 * @since 1.0.0
    8478 */
  • its-tracking-code/tags/1.0.4/readme.txt

    r3008334 r3236801  
    1 === IT's Tracking Code ===
     1=== KP Tracking Code ===
    22Contributors: kprajapati22
    3 Tags: tracking, code, admin, site, header, footer, google, yahoo, bing, piwik, google analytics
    4 Requires at least: 2.0.0
    5 Tested up to: 6.4.2
    6 Stable tag: 1.0.3
     3Tags: tracking, code, analytics code, pixel code, header and footer
     4Tested up to: 6.7
     5Stable tag: 1.0.4
    76License: GPLv2 or later
    87License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3837== Changelog ==
    3938
     39= 1.0.4 - 08/02/2025 =
     40* Resolved warnings
     41* Tested with WordPress 6.7.1
     42
    4043= 1.0.3 - 12/12/2023 =
    4144* Tested with WordPress 6.4.2
  • its-tracking-code/trunk/includes/admin/class-tracking-code-admin.php

    r3008334 r3236801  
    5353    }
    5454}
    55 
  • its-tracking-code/trunk/includes/admin/forms/tracking-code-settings.php

    r3008334 r3236801  
    3232        <p>
    3333            <h3><?php esc_html_e( 'Add Tracking Code to HTML head', 'trackingcode' ); ?></h3>
    34             <textarea rows="15" style="width:90%" name="tracking_code_options[tracking_head][code]"><?php echo @$tracking_code_options['tracking_head']['code']; ?></textarea>
     34            <textarea rows="15" style="width:90%" name="tracking_code_options[tracking_head][code]"><?php echo $tracking_code_options['tracking_head']['code'] ?? ''; ?></textarea>
    3535            <br />
    36             <input type="checkbox" name="tracking_code_options[tracking_head][disable]" id="tracking_head_disable" <?php checked( @$tracking_code_options['tracking_head']['disable'], 'on' ); ?>  />
     36            <input type="checkbox" name="tracking_code_options[tracking_head][disable]" id="tracking_head_disable" <?php checked( $tracking_code_options['tracking_head']['disable'] ?? '', 'on' ); ?>  />
    3737            <label for="tracking_head_disable"><?php esc_html_e( 'Disable this head tracking code', 'trackingcode' ); ?></label>
    3838        </p>
     
    4242        <p>
    4343            <h3><?php esc_html_e( 'Add Tracking Code to Footer', 'trackingcode' ); ?></h3>
    44             <textarea rows="15" style="width:90%" name="tracking_code_options[tracking_footer][code]"><?php echo @$tracking_code_options['tracking_footer']['code']; ?></textarea>
     44            <textarea rows="15" style="width:90%" name="tracking_code_options[tracking_footer][code]"><?php echo $tracking_code_options['tracking_footer']['code'] ?? ''; ?></textarea>
    4545            <br />
    46             <input type="checkbox" name="tracking_code_options[tracking_footer][disable]" id="tracking_footer_disable"  <?php checked( @$tracking_code_options['tracking_footer']['disable'], 'on' ); ?> />
     46            <input type="checkbox" name="tracking_code_options[tracking_footer][disable]" id="tracking_footer_disable" <?php checked( $tracking_code_options['tracking_footer']['disable'] ?? '', 'on' ); ?> />
    4747            <label for="tracking_footer_disable"><?php esc_html_e( 'Disable this footer tracking code', 'trackingcode' ); ?></label>
    4848        </p>
  • its-tracking-code/trunk/it-tracking-code.php

    r3008334 r3236801  
    11<?php
    22/**
    3  * Plugin Name:     IT's Tracking Code
    4  * Description:     Add a tracking code to header & footer section
    5  * Version:         1.0.3
    6  * Author:          kprajapati22
    7  * Author URI:      https://profiles.wordpress.org/kprajapati22
    8  * Text Domain:     trackingcode
    9  * License: GPLv2
     3 * Plugin Name: KP Tracking Code
     4 * Description: Add a tracking code to header & footer section
     5 * Version: 1.0.4
     6 * Author: Kalpesh Prajapati
     7 * Author URI: https://profiles.wordpress.org/kprajapati22
     8 * Plugin URI: https://wordpress.org/plugins/kp-disable-admin-bar-based-on-user-roles
     9 * License: GPL2
     10 * Text Domain: trackingcode
     11 * Domain Path: /languages
     12 * Requires at least:  5.0
     13 * Requires PHP: 7.4
    1014 *
    11  * @package IT's Tracking Code
     15 * @package KP Tracking Code
    1216 */
    1317
     
    2024 * Basic plugin definitions
    2125 *
    22  * @package IT's Tracking Code
     26 * @package KP Tracking Code
    2327 * @since 1.0.0
    2428 */
    2529
    2630if ( ! defined( 'TRACKING_CODE_VERSION' ) ) {
    27     define( 'TRACKING_CODE_VERSION', '1.0.3' ); // version of plugin.
     31    define( 'TRACKING_CODE_VERSION', '1.0.4' ); // version of plugin.
    2832}
    2933if ( ! defined( 'TRACKING_CODE_DIR' ) ) {
     
    3640    define( 'TRACKING_CODE_ADMIN', TRACKING_CODE_DIR . '/includes/admin' ); // plugin admin dir.
    3741}
    38 
    39 /**
    40  * Load Text Domain
    41  *
    42  * This gets the plugin ready for translation.
    43  *
    44  * @package IT's Tracking Code
    45  * @since 1.0.0
    46  */
    47 load_plugin_textdomain( 'trackingcode', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    4842
    4943/**
     
    8074 * Includes some required files for plugin
    8175 *
    82  * @package IT's Tracking Code
     76 * @package KP Tracking Code
    8377 * @since 1.0.0
    8478 */
  • its-tracking-code/trunk/readme.txt

    r3008334 r3236801  
    1 === IT's Tracking Code ===
     1=== KP Tracking Code ===
    22Contributors: kprajapati22
    3 Tags: tracking, code, admin, site, header, footer, google, yahoo, bing, piwik, google analytics
    4 Requires at least: 2.0.0
    5 Tested up to: 6.4.2
    6 Stable tag: 1.0.3
     3Tags: tracking, code, analytics code, pixel code, header and footer
     4Tested up to: 6.7
     5Stable tag: 1.0.4
    76License: GPLv2 or later
    87License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3837== Changelog ==
    3938
     39= 1.0.4 - 08/02/2025 =
     40* Resolved warnings
     41* Tested with WordPress 6.7.1
     42
    4043= 1.0.3 - 12/12/2023 =
    4144* Tested with WordPress 6.4.2
Note: See TracChangeset for help on using the changeset viewer.