- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 line
2.0 KiB
JavaScript
Executable File
1 line
2.0 KiB
JavaScript
Executable File
(()=>{"use strict";var e={n:n=>{var i=n&&n.__esModule?()=>n.default:()=>n;return e.d(i,{a:i}),i},d:(n,i)=>{for(var t in i)e.o(i,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:i[t]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=jQuery;var i=e.n(n);function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function o(e){var n="ad_json_".concat(e);!function(e,n){var t=i()("#edit-".concat(e));if(t.find(".advads-quick-edit").prop("disabled",!1),t.find('[name="debugmode"]').prop("checked",n.debug_mode),n.expiry.expires){t.find('[name="enable_expiry"]').prop("checked",!0);var o=t.find(".expiry-inputs").show();for(var a in n.expiry.expiry_date)o.find('[name="'.concat(a,'"]')).val(n.expiry.expiry_date[a])}var r=t.find('[name="ignore_privacy"]');r.length&&r.prop("checked",n.ignore_privacy);var c=t.find('[name="ad_label"]');c.length&&c.val(n.ad_label);wp.hooks.doAction("advanced-ads-quick-edit-fields-init",e,n)}(e,window[n])}var a=function(){i()(".search-box").toggle(),i()(".tablenav.top .alignleft.actions:not(.bulkactions)").toggle()};function r(){i()("#advads-show-filters").on("click",a),i()("#advads-reset-filters").length&&a()}function c(){i()("#advads-ad-filter-customize").on("click",(function(){i()("#show-settings-link").trigger("click")}))}i()((function(){var e;e=window.inlineEditPost.edit,window.inlineEditPost.edit=function(n){e.apply(this,arguments),"object"===t(n)&&o(parseInt(this.getId(n),10))},i()(document).on("change",'.advads-bulk-edit [name="expiry_date"]',(function(){var e=i()(this);e.closest("fieldset").find(".expiry-inputs").css("display","on"===e.val()?"block":"none")})),i()(document).on("click",'[name="enable_expiry"]',(function(){var e=i()(this);e.closest("fieldset").find(".expiry-inputs").css("display",e.prop("checked")?"block":"none")})),i()((function(){i()('.inline-edit-group select option[value="private"]').remove()})),r(),c()}))})(); |