PluginProbe
Extendify / 3.2.1
Extendify v3.2.1
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | src/Agent/workflows/settings/edit-wp-setting.js +11 -0 3.1.13.2.1 View file →
@@ -1,5 +1,6 @@
1 1 import { UpdateSettingConfirm } from '@agent/workflows/settings/components/UpdateSettingConfirm';
2 +import { __ } from '@wordpress/i18n';
2 3
3 4 const { abilities } = window.extAgentData;
4 5
5 6 export const allowedSettings = [
@@ -14,5 +15,15 @@
14 15 export default {
15 16 available: () => abilities?.canEditSettings,
16 17 id: 'edit-wp-setting',
17 18 whenFinished: { component: UpdateSettingConfirm },
19 + example: {
20 + text: __('Change website title', 'extendify-local'),
21 + agentResponse: {
22 + // translators: The agent asks this, then waits for the user to type their new site title.
23 + reply: __(
24 + 'What would you like your new website title to be?',
25 + 'extendify-local',
26 + ),
27 + },
28 + },
18 29 };