Repository navigation
v2.0.0 — Encore Website (formerly Drift Website)
Renamed from Drift Website to Encore Website. 1.x sites update in place with no manual steps.
Changed
- Plugin name, slug, main file (
encore-website.php), text domain and GitHub repo are nowencore-website. - Code prefixes:
Encore_Website_*classes,ENCORE_WEBSITE_*constants,encore_website_*hooks, options and cron events,_encore_*post meta,encore_site_settingsfor the synced settings,ew-admin CSS classes,EncoreWebsiteJS object. - Theme-facing API is
encore_website_settings(),encore_website_setting(),encore_website_setting_image(),encore_website_linked_posts(),encore_website_is_synced(),encore_website_last_synced()andencore_website_form_hidden_fields(). (encore_*alone belongs to the Encore theme.) - Publish webhook is
/wp-json/encore/v1/publishwith anX-Encore-Secretheader; the Free-plan link is?encore_publish=. Form AJAX action isencore_form, honeypotencore_hp. - Secrets are sealed under a new key; 1.x values still unseal and are re-sealed by the migration.
tools/build-zip.pyno longer shipsCLAUDE.mdor.gitignore. 1.3.0's zip includedCLAUDE.md.- Encore map: the enquiry form's page-URL field is
source_page(Airtable column still "Page").pageis a WordPress admin query var, and logged-in AJAX requests runadmin_init. Encore theme 1.3.0 postssource_page; older themes' page URL is dropped.
Added
includes/class-migrate.php: runs once per site onplugins_loadedand on activation. It renames the 1.x options, post meta (including_drift_links_*) and user meta in place, re-seals the token and publish secret, deletes 1.x transients and swaps the cron hooks. It never overwrites a new name that already holds data. A failed run logs and retries on the next request.drift-website.php: header-less legacy loader. 1.x sites keepdrift-website/drift-website.phpinactive_pluginsafter an update; the loader repoints it toencore-website.php(multisite too) so WordPress doesn't deactivate the plugin.includes/compat.php, kept until 3.0:drift_*theme functions,Drift_Website_*class aliases, anddrift_website_*filters and actions passed through with deprecation notices. Thedrift/v1namespace,X-Drift-Secretheader,?drift_publish=link,drift_formaction,drift_hphoneypot andDRIFT_WEBSITE_*constants are all still accepted.