=== BoomerWP ===
Contributors: web321
Donate link: https://www.paypal.com/paypalme/web321co/10
Requires at least: 6.4
Requires PHP: 8.0
Stable tag: 0.4.0
License: GPLv2 or later

A simple, senior-friendly writing screen for WordPress, with one-click AI optimization via BoomerWP HQ.

== Description ==
Project website: https://boomerwp.com/

Title, Photos (drag and drop / upload / Media Library), a simplified writing box, and Add More: writing, tables (paste from Excel) and photo galleries (core gallery block with lightbox). Switch any post to Classic, Block or a detected page builder from the Editor menu.

Two big buttons finish a post. "Optimize My Post" sends the post and your site's post gists to BoomerWP HQ and shows the polished version; nothing is published until the author presses "Yes, use this". "Publish My Post" (or "Update My Post" / "Save as a Draft") saves the post and keeps the optimized look; if the post was edited after optimizing, the author is asked whether to optimize again or save without it.

== Installation ==
1. Upload boomer-wp-0.4.0.zip and activate. The archive must contain boomer-wp/boomer-wp.php. A help page is created automatically.
2. Settings > BoomerWP: press "Connect to BoomerWP HQ", type your email, then the 6-digit code. (Default HQ: https://boomer.web321.co. Override with define( 'W321EM_HQ_URL', '...' ) in wp-config.php.)
3. Optional: Build gists for existing posts.

== Release packaging and migration ==
Use boomer-wp/ as the plugin directory and boomer-wp.php as its main file.
Only the ZIP filename includes the version (for example boomer-wp-0.4.0.zip).
Keep the PHP Version header, W321EM_VERSION, Stable tag and release API version in sync.
The release API download_url must point to the uploaded ZIP's actual HTTPS URL.
Renaming a local archive does not rename the existing Media Library upload.

For installations using the previous plugin directory, deactivate that copy,
install this renamed package, then activate BoomerWP. Do not activate both copies.
Saved settings, account credentials and post metadata retain their existing keys.
Future releases must retain the boomer-wp/boomer-wp.php identity.

== Changelog ==

= 0.4.0 =
* The product name is now written "BoomerWP" in every label and message.
* New: welcome pop-up on the first screen after activation, then a note at the top of the dashboard, both leading to Settings > BoomerWP. The note goes away once the settings page is opened or "Hide this" is pressed.
* New: Getting started steps at the top of the settings page (connect, build gists, write a post) with ticks for finished steps, and a plain-language Help section lower on the page (#w321em-help) covering the two buttons, gists, credits, Draft/Published, the Posts list logo and other editors.
* New: BoomerWP logo column in the list of every enabled post type. Clicking it opens that post in BoomerWP and saves BoomerWP as its editor.
* Editor: "Submit" is now "Publish My Post" / "Update My Post" / "Save as a Draft" / "Send for Review", matching the "Who can see this?" choice. "Optimize" is now "Optimize My Post".
* Editor: saving no longer replaces an optimized post with the plain version. An optimized post that has not been edited keeps its optimized look. If it was edited, the author chooses: optimize again, or save without the optimized look.
* Editor: a "Where your post stands" box always shows published / draft / not saved yet, whether the optimized look is in use, and whether there are unsaved changes.
* Editor: a confirmation window with an animated tick appears whenever a post is saved, published or updated, with See my post / Keep writing / Go to all my posts.
* Editor: the review window says nothing has been published yet, and its buttons say exactly what they do ("Yes, use this and publish it" / "No, go back to my writing").
* Drafts open in preview from "Preview this post".
* Settings labels and the public help page rewritten in plainer language. New installs create the help page at /boomerwp-help/; existing help pages keep their address.
* Settings keys, post meta and the HQ protocol are unchanged.

= 0.3.3 =
* Rename the public product to Boomer WP and link to boomerwp.com. Use boomer-wp for the client directory, main PHP filename, text domain and client identifier. Saved settings and HQ service addresses are retained.

= 0.3.2 =
* Keep optimized article text flowing beside floated photos despite theme or generated clearing/layout rules. Preserve full-width media breaks and mobile stacking.
= 0.3.1 =
* Fix: published optimized posts could differ from the preview because WordPress ran wpautop over BoomerWP's finished HTML. BoomerWP content now skips front-end wpautop, and the preview uses the same texturize/block filters.
* Fix: when the article names an older post by its title, that title is linked (tolerates punctuation differences such as "All, Or" vs "All… Or"). If the AI attached that post's link to an unrelated phrase, the link moves to the title.
* New: optional linked "Related posts" list for relevant older posts the AI couldn't link inline (Settings → BoomerWP, on by default). Uses real titles and permalinks.
* Review window warns when Optimize mentions another post in words the author didn't write.
* Source safety: the author's document (_w321em_doc), mode and CSS are stored with each post revision and restored with it; a backup copy (_w321em_doc_backup) is taken before an outside-editor import or a revision restore; the original title is kept in _w321em_original_title when a suggested title is used; _w321em_optimized_from records the source behind the live optimized output.
* Autosaves no longer create revisions.
* Editor sidebar shows which version is saved (optimized or as written).

= 0.3.0 =
* Add reusable ad snippets, video embed sections, and optional optimized-title acceptance.

= 0.2.2 =
* Use the published article layout styles in the optimization preview.

= 0.2.1 =
* Default to inline photos without automatic featured images; enable the bundled photo/gallery lightbox.
* Preserve optimized photo alignment without nested figures and add responsive wrapping and full-size photo links.

= 0.2.0 =
* Connect to BoomerWP HQ from inside the plugin: an inset window served by HQ, email-code sign-in, keys saved automatically (PKCE-style exchange; the secret never passes through the browser).
* "Manage account & credits" inset window: credits, plans, packs, billing, recent use.
* HQ address defaults to https://boomer.web321.co; W321EM_HQ_URL constant locks it; manual keys moved under Advanced.
* Popup fallback when a host refuses framing.
* Editor links admins straight to Connect / Add credits.
* Docs page refreshes on update if it hasn't been edited.

= 0.1.0 =
* Prototype.
