Plugin Directory

Changeset 3801014


Ignore:
Timestamp:
11/13/2026 06:41:55 PM (12 days ago)
Author:
dakshu007
Message:

Release 1.3.2: save AI Blog Writer drafts to WordPress, shorter description

Location:
mykavo
Files:
2 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • mykavo/tags/1.3.2/mykavo.php

    r3786626 r3801014  
    44 * Plugin URI:        https://mykavo.app/wordpress-plugin
    55 * Description:       See what changed on your site, and whether it matters, without leaving WordPress. Visual, SEO, content, link and script changes with before-and-after screenshots. Adds nothing to the pages your visitors load.
    6  * Version:           1.3.1
     6 * Version:           1.3.2
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    1818defined( 'ABSPATH' ) || exit;
    1919
    20 define( 'MYKAVO_VERSION', '1.3.1' );
     20define( 'MYKAVO_VERSION', '1.3.2' );
    2121define( 'MYKAVO_FILE', __FILE__ );
    2222define( 'MYKAVO_DIR', plugin_dir_path( __FILE__ ) );
    … …  
    6666        require_once MYKAVO_DIR . 'includes/class-mykavo-roles.php';
    6767        require_once MYKAVO_DIR . 'includes/class-mykavo-alerts.php';
     68        require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
    6869        MyKavo_Admin::init();
    6970        add_action(
    … …  
    7374                        MyKavo_Bots::ensure_schedule();
    7475                        MyKavo_Roles::install();
    75                 }
    76         );
     76                        // Drafts from MyKavo's AI Blog Writer: collected on wp-admin loads and every 15 minutes.
     77                        MyKavo_Drafts::ensure_schedule();
     78                        MyKavo_Drafts::maybe_collect();
     79                }
     80        );
     81        add_action( 'admin_notices', array( 'MyKavo_Drafts', 'admin_notice' ) );
     82        add_action( 'admin_post_mykavo_dismiss_drafts', array( 'MyKavo_Drafts', 'handle_dismiss' ) );
     83        add_action( 'load-post.php', array( 'MyKavo_Drafts', 'seen' ) );
    7784        MyKavo_Integrations::init();
    7885
    … …  
    256263                MyKavo_Bots::daily();
    257264        }
     265);
     266
     267/*
     268 * Drafts from MyKavo's AI Keywords & Blog Writer (1.3.2): the 15-minute
     269 * collection, and the post's JSON-LD on its page. Nothing loads until needed.
     270 */
     271add_filter(
     272        'cron_schedules',
     273        static function ( $schedules ) {
     274                require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
     275                return MyKavo_Drafts::add_interval( $schedules );
     276        }
     277);
     278add_action(
     279        'mykavo_drafts_sync',
     280        static function () {
     281                require_once MYKAVO_DIR . 'includes/class-mykavo-connection.php';
     282                require_once MYKAVO_DIR . 'includes/class-mykavo-api.php';
     283                require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
     284                MyKavo_Drafts::collect();
     285        }
     286);
     287add_action(
     288        'wp_head',
     289        static function () {
     290                if ( is_singular( 'post' ) && '' !== get_post_meta( get_queried_object_id(), '_mykavo_jsonld', true ) ) {
     291                        require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
     292                        MyKavo_Drafts::print_schema();
     293                }
     294        },
     295        20
    258296);
    259297
    … …  
    378416                MyKavo_Bots::unschedule();
    379417                MyKavo_Rollback::unschedule();
    380                 foreach ( array( 'mykavo_crash_check', 'mykavo_alert_report', 'mykavo_snapshots_daily', 'mykavo_mail_daily' ) as $hook ) {
     418                foreach ( array( 'mykavo_crash_check', 'mykavo_alert_report', 'mykavo_snapshots_daily', 'mykavo_mail_daily', 'mykavo_drafts_sync' ) as $hook ) {
    381419                        wp_unschedule_hook( $hook );
    382420                }
    … …  
    407445                require_once MYKAVO_DIR . 'includes/class-mykavo-rest.php';
    408446                MyKavo_Rest::register_routes();
    409         }
    410 );
     447                require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
     448                MyKavo_Drafts::register_routes();
     449        }
     450);
  • mykavo/tags/1.3.2/readme.txt

    r3786626 r3801014  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    1313== Description ==
    1414
    15 Updates are the number one way WordPress sites break. A plugin, theme or WordPress update - often an automatic one, overnight - quietly changes a layout, removes a checkout button or sets a page to "noindex". Usually a customer notices before you do, and nobody knows which update did it.
    16 
    17 MyKavo fixes that. It watches the pages that matter on your site and tells you when something important changes or breaks. This plugin brings that monitoring into WordPress, and adds **Safe Updates**: every time WordPress updates anything, MyKavo checks your pages straight away and tells you whether the update broke something - and exactly which update it was.
     15Updates are the number one way WordPress sites break. A plugin, theme or WordPress update, often an automatic one overnight, quietly changes a layout, removes a checkout button or sets a page to "noindex". Usually a customer notices first, and nobody knows which update did it.
     16
     17MyKavo watches the pages that matter on your site and tells you when something important changes or breaks. This plugin brings that monitoring into WordPress and adds **Safe Updates**: after every update, MyKavo checks your pages and tells you whether it broke something, and exactly which update it was.
    1818
    1919= Safe Updates =
    2020
    21 * **Every update is checked.** Plugins, themes, WordPress itself and translations, whether you clicked Update or WordPress did it automatically.
    22 * **Every plugin switch too.** Activating or deactivating a plugin, or switching theme, breaks sites as often as updates do. Those are checked the same way.
    23 * **A clear verdict.** "Verified - nothing changed", or "3 changes found after this update", with the before-and-after evidence one click away.
    24 * **The culprit, named.** Changes found after an update say so: "Appeared after: Updated WooCommerce 8.1.0 → 8.2.0".
    25 * **A history of every update**, with versions, kept on your site.
    26 * **Know before you press Update.** On the Plugins screen, a plugin whose last update changed things on your site is flagged: "Last time this plugin updated, 2 things changed on your site."
    27 * **Roll back in one click.** In the update history, any plugin from WordPress.org has a "Roll back to 8.1.0" button that reinstalls the version you had before, keeps the plugin active, and asks MyKavo to check the site again. This works on every plan, including free. Plugins from other sources cannot be rolled back here.
    28 * Update checks are included in every paid plan, from Starter. On the free plan, updates are still listed so you know what changed and when, and one-click rollback works.
    29 
    30 = Safe Update All, snapshots and "did it crash?" (free) =
    31 
    32 * **A saved copy of everything you update.** Right before WordPress updates a plugin or theme, MyKavo zips the folder in wp-content/mykavo-snapshots (closed to the web). Any plugin or theme - premium ones too - can then be rolled back for seven days. The last two copies per plugin are kept, folders over 200 MB are skipped, and nothing is saved when the disk is low. MyKavo never snapshots or rolls back itself.
    33 * **"Did it crash?"** About ten seconds after an update, the site loads its own home page and up to three monitored pages and looks for a server error, WordPress's "critical error" page, a PHP fatal error or an empty page. If it finds one, the update history says so with a "Roll back now" button.
    34 * **Safe Update All.** One button: optionally start an UpdraftPlus backup first, update the plugins one at a time, check the site after each, and roll back any update that breaks it, then one verdict: "7 updated, 6 verified, 1 rolled back". On paid plans MyKavo also takes a fresh baseline first and checks the pages afterwards.
    35 * **Silent-disaster alerts.** "Discourage search engines" switched on, the site or WordPress address changed, the permalinks changed, the admin email changed, or a new administrator appeared: a red notice on every wp-admin screen until someone dismisses it. Paid plans also get an instant email or Slack alert from MyKavo.
    36 * **Email check.** Optional: WordPress sends one short test email a day to the admin address, and MyKavo shows whether it went out.
    37 * **For agencies and their clients.** A "MyKavo viewer" role lets a client see the MyKavo screen without being able to change anything. On multisite, Network Admin > MyKavo lists every site's status.
    38 
    39 = Automatic rollback, update windows and plugin health =
    40 
    41 These come from MyKavo's service on paid plans. MyKavo makes the decision (whether an update broke something, when updates may run, which plugins are abandoned); the plugin shows the result and carries out what MyKavo says.
    42 
    43 * **Automatic rollback (Pro and Agency).** When MyKavo's check after a plugin update finds a critical change, the plugins from that update are put back to their previous version from WordPress.org automatically, and MyKavo checks the site again. You can switch it off on the Safe Updates screen. MyKavo never rolls itself back, never rolls back a rollback, and WordPress will not automatically update a rolled back plugin straight back to the version that broke.
    44 * **Update windows (Agency).** Choose the days and hours, in your time zone, when WordPress may install automatic updates. Outside the window, automatic plugin, theme and core updates wait for the next one, so they happen when someone is around.
    45 * **Plugin health (paid plans, from Starter).** Once a day the plugin sends MyKavo the list of installed plugins, and MyKavo flags the ones that were closed on WordPress.org or have not been updated in two years.
    46 * **Known security issues.** Every plan sees how many installed plugins have a known vulnerability. Paid plans, from Starter, see which plugin, what the issue is and the version that fixes it; Pro and Agency can have vulnerable plugins updated automatically as soon as the fix is out.
    47 * **Update risk.** On the Plugins screen, next to "Update now": "Updated on 214 MyKavo sites, 3% saw changes" (anonymous results of Safe Updates across MyKavo). On Pro and Agency, an automatic update MyKavo marks risky waits 48 hours.
    48 * **Watch buttons and forms.** On the Pages tab, open a page, click the button, link or form that matters, and MyKavo alerts you if it disappears or changes. In the block editor, a MyKavo panel warns before you save an edit that removes a watched element or changes the page title or SEO description. The free plan watches one element; more come with Pro and Agency.
    49 * **Contact forms (paid).** Pages with a Contact Form 7, Gravity Forms or WPForms form are checked by MyKavo (from Starter), and on Pro and Agency MyKavo also sends a labelled test entry.
    50 * **Your site report (Agency).** A Site report tab with the last 30 days on one page - updates, rollbacks, uptime, SSL, changes caught and AI crawler visits - with your logo and brand colour, ready to share or print as a PDF.
    51 * **Your plan at a glance.** The plan medal (Free steel, Starter bronze, Pro silver, Agency gold) in the top bar, a Plan tab with everything your plan includes, a Site audit card that opens your MyKavo site audit, and, on Pro and Agency, the address to connect ChatGPT, Claude or any MCP app to MyKavo.
     21* **Every update is checked:** plugins, themes, WordPress and translations, manual or automatic, plus plugin activations and theme switches.
     22* **A clear verdict:** "Verified, nothing changed" or "3 changes found after this update", with before-and-after evidence.
     23* **The culprit, named:** "Appeared after: Updated WooCommerce 8.1.0 → 8.2.0".
     24* **Know before you update:** the Plugins screen flags a plugin whose last update changed things on your site.
     25* **One-click rollback** for plugins from WordPress.org, on every plan including free.
     26* Update checks come with every paid plan. On Free, updates are still listed and rollback works.
     27
     28= Free safety tools =
     29
     30* **Snapshots.** Right before a plugin or theme updates, MyKavo zips its folder (closed to the web), so any of them, premium ones too, can be rolled back for seven days.
     31* **"Did it crash?"** Seconds after an update the site loads its home page and up to three monitored pages and looks for errors, with a "Roll back now" button if one broke.
     32* **Safe Update All.** Optional UpdraftPlus backup, then plugins update one at a time, each checked, and any that breaks the site is rolled back.
     33* **Silent-disaster alerts.** Search engines discouraged, site address, permalinks or admin email changed, or a new administrator: a notice on every wp-admin screen. Paid plans also get email or Slack alerts.
     34* **For agencies.** A read-only "MyKavo viewer" role, and a Network Admin overview on multisite.
     35
     36= Paid plan extras =
     37
     38* **Automatic rollback (Pro, Agency):** when MyKavo's check finds a critical change after a plugin update, those plugins go back to their previous version.
     39* **Update windows (Agency):** automatic updates only on the days and hours you choose.
     40* **Plugin health and known vulnerabilities:** abandoned plugins and plugins with known security issues flagged; Pro and Agency can update vulnerable ones automatically.
     41* **Update risk:** how the same update went on other MyKavo sites, shown next to "Update now".
     42* **Watch buttons and forms:** pick the button, link or form that matters and get alerted if it disappears or changes; the block editor warns before you remove one. Contact forms are checked too.
     43* **Site report (Agency):** the last 30 days on one branded page, ready to share.
     44
     45= AI Keywords & Blog Writer drafts =
     46
     47Write a post with MyKavo's AI Keywords & Blog Writer, click "Save as draft in WordPress", and it appears under Posts as a draft with its title, slug, meta description, FAQ and schema. Yoast SEO and Rank Math fields are filled in when either is active. Nothing is ever published for you: you review the draft and publish it.
    5248
    5349= See which AI reads your site =
    5450
    55 ChatGPT, Claude, Perplexity and other AI systems send crawlers to read your pages before they quote or recommend them. The **AI crawlers** screen shows:
    56 
    57 * **Who visits.** Visits from OAI-SearchBot, ChatGPT-User, GPTBot, Claude-SearchBot, Claude-User, ClaudeBot, PerplexityBot, Perplexity-User, Amazonbot, DuckAssistBot, Meta-ExternalAgent, MistralAI-User, CCBot and Bytespider, and why each one visits (AI search answers, a person asking about your page, or training).
    58 * **Which pages AI reads most**, and visits per day for the last 30 days.
    59 * **Errors served to AI.** Pages that answered a crawler with 404 or 5xx - pages AI cannot quote.
    60 
    61 * **Block AI training, allow AI search (free).** One switch adds rules to your robots.txt that ask crawlers collecting AI training data (GPTBot, ClaudeBot, CCBot, Google-Extended, Applebot-Extended, Bytespider and Meta-ExternalAgent) to stay away, while the crawlers that read pages for AI search answers or open a page someone asked about (OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot and Perplexity-User) are left alone. It works with the robots.txt WordPress generates; if your site has its own robots.txt file, the screen shows the rules to copy into it.
    62 * **Last 12 months (paid plans, from Starter).** Twelve months of AI crawler visits kept by MyKavo, by month and by crawler, with the day each crawler first visited.
    63 * **Allow or block each AI crawler (free).** A table with every known AI crawler, each allowed or blocked in robots.txt, plus a "Block training, allow search" button.
    64 * **Real or fake? (free).** Anyone can call themselves GPTBot. Visits from OpenAI and Perplexity crawlers are checked against the IP ranges those companies publish, and Amazonbot by reverse DNS, so fakes are counted separately. Only a salted hash of the address is cached for six hours; addresses are never stored. Requests that come through a proxy or CDN are not checked.
    65 * **Fix errors served to AI (free).** Addresses that answered an AI crawler with 404 get a "Create redirect" button. The redirect only runs on requests that would otherwise be a 404. Paid plans, from Starter, also get a suggested target page from MyKavo.
    66 * **llms.txt (free).** Switch on a /llms.txt for AI assistants: your site's name, description and important pages. Paid plans, from Starter, add a one-line summary of each page written by MyKavo.
    67 
    68 Crawlers are counted by the name they send in the User-Agent header. No IP addresses, no cookies and nothing about human visitors are ever recorded. You can switch counting off on that screen.
    69 
    70 = Built for WooCommerce stores =
    71 
    72 A broken cart or checkout loses sales every minute it stays broken. If WooCommerce is active, MyKavo shows whether your Shop, Cart, Checkout and My account pages are monitored, and adds the missing ones in one click.
    73 
    74 On Pro and Agency, **Guard checkout** goes further: MyKavo also watches the Place order, Proceed to checkout and Add to cart buttons on your cart, checkout and a product page, and sends a critical alert the moment one goes missing.
     51* **AI crawler visits:** ChatGPT, Claude, Perplexity and other AI crawlers, which pages they read, and errors served to them.
     52* **Block AI training, allow AI search (free):** one switch writes the robots.txt rules, or allow and block each crawler yourself.
     53* **Real or fake (free):** OpenAI, Perplexity and Amazon crawlers are verified, so fakes are counted separately.
     54* **Fix errors served to AI (free):** one-click redirects for addresses that answered a crawler with 404.
     55* **llms.txt (free):** your site's name, description and important pages for AI assistants; paid plans add a summary of each page.
     56
     57Crawlers are counted by their User-Agent name only: no IP addresses, no cookies, nothing about human visitors.
     58
     59= Built for WooCommerce =
     60
     61MyKavo shows whether your Shop, Cart, Checkout and My account pages are monitored and adds the missing ones in one click. On Pro and Agency, **Guard checkout** also watches the Place order, Proceed to checkout and Add to cart buttons.
    7562
    7663= What you see in WordPress =
    7764
    78 * **Safe Updates:** a check and a verdict after every update, with the update named.
    79 * **One clear status.** "All clear", or exactly how many important changes need attention, at the top of the screen and as a badge in the admin menu.
    80 * **Before-and-after screenshots.** Drag a slider across the old and new version of a page, or switch to the highlighted differences.
    81 * **The exact values that changed.** Old and new title, meta description, robots tag, canonical URL, button text and more, side by side.
    82 * **Severity you can trust.** Every change is ranked Critical, High, Medium, Low or Info. Ad slots and other noise are filtered out, so alerts mean something.
    83 * **One-click decisions.** Accept an intentional change as the new baseline, mark it fixed, or ignore it.
    84 * **Run a scan on demand.** Check the site right after an update and watch the progress live.
    85 * **Uptime, response time and SSL expiry** at a glance.
    86 * **Scan history and monitored pages**, with a link to each page.
    87 * **A small Dashboard widget** with the current status.
    88 * **Monitor any page from WordPress.** A "Monitor with MyKavo" link under every published page and post, or paste an address on the Pages tab.
    89 * **Site Health.** MyKavo's status appears in Tools > Site Health, and its details in the Info tab for support requests.
    90 * **WP-CLI.** `wp mykavo status`, `wp mykavo changes`, `wp mykavo scan --wait`, `wp mykavo monitor`, `wp mykavo updates` and more, for scripted maintenance runs.
     65* One clear status, with a badge in the admin menu
     66* Before-and-after screenshots with a slider and highlighted differences
     67* The exact old and new values: title, meta description, robots tag, canonical, button text
     68* Severity from Critical to Info, with noise filtered out
     69* Accept a change as the new baseline, mark it fixed, or ignore it
     70* Scans on demand, uptime, response time and SSL expiry
     71* A Dashboard widget, Site Health integration and WP-CLI (`wp mykavo status`, `wp mykavo scan --wait` and more)
    9172
    9273= What MyKavo detects =
    9374
    94 * Pages that go down or return errors (404, 500)
    95 * Visual changes, measured against an approved baseline
    96 * SEO changes: title, meta description, canonical, robots / noindex, headings, structured data
     75* Pages that go down or return errors
     76* Visual changes against an approved baseline
     77* SEO changes: title, meta description, canonical, noindex, headings, structured data
    9778* Broken internal links
    98 * Tracking and third-party scripts added or removed (Google Analytics, Tag Manager, Meta Pixel and others)
     79* Tracking scripts added or removed (Google Analytics, Tag Manager, Meta Pixel and others)
    9980* Performance regressions: page weight, request count, response time
    100 * Missing or changed buttons and forms you choose to watch (conversion elements)
     81* Missing or changed buttons and forms you watch
    10182
    10283= Built to never slow your site down =
    10384
    104 Many plugins get deleted because they make a site slower. MyKavo is built so that cannot happen:
    105 
    106 * **Nothing on the public site.** No scripts, no styles, no database queries and no remote requests on the pages your visitors load. The only things that run are two text matches - the User-Agent header, to spot AI crawlers, and the request path, to answer /llms.txt - and human visitors stop there. A redirect is looked up only on a request that is already a 404.
    107 * **AI crawler counting is one counter update.** A request from an AI crawler adds one row update to a small table, after the page has been built. Rows older than 35 days are deleted.
    108 * **No autoloaded options.** The connection is stored in a single option that WordPress only reads on MyKavo's own screens.
    109 * **One small daily job.** Once a day, WP-Cron sends the AI crawler totals and the list of installed plugins to MyKavo. The scanning itself runs on MyKavo's servers, not yours.
    110 * **Snapshots and checks run only during updates.** A snapshot is taken while WordPress is already updating, and the "did it crash?" check is one WP-Cron job a few seconds later.
    111 * **Automatic rollback waits quietly.** On plans with automatic rollback, WP-Cron asks MyKavo every five minutes, for up to 40 minutes after a plugin update, how its check went. Nothing else runs between updates.
    112 * **Admin screens only.** Scripts load on the MyKavo screen alone (plus a 2 KB script for the Dashboard widget), using only libraries WordPress already includes.
    113 * **Update checks cost nothing extra.** The plugin notes versions while WordPress is updating, then sends one short report when the update finishes. Nothing runs between updates.
    114 * **Cached and time-limited.** Answers from MyKavo are cached for a minute, and every request has a short timeout.
     85* **Nothing for your visitors.** No scripts, styles or remote requests on public pages. Two quick text matches spot AI crawlers and answer /llms.txt; a redirect is looked up only on a request that is already a 404. Posts saved from the AI Blog Writer get their schema in the page head.
     86* **The scanning runs on MyKavo's servers**, not yours. Small WP-Cron jobs send daily totals and collect AI Blog Writer drafts.
     87* **No autoloaded options**, admin scripts only on MyKavo's screens, and short, cached requests.
    11588
    11689= Secure by design =
    11790
    118 * Connecting uses an OAuth-style approval with PKCE. You approve on mykavo.app, and your site receives a key that only works for this one website.
    119 * The key stays on your server. Your browser never sees it.
    120 * Only administrators can act on monitoring. Users with the "MyKavo viewer" role can see it, read-only.
    121 * Disconnect at any time, from WordPress or from your MyKavo account.
     91* Connecting uses an OAuth-style approval with PKCE, and the key works for this one website only.
     92* The key stays on your server; your browser never sees it.
     93* Only administrators can act on monitoring. Disconnect at any time.
    12294
    12395= Plans =
    12496
    125 MyKavo has a free plan: 1 website, 5 monitored pages and weekly scans, with no card required. Paid plans add daily scans, more websites and pages, manual scans and more. See [mykavo.app/pricing](https://mykavo.app/pricing).
     97MyKavo has a free plan: 1 website, 5 monitored pages and weekly scans, no card required. Paid plans add daily scans, more websites and pages, manual scans and more. See [mykavo.app/pricing](https://mykavo.app/pricing).
    12698
    12799== External services ==
    … …  
    141113* **When a plugin is rolled back (by you, or automatically):** the plugin's earlier version is downloaded from WordPress.org (https://downloads.wordpress.org, operated by the WordPress.org project; see https://wordpress.org/about/privacy/), the same way WordPress downloads any plugin update. The rollback (plugin name and versions) is then reported to mykavo.app so it can check the site again.
    142114* **When you press Guard checkout:** the addresses of your cart page, checkout page and one product page.
     115* **AI Blog Writer drafts, while connected:** when an administrator or editor opens wp-admin (at most once a minute), every 15 minutes from WP-Cron, and when mykavo.app signals that a draft is waiting, your site's server asks mykavo.app for drafts saved for this site, then reports back the ID and edit link of each draft it created.
    143116* **When you disconnect:** your site tells mykavo.app to revoke its key.
    144117* **When an important setting changes** (search engine visibility, site or WordPress address, permalinks, admin email, a new administrator), while connected: from WP-Cron, a few seconds later, the kind of change, the old and new value (for example the new admin email address or administrator's login name), the name of the user who made it, and the time.
    … …  
    244217
    245218== Changelog ==
     219
     220= 1.3.2 =
     221* New: drafts from MyKavo's AI Keywords & Blog Writer. Click "Save as draft in WordPress" in MyKavo and the post appears under Posts as a draft, with its title, slug, meta description, FAQ and schema. It never publishes: you review it and publish. The plugin collects drafts when you open WP Admin and every 15 minutes.
     222* New: the meta description and focus keyword fill in Yoast SEO or Rank Math when either is active, and the post's schema is added only when no SEO plugin adds its own.
    246223
    247224= 1.3.1 =
    … …  
    305282== Upgrade Notice ==
    306283
     284= 1.3.2 =
     285Save posts from MyKavo's AI Keywords & Blog Writer straight to your drafts. Nothing is ever published for you.
     286
    307287= 1.3.1 =
    308288A redesigned, easier-to-read MyKavo screen with your plan at a glance, one-click rollback for any plugin or theme, a crash check after every update, Safe Update All, alerts for silent setting changes, AI crawler controls and llms.txt. Still nothing added to your public pages.
  • mykavo/tags/1.3.2/uninstall.php

    r3786626 r3801014  
    2727
    2828// Pending and recurring jobs.
    29 foreach ( array( 'mykavo_rollback_watch', 'mykavo_crash_check', 'mykavo_alert_report', 'mykavo_snapshots_daily', 'mykavo_mail_daily' ) as $mykavo_hook ) {
     29foreach ( array( 'mykavo_rollback_watch', 'mykavo_crash_check', 'mykavo_alert_report', 'mykavo_snapshots_daily', 'mykavo_mail_daily', 'mykavo_drafts_sync' ) as $mykavo_hook ) {
    3030        wp_unschedule_hook( $mykavo_hook );
    3131}
    … …  
    3333foreach ( array(
    3434        'mykavo_connection',
     35        'mykavo_new_drafts',
    3536        'mykavo_updates',
    3637        'mykavo_settings',
  • mykavo/trunk/mykavo.php

    r3786626 r3801014  
    44 * Plugin URI:        https://mykavo.app/wordpress-plugin
    55 * Description:       See what changed on your site, and whether it matters, without leaving WordPress. Visual, SEO, content, link and script changes with before-and-after screenshots. Adds nothing to the pages your visitors load.
    6  * Version:           1.3.1
     6 * Version:           1.3.2
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    1818defined( 'ABSPATH' ) || exit;
    1919
    20 define( 'MYKAVO_VERSION', '1.3.1' );
     20define( 'MYKAVO_VERSION', '1.3.2' );
    2121define( 'MYKAVO_FILE', __FILE__ );
    2222define( 'MYKAVO_DIR', plugin_dir_path( __FILE__ ) );
    … …  
    6666        require_once MYKAVO_DIR . 'includes/class-mykavo-roles.php';
    6767        require_once MYKAVO_DIR . 'includes/class-mykavo-alerts.php';
     68        require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
    6869        MyKavo_Admin::init();
    6970        add_action(
    … …  
    7374                        MyKavo_Bots::ensure_schedule();
    7475                        MyKavo_Roles::install();
    75                 }
    76         );
     76                        // Drafts from MyKavo's AI Blog Writer: collected on wp-admin loads and every 15 minutes.
     77                        MyKavo_Drafts::ensure_schedule();
     78                        MyKavo_Drafts::maybe_collect();
     79                }
     80        );
     81        add_action( 'admin_notices', array( 'MyKavo_Drafts', 'admin_notice' ) );
     82        add_action( 'admin_post_mykavo_dismiss_drafts', array( 'MyKavo_Drafts', 'handle_dismiss' ) );
     83        add_action( 'load-post.php', array( 'MyKavo_Drafts', 'seen' ) );
    7784        MyKavo_Integrations::init();
    7885
    … …  
    256263                MyKavo_Bots::daily();
    257264        }
     265);
     266
     267/*
     268 * Drafts from MyKavo's AI Keywords & Blog Writer (1.3.2): the 15-minute
     269 * collection, and the post's JSON-LD on its page. Nothing loads until needed.
     270 */
     271add_filter(
     272        'cron_schedules',
     273        static function ( $schedules ) {
     274                require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
     275                return MyKavo_Drafts::add_interval( $schedules );
     276        }
     277);
     278add_action(
     279        'mykavo_drafts_sync',
     280        static function () {
     281                require_once MYKAVO_DIR . 'includes/class-mykavo-connection.php';
     282                require_once MYKAVO_DIR . 'includes/class-mykavo-api.php';
     283                require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
     284                MyKavo_Drafts::collect();
     285        }
     286);
     287add_action(
     288        'wp_head',
     289        static function () {
     290                if ( is_singular( 'post' ) && '' !== get_post_meta( get_queried_object_id(), '_mykavo_jsonld', true ) ) {
     291                        require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
     292                        MyKavo_Drafts::print_schema();
     293                }
     294        },
     295        20
    258296);
    259297
    … …  
    378416                MyKavo_Bots::unschedule();
    379417                MyKavo_Rollback::unschedule();
    380                 foreach ( array( 'mykavo_crash_check', 'mykavo_alert_report', 'mykavo_snapshots_daily', 'mykavo_mail_daily' ) as $hook ) {
     418                foreach ( array( 'mykavo_crash_check', 'mykavo_alert_report', 'mykavo_snapshots_daily', 'mykavo_mail_daily', 'mykavo_drafts_sync' ) as $hook ) {
    381419                        wp_unschedule_hook( $hook );
    382420                }
    … …  
    407445                require_once MYKAVO_DIR . 'includes/class-mykavo-rest.php';
    408446                MyKavo_Rest::register_routes();
    409         }
    410 );
     447                require_once MYKAVO_DIR . 'includes/class-mykavo-drafts.php';
     448                MyKavo_Drafts::register_routes();
     449        }
     450);
  • mykavo/trunk/readme.txt

    r3786626 r3801014  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    1313== Description ==
    1414
    15 Updates are the number one way WordPress sites break. A plugin, theme or WordPress update - often an automatic one, overnight - quietly changes a layout, removes a checkout button or sets a page to "noindex". Usually a customer notices before you do, and nobody knows which update did it.
    16 
    17 MyKavo fixes that. It watches the pages that matter on your site and tells you when something important changes or breaks. This plugin brings that monitoring into WordPress, and adds **Safe Updates**: every time WordPress updates anything, MyKavo checks your pages straight away and tells you whether the update broke something - and exactly which update it was.
     15Updates are the number one way WordPress sites break. A plugin, theme or WordPress update, often an automatic one overnight, quietly changes a layout, removes a checkout button or sets a page to "noindex". Usually a customer notices first, and nobody knows which update did it.
     16
     17MyKavo watches the pages that matter on your site and tells you when something important changes or breaks. This plugin brings that monitoring into WordPress and adds **Safe Updates**: after every update, MyKavo checks your pages and tells you whether it broke something, and exactly which update it was.
    1818
    1919= Safe Updates =
    2020
    21 * **Every update is checked.** Plugins, themes, WordPress itself and translations, whether you clicked Update or WordPress did it automatically.
    22 * **Every plugin switch too.** Activating or deactivating a plugin, or switching theme, breaks sites as often as updates do. Those are checked the same way.
    23 * **A clear verdict.** "Verified - nothing changed", or "3 changes found after this update", with the before-and-after evidence one click away.
    24 * **The culprit, named.** Changes found after an update say so: "Appeared after: Updated WooCommerce 8.1.0 → 8.2.0".
    25 * **A history of every update**, with versions, kept on your site.
    26 * **Know before you press Update.** On the Plugins screen, a plugin whose last update changed things on your site is flagged: "Last time this plugin updated, 2 things changed on your site."
    27 * **Roll back in one click.** In the update history, any plugin from WordPress.org has a "Roll back to 8.1.0" button that reinstalls the version you had before, keeps the plugin active, and asks MyKavo to check the site again. This works on every plan, including free. Plugins from other sources cannot be rolled back here.
    28 * Update checks are included in every paid plan, from Starter. On the free plan, updates are still listed so you know what changed and when, and one-click rollback works.
    29 
    30 = Safe Update All, snapshots and "did it crash?" (free) =
    31 
    32 * **A saved copy of everything you update.** Right before WordPress updates a plugin or theme, MyKavo zips the folder in wp-content/mykavo-snapshots (closed to the web). Any plugin or theme - premium ones too - can then be rolled back for seven days. The last two copies per plugin are kept, folders over 200 MB are skipped, and nothing is saved when the disk is low. MyKavo never snapshots or rolls back itself.
    33 * **"Did it crash?"** About ten seconds after an update, the site loads its own home page and up to three monitored pages and looks for a server error, WordPress's "critical error" page, a PHP fatal error or an empty page. If it finds one, the update history says so with a "Roll back now" button.
    34 * **Safe Update All.** One button: optionally start an UpdraftPlus backup first, update the plugins one at a time, check the site after each, and roll back any update that breaks it, then one verdict: "7 updated, 6 verified, 1 rolled back". On paid plans MyKavo also takes a fresh baseline first and checks the pages afterwards.
    35 * **Silent-disaster alerts.** "Discourage search engines" switched on, the site or WordPress address changed, the permalinks changed, the admin email changed, or a new administrator appeared: a red notice on every wp-admin screen until someone dismisses it. Paid plans also get an instant email or Slack alert from MyKavo.
    36 * **Email check.** Optional: WordPress sends one short test email a day to the admin address, and MyKavo shows whether it went out.
    37 * **For agencies and their clients.** A "MyKavo viewer" role lets a client see the MyKavo screen without being able to change anything. On multisite, Network Admin > MyKavo lists every site's status.
    38 
    39 = Automatic rollback, update windows and plugin health =
    40 
    41 These come from MyKavo's service on paid plans. MyKavo makes the decision (whether an update broke something, when updates may run, which plugins are abandoned); the plugin shows the result and carries out what MyKavo says.
    42 
    43 * **Automatic rollback (Pro and Agency).** When MyKavo's check after a plugin update finds a critical change, the plugins from that update are put back to their previous version from WordPress.org automatically, and MyKavo checks the site again. You can switch it off on the Safe Updates screen. MyKavo never rolls itself back, never rolls back a rollback, and WordPress will not automatically update a rolled back plugin straight back to the version that broke.
    44 * **Update windows (Agency).** Choose the days and hours, in your time zone, when WordPress may install automatic updates. Outside the window, automatic plugin, theme and core updates wait for the next one, so they happen when someone is around.
    45 * **Plugin health (paid plans, from Starter).** Once a day the plugin sends MyKavo the list of installed plugins, and MyKavo flags the ones that were closed on WordPress.org or have not been updated in two years.
    46 * **Known security issues.** Every plan sees how many installed plugins have a known vulnerability. Paid plans, from Starter, see which plugin, what the issue is and the version that fixes it; Pro and Agency can have vulnerable plugins updated automatically as soon as the fix is out.
    47 * **Update risk.** On the Plugins screen, next to "Update now": "Updated on 214 MyKavo sites, 3% saw changes" (anonymous results of Safe Updates across MyKavo). On Pro and Agency, an automatic update MyKavo marks risky waits 48 hours.
    48 * **Watch buttons and forms.** On the Pages tab, open a page, click the button, link or form that matters, and MyKavo alerts you if it disappears or changes. In the block editor, a MyKavo panel warns before you save an edit that removes a watched element or changes the page title or SEO description. The free plan watches one element; more come with Pro and Agency.
    49 * **Contact forms (paid).** Pages with a Contact Form 7, Gravity Forms or WPForms form are checked by MyKavo (from Starter), and on Pro and Agency MyKavo also sends a labelled test entry.
    50 * **Your site report (Agency).** A Site report tab with the last 30 days on one page - updates, rollbacks, uptime, SSL, changes caught and AI crawler visits - with your logo and brand colour, ready to share or print as a PDF.
    51 * **Your plan at a glance.** The plan medal (Free steel, Starter bronze, Pro silver, Agency gold) in the top bar, a Plan tab with everything your plan includes, a Site audit card that opens your MyKavo site audit, and, on Pro and Agency, the address to connect ChatGPT, Claude or any MCP app to MyKavo.
     21* **Every update is checked:** plugins, themes, WordPress and translations, manual or automatic, plus plugin activations and theme switches.
     22* **A clear verdict:** "Verified, nothing changed" or "3 changes found after this update", with before-and-after evidence.
     23* **The culprit, named:** "Appeared after: Updated WooCommerce 8.1.0 → 8.2.0".
     24* **Know before you update:** the Plugins screen flags a plugin whose last update changed things on your site.
     25* **One-click rollback** for plugins from WordPress.org, on every plan including free.
     26* Update checks come with every paid plan. On Free, updates are still listed and rollback works.
     27
     28= Free safety tools =
     29
     30* **Snapshots.** Right before a plugin or theme updates, MyKavo zips its folder (closed to the web), so any of them, premium ones too, can be rolled back for seven days.
     31* **"Did it crash?"** Seconds after an update the site loads its home page and up to three monitored pages and looks for errors, with a "Roll back now" button if one broke.
     32* **Safe Update All.** Optional UpdraftPlus backup, then plugins update one at a time, each checked, and any that breaks the site is rolled back.
     33* **Silent-disaster alerts.** Search engines discouraged, site address, permalinks or admin email changed, or a new administrator: a notice on every wp-admin screen. Paid plans also get email or Slack alerts.
     34* **For agencies.** A read-only "MyKavo viewer" role, and a Network Admin overview on multisite.
     35
     36= Paid plan extras =
     37
     38* **Automatic rollback (Pro, Agency):** when MyKavo's check finds a critical change after a plugin update, those plugins go back to their previous version.
     39* **Update windows (Agency):** automatic updates only on the days and hours you choose.
     40* **Plugin health and known vulnerabilities:** abandoned plugins and plugins with known security issues flagged; Pro and Agency can update vulnerable ones automatically.
     41* **Update risk:** how the same update went on other MyKavo sites, shown next to "Update now".
     42* **Watch buttons and forms:** pick the button, link or form that matters and get alerted if it disappears or changes; the block editor warns before you remove one. Contact forms are checked too.
     43* **Site report (Agency):** the last 30 days on one branded page, ready to share.
     44
     45= AI Keywords & Blog Writer drafts =
     46
     47Write a post with MyKavo's AI Keywords & Blog Writer, click "Save as draft in WordPress", and it appears under Posts as a draft with its title, slug, meta description, FAQ and schema. Yoast SEO and Rank Math fields are filled in when either is active. Nothing is ever published for you: you review the draft and publish it.
    5248
    5349= See which AI reads your site =
    5450
    55 ChatGPT, Claude, Perplexity and other AI systems send crawlers to read your pages before they quote or recommend them. The **AI crawlers** screen shows:
    56 
    57 * **Who visits.** Visits from OAI-SearchBot, ChatGPT-User, GPTBot, Claude-SearchBot, Claude-User, ClaudeBot, PerplexityBot, Perplexity-User, Amazonbot, DuckAssistBot, Meta-ExternalAgent, MistralAI-User, CCBot and Bytespider, and why each one visits (AI search answers, a person asking about your page, or training).
    58 * **Which pages AI reads most**, and visits per day for the last 30 days.
    59 * **Errors served to AI.** Pages that answered a crawler with 404 or 5xx - pages AI cannot quote.
    60 
    61 * **Block AI training, allow AI search (free).** One switch adds rules to your robots.txt that ask crawlers collecting AI training data (GPTBot, ClaudeBot, CCBot, Google-Extended, Applebot-Extended, Bytespider and Meta-ExternalAgent) to stay away, while the crawlers that read pages for AI search answers or open a page someone asked about (OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot and Perplexity-User) are left alone. It works with the robots.txt WordPress generates; if your site has its own robots.txt file, the screen shows the rules to copy into it.
    62 * **Last 12 months (paid plans, from Starter).** Twelve months of AI crawler visits kept by MyKavo, by month and by crawler, with the day each crawler first visited.
    63 * **Allow or block each AI crawler (free).** A table with every known AI crawler, each allowed or blocked in robots.txt, plus a "Block training, allow search" button.
    64 * **Real or fake? (free).** Anyone can call themselves GPTBot. Visits from OpenAI and Perplexity crawlers are checked against the IP ranges those companies publish, and Amazonbot by reverse DNS, so fakes are counted separately. Only a salted hash of the address is cached for six hours; addresses are never stored. Requests that come through a proxy or CDN are not checked.
    65 * **Fix errors served to AI (free).** Addresses that answered an AI crawler with 404 get a "Create redirect" button. The redirect only runs on requests that would otherwise be a 404. Paid plans, from Starter, also get a suggested target page from MyKavo.
    66 * **llms.txt (free).** Switch on a /llms.txt for AI assistants: your site's name, description and important pages. Paid plans, from Starter, add a one-line summary of each page written by MyKavo.
    67 
    68 Crawlers are counted by the name they send in the User-Agent header. No IP addresses, no cookies and nothing about human visitors are ever recorded. You can switch counting off on that screen.
    69 
    70 = Built for WooCommerce stores =
    71 
    72 A broken cart or checkout loses sales every minute it stays broken. If WooCommerce is active, MyKavo shows whether your Shop, Cart, Checkout and My account pages are monitored, and adds the missing ones in one click.
    73 
    74 On Pro and Agency, **Guard checkout** goes further: MyKavo also watches the Place order, Proceed to checkout and Add to cart buttons on your cart, checkout and a product page, and sends a critical alert the moment one goes missing.
     51* **AI crawler visits:** ChatGPT, Claude, Perplexity and other AI crawlers, which pages they read, and errors served to them.
     52* **Block AI training, allow AI search (free):** one switch writes the robots.txt rules, or allow and block each crawler yourself.
     53* **Real or fake (free):** OpenAI, Perplexity and Amazon crawlers are verified, so fakes are counted separately.
     54* **Fix errors served to AI (free):** one-click redirects for addresses that answered a crawler with 404.
     55* **llms.txt (free):** your site's name, description and important pages for AI assistants; paid plans add a summary of each page.
     56
     57Crawlers are counted by their User-Agent name only: no IP addresses, no cookies, nothing about human visitors.
     58
     59= Built for WooCommerce =
     60
     61MyKavo shows whether your Shop, Cart, Checkout and My account pages are monitored and adds the missing ones in one click. On Pro and Agency, **Guard checkout** also watches the Place order, Proceed to checkout and Add to cart buttons.
    7562
    7663= What you see in WordPress =
    7764
    78 * **Safe Updates:** a check and a verdict after every update, with the update named.
    79 * **One clear status.** "All clear", or exactly how many important changes need attention, at the top of the screen and as a badge in the admin menu.
    80 * **Before-and-after screenshots.** Drag a slider across the old and new version of a page, or switch to the highlighted differences.
    81 * **The exact values that changed.** Old and new title, meta description, robots tag, canonical URL, button text and more, side by side.
    82 * **Severity you can trust.** Every change is ranked Critical, High, Medium, Low or Info. Ad slots and other noise are filtered out, so alerts mean something.
    83 * **One-click decisions.** Accept an intentional change as the new baseline, mark it fixed, or ignore it.
    84 * **Run a scan on demand.** Check the site right after an update and watch the progress live.
    85 * **Uptime, response time and SSL expiry** at a glance.
    86 * **Scan history and monitored pages**, with a link to each page.
    87 * **A small Dashboard widget** with the current status.
    88 * **Monitor any page from WordPress.** A "Monitor with MyKavo" link under every published page and post, or paste an address on the Pages tab.
    89 * **Site Health.** MyKavo's status appears in Tools > Site Health, and its details in the Info tab for support requests.
    90 * **WP-CLI.** `wp mykavo status`, `wp mykavo changes`, `wp mykavo scan --wait`, `wp mykavo monitor`, `wp mykavo updates` and more, for scripted maintenance runs.
     65* One clear status, with a badge in the admin menu
     66* Before-and-after screenshots with a slider and highlighted differences
     67* The exact old and new values: title, meta description, robots tag, canonical, button text
     68* Severity from Critical to Info, with noise filtered out
     69* Accept a change as the new baseline, mark it fixed, or ignore it
     70* Scans on demand, uptime, response time and SSL expiry
     71* A Dashboard widget, Site Health integration and WP-CLI (`wp mykavo status`, `wp mykavo scan --wait` and more)
    9172
    9273= What MyKavo detects =
    9374
    94 * Pages that go down or return errors (404, 500)
    95 * Visual changes, measured against an approved baseline
    96 * SEO changes: title, meta description, canonical, robots / noindex, headings, structured data
     75* Pages that go down or return errors
     76* Visual changes against an approved baseline
     77* SEO changes: title, meta description, canonical, noindex, headings, structured data
    9778* Broken internal links
    98 * Tracking and third-party scripts added or removed (Google Analytics, Tag Manager, Meta Pixel and others)
     79* Tracking scripts added or removed (Google Analytics, Tag Manager, Meta Pixel and others)
    9980* Performance regressions: page weight, request count, response time
    100 * Missing or changed buttons and forms you choose to watch (conversion elements)
     81* Missing or changed buttons and forms you watch
    10182
    10283= Built to never slow your site down =
    10384
    104 Many plugins get deleted because they make a site slower. MyKavo is built so that cannot happen:
    105 
    106 * **Nothing on the public site.** No scripts, no styles, no database queries and no remote requests on the pages your visitors load. The only things that run are two text matches - the User-Agent header, to spot AI crawlers, and the request path, to answer /llms.txt - and human visitors stop there. A redirect is looked up only on a request that is already a 404.
    107 * **AI crawler counting is one counter update.** A request from an AI crawler adds one row update to a small table, after the page has been built. Rows older than 35 days are deleted.
    108 * **No autoloaded options.** The connection is stored in a single option that WordPress only reads on MyKavo's own screens.
    109 * **One small daily job.** Once a day, WP-Cron sends the AI crawler totals and the list of installed plugins to MyKavo. The scanning itself runs on MyKavo's servers, not yours.
    110 * **Snapshots and checks run only during updates.** A snapshot is taken while WordPress is already updating, and the "did it crash?" check is one WP-Cron job a few seconds later.
    111 * **Automatic rollback waits quietly.** On plans with automatic rollback, WP-Cron asks MyKavo every five minutes, for up to 40 minutes after a plugin update, how its check went. Nothing else runs between updates.
    112 * **Admin screens only.** Scripts load on the MyKavo screen alone (plus a 2 KB script for the Dashboard widget), using only libraries WordPress already includes.
    113 * **Update checks cost nothing extra.** The plugin notes versions while WordPress is updating, then sends one short report when the update finishes. Nothing runs between updates.
    114 * **Cached and time-limited.** Answers from MyKavo are cached for a minute, and every request has a short timeout.
     85* **Nothing for your visitors.** No scripts, styles or remote requests on public pages. Two quick text matches spot AI crawlers and answer /llms.txt; a redirect is looked up only on a request that is already a 404. Posts saved from the AI Blog Writer get their schema in the page head.
     86* **The scanning runs on MyKavo's servers**, not yours. Small WP-Cron jobs send daily totals and collect AI Blog Writer drafts.
     87* **No autoloaded options**, admin scripts only on MyKavo's screens, and short, cached requests.
    11588
    11689= Secure by design =
    11790
    118 * Connecting uses an OAuth-style approval with PKCE. You approve on mykavo.app, and your site receives a key that only works for this one website.
    119 * The key stays on your server. Your browser never sees it.
    120 * Only administrators can act on monitoring. Users with the "MyKavo viewer" role can see it, read-only.
    121 * Disconnect at any time, from WordPress or from your MyKavo account.
     91* Connecting uses an OAuth-style approval with PKCE, and the key works for this one website only.
     92* The key stays on your server; your browser never sees it.
     93* Only administrators can act on monitoring. Disconnect at any time.
    12294
    12395= Plans =
    12496
    125 MyKavo has a free plan: 1 website, 5 monitored pages and weekly scans, with no card required. Paid plans add daily scans, more websites and pages, manual scans and more. See [mykavo.app/pricing](https://mykavo.app/pricing).
     97MyKavo has a free plan: 1 website, 5 monitored pages and weekly scans, no card required. Paid plans add daily scans, more websites and pages, manual scans and more. See [mykavo.app/pricing](https://mykavo.app/pricing).
    12698
    12799== External services ==
    … …  
    141113* **When a plugin is rolled back (by you, or automatically):** the plugin's earlier version is downloaded from WordPress.org (https://downloads.wordpress.org, operated by the WordPress.org project; see https://wordpress.org/about/privacy/), the same way WordPress downloads any plugin update. The rollback (plugin name and versions) is then reported to mykavo.app so it can check the site again.
    142114* **When you press Guard checkout:** the addresses of your cart page, checkout page and one product page.
     115* **AI Blog Writer drafts, while connected:** when an administrator or editor opens wp-admin (at most once a minute), every 15 minutes from WP-Cron, and when mykavo.app signals that a draft is waiting, your site's server asks mykavo.app for drafts saved for this site, then reports back the ID and edit link of each draft it created.
    143116* **When you disconnect:** your site tells mykavo.app to revoke its key.
    144117* **When an important setting changes** (search engine visibility, site or WordPress address, permalinks, admin email, a new administrator), while connected: from WP-Cron, a few seconds later, the kind of change, the old and new value (for example the new admin email address or administrator's login name), the name of the user who made it, and the time.
    … …  
    244217
    245218== Changelog ==
     219
     220= 1.3.2 =
     221* New: drafts from MyKavo's AI Keywords & Blog Writer. Click "Save as draft in WordPress" in MyKavo and the post appears under Posts as a draft, with its title, slug, meta description, FAQ and schema. It never publishes: you review it and publish. The plugin collects drafts when you open WP Admin and every 15 minutes.
     222* New: the meta description and focus keyword fill in Yoast SEO or Rank Math when either is active, and the post's schema is added only when no SEO plugin adds its own.
    246223
    247224= 1.3.1 =
    … …  
    305282== Upgrade Notice ==
    306283
     284= 1.3.2 =
     285Save posts from MyKavo's AI Keywords & Blog Writer straight to your drafts. Nothing is ever published for you.
     286
    307287= 1.3.1 =
    308288A redesigned, easier-to-read MyKavo screen with your plan at a glance, one-click rollback for any plugin or theme, a crash check after every update, Safe Update All, alerts for silent setting changes, AI crawler controls and llms.txt. Still nothing added to your public pages.
  • mykavo/trunk/uninstall.php

    r3786626 r3801014  
    2727
    2828// Pending and recurring jobs.
    29 foreach ( array( 'mykavo_rollback_watch', 'mykavo_crash_check', 'mykavo_alert_report', 'mykavo_snapshots_daily', 'mykavo_mail_daily' ) as $mykavo_hook ) {
     29foreach ( array( 'mykavo_rollback_watch', 'mykavo_crash_check', 'mykavo_alert_report', 'mykavo_snapshots_daily', 'mykavo_mail_daily', 'mykavo_drafts_sync' ) as $mykavo_hook ) {
    3030        wp_unschedule_hook( $mykavo_hook );
    3131}
    … …  
    3333foreach ( array(
    3434        'mykavo_connection',
     35        'mykavo_new_drafts',
    3536        'mykavo_updates',
    3637        'mykavo_settings',
Note: See TracChangeset for help on using the changeset viewer.