=== Webivus AI ===
Contributors: webivusinc
Donate link: https://webivus.com/
Tags: ai, woocommerce, site-management, content-management, ai-copilot
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.2.2
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage your WordPress site with AI. Install plugins, edit content, update themes, and automate complex multi-step tasks through natural language chat.

== Description ==

Manage and update your WordPress site by chatting with Webivus, a powerful AI Copilot built for WordPress professionals. With a simple instruction, Webivus can perform complex multi-step workflows — from creating SEO-optimized content and managing plugins to running your WooCommerce store and applying site-wide updates — all executed intelligently and with your approval at every step.

Unlike traditional management tools that require clicking through endless admin menus, Webivus lets you describe what you need in plain English. The AI understands your site's structure, handles the execution, and asks for your confirmation before making any changes. Perfect for agencies, freelancers, and site owners who want to work smarter and get more done.

Webivus works with your existing WordPress site as-is. No training, no manual configuration, no complicated setup. Install the plugin, connect your site, and start managing everything from one AI-powered dashboard.

== Use Cases ==

Webivus handles hundreds of everyday WordPress tasks spanning content, plugins, themes, WooCommerce, and site maintenance. Below are some of the workflows Webivus can streamline for you:

= Content Management =

* **SEO-optimized content creation** — Write posts and pages with proper heading hierarchy, keyword placement, and meta descriptions from a single chat message
* **Safe content editing** — Update existing content without overwriting what's already there. Webivus fetches current content first, then merges your changes
* **Media uploads** — Add images and files directly to your Media Library through conversation
* **Draft-first workflow** — Content is created as drafts by default. Nothing goes live unless you explicitly say "publish"
* **Categories and taxonomies** — Organize your content structure through simple instructions

= Plugin Management =

* **Install and manage plugins** — Search, install, activate, and deactivate plugins from the WordPress.org repository with a single prompt
* **Smart update management** — Update plugins individually or in bulk with compatibility checks (PHP version, WordPress version) before applying
* **Bulk plugin updates** — Update 3 or more plugins in a single operation with per-plugin compatibility validation, skip logic for incompatible items, and detailed per-plugin results
* **Confirmation on every action** — Webivus always asks before installing, activating, deactivating, or removing any plugin. Batch confirmations supported for 3+ updates

= Theme Management =

* **Install and switch themes** — Browse and install themes from WordPress.org, and switch between installed themes instantly through conversation
* **Theme updates** — Update themes safely using WordPress's built-in update mechanism
* **Safe by design** — Webivus uses WordPress's official upgrade APIs. It never edits theme or plugin source files directly.

= WooCommerce Store Management =

* **Product management** — Create, update, and manage product listings with descriptions, pricing, categories, and images
* **Order and customer management** — Process orders, track fulfillment, and manage customer data through chat
* **Inventory and pricing** — Adjust stock levels, update prices, and manage coupon codes across your store
* **Template safety checks** — Before any WooCommerce update, Webivus checks your theme for outdated template overrides that could break your store

= Updates and Site Health =

* **One-click updates** — Check and apply updates for plugins, themes, and WordPress core individually or in bulk
* **Bulk plugin updates** — Update multiple plugins at once with a single command. Webivus validates compatibility per plugin, skips incompatible ones, and reports per-plugin success or failure
* **Update safety checks** — Before any update, Webivus checks PHP and WordPress version compatibility. Incompatible updates are blocked with a clear explanation
* **WooCommerce update protection** — Before updating WooCommerce, Webivus automatically scans your theme for outdated template overrides and flags high-risk files (cart, checkout, my-account) that could break your store
* **Recommended update order** — Webivus follows best practices: WordPress core first, then plugins, then themes — reducing the risk of conflicts
* **WordPress core updates** — Update WordPress itself through conversation with backup recommendations and downtime warnings

= Customization Guidance =

* **Best-practice recommendations** — When you ask for CSS, PHP, or JavaScript changes, Webivus recommends the proper WordPress approach (Additional CSS, child theme, or a code snippets plugin) rather than editing files directly
* **Context-aware suggestions** — Webivus checks your site's current setup (installed plugins, active theme) before recommending a customization method
* **Safe by design** — Never edits parent theme or plugin source files directly. All customizations follow WordPress coding standards

= Troubleshooting =

* **Guided diagnostics** — Describe your issue in plain English and get step-by-step guidance to resolve it
* **Safe fixes** — Every recommended change requires your explicit approval before being applied

== Key Benefits ==

* **AI-powered site management** — From a single prompt, Webivus completes complex multi-step tasks. Whether it's creating content, managing plugins, updating your store, or configuring settings, Webivus handles it intelligently within your WordPress site
* **One dashboard for your entire site** — Plugins, content, themes, WooCommerce, SEO, updates, and settings — all managed from a single AI-powered chat interface. No more switching between screens
* **Human-in-the-loop safety** — Webivus never makes changes silently. Before every significant action, it explains exactly what it will do and waits for your confirmation. You stay in full control
* **Deep site awareness** — Webivus understands your site's structure including installed plugins, themes, content, WooCommerce products, and server configuration. This powers precise, context-aware actions without manual setup
* **Zero frontend impact** — The plugin adds nothing to your public pages. No scripts, no styles, no assets. Your site speed and visitor experience remain completely unaffected
* **Built for professionals** — Designed for agencies, freelancers, and site owners managing production WordPress sites. Webivus streamlines workflows so you can focus on strategy and growth
* **Zero setup, instant integration** — Install the plugin and connect your site. No training, no manual configuration. Start managing your site through AI immediately
* **Contextual memory** — Webivus remembers your conversation history and understands the context of your requests across sessions

== Features ==

* **Natural language task execution** — Describe what you need in plain English, and Webivus translates it into precise WordPress actions
* **Multi-step workflow automation** — Complex tasks that normally require multiple screens and clicks are completed in a single conversation
* **Plugin and theme lifecycle management** — Install, activate, deactivate, update, and remove plugins and themes through conversation
* **Bulk update operations** — Update multiple plugins in a single operation with pre-flight compatibility checks, automatic skip logic for incompatible plugins, and detailed per-plugin results
* **WooCommerce-aware operations** — Deep integration with WooCommerce for products, orders, customers, coupons, and inventory management. Automatic template override scanning before WooCommerce updates
* **Update management with safety checks** — Check and apply updates for plugins, themes, and WordPress core with PHP/WordPress version compatibility verification and recommended update order
* **Secure token-based authentication** — Communication between your site and Webivus is authenticated with encrypted, auto-expiring tokens
* **Real-time change detection** — Webivus stays in sync with your site. Plugin installs, theme switches, and updates are detected and reflected automatically
* **WordPress Multisite support** — Full compatibility with WordPress Multisite installations including network-wide plugin detection

== Get Started ==

Getting started with Webivus takes less than two minutes:

1. **Create your account** — Sign up for free at [webivus.com](https://webivus.com)
2. **Install and activate the plugin** — Download the plugin from your Webivus dashboard, upload it via **Plugins > Add New > Upload Plugin**, and click **Activate**
3. **Connect and give consent** — After activation, go to **Webivus AI** in your WordPress admin sidebar. Review what data will be shared, then click **Connect** to authorize the connection
4. **Start chatting** — Open the Webivus dashboard and manage your entire site through conversation

Webivus requires a connection to an active Webivus account to provide AI-powered management services to your WordPress site.

Learn more at [webivus.com](https://webivus.com).

== Third-Party Service ==

This plugin connects your WordPress site to the **Webivus AI platform** for AI-powered site management. A Webivus account is required for the plugin to function. **Important:** the plugin makes zero outbound network calls until you explicitly click **Connect** on the Webivus AI admin page.

**Service:** [https://api.webivus.com](https://api.webivus.com)

= How consent works =

When you activate the plugin it does **not** contact api.webivus.com. Instead, the Webivus AI admin page shows a consent screen listing exactly what data will be transmitted, where it will go, and what will *never* be sent. Outbound communication only begins after you click the Connect button. You can disconnect at any time — disconnecting immediately stops all communication with the Webivus servers.

= Information sent to Webivus =

* Your site URL, site name, WordPress version, and PHP version
* Your WordPress admin email and admin username (used to attach the site to your Webivus account)
* Names, versions, and active/inactive status of your installed plugins and themes
* Counts of posts, pages, comments, and users grouped by status and role (no individual user or post content)
* Server environment basics (server software, PHP extensions)
* An auto-renewing signed access token used by the Webivus dashboard to talk back to your site securely

= When information is sent =

After you click Connect:

* **Once** when you click Connect (initial site registration)
* **On demand** when you take an action from the Webivus dashboard
* **On change** when a plugin or theme is installed, activated, deactivated, updated, or removed
* **Once a day** when the access token is automatically refreshed (so the connection never expires unexpectedly)

= What is never sent =

* User passwords (admin or otherwise)
* Email addresses of your customers, subscribers, or other site users
* Post or page content, customer data, or order details
* Database backups or credentials
* Raw file contents from your server filesystem

= Your control =

* Disconnect at any time from the Webivus AI admin page — communication stops immediately
* Click Reconnect to resume; you'll be asked to re-confirm consent
* Delete the plugin to remove all connection data and stored options

* [Webivus Terms of Service](https://webivus.com/terms-of-service)
* [Webivus Privacy Policy](https://webivus.com/privacy-policy)
* [Webivus Website](https://webivus.com)

== Installation ==

= From the Webivus Dashboard (Recommended) =

1. Sign up or log in at [webivus.com](https://webivus.com)
2. Download the plugin `.zip` file from your dashboard
3. In your WordPress admin, go to **Plugins > Add New > Upload Plugin**
4. Upload the `.zip` file and click **Install Now**
5. Click **Activate**
6. Go to **Webivus AI** in your admin sidebar, review the data disclosure, and click **Connect** to give your consent and link your site

= Manual Installation =

1. Download the `.zip` file from your Webivus dashboard
2. In WordPress admin, go to **Plugins > Add New > Upload Plugin**
3. Upload the file, click **Install Now**, then **Activate**
4. Go to **Webivus AI** in your admin sidebar, review the data disclosure, and click **Connect** to give your consent and link your site

= Via FTP =

1. Extract the `.zip` file
2. Upload the `webivus` folder to `/wp-content/plugins/`
3. Activate from the **Plugins** screen
4. Go to **Webivus AI** in your admin sidebar, review the data disclosure, and click **Connect** to give your consent and link your site

= Requirements =

* WordPress 6.0 or later
* PHP 7.4 or later
* A Webivus account — [sign up free](https://webivus.com)

== Frequently Asked Questions ==

= 1. What is Webivus AI and how does it work? =

Webivus AI is an intelligent copilot for WordPress that lets you manage your entire site through natural language conversation. It understands your site's structure — installed plugins, themes, content, WooCommerce products, and server configuration — and performs complex multi-step tasks on your behalf. Instead of navigating through admin menus, you simply describe what you need, and Webivus handles the execution with your approval at every step.

= 2. Do I need to configure or train Webivus for my site? =

No. Webivus requires zero configuration, training, or site restructuring. Once installed and connected, it automatically recognizes your site's layout, content, installed plugins, themes, and WooCommerce setup. There's no tagging or manual setup required — just install, connect, and start chatting.

= 3. Is my site secure with Webivus? =

Yes. Security is built into every layer of the plugin:

* All communication is authenticated with encrypted, auto-expiring tokens
* Credentials are stored encrypted in your WordPress database
* Every operation verifies that the user has the required WordPress permissions
* Admin form actions are protected with WordPress nonces
* Your WordPress password is never stored or transmitted by the plugin

Before performing any potentially destructive action — like deleting content, removing plugins, or applying updates — Webivus will explain what it intends to do and ask for your confirmation.

= 4. Does Webivus keep my information safe? =

Yes. Only the information necessary for site management is transmitted: site configuration, plugin/theme lists, content counts, and your WordPress admin email and admin username (used to attach the site to your Webivus account). Customer and visitor passwords, customer email addresses, post content, payment details, and database credentials are never shared.

= 5. What data does Webivus access? =

When connected, Webivus accesses:

* Site URL, site name, and WordPress version
* Your WordPress admin email and admin username (used to identify your account)
* Content counts (posts, pages, comments — not the content itself)
* Installed plugins and themes (names, versions, status)
* User counts grouped by role (not individual user data)
* Basic server information (PHP version, server software)
* WooCommerce data (products, orders) only when you explicitly ask the AI to work with it

= 6. Will Webivus slow down my website? =

Not at all. The plugin adds zero code to your public-facing pages — no scripts, no styles, no assets. It only runs when the Webivus platform communicates with your site or when you visit the plugin's admin page. Your visitors won't notice any difference in site speed or performance.

= 7. Does Webivus work with WooCommerce? =

Yes. Webivus has deep WooCommerce integration. You can manage products, orders, customers, coupons, and inventory through conversation. Before any WooCommerce update, Webivus also checks your theme for outdated template overrides to protect your store from breaking changes.

= 8. Does it work with other plugins? =

Yes. Webivus integrates with popular WordPress plugins including WooCommerce, Yoast SEO, Rank Math, Contact Form 7, Elementor, ACF, Gravity Forms, and many more. No additional configuration is needed — Webivus works with the plugins you already have installed.

= 9. Does Webivus support WordPress Multisite? =

Yes. The plugin is fully compatible with WordPress Multisite installations, including network-wide plugin detection and management.

= 10. Can the AI make changes without asking me? =

No. Webivus follows a strict human-in-the-loop approach. Before every significant action — installing a plugin, publishing a post, running an update, deleting content — the AI describes exactly what it will do and waits for your explicit confirmation. Nothing happens without your approval.

= 11. Can I disconnect my site at any time? =

Yes. You can disconnect instantly by deactivating the plugin, removing the site from your Webivus dashboard, or regenerating the authentication token. You can also let the token expire naturally. Your Webivus account and conversation history remain intact.

= 12. What happens if I uninstall the plugin? =

Your Webivus account and all conversation history remain safe. The AI simply won't be able to communicate with your site until you reinstall and reconnect. All plugin data is automatically cleaned up from your WordPress database on uninstall.

= 13. Is Webivus free? =

Webivus offers a free plan with daily credits to get you started. Paid plans are available for users who need higher usage limits and additional features. Visit [webivus.com/pricing](https://webivus.com/pricing) for details.

== Screenshots ==

1. Plugin admin page — connection status, site overview, and token management at a glance
2. Disconnected state — reconnect your site to Webivus with a single click

== Changelog ==

= 1.2.2 - 2026-04-27 =
* New: Explicit user-consent screen — the plugin now makes zero outbound network calls until the site administrator clicks "Connect" on the Webivus AI admin page. Listed data, recipient, and frequency are all disclosed inline before the click
* New: Connect / Reconnect / Disconnect now form a clear lifecycle — disconnect immediately stops all communication, reconnect re-confirms consent
* Tweak: All outbound calls (initial registration, daily token refresh, change-detection notifications) are gated by a single consent flag — the plugin honors revoked consent everywhere, not just in one place
* Tweak: Removed external font CDN load — admin styling now uses a system font stack so the plugin makes no third-party requests on its admin page
* Tweak: Dashboard URL is now filterable via the `webivus_dashboard_url` filter
* Tweak: Uninstall handler cleans up consent + lifecycle options and unschedules the daily token-refresh cron
* Fix: Sites upgrading from 1.2.1 with an active connection are auto-treated as already-consented; brand-new installs land in the consent-pending state

= 1.2.1 - 2026-03-31 =
* New: Bulk plugin updates — update multiple plugins in a single operation with per-plugin compatibility validation and results
* New: Pre-flight compatibility checks — validates PHP and WordPress version requirements before every update, skips incompatible plugins in bulk operations
* Tweak: Recommended update order enforced — core first, then plugins, then themes
* Tweak: Batch confirmation for 3+ plugin updates — single approval instead of per-plugin prompts
* Tweak: Extended timeout for bulk operations (5 minutes) and core updates (5 minutes)

= 1.2.0 - 2026-03-27 =
* New: Disconnect and reconnect site from the plugin admin page
* New: Automatic token refresh via daily WP Cron (renews when 3 days or less remaining)
* New: Dark theme admin dashboard with redesigned UI
* New: Site overview cards — content, users, plugins (circular chart), and system info
* New: Collapsible accordion sections for token details and full site data (JSON)
* New: Security footer card with encryption status
* New: Token is masked by default on the admin page — only first 8 characters visible
* Tweak: Brand colors applied to all action elements (buttons, badges, accents)
* Tweak: Google Fonts loaded for improved typography (Plus Jakarta Sans, Inter, Fira Code)
* Tweak: Footer updated with Community (Discord), Support, and Privacy Policy links
* Tweak: Responsive layout adjustments for WordPress admin sidebar
* Tweak: Copy button copies full token from hidden input without exposing it visually
* Fix: Token no longer displayed in full on admin page (security hardening)

= 1.1.0 - 2026-03-21 =
* New: Modular plugin architecture with organized file structure
* New: Encrypted credential storage for secrets and tokens
* New: Cryptographically random secret generation
* New: Clean uninstall — removes all plugin data on deletion
* New: Internationalization (i18n) support
* New: Path validation on theme file operations
* New: Input validation on import and settings operations
* Tweak: SSL verification enabled by default on all outgoing requests
* Tweak: Admin assets properly enqueued as separate files
* Tweak: Theme file operations use WordPress filesystem API
* Tweak: Improved coding standards compliance
* Fix: Import operations now require authentication
* Fix: Removed debug output from production code

= 1.0.1 - 2026-03-13 =
* New: Plugin update management with compatibility checks
* New: Theme update management
* New: WordPress core update management
* Tweak: Enhanced site data with update status information

= 1.0.0 - 2026-02-21 =
* Initial release
* Secure token-based authentication with automatic expiry
* Content management — create, edit, and organize posts, pages, and media
* Plugin management — install, activate, deactivate, and remove plugins
* Theme management — install, switch, and customize child themes
* WooCommerce support — products, orders, customers, coupons, and inventory
* Plugin health monitoring — abandoned and removed plugin detection
* Site overview — content, users, plugins, themes, and system information
* Real-time change notifications for plugin, theme, and core events
* WordPress Multisite support

== Upgrade Notice ==

= 1.2.2 =
Adds an explicit user-consent flow before any data is sent to the Webivus platform, removes the external font CDN load, and tightens disconnect behavior. Recommended for all users.

= 1.2.1 =
Major update management improvements: bulk plugin updates, WooCommerce override safety scanning, and pre-flight compatibility checks. Recommended for all users.

= 1.2.0 =
Adds disconnect/reconnect, automatic token refresh, redesigned dark theme admin dashboard, and token security improvements. Recommended for all users.

= 1.1.0 =
Security and architecture improvements. Encrypted storage, stronger authentication, input validation, and clean uninstall. Recommended for all users.

= 1.0.1 =
Adds update management for plugins, themes, and WordPress core.

= 1.0.0 =
Initial release — connect your WordPress site to Webivus AI.
