Plugin Directory

Changeset 3691550


Ignore:
Timestamp:
09/11/2026 02:13:39 PM (2 months ago)
Author:
lutecia
Message:

0.1.4

Location:
lutecia-for-woocommerce/trunk
Files:
3 added
13 edited

Legend:

Unmodified
Added
Removed
  • lutecia-for-woocommerce/trunk/admin/views/dashboard.php

    r3688787 r3691550  
    4545
    4646        <!-- State: not connected -->
     47        <div class="lutecia-card" data-lutecia-view="duplicate" hidden>
     48                <h2><?php esc_html_e( 'This looks like a copy of a connected store', 'lutecia-for-woocommerce' ); ?></h2>
     49                <p>
     50                        <?php esc_html_e( 'The connection belongs to another address. Nothing is sent from this site, and AI assistants are not served from it.', 'lutecia-for-woocommerce' ); ?>
     51                </p>
     52                <p class="lutecia-muted lutecia-small">
     53                        <?php esc_html_e( 'Connected store:', 'lutecia-for-woocommerce' ); ?> <code data-lutecia-dup-expected></code><br />
     54                        <?php esc_html_e( 'This site:', 'lutecia-for-woocommerce' ); ?> <code data-lutecia-dup-seen></code>
     55                </p>
     56                <p><?php esc_html_e( 'If this is a staging or test copy, leave it as it is. If the store really moved to this address, reconnect it here.', 'lutecia-for-woocommerce' ); ?></p>
     57                <button type="button" class="button button-primary" data-lutecia-reset><?php esc_html_e( 'This store moved here: reconnect', 'lutecia-for-woocommerce' ); ?></button>
     58        </div>
     59
    4760        <div class="lutecia-card lutecia-hero" data-lutecia-view="disconnected" <?php if ( $lutecia_connected ) : ?>hidden<?php endif; ?>>
    4861                <h2><?php esc_html_e( 'Let AI agents shop your store', 'lutecia-for-woocommerce' ); ?></h2>
    … …  
    6982                        </span>
    7083                </label>
     84                <?php if ( defined( 'LUTECIA_AGENCY_CODE' ) && '' !== trim( (string) LUTECIA_AGENCY_CODE ) ) : ?>
     85                <p class="lutecia-muted lutecia-agency-set">
     86                        <?php
     87                        printf(
     88                                /* translators: %s: agency code from wp-config.php */
     89                                esc_html__( 'Agency code %s, set in wp-config.php.', 'lutecia-for-woocommerce' ),
     90                                '<code>' . esc_html( trim( (string) LUTECIA_AGENCY_CODE ) ) . '</code>'
     91                        );
     92                        ?>
     93                </p>
     94                <?php else : ?>
     95                <p class="lutecia-agency-toggle">
     96                        <button type="button" class="lutecia-linkbtn" data-lutecia-agency-toggle aria-expanded="false"><?php esc_html_e( 'Have an agency code?', 'lutecia-for-woocommerce' ); ?></button>
     97                </p>
     98                <label class="lutecia-agency" data-lutecia-agency-field hidden>
     99                        <span><?php esc_html_e( 'Agency code', 'lutecia-for-woocommerce' ); ?></span>
     100                        <input type="text" data-lutecia-agency placeholder="AG-XXXXXXXX" autocomplete="off" spellcheck="false" />
     101                </label>
     102                <?php endif; ?>
    71103                <button type="button" class="lutecia-pill" data-lutecia-connect disabled>
    72104                        <span data-lutecia-connect-label><?php esc_html_e( 'Connect my store', 'lutecia-for-woocommerce' ); ?></span>
    … …  
    101133                                <p class="lutecia-status lutecia-ok"><?php esc_html_e( 'Up to date', 'lutecia-for-woocommerce' ); ?></p>
    102134                                <p class="lutecia-muted" data-lutecia-product-count></p>
    103                         </div>
    104 
    105                         <div class="lutecia-card">
    106                                 <h3><?php esc_html_e( 'Activity', 'lutecia-for-woocommerce' ); ?></h3>
    107                                 <p class="lutecia-muted"><?php esc_html_e( 'Coming soon: see which assistants ask for your products.', 'lutecia-for-woocommerce' ); ?></p>
    108135                        </div>
    109136                </div>
  • lutecia-for-woocommerce/trunk/assets/admin.css

    r3685223 r3691550  
    551551.lutecia-contact a { color: var(--lut-muted); }
    552552.lutecia-contact a:hover { color: var(--lut-ink); }
     553
     554/* Agency code on the connect screen: hidden behind a link, agencies know they have one. */
     555.lutecia-agency-toggle { margin: 4px 0 12px; }
     556.lutecia-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--lut-muted, #646970); text-decoration: underline; cursor: pointer; }
     557.lutecia-linkbtn:hover { color: var(--lut-ink, #1d2327); }
     558.lutecia-agency-set { margin: 4px 0 12px; }
     559.lutecia-agency { display: block; margin: 0 0 16px; max-width: 320px; }
     560.lutecia-agency[hidden] { display: none; }
     561.lutecia-agency span { display: block; font-size: 12px; color: var(--lut-muted, #646970); margin-bottom: 4px; }
     562.lutecia-agency input { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; text-transform: uppercase; }
  • lutecia-for-woocommerce/trunk/assets/admin.js

    r3681214 r3691550  
    1313        }
    1414
    15         var STEPS = { disconnected: '1', syncing: '2', connected: '3' };
    16 
    17         function api(path, method) {
    18                 return fetch(cfg.restUrl + path, {
     15        var STEPS = { duplicate: '1', disconnected: '1', syncing: '2', connected: '3' };
     16
     17        function api(path, method, body) {
     18                var init = {
    1919                        method: method || 'GET',
    2020                        headers: { 'X-WP-Nonce': cfg.restNonce, 'Content-Type': 'application/json' },
    2121                        credentials: 'same-origin'
    22                 }).then(function (res) {
     22                };
     23                if (body) {
     24                        init.body = JSON.stringify(body);
     25                }
     26                return fetch(cfg.restUrl + path, init).then(function (res) {
    2327                        return res.json().then(function (json) {
    2428                                return { ok: res.ok, status: res.status, json: json };
    … …  
    6973                        }
    7074                        var s = res.json;
     75                        if (s.duplicate) {
     76                                var dupExpected = app.querySelector('[data-lutecia-dup-expected]');
     77                                var dupSeen = app.querySelector('[data-lutecia-dup-seen]');
     78                                if (dupExpected) { dupExpected.textContent = s.duplicate.expected || ''; }
     79                                if (dupSeen) { dupSeen.textContent = s.duplicate.seen || ''; }
     80                                show('duplicate');
     81                                return;
     82                        }
    7183                        show(s.connected ? 'connected' : 'disconnected');
    7284                        applyStatus(s);
    … …  
    133145                                connectLabel.textContent = cfg.i18n.connecting;
    134146                        }
    135                         api('connect', 'POST').then(function (res) {
     147                        var agencyInput = app.querySelector('[data-lutecia-agency]');
     148                        var connectBody = { agency_code: agencyInput ? agencyInput.value.trim() : '' };
     149                        api('connect', 'POST', connectBody).then(function (res) {
    136150                                if (res.ok) {
    137151                                        show('syncing');
    … …  
    150164                                        connectLabel.textContent = cfg.i18n.connect;
    151165                                }
     166                        });
     167                });
     168        }
     169
     170        var resetBtn = app.querySelector('[data-lutecia-reset]');
     171        if (resetBtn) {
     172                resetBtn.addEventListener('click', function () {
     173                        if (!window.confirm(cfg.i18n.confirmReset)) {
     174                                return;
     175                        }
     176                        resetBtn.disabled = true;
     177                        api('reset', 'POST').then(function (res) {
     178                                if (res.ok) {
     179                                        show('disconnected');
     180                                } else {
     181                                        showError(res.json && res.json.message, res.status);
     182                                }
     183                                resetBtn.disabled = false;
     184                        }).catch(function () {
     185                                showError(cfg.i18n.genericError);
     186                                resetBtn.disabled = false;
    152187                        });
    153188                });
    … …  
    343378        });
    344379
     380        var agencyToggle = app.querySelector('[data-lutecia-agency-toggle]');
     381        if (agencyToggle) {
     382                agencyToggle.addEventListener('click', function () {
     383                        var field = app.querySelector('[data-lutecia-agency-field]');
     384                        field.hidden = false;
     385                        agencyToggle.setAttribute('aria-expanded', 'true');
     386                        agencyToggle.parentNode.hidden = true;
     387                        var input = field.querySelector('input');
     388                        if (input) { input.focus(); }
     389                });
     390        }
     391
    345392        if (app.getAttribute('data-connected') === '1') {
    346393                refreshStatus();
  • lutecia-for-woocommerce/trunk/includes/class-admin.php

    r3685223 r3691550  
    9595                                        'confirmCheckoutOn'  => __( 'Turn on Checkout? This lets Lutecia create orders in your store.', 'lutecia-for-woocommerce' ),
    9696                                        'confirmDisconnect'  => __( 'Disconnect this store from AI shopping assistants?', 'lutecia-for-woocommerce' ),
     97                                        'confirmReset'       => __( 'Forget the previous connection on this site and connect it as a new store?', 'lutecia-for-woocommerce' ),
    9798                                        /* translators: 1: number of products missing the field, 2: total number of products. */
    9899                                        'dataMissing'     => __( '%1$s of %2$s products missing it', 'lutecia-for-woocommerce' ),
  • lutecia-for-woocommerce/trunk/includes/class-attribution.php

    r3681214 r3691550  
    165165         */
    166166        public function report_order( $order_id ): void {
     167                if ( Site_Guard::in_duplicate_mode() ) {
     168                        return;
     169                }
    167170                $order = wc_get_order( $order_id );
    168171                if ( ! $order || ! $this->is_reportable( $order ) ) {
    … …  
    179182                $payload = array(
    180183                        'client_id'         => $client_id,
     184                        'site_url'          => get_option( 'home' ),
    181185                        'order_id'          => (string) $order->get_id(),
    182186                        'ref_code'          => $ref,
  • lutecia-for-woocommerce/trunk/includes/class-connection.php

    r3685223 r3691550  
    3232        private const KEY_DESCRIPTION = 'Lutecia (AI shopping assistants), created by the Lutecia plugin';
    3333
     34        public const OPT_TERMS_ACCEPTED = 'lutecia_terms_accepted';
     35
     36        /** @var array|null {name, status, message?} returned by the hub on the last connect. */
     37        public $last_agency = null;
     38
    3439        public function is_connected(): bool {
    3540                return '' !== (string) get_option( Plugin::OPT_CLIENT_ID, '' );
    … …  
    4651         * @return true|\WP_Error
    4752         */
    48         public function connect() {
     53        public function connect( array $options = array() ) {
    4954                if ( $this->is_connected() ) {
    5055                        return new \WP_Error( 'lutecia_already_connected', __( 'This store is already connected.', 'lutecia-for-woocommerce' ) );
    5156                }
     57                if ( 0 === get_current_user_id() ) {
     58                        return new \WP_Error( 'lutecia_no_user', __( 'The WooCommerce API key must be created in the name of an administrator. From WP-CLI, run the command with --user=<login>.', 'lutecia-for-woocommerce' ) );
     59                }
     60                $agency_code = isset( $options['agency_code'] ) ? trim( (string) $options['agency_code'] ) : '';
     61                if ( '' === $agency_code && defined( 'LUTECIA_AGENCY_CODE' ) ) {
     62                        $agency_code = trim( (string) LUTECIA_AGENCY_CODE );
     63                }
     64                $contact_email = isset( $options['contact_email'] ) ? sanitize_email( (string) $options['contact_email'] ) : '';
     65                $source        = isset( $options['source'] ) ? (string) $options['source'] : 'screen';
    5266
    5367                $keys = $this->create_wc_api_key();
    … …  
    6983                                                'consumer_key'       => $keys['consumer_key'],
    7084                                                'consumer_secret'    => $keys['consumer_secret'],
    71                                                 'admin_email'        => get_option( 'admin_email' ),
     85                                                'admin_email'        => '' !== $contact_email ? $contact_email : get_option( 'admin_email' ),
     86                                                'agency_code'        => $agency_code,
    7287                                                'language'           => substr( get_locale(), 0, 2 ),
    7388                                                'currency'           => function_exists( 'get_woocommerce_currency' ) ? get_woocommerce_currency() : '',
    … …  
    109124                update_option( Plugin::OPT_WEBHOOK_SECRET, sanitize_text_field( $body['webhook_secret'] ), false );
    110125                update_option( Plugin::OPT_CONNECTED_AT, time(), false );
     126                Site_Guard::remember();
     127                update_option(
     128                        self::OPT_TERMS_ACCEPTED,
     129                        array(
     130                                'by'        => (string) wp_get_current_user()->user_login,
     131                                'at'        => time(),
     132                                'source'    => $source,
     133                                'terms_url' => 'https://lutecia.app/legal',
     134                        ),
     135                        false
     136                );
     137                $this->last_agency = isset( $body['agency'] ) && is_array( $body['agency'] ) ? $body['agency'] : null;
    111138
    112139                // Fresh manifest right away: agents see the store as soon as it exists.
    … …  
    125152                }
    126153
     154                // A copy of a connected store never talks to the hub: local cleanup only.
     155                if ( Site_Guard::in_duplicate_mode() ) {
     156                        $this->revoke_wc_api_key();
     157                        Site_Guard::reset_for_reconnect();
     158                        return true;
     159                }
     160
    127161                // Best effort: tell the hub. Local cleanup happens regardless, the
    128162                // merchant must always be able to sever the link from their side.
    129163                $secret = (string) get_option( Plugin::OPT_WEBHOOK_SECRET, '' );
    130                 $body   = wp_json_encode( array( 'client_id' => $this->client_id() ) );
     164                $body   = wp_json_encode(
     165                        array(
     166                                'client_id' => $this->client_id(),
     167                                'site_url'  => get_option( 'home' ),
     168                        )
     169                );
    131170                wp_remote_post(
    132171                        LUTECIA_WC_HUB_URL . '/api/plugin/disconnect',
    … …  
    147186                // Attribution is an opt-in per connection: a reconnect starts off again.
    148187                delete_option( Plugin::OPT_ATTRIBUTION );
     188                delete_option( Site_Guard::OPT_SITE_URL );
     189                delete_option( self::OPT_TERMS_ACCEPTED );
    149190                Discovery::flush_cache();
    150191
    … …  
    230271         */
    231272        public function hub_settings( ?array $destinations_patch = null ) {
     273                if ( Site_Guard::in_duplicate_mode() ) {
     274                        return new \WP_Error( 'lutecia_duplicate_site', __( 'This site is a copy of a connected store. Nothing is sent from a copy.', 'lutecia-for-woocommerce' ) );
     275                }
    232276                $secret  = (string) get_option( Plugin::OPT_WEBHOOK_SECRET, '' );
    233                 $payload = array( 'client_id' => $this->client_id() );
     277                $payload = array(
     278                        'client_id' => $this->client_id(),
     279                        'site_url'  => get_option( 'home' ),
     280                );
    234281                if ( null !== $destinations_patch ) {
    235282                        $payload['destinations'] = $destinations_patch;
    … …  
    268315         */
    269316        public function hub_channel_access( string $channel, string $access ) {
     317                if ( Site_Guard::in_duplicate_mode() ) {
     318                        return new \WP_Error( 'lutecia_duplicate_site', __( 'This site is a copy of a connected store. Nothing is sent from a copy.', 'lutecia-for-woocommerce' ) );
     319                }
    270320                $secret = (string) get_option( Plugin::OPT_WEBHOOK_SECRET, '' );
    271321                $body   = wp_json_encode(
    272322                        array(
    273323                                'client_id' => $this->client_id(),
     324                                'site_url'  => get_option( 'home' ),
    274325                                'channel'   => $channel,
    275326                                'access'    => $access,
  • lutecia-for-woocommerce/trunk/includes/class-discovery.php

    r3681214 r3691550  
    6161                if ( ! get_query_var( self::QUERY_VAR ) ) {
    6262                        return;
     63                }
     64                if ( Site_Guard::in_duplicate_mode() ) {
     65                        return; // a copy must not answer agents for the real store
    6366                }
    6467
  • lutecia-for-woocommerce/trunk/includes/class-plugin.php

    r3681214 r3691550  
    4141        public $rest;
    4242
     43        /** @var Hub_Endpoint */
     44        public $hub_endpoint;
     45
    4346        /** @var Admin */
    4447        public $admin;
    … …  
    5760                $this->attribution = new Attribution( $this->connection );
    5861                $this->rest        = new Rest( $this->connection );
     62                $this->hub_endpoint = new Hub_Endpoint( $this->connection );
    5963                $this->admin       = new Admin( $this->connection );
    6064        }
    … …  
    6367                $this->discovery->register();
    6468                $this->rest->register();
     69                $this->hub_endpoint->register();
    6570                $this->admin->register();
     71
     72                // A copy of a connected store (staging, clone) stays silent: no
     73                // catalog pings, no attribution, nothing signed leaves this site.
     74                if ( Site_Guard::check() ) {
     75                        return;
     76                }
    6677
    6778                // Webhooks only fire once the store is connected. Sales attribution
  • lutecia-for-woocommerce/trunk/includes/class-rest.php

    r3688787 r3691550  
    7878                );
    7979
     80                register_rest_route(
     81                        'lutecia/v1',
     82                        '/reset',
     83                        array(
     84                                'methods'             => 'POST',
     85                                'callback'            => array( $this, 'handle_reset' ),
     86                                'permission_callback' => $permission,
     87                        )
     88                );
    8089                register_rest_route(
    8190                        'lutecia/v1',
    … …  
    219228        }
    220229
    221         public function handle_connect(): \WP_REST_Response {
    222                 $result = $this->connection->connect();
     230        public function handle_connect( \WP_REST_Request $request ): \WP_REST_Response {
     231                if ( Site_Guard::in_duplicate_mode() ) {
     232                        return new \WP_REST_Response( array( 'message' => __( 'This site is a copy of a connected store. Choose what to do on the Lutecia screen first.', 'lutecia-for-woocommerce' ) ), 409 );
     233                }
     234                $result = $this->connection->connect(
     235                        array(
     236                                'agency_code' => sanitize_text_field( (string) $request->get_param( 'agency_code' ) ),
     237                                'source'      => 'screen',
     238                        )
     239                );
    223240                if ( is_wp_error( $result ) ) {
    224241                        return new \WP_REST_Response( array( 'message' => $result->get_error_message() ), 400 );
    225242                }
    226                 return new \WP_REST_Response( array( 'connected' => true, 'client_id' => $this->connection->client_id() ), 200 );
     243                return new \WP_REST_Response(
     244                        array(
     245                                'connected' => true,
     246                                'client_id' => $this->connection->client_id(),
     247                                'agency'    => $this->connection->last_agency,
     248                        ),
     249                        200
     250                );
    227251        }
    228252
    … …  
    230254                $this->connection->disconnect();
    231255                return new \WP_REST_Response( array( 'connected' => false ), 200 );
     256        }
     257
     258        /** "This site has moved": forget the old link locally, then the admin reconnects. */
     259        public function handle_reset(): \WP_REST_Response {
     260                if ( ! Site_Guard::in_duplicate_mode() ) {
     261                        return new \WP_REST_Response( array( 'message' => __( 'Nothing to reset.', 'lutecia-for-woocommerce' ) ), 400 );
     262                }
     263                Site_Guard::reset_for_reconnect();
     264                return new \WP_REST_Response( array( 'connected' => false, 'reset' => true ), 200 );
    232265        }
    233266
    … …  
    237270         */
    238271        public function handle_status(): \WP_REST_Response {
    239                 $connected = $this->connection->is_connected();
     272                $connected = $this->connection->is_connected() && ! Site_Guard::in_duplicate_mode();
    240273
    241274                $discovery_ok = false;
    … …  
    260293                        array(
    261294                                'connected'     => $connected,
     295                                'duplicate'     => Site_Guard::in_duplicate_mode() ? Site_Guard::duplicate_details() : null,
    262296                                'client_id'     => $this->connection->client_id(),
    263297                                'connected_at'  => (int) get_option( Plugin::OPT_CONNECTED_AT, 0 ),
  • lutecia-for-woocommerce/trunk/includes/class-webhooks.php

    r3681214 r3691550  
    6161         */
    6262        public function notify_hub(): void {
     63                if ( Site_Guard::in_duplicate_mode() ) {
     64                        return;
     65                }
    6366                $client_id = $this->connection->client_id();
    6467                $secret    = (string) get_option( Plugin::OPT_WEBHOOK_SECRET, '' );
  • lutecia-for-woocommerce/trunk/lutecia-for-woocommerce.php

    r3688787 r3691550  
    44 * Plugin URI:        https://wordpress.org/plugins/lutecia-for-woocommerce/
    55 * Description:       Let AI agents shop your store. Lutecia connects your WooCommerce store to AI shopping assistants, so they can place the order in it.
    6  * Version:           0.1.3
     6 * Version:           0.1.4
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    1919defined( 'ABSPATH' ) || exit;
    2020
    21 define( 'LUTECIA_WC_VERSION', '0.1.3' );
     21define( 'LUTECIA_WC_VERSION', '0.1.4' );
    2222define( 'LUTECIA_WC_FILE', __FILE__ );
    2323define( 'LUTECIA_WC_DIR', plugin_dir_path( __FILE__ ) );
    … …  
    7373        }
    7474        \Lutecia\WC\Plugin::instance()->init();
     75        if ( defined( 'WP_CLI' ) && WP_CLI ) {
     76                \WP_CLI::add_command( 'lutecia', \Lutecia\WC\CLI::class );
     77        }
    7578}
    7679add_action( 'plugins_loaded', 'lutecia_wc_boot' );
  • lutecia-for-woocommerce/trunk/readme.txt

    r3688787 r3691550  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 0.1.3
     7Stable tag: 0.1.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    2727* **Live.** Your store is live for AI agents. From here on, the plugin screen shows what is on and lets you turn it off.
    2828
     29When an AI platform changes its requirements, the update happens on Lutecia's servers; you do not update the plugin for it.
     30
    2931**Channels**
    3032
    … …  
    3335**Controls**
    3436
     37* **Discovery: on by default.** Your products, searchable by AI agents as soon as you connect. Turn it off from the dashboard at any time.
    3538* **Checkout: opt-in.** Off until you turn it on from the dashboard.
    3639* **Sales attribution: optional.** A cookie on your storefront and a report of paid orders that came from an assistant, behind a separate switch, off until you turn it on.
    3740* **Catalog file: on by default.** A daily file of your full catalog in Google Shopping format, for the programs that fetch a file rather than query live.
    38 * **Format changes: handled by Lutecia.** When an AI platform changes its requirements, the update happens on Lutecia's servers; you do not update the plugin for it.
    3941* **Disconnecting.** One click on the dashboard: the API key is deleted and your store stops being served to assistants.
    4042
    4143**For developers**
    4244
    43 UCP version 2026-08-25. Capabilities: catalog search and lookup, cart, checkout, order, fulfillment, discounts, buyer consent, permalink. Transports: MCP and REST. Discovery served on your domain. Daily catalog file in Google Shopping format. Nothing to host or update on your side.
     45UCP version 2026-08-25. Capabilities: catalog search and lookup, cart, checkout, order, fulfillment, discounts, buyer consent, permalink. Transports: MCP (Model Context Protocol) and REST. Discovery served on your domain. Daily catalog file in Google Shopping format. Nothing to host or update on your side.
    4446
    4547== External Services ==
    … …  
    4749This plugin connects your store to the Lutecia service (https://lutecia.app). It sends requests in the following situations:
    4850
    49 * **When you click Connect**: your shop URL, shop name, admin email, language, currency, the URLs of your privacy policy and terms pages (shown to buyers by channels that require them), and a newly created read-only WooCommerce API key are sent to Lutecia to register your store.
     51* **When you click Connect (or run `wp lutecia connect`)**: your shop URL, shop name, admin email (or the contact email you pass), language, currency, the URLs of your privacy policy and terms pages (shown to buyers by channels that require them), the agency code, if one was entered, and a newly created read-only WooCommerce API key are sent to Lutecia to register your store.
    5052* **After connection**: Lutecia uses the API key to read your products (names, prices, stock, images) and keeps a copy of the catalog on its servers to serve assistants.
    5153* **When your catalog changes**: a signed notification (shop URL and timestamp, no product data) is sent so Lutecia can refresh your catalog.
    … …  
    102104== Changelog ==
    103105
     106= 0.1.4 =
     107* WP-CLI commands, agency code, duplicate-site guard, checkout from the agency console.
     108
    104109= 0.1.3 =
    105110* The daily catalog file is produced in Google Shopping format.
  • lutecia-for-woocommerce/trunk/uninstall.php

    r3681214 r3691550  
    4545delete_option( 'lutecia_attribution_enabled' );
    4646delete_option( 'lutecia_ucp_cache_salt' );
     47delete_option( 'lutecia_site_url' );
     48delete_option( 'lutecia_duplicate_site' );
     49delete_option( 'lutecia_terms_accepted' );
    4750
    4851wp_clear_scheduled_hook( 'lutecia_notify_hub' );
Note: See TracChangeset for help on using the changeset viewer.