文件操作 - sitewide-notices.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/buddypress/bp-messages/js/sitewide-notices.js
编辑文件内容
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"nIsC":[function(require,module,exports) { class t{constructor(t){const{path:e,dismissPath:s,root:o,nonce:i}=t;this.path=e,this.dismissPath=s,this.root=o,this.nonce=i}start(){document.querySelectorAll(".bp-sitewide-notice-block a.dismiss-notice").forEach(t=>{t.addEventListener("click",t=>{t.preventDefault(),fetch(this.root+this.dismissPath,{method:"POST",headers:{"X-WP-Nonce":this.nonce}}).then(t=>t.json()).then(t=>{void 0!==t&&void 0!==t.dismissed&&t.dismissed&&document.querySelectorAll(".bp-sitewide-notice-block").forEach(t=>{t.remove()})})})})}}const e=window.bpSitewideNoticeBlockSettings||{},s=new t(e);"loading"===document.readyState?document.addEventListener("DOMContentLoaded",s.start()):s.start(); },{}]},{},["nIsC"], null) //# sourceMappingURL=/bp-messages/js/sitewide-notices.js.map
修改文件时间
将文件时间修改为当前时间的前一年
删除文件