Changeset 3236801
- Timestamp:
- 02/07/2025 08:21:44 PM (5 weeks ago)
- 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 53 53 } 54 54 } 55 -
its-tracking-code/tags/1.0.4/includes/admin/forms/tracking-code-settings.php
r3008334 r3236801 32 32 <p> 33 33 <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> 35 35 <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' ); ?> /> 37 37 <label for="tracking_head_disable"><?php esc_html_e( 'Disable this head tracking code', 'trackingcode' ); ?></label> 38 38 </p> … … 42 42 <p> 43 43 <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> 45 45 <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' ); ?> /> 47 47 <label for="tracking_footer_disable"><?php esc_html_e( 'Disable this footer tracking code', 'trackingcode' ); ?></label> 48 48 </p> -
its-tracking-code/tags/1.0.4/it-tracking-code.php
r3008334 r3236801 1 1 <?php 2 2 /** 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 10 14 * 11 * @package IT'sTracking Code15 * @package KP Tracking Code 12 16 */ 13 17 … … 20 24 * Basic plugin definitions 21 25 * 22 * @package IT'sTracking Code26 * @package KP Tracking Code 23 27 * @since 1.0.0 24 28 */ 25 29 26 30 if ( ! 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. 28 32 } 29 33 if ( ! defined( 'TRACKING_CODE_DIR' ) ) { … … 36 40 define( 'TRACKING_CODE_ADMIN', TRACKING_CODE_DIR . '/includes/admin' ); // plugin admin dir. 37 41 } 38 39 /**40 * Load Text Domain41 *42 * This gets the plugin ready for translation.43 *44 * @package IT's Tracking Code45 * @since 1.0.046 */47 load_plugin_textdomain( 'trackingcode', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );48 42 49 43 /** … … 80 74 * Includes some required files for plugin 81 75 * 82 * @package IT'sTracking Code76 * @package KP Tracking Code 83 77 * @since 1.0.0 84 78 */ -
its-tracking-code/tags/1.0.4/readme.txt
r3008334 r3236801 1 === IT'sTracking Code ===1 === KP Tracking Code === 2 2 Contributors: 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 3 Tags: tracking, code, analytics code, pixel code, header and footer 4 Tested up to: 6.7 5 Stable tag: 1.0.4 7 6 License: GPLv2 or later 8 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 38 37 == Changelog == 39 38 39 = 1.0.4 - 08/02/2025 = 40 * Resolved warnings 41 * Tested with WordPress 6.7.1 42 40 43 = 1.0.3 - 12/12/2023 = 41 44 * Tested with WordPress 6.4.2 -
its-tracking-code/trunk/includes/admin/class-tracking-code-admin.php
r3008334 r3236801 53 53 } 54 54 } 55 -
its-tracking-code/trunk/includes/admin/forms/tracking-code-settings.php
r3008334 r3236801 32 32 <p> 33 33 <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> 35 35 <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' ); ?> /> 37 37 <label for="tracking_head_disable"><?php esc_html_e( 'Disable this head tracking code', 'trackingcode' ); ?></label> 38 38 </p> … … 42 42 <p> 43 43 <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> 45 45 <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' ); ?> /> 47 47 <label for="tracking_footer_disable"><?php esc_html_e( 'Disable this footer tracking code', 'trackingcode' ); ?></label> 48 48 </p> -
its-tracking-code/trunk/it-tracking-code.php
r3008334 r3236801 1 1 <?php 2 2 /** 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 10 14 * 11 * @package IT'sTracking Code15 * @package KP Tracking Code 12 16 */ 13 17 … … 20 24 * Basic plugin definitions 21 25 * 22 * @package IT'sTracking Code26 * @package KP Tracking Code 23 27 * @since 1.0.0 24 28 */ 25 29 26 30 if ( ! 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. 28 32 } 29 33 if ( ! defined( 'TRACKING_CODE_DIR' ) ) { … … 36 40 define( 'TRACKING_CODE_ADMIN', TRACKING_CODE_DIR . '/includes/admin' ); // plugin admin dir. 37 41 } 38 39 /**40 * Load Text Domain41 *42 * This gets the plugin ready for translation.43 *44 * @package IT's Tracking Code45 * @since 1.0.046 */47 load_plugin_textdomain( 'trackingcode', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );48 42 49 43 /** … … 80 74 * Includes some required files for plugin 81 75 * 82 * @package IT'sTracking Code76 * @package KP Tracking Code 83 77 * @since 1.0.0 84 78 */ -
its-tracking-code/trunk/readme.txt
r3008334 r3236801 1 === IT'sTracking Code ===1 === KP Tracking Code === 2 2 Contributors: 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 3 Tags: tracking, code, analytics code, pixel code, header and footer 4 Tested up to: 6.7 5 Stable tag: 1.0.4 7 6 License: GPLv2 or later 8 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 38 37 == Changelog == 39 38 39 = 1.0.4 - 08/02/2025 = 40 * Resolved warnings 41 * Tested with WordPress 6.7.1 42 40 43 = 1.0.3 - 12/12/2023 = 41 44 * Tested with WordPress 6.4.2
Note: See TracChangeset
for help on using the changeset viewer.