Changeset 3760641
- Timestamp:
- 10/22/2026 11:26:33 PM (3 hours ago)
- Location:
- gatemi-trust-badges
- Files:
-
- 8 edited
- 1 copied
-
tags/1.0.2 (copied) (copied from gatemi-trust-badges/trunk )
-
tags/1.0.2/gatemi-trust-badges.php (modified) (2 diffs)
-
tags/1.0.2/includes/class-gmtb-render.php (modified) (1 diff)
-
tags/1.0.2/languages/gatemi-trust-badges.pot (modified) (2 diffs)
-
tags/1.0.2/readme.txt (modified) (2 diffs)
-
trunk/gatemi-trust-badges.php (modified) (2 diffs)
-
trunk/includes/class-gmtb-render.php (modified) (1 diff)
-
trunk/languages/gatemi-trust-badges.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gatemi-trust-badges/tags/1.0.2/gatemi-trust-badges.php
r3753132 r3760641 6 6 * Author: Gatemi 7 7 * Author URI: https://gatemi.com/ 8 * Version: 1.0. 18 * Version: 1.0.2 9 9 * Requires at least: 6.4 10 10 * Requires PHP: 7.4 … … 30 30 } 31 31 32 define( 'GMTB_VERSION', '1.0. 1' );32 define( 'GMTB_VERSION', '1.0.2' ); 33 33 define( 'GMTB_PLUGIN_FILE', __FILE__ ); 34 34 define( 'GMTB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
gatemi-trust-badges/tags/1.0.2/includes/class-gmtb-render.php
r3700538 r3760641 160 160 return $content; 161 161 } 162 // The Checkout block hands its order-received and order-pay endpoints 163 // to the classic shortcode, whose templates fire no placement hook — 164 // so the block path draws nothing there either, rather than a "secure 165 // checkout" row under a thank-you page. 166 if ( 'checkout' === $where && function_exists( 'is_wc_endpoint_url' ) && ( is_wc_endpoint_url( 'order-received' ) || is_wc_endpoint_url( 'order-pay' ) ) ) { 167 return $content; 168 } 169 // Nor under an empty Cart block: the classic empty-cart page fires no 170 // after-totals hook, because there are no totals to be below. 171 if ( 'cart' === $where && function_exists( 'WC' ) && is_object( WC()->cart ) && WC()->cart->is_empty() ) { 172 return $content; 173 } 162 174 163 175 return $content . wp_kses( $this->markup( $where ), self::allowed_html() ); -
gatemi-trust-badges/tags/1.0.2/languages/gatemi-trust-badges.pot
r3700538 r3760641 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Gatemi Trust Badges 1.0. 0\n"5 "Project-Id-Version: Gatemi Trust Badges 1.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gatemi-trust-badges\n" 7 7 "Last-Translator: Gatemi <support@gatemi.com>\n" … … 61 61 msgstr "" 62 62 63 #: gatemi-trust-badges.php:5 563 #: gatemi-trust-badges.php:57 64 64 msgid "Gatemi Trust Badges requires WooCommerce to be installed and active." 65 65 msgstr "" -
gatemi-trust-badges/tags/1.0.2/readme.txt
r3753132 r3760641 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 … … 79 79 == Changelog == 80 80 81 = 1.0.2 = 82 * Fixed: no badge row on the order-received and order-pay pages, or under an empty Cart block, matching the classic checkout. 83 81 84 = 1.0.1 = 82 85 * Changed: when WooCommerce is missing the plugin now says so in a plain row under its own entry on the Plugins screen, instead of an admin notice shown on every admin page. -
gatemi-trust-badges/trunk/gatemi-trust-badges.php
r3753132 r3760641 6 6 * Author: Gatemi 7 7 * Author URI: https://gatemi.com/ 8 * Version: 1.0. 18 * Version: 1.0.2 9 9 * Requires at least: 6.4 10 10 * Requires PHP: 7.4 … … 30 30 } 31 31 32 define( 'GMTB_VERSION', '1.0. 1' );32 define( 'GMTB_VERSION', '1.0.2' ); 33 33 define( 'GMTB_PLUGIN_FILE', __FILE__ ); 34 34 define( 'GMTB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
gatemi-trust-badges/trunk/includes/class-gmtb-render.php
r3700538 r3760641 160 160 return $content; 161 161 } 162 // The Checkout block hands its order-received and order-pay endpoints 163 // to the classic shortcode, whose templates fire no placement hook — 164 // so the block path draws nothing there either, rather than a "secure 165 // checkout" row under a thank-you page. 166 if ( 'checkout' === $where && function_exists( 'is_wc_endpoint_url' ) && ( is_wc_endpoint_url( 'order-received' ) || is_wc_endpoint_url( 'order-pay' ) ) ) { 167 return $content; 168 } 169 // Nor under an empty Cart block: the classic empty-cart page fires no 170 // after-totals hook, because there are no totals to be below. 171 if ( 'cart' === $where && function_exists( 'WC' ) && is_object( WC()->cart ) && WC()->cart->is_empty() ) { 172 return $content; 173 } 162 174 163 175 return $content . wp_kses( $this->markup( $where ), self::allowed_html() ); -
gatemi-trust-badges/trunk/languages/gatemi-trust-badges.pot
r3700538 r3760641 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Gatemi Trust Badges 1.0. 0\n"5 "Project-Id-Version: Gatemi Trust Badges 1.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gatemi-trust-badges\n" 7 7 "Last-Translator: Gatemi <support@gatemi.com>\n" … … 61 61 msgstr "" 62 62 63 #: gatemi-trust-badges.php:5 563 #: gatemi-trust-badges.php:57 64 64 msgid "Gatemi Trust Badges requires WooCommerce to be installed and active." 65 65 msgstr "" -
gatemi-trust-badges/trunk/readme.txt
r3753132 r3760641 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 … … 79 79 == Changelog == 80 80 81 = 1.0.2 = 82 * Fixed: no badge row on the order-received and order-pay pages, or under an empty Cart block, matching the classic checkout. 83 81 84 = 1.0.1 = 82 85 * Changed: when WooCommerce is missing the plugin now says so in a plain row under its own entry on the Plugins screen, instead of an admin notice shown on every admin page.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)