Changeset 3844740
- Timestamp:
- 12/04/2026 03:24:28 PM (6 hours ago)
- Location:
- aitech-product-badges
- Files:
-
- 6 edited
- 1 copied
-
tags/1.0.2 (copied) (copied from aitech-product-badges/trunk )
-
tags/1.0.2/aitech-product-badges.php (modified) (2 diffs)
-
tags/1.0.2/includes/class-aitpb-admin.php (modified) (2 diffs)
-
tags/1.0.2/readme.txt (modified) (2 diffs)
-
trunk/aitech-product-badges.php (modified) (2 diffs)
-
trunk/includes/class-aitpb-admin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aitech-product-badges/tags/1.0.2/aitech-product-badges.php
r3844719 r3844740 3 3 * Plugin Name: AiTech Product Badges & Labels for WooCommerce 4 4 * Description: Sale, new, low-stock and custom product badges with display rules and live text variables. Create as many badge rules as you need; by default up to four badges show per product (adjustable). Works with classic and block themes. 5 * Version: 1.0. 15 * Version: 1.0.2 6 6 * Requires at least: 6.3 7 7 * Requires PHP: 7.4 … … 22 22 } 23 23 24 define( 'AITPB_VERSION', '1.0. 1' );24 define( 'AITPB_VERSION', '1.0.2' ); 25 25 define( 'AITPB_FILE', __FILE__ ); 26 26 define( 'AITPB_DIR', plugin_dir_path( __FILE__ ) ); -
aitech-product-badges/tags/1.0.2/includes/class-aitpb-admin.php
r3844719 r3844740 53 53 public static function action_links( $links ) { 54 54 array_unshift( $links, '<a href="' . esc_url( admin_url( 'edit.php?post_type=' . AITPB_Badges::POST_TYPE ) ) . '">' . esc_html__( 'Badges', 'aitech-product-badges' ) . '</a>' ); 55 if ( ! self::pro_active() ) { 56 $links[] = '<a href="' . esc_url( 'https://aitech-product-badges.pages.dev/?ref=wporg-plugin#pricing' ) . '" target="_blank" rel="noopener noreferrer">' . esc_html__( 'Upgrade to Pro', 'aitech-product-badges' ) . '</a>'; 57 } 55 58 return $links; 56 59 } … … 128 131 <?php submit_button(); ?> 129 132 </form> 133 <?php if ( ! self::pro_active() ) : ?> 134 <p class="description"><a href="<?php echo esc_url( 'https://aitech-product-badges.pages.dev/?ref=wporg-plugin#pricing' ); ?>" target="_blank" rel="noopener noreferrer"><?php esc_html_e( 'Upgrade to Pro', 'aitech-product-badges' ); ?></a></p> 135 <?php endif; ?> 130 136 </div> 131 137 <?php -
aitech-product-badges/tags/1.0.2/readme.txt
r3844719 r3844740 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 81 81 == Changelog == 82 82 83 = 1.0.2 = 84 * Added a link to the optional Pro version on the plugin screen. 85 83 86 = 1.0.1 = 84 87 * Clarified badge limits in the documentation: you can create as many badge rules as you need; by default up to four badges show on each product (adjustable in the settings). No functional change. -
aitech-product-badges/trunk/aitech-product-badges.php
r3844719 r3844740 3 3 * Plugin Name: AiTech Product Badges & Labels for WooCommerce 4 4 * Description: Sale, new, low-stock and custom product badges with display rules and live text variables. Create as many badge rules as you need; by default up to four badges show per product (adjustable). Works with classic and block themes. 5 * Version: 1.0. 15 * Version: 1.0.2 6 6 * Requires at least: 6.3 7 7 * Requires PHP: 7.4 … … 22 22 } 23 23 24 define( 'AITPB_VERSION', '1.0. 1' );24 define( 'AITPB_VERSION', '1.0.2' ); 25 25 define( 'AITPB_FILE', __FILE__ ); 26 26 define( 'AITPB_DIR', plugin_dir_path( __FILE__ ) ); -
aitech-product-badges/trunk/includes/class-aitpb-admin.php
r3844719 r3844740 53 53 public static function action_links( $links ) { 54 54 array_unshift( $links, '<a href="' . esc_url( admin_url( 'edit.php?post_type=' . AITPB_Badges::POST_TYPE ) ) . '">' . esc_html__( 'Badges', 'aitech-product-badges' ) . '</a>' ); 55 if ( ! self::pro_active() ) { 56 $links[] = '<a href="' . esc_url( 'https://aitech-product-badges.pages.dev/?ref=wporg-plugin#pricing' ) . '" target="_blank" rel="noopener noreferrer">' . esc_html__( 'Upgrade to Pro', 'aitech-product-badges' ) . '</a>'; 57 } 55 58 return $links; 56 59 } … … 128 131 <?php submit_button(); ?> 129 132 </form> 133 <?php if ( ! self::pro_active() ) : ?> 134 <p class="description"><a href="<?php echo esc_url( 'https://aitech-product-badges.pages.dev/?ref=wporg-plugin#pricing' ); ?>" target="_blank" rel="noopener noreferrer"><?php esc_html_e( 'Upgrade to Pro', 'aitech-product-badges' ); ?></a></p> 135 <?php endif; ?> 130 136 </div> 131 137 <?php -
aitech-product-badges/trunk/readme.txt
r3844719 r3844740 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 81 81 == Changelog == 82 82 83 = 1.0.2 = 84 * Added a link to the optional Pro version on the plugin screen. 85 83 86 = 1.0.1 = 84 87 * Clarified badge limits in the documentation: you can create as many badge rules as you need; by default up to four badges show on each product (adjustable in the settings). No functional change.
Note:
See TracChangeset
for help on using the changeset viewer.