芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/blocksy-companion/static/js/helpers/wp-updates.js
export const wpUpdatesAjax = function (action, data) { var options = {} if (data.success) { options.success = data.success delete data.success } if (data.error) { options.error = data.error delete data.error } options.data = { ...data, } options.data = _.extend(data, { action: action, _ajax_nonce: ctDashboardLocalizations.updatesNonce, }) return wp.ajax.send(options) }