Skip to content

Commit 320b7a1

Browse files
Replace deprecated tagsSuggestL10n with i18n
1 parent c952340 commit 320b7a1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/js/terms-order.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
const TermsOrder = {
44
template: '',
55
tags: jQuery( '#cld-tax-items' ),
6-
tagDelimiter:
7-
( window.tagsSuggestL10n && window.tagsSuggestL10n.tagDelimiter ) ||
8-
',',
6+
tagDelimiter: wp.i18n._x( ',', 'tag delimiter' ) || ',',
97
startId: null,
108
_init() {
119
// Check that we found the tax-items.

0 commit comments

Comments
 (0)