PluginProbe
ElasticPress / 4.4.0
ElasticPress v4.4.0
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
elasticpress / dist / js / search-editor-script.js

search-editor-script.js in ElasticPress 4.4.0, at dist/js/search-editor-script.js

1 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 !function(){"use strict";var e={5251:function(e,r,o){var t=o(9196),n=60103;if(60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;n=i("react.element"),i("react.fragment")}var c=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function a(e,r,o){var t,i={},a=null,f=null;for(t in void 0!==o&&(a=""+o),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(f=r.ref),r)s.call(r,t)&&!u.hasOwnProperty(t)&&(i[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===i[t]&&(i[t]=r[t]);return{$$typeof:n,type:e,key:a,ref:f,props:i,_owner:c.current}}r.jsx=a},5893:function(e,r,o){e.exports=o(5251)},9196:function(e){e.exports=window.React}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,o),i.exports}!function(){var e=window.wp.plugins,r=window.wp.components,t=window.wp.data,n=window.wp.editPost,i=window.wp.i18n,c=o(5893);(0,e.registerPlugin)("ep-exclude-from-search",{render:()=>{const{editPost:e}=(0,t.useDispatch)("core/editor"),{ep_exclude_from_search:o=!1,...s}=(0,t.useSelect)((e=>e("core/editor").getEditedPostAttribute("meta")||{}));return(0,c.jsx)(n.PluginPostStatusInfo,{children:(0,c.jsx)(r.CheckboxControl,{label:(0,i.__)("Exclude from search","elasticpress"),checked:o,onChange:r=>{e({meta:{...s,ep_exclude_from_search:r}})}})})},icon:null})}()}();