import { createSignal, Show } from 'solid-js'; import Button from './Button'; import API from '@util/api'; /** * AjaxPress Pro migration banner for the settings app. * * The settings-app face of Pro_Notice (includes/admin/class-pro-notice.php), * which decides who sees it and hands over everything to render through * ajaxpress_admin_vars.pro_notice: null means no banner. */ export default function ProNotice() { const data = window?.ajaxpress_admin_vars?.pro_notice || null; const [visible, setVisible] = createSignal(!!data); const [dismissing, setDismissing] = createSignal(false); const dismiss = async () => { setDismissing(true); try { await API.post('pro-notice/dismiss', {}); } catch (err) { // Hide it anyway; it comes back on the next load if the save failed. } setVisible(false); }; return (

Install AjaxPress Pro to keep your Pro features

From AjaxPress 2.4.4, releasing on {data.cutoff}, Pro features need the separate AjaxPress Pro plugin, installed and activated. Until then they keep working here as they do now.

{data.steps}

The download could not be started. Get AjaxPress Pro from your account at{' '} arraystory.com/account , or contact support.

{/* rel="external": a full page load, not a route inside this app. */}
); }