File Editor
Directories:
.. (Back)
carousel
comment-likes
custom-post-types
images
infinite-scroll
likes
related-posts
scan
sharedaddy
shortcodes
theme-tools
tiled-gallery
videopress
widget-visibility
widgets
wordads
Files:
accessible-focus.min.asset.php
accessible-focus.min.js
admin.asset.php
admin.css
admin.js
admin.js.LICENSE.txt
admin.rtl.css
crowdsignal-shortcode.min.asset.php
crowdsignal-shortcode.min.js
crowdsignal-survey.min.asset.php
crowdsignal-survey.min.js
deprecate.min.asset.php
deprecate.min.js
facebook-embed.min.asset.php
facebook-embed.min.js
gallery-settings.min.asset.php
gallery-settings.min.js
jetpack-admin.min.asset.php
jetpack-admin.min.js
jetpack-deactivate-dialog.min.asset.php
jetpack-deactivate-dialog.min.js
jetpack-modules.min.asset.php
jetpack-modules.min.js
jetpack-modules.models.min.asset.php
jetpack-modules.models.min.js
jetpack-modules.views.min.asset.php
jetpack-modules.views.min.js
plugins-page.asset.php
plugins-page.css
plugins-page.js
plugins-page.js.LICENSE.txt
plugins-page.rtl.css
polldaddy-shortcode.min.asset.php
polldaddy-shortcode.min.js
static-noscript-notice.html
static-version-notice.html
static.html
static.js.LICENSE.txt
style.min.css
style.min.rtl.css
twitter-timeline.min.asset.php
twitter-timeline.min.js
Create New File
Create
Edit File: deprecate.min.js
addEventListener("DOMContentLoaded",(()=>{const t=document.getElementsByClassName("jetpack-deprecate-dismissible");for(let n=0;n<t.length;++n)t[n].hasAttribute("id")&&t[n].addEventListener("click",(e=>{e.target.classList.contains("notice-dismiss")&&(document.cookie="jetpack_deprecate_dismissed["+t[n].getAttribute("id")+"]=1; expires=Fri, 31 Dec 9999 23:59:59 GMT; SameSite=None; Secure")}));var n=document.createElement("style");n.innerHTML='\n\t\t/* Clear the default Dashicon content */\n\t\t.jetpack-deprecate-dismissible .notice-dismiss::before {\n\t\t\tcontent: \'\';\n\t\t}\n\n\t\t/* Customize the .notice-dismiss button */\n\t\t.jetpack-deprecate-dismissible .notice-dismiss {\n\t\t\tposition: absolute;\n\t\t\twidth: 24px;\n\t\t\theight: 24px;\n\t\t\ttop: 24px;\n\t\t\tright:12px;\n\t\t}\n\n\t\t.jetpack-deprecate-dismissible .notice-dismiss::after {\n\t\t\tbackground-image: url(\'data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%23555" d="M12 10.586L6.343 4.93 4.93 6.343 10.586 12l-5.657 5.657 1.414 1.414L12 13.414l5.657 5.657 1.414-1.414L13.414 12l5.657-5.657-1.414-1.414L12 10.586z"/></svg>\'); /* Inline SVG as background image */\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-size: contain;\n\t\t\tcontent: \'\';\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 6px;\n\t\t\tleft: 6px;\n\t\t\twidth: 20px;\n\t\t\theight: 20px;\n\t\t\ttransform: translate(-50%, -50%);\n\t\t}\n\n\t\t/* Customize the styling of content within the notice container */\n\t\t.jetpack-deprecation-notice-container {\n\t\t\talign-items: flex-start;\n\t\t\tdisplay: flex;\n\t\t\tpadding-bottom: 24px;\n\t\t\tpadding-left: 12px;\n\t\t\tpadding-top: 14px;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-svg {\n\t\t\tmargin-right: 10px;\n\t\t\tpadding-top:10px;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-icon {\n\t\t\tmargin-right: 10px;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-text {\n\t\t\tdisplay: block;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-title {\n\t\t\tfont-weight: 600;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-link {\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #000000;\n\t\t}\n\n ',document.head.appendChild(n)}));
Save Changes
Rename File
Rename