Initial commit: WordPress wp-content (themes, plugins, languages)

- Theme: momentry (custom theme with REST API routes)
- Plugins: code-snippets (contains all API proxies)
- Languages: zh_TW translations
- Excludes: cache, backups, uploads, logs
This commit is contained in:
OpenCode
2026-05-29 19:07:56 +08:00
commit 09ef1f000f
6521 changed files with 867163 additions and 0 deletions
@@ -0,0 +1 @@
export default function(e,o,i,n,t){let c={init(){c.initCouponsChoicesJS(),c.initFileUploadChoicesJS()},bcInit(){n.disabledFields=c;["initCouponsChoicesJS","initFileUploadChoicesJS"].forEach(e=>{n[e]=c[e]})},initCouponsChoicesJS(){"function"!=typeof o.Choices||WPForms.Admin.Builder.Coupons||i(".wpforms-field-option-row-allowed_coupons select:not(.choices__input)").each(function(){n.UndoRedo?.preventRecord(!0);var e=i(this),o=new Choices(e.get(0),{shouldSort:!1,removeItemButton:!0,renderChoicesLimit:5,callbackOnInit(){wpf.showMoreButtonForChoices(this.containerOuter.element),n.UndoRedo?.preventRecord("continue")}});e.data("choicesjs",o)})},initFileUploadChoicesJS(){"function"!=typeof o.Choices||WPForms.Admin.Builder.FieldFileUpload||i(".wpforms-file-upload-user-roles-select, .wpforms-file-upload-user-names-select").each(function(){n.UndoRedo?.preventRecord(!0),new Choices(i(this)[0],{removeItemButton:!0,callbackOnInit(){n.UndoRedo?.preventRecord("continue")}})})}};return c}