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/QuickEdit/state/undo.js +2 -1 3.1.13.2.1 View file →
@@ -1,6 +1,8 @@
1 1 // Entries are shaped like the save endpoint's request body so replay is just
2 2 // save(entry). Cap protects localStorage size.
3 +
4 +import { track } from '@shared/lib/track';
3 5 import { __, sprintf } from '@wordpress/i18n';
4 6 import {
5 7 save,
6 8 saveProduct,
@@ -7,9 +9,8 @@
7 9 saveSiteIdentity,
8 10 saveWpFormsField,
9 11 saveWpNavigationItem,
10 12 } from '../lib/api';
11 -import { track } from '../lib/insights';
12 13
13 14 const STORAGE_KEY = 'extendify-quick-edit-undo-stack-v1';
14 15 const MAX_DEPTH = 5;
15 16 const ANNOUNCE_KEY = 'extendify-quick-edit-undo-announce';