Changeset 3760135
- Timestamp:
- 10/22/2026 03:24:25 PM (4 weeks ago)
- Location:
- shopbouncer
- Files:
-
- 8 edited
- 1 copied
-
tags/1.2.0 (copied) (copied from shopbouncer/trunk )
-
tags/1.2.0/includes/class-admin.php (modified) (1 diff)
-
tags/1.2.0/includes/class-recorder.php (modified) (1 diff)
-
tags/1.2.0/readme.txt (modified) (2 diffs)
-
tags/1.2.0/shopbouncer.php (modified) (2 diffs)
-
trunk/includes/class-admin.php (modified) (1 diff)
-
trunk/includes/class-recorder.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shopbouncer.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shopbouncer/tags/1.2.0/includes/class-admin.php
r3721440 r3760135 700 700 } 701 701 echo '</p>'; 702 /** 703 * After the evidence of an agent order (ShopBouncer Pro adds its export links here). 704 * 705 * @param \WC_Order $order Order placed by an AI agent. 706 */ 707 do_action( 'shopbouncer_order_box_after', $order ); 702 708 } 703 709 -
shopbouncer/tags/1.2.0/includes/class-recorder.php
r3721440 r3760135 122 122 set_transient( $key, 1, min( (int) $ttl, DAY_IN_SECONDS ) ); 123 123 return false; 124 } 125 126 /** 127 * The current request's agent, as seen so far: for add-ons (ShopBouncer Pro) that act before the response. 128 * Verifies the signature (once, memoized) or checks the IP ranges, so call it only when the answer matters. 129 * 130 * @return array|null { name, operator, kind, trust, area } or null for human traffic and admin/cron requests. 131 */ 132 public static function current() { 133 if ( null === self::$hit ) { 134 return null; 135 } 136 return array( 137 'name' => self::$hit['agent'][0], 138 'operator' => self::$hit['agent'][1], 139 'kind' => self::$hit['agent'][2], 140 'trust' => self::trust( self::verification() ), 141 'area' => self::area(), 142 ); 124 143 } 125 144 -
shopbouncer/tags/1.2.0/readme.txt
r3721440 r3760135 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1. 1.07 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 123 123 == Changelog == 124 124 125 = 1.2.0 = 126 * New: a small, documented interface for add-ons: the identity check for the current request (agent, verdict, store area) and a hook below an agent order's evidence box. Nothing changes for existing stores. 127 125 128 = 1.1.0 = 126 129 * New: sales sent by AI assistants (ChatGPT, Perplexity, Gemini, Claude, Copilot and more), from WooCommerce Order Attribution. -
shopbouncer/tags/1.2.0/shopbouncer.php
r3721440 r3760135 3 3 * Plugin Name: ShopBouncer 4 4 * Description: See which AI agents visit and shop your store, which ones prove who they are, and which are just using a famous agent's name. 5 * Version: 1. 1.05 * Version: 1.2.0 6 6 * Requires at least: 6.5 7 7 * Requires PHP: 7.4 … … 19 19 defined( 'ABSPATH' ) || exit; 20 20 21 define( 'SHOPBOUNCER_VERSION', '1. 1.0' );21 define( 'SHOPBOUNCER_VERSION', '1.2.0' ); 22 22 define( 'SHOPBOUNCER_FILE', __FILE__ ); 23 23 define( 'SHOPBOUNCER_DB_VERSION', '1' ); -
shopbouncer/trunk/includes/class-admin.php
r3721440 r3760135 700 700 } 701 701 echo '</p>'; 702 /** 703 * After the evidence of an agent order (ShopBouncer Pro adds its export links here). 704 * 705 * @param \WC_Order $order Order placed by an AI agent. 706 */ 707 do_action( 'shopbouncer_order_box_after', $order ); 702 708 } 703 709 -
shopbouncer/trunk/includes/class-recorder.php
r3721440 r3760135 122 122 set_transient( $key, 1, min( (int) $ttl, DAY_IN_SECONDS ) ); 123 123 return false; 124 } 125 126 /** 127 * The current request's agent, as seen so far: for add-ons (ShopBouncer Pro) that act before the response. 128 * Verifies the signature (once, memoized) or checks the IP ranges, so call it only when the answer matters. 129 * 130 * @return array|null { name, operator, kind, trust, area } or null for human traffic and admin/cron requests. 131 */ 132 public static function current() { 133 if ( null === self::$hit ) { 134 return null; 135 } 136 return array( 137 'name' => self::$hit['agent'][0], 138 'operator' => self::$hit['agent'][1], 139 'kind' => self::$hit['agent'][2], 140 'trust' => self::trust( self::verification() ), 141 'area' => self::area(), 142 ); 124 143 } 125 144 -
shopbouncer/trunk/readme.txt
r3721440 r3760135 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1. 1.07 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 123 123 == Changelog == 124 124 125 = 1.2.0 = 126 * New: a small, documented interface for add-ons: the identity check for the current request (agent, verdict, store area) and a hook below an agent order's evidence box. Nothing changes for existing stores. 127 125 128 = 1.1.0 = 126 129 * New: sales sent by AI assistants (ChatGPT, Perplexity, Gemini, Claude, Copilot and more), from WooCommerce Order Attribution. -
shopbouncer/trunk/shopbouncer.php
r3721440 r3760135 3 3 * Plugin Name: ShopBouncer 4 4 * Description: See which AI agents visit and shop your store, which ones prove who they are, and which are just using a famous agent's name. 5 * Version: 1. 1.05 * Version: 1.2.0 6 6 * Requires at least: 6.5 7 7 * Requires PHP: 7.4 … … 19 19 defined( 'ABSPATH' ) || exit; 20 20 21 define( 'SHOPBOUNCER_VERSION', '1. 1.0' );21 define( 'SHOPBOUNCER_VERSION', '1.2.0' ); 22 22 define( 'SHOPBOUNCER_FILE', __FILE__ ); 23 23 define( 'SHOPBOUNCER_DB_VERSION', '1' );
Note:
See TracChangeset
for help on using the changeset viewer.