Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
chore: only add publishAllLocales to publish when localizeStatus is enabled (#15610)
### What The Publish button was sending `publishAllLocales=true` as a query parameter on the default publish action, regardless of whether the `localizeStatus` feature was enabled for the collection/global. This was being ignored in the request itself and had no real effect, but we still shouldn't be passing it. ### Why The `publishAllLocales` parameter is part of the experimental `localizeStatus` feature (which allows per-locale draft/publish status). When this feature is not enabled, the parameter should not appear in the request URL as it's confusing and adds unnecessary noice. ### How Updates the publish button component to only add `publishAllLocales=true` when `localizeStatus` is enabled.
J
Jessica Rynkar committed
d57bc222a6df736d43a73ed0cd27d0cc6a22497b
Parent: 8e92f7f
Committed by GitHub <noreply@github.com>
on 2/12/2026, 1:31:26 PM