PluginProbe
ElasticPress / 4.6.0
ElasticPress v4.6.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.6.0, at dist/js/search-editor-script.js

1 lines 1.5 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,t){var o=t(9196),s=60103;if(60107,"function"===typeof Symbol&&Symbol.for){var n=Symbol.for;s=n("react.element"),n("react.fragment")}var i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function a(e,r,t){var o,n={},a=null,l=null;for(o in void 0!==t&&(a=""+t),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(l=r.ref),r)c.call(r,o)&&!u.hasOwnProperty(o)&&(n[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===n[o]&&(n[o]=r[o]);return{$$typeof:s,type:e,key:a,ref:l,props:n,_owner:i.current}}r.jsx=a},5893:function(e,r,t){e.exports=t(5251)},9196:function(e){e.exports=window.React}},r={};function t(o){var s=r[o];if(void 0!==s)return s.exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}!function(){var e=window.wp.plugins,r=window.wp.components,o=window.wp.data,s=window.wp.editPost,n=window.wp.i18n,i=t(5893);(0,e.registerPlugin)("ep-exclude-from-search",{render:()=>{const{editPost:e}=(0,o.useDispatch)("core/editor"),{ep_exclude_from_search:t=!1,...c}=(0,o.useSelect)((e=>e("core/editor").getEditedPostAttribute("meta")||{}));return(0,i.jsx)(s.PluginPostStatusInfo,{children:(0,i.jsx)(r.CheckboxControl,{label:(0,n.__)("Exclude from search results","elasticpress"),help:(0,n.__)("Excludes this post from the results of your site's search form while ElasticPress is active.","elasticpress"),checked:t,onChange:r=>{e({meta:{...c,ep_exclude_from_search:r}})}})})},icon:null})}()}();