"Approve all visible" button on the Changes / Approvals page
- add "Approve all visible" button on the Changes / Approvals page. Renders only when respira_enable_bulk_approvals is on AND there are pending duplicates. The button shows the live pending count next to its label (Approve all
- add respira_list_pending_duplicate_ids AJAX endpoint. Returns the array of every post ID where _respira_duplicate=1 AND post_status IN ('draft','pending'), ordered by post_modified DESC. Same nonce + manage_options gate as t
- add bulk_approvals_enabled + pending_duplicate_count flags in the localized respira_admin JS object. Lets the new button gate itself client-side without an extra round trip — hidden when the setting is off or the queue is em
- note No new permission surface. The same manage_options capability + respira_enable_bulk_approvals toggle that gated the backend handler since 4.0.11 still gate the UI. The default for the toggle stays OFF for safety; admins
- note The bulk handler is conservative — it never force-approves (every per-item call passes force: false). If a duplicate's original has changed since the duplicate was created, that one item shows in the per-item failure lis