X7ROOT File Manager
Current Path:
/home/iptvzxij/public_html/wp-includes
home
/
iptvzxij
/
public_html
/
wp-includes
/
π
..
π
ID3
π
IXR
π
PHPMailer
π
Requests
π
SimplePie
π
Text
π
abilities-api
π
abilities-api.php
(23.8 KB)
π
abilities.php
(7.8 KB)
π
admin-bar.php
(36.1 KB)
π
assets
π
atomlib.php
(11.9 KB)
π
author-template.php
(18.94 KB)
π
block-bindings
π
block-bindings.php
(7.35 KB)
π
block-editor.php
(28.6 KB)
π
block-i18n.json
(316 B)
π
block-patterns
π
block-patterns.php
(12.9 KB)
π
block-supports
π
block-template-utils.php
(61.02 KB)
π
block-template.php
(15 KB)
π
blocks
π
blocks.php
(112.05 KB)
π
bookmark-template.php
(12.47 KB)
π
bookmark.php
(15.07 KB)
π
cache-compat.php
(9.84 KB)
π
cache.php
(13.17 KB)
π
canonical.php
(33.83 KB)
π
capabilities.php
(42.63 KB)
π
category-template.php
(55.71 KB)
π
category.php
(12.53 KB)
π
certificates
π
class-IXR.php
(2.55 KB)
π
class-avif-info.php
(28.92 KB)
π
class-feed.php
(539 B)
π
class-http.php
(367 B)
π
class-json.php
(42.65 KB)
π
class-oembed.php
(401 B)
π
class-phpass.php
(6.61 KB)
π
class-phpmailer.php
(664 B)
π
class-pop3.php
(20.63 KB)
π
class-requests.php
(2.18 KB)
π
class-simplepie.php
(453 B)
π
class-smtp.php
(457 B)
π
class-snoopy.php
(36.83 KB)
π
class-walker-category-dropdown.php
(2.41 KB)
π
class-walker-category.php
(8.28 KB)
π
class-walker-comment.php
(13.89 KB)
π
class-walker-nav-menu.php
(11.76 KB)
π
class-walker-page-dropdown.php
(2.65 KB)
π
class-walker-page.php
(7.43 KB)
π
class-wp-admin-bar.php
(17.46 KB)
π
class-wp-ajax-response.php
(5.14 KB)
π
class-wp-application-passwords.php
(16.7 KB)
π
class-wp-block-bindings-registry.php
(8.28 KB)
π
class-wp-block-bindings-source.php
(2.92 KB)
π
class-wp-block-editor-context.php
(1.32 KB)
π
class-wp-block-list.php
(4.6 KB)
π
class-wp-block-metadata-registry.php
(11.62 KB)
π
class-wp-block-parser-block.php
(2.5 KB)
π
class-wp-block-parser-frame.php
(1.97 KB)
π
class-wp-block-parser.php
(11.25 KB)
π
class-wp-block-pattern-categories-registry.php
(5.32 KB)
π
class-wp-block-patterns-registry.php
(10.6 KB)
π
class-wp-block-processor.php
(67.84 KB)
π
class-wp-block-styles-registry.php
(6.34 KB)
π
class-wp-block-supports.php
(5.49 KB)
π
class-wp-block-template.php
(1.99 KB)
π
class-wp-block-templates-registry.php
(7.02 KB)
π
class-wp-block-type-registry.php
(4.91 KB)
π
class-wp-block-type.php
(16.86 KB)
π
class-wp-block.php
(24.23 KB)
π
class-wp-classic-to-block-menu-converter.php
(3.97 KB)
π
class-wp-comment-query.php
(47.66 KB)
π
class-wp-comment.php
(9.22 KB)
π
class-wp-customize-control.php
(25.51 KB)
π
class-wp-customize-manager.php
(198.38 KB)
π
class-wp-customize-nav-menus.php
(56.65 KB)
π
class-wp-customize-panel.php
(10.46 KB)
π
class-wp-customize-section.php
(10.95 KB)
π
class-wp-customize-setting.php
(29.26 KB)
π
class-wp-customize-widgets.php
(70.91 KB)
π
class-wp-date-query.php
(35.3 KB)
π
class-wp-dependencies.php
(15.02 KB)
π
class-wp-dependency.php
(2.57 KB)
π
class-wp-duotone.php
(39.83 KB)
π
class-wp-editor.php
(70.64 KB)
π
class-wp-embed.php
(15.56 KB)
π
class-wp-error.php
(7.33 KB)
π
class-wp-exception.php
(253 B)
π
class-wp-fatal-error-handler.php
(7.96 KB)
π
class-wp-feed-cache-transient.php
(3.23 KB)
π
class-wp-feed-cache.php
(969 B)
π
class-wp-hook.php
(16.28 KB)
π
class-wp-http-cookie.php
(7.22 KB)
π
class-wp-http-curl.php
(12.95 KB)
π
class-wp-http-encoding.php
(6.53 KB)
π
class-wp-http-ixr-client.php
(3.42 KB)
π
class-wp-http-proxy.php
(5.84 KB)
π
class-wp-http-requests-hooks.php
(1.97 KB)
π
class-wp-http-requests-response.php
(4.3 KB)
π
class-wp-http-response.php
(2.91 KB)
π
class-wp-http-streams.php
(16.46 KB)
π
class-wp-http.php
(40.6 KB)
π
class-wp-image-editor-gd.php
(20.22 KB)
π
class-wp-image-editor-imagick.php
(36.11 KB)
π
class-wp-image-editor.php
(17.01 KB)
π
class-wp-list-util.php
(7.27 KB)
π
class-wp-locale-switcher.php
(6.62 KB)
π
class-wp-locale.php
(16.49 KB)
π
class-wp-matchesmapregex.php
(1.79 KB)
π
class-wp-meta-query.php
(29.82 KB)
π
class-wp-metadata-lazyloader.php
(6.67 KB)
π
class-wp-navigation-fallback.php
(8.98 KB)
π
class-wp-network-query.php
(19.42 KB)
π
class-wp-network.php
(12.01 KB)
π
class-wp-object-cache.php
(17.11 KB)
π
class-wp-oembed-controller.php
(6.74 KB)
π
class-wp-oembed.php
(30.93 KB)
π
class-wp-paused-extensions-storage.php
(4.99 KB)
π
class-wp-phpmailer.php
(4.25 KB)
π
class-wp-plugin-dependencies.php
(24.72 KB)
π
class-wp-post-type.php
(29.96 KB)
π
class-wp-post.php
(6.34 KB)
π
class-wp-query.php
(159.91 KB)
π
class-wp-recovery-mode-cookie-service.php
(6.72 KB)
π
class-wp-recovery-mode-email-service.php
(10.92 KB)
π
class-wp-recovery-mode-key-service.php
(4.77 KB)
π
class-wp-recovery-mode-link-service.php
(3.38 KB)
π
class-wp-recovery-mode.php
(11.18 KB)
π
class-wp-rewrite.php
(62.19 KB)
π
class-wp-role.php
(2.46 KB)
π
class-wp-roles.php
(9.17 KB)
π
class-wp-script-modules.php
(31.13 KB)
π
class-wp-scripts.php
(33.38 KB)
π
class-wp-session-tokens.php
(7.15 KB)
π
class-wp-simplepie-file.php
(3.47 KB)
π
class-wp-simplepie-sanitize-kses.php
(1.87 KB)
π
class-wp-site-query.php
(30.91 KB)
π
class-wp-site.php
(7.29 KB)
π
class-wp-speculation-rules.php
(7.35 KB)
π
class-wp-styles.php
(11.86 KB)
π
class-wp-tax-query.php
(19.12 KB)
π
class-wp-taxonomy.php
(18.12 KB)
π
class-wp-term-query.php
(39.99 KB)
π
class-wp-term.php
(5.17 KB)
π
class-wp-text-diff-renderer-inline.php
(979 B)
π
class-wp-text-diff-renderer-table.php
(18.44 KB)
π
class-wp-textdomain-registry.php
(10.24 KB)
π
class-wp-theme-json-data.php
(1.77 KB)
π
class-wp-theme-json-resolver.php
(34.9 KB)
π
class-wp-theme-json-schema.php
(7.19 KB)
π
class-wp-theme-json.php
(160.5 KB)
π
class-wp-theme.php
(64.27 KB)
π
class-wp-token-map.php
(27.95 KB)
π
class-wp-url-pattern-prefixer.php
(4.69 KB)
π
class-wp-user-meta-session-tokens.php
(2.94 KB)
π
class-wp-user-query.php
(43.13 KB)
π
class-wp-user-request.php
(2.25 KB)
π
class-wp-user.php
(22.5 KB)
π
class-wp-walker.php
(13.01 KB)
π
class-wp-widget-factory.php
(3.27 KB)
π
class-wp-widget.php
(18 KB)
π
class-wp-xmlrpc-server.php
(210.4 KB)
π
class-wp.php
(25.86 KB)
π
class-wpdb.php
(115.85 KB)
π
class.wp-dependencies.php
(373 B)
π
class.wp-scripts.php
(343 B)
π
class.wp-styles.php
(338 B)
π
comment-template.php
(100.73 KB)
π
comment.php
(130.93 KB)
π
compat-utf8.php
(19.1 KB)
π
compat.php
(17.41 KB)
π
cron.php
(41.98 KB)
π
css
π
customize
π
date.php
(400 B)
π
default-constants.php
(11.1 KB)
π
default-filters.php
(37.02 KB)
π
default-widgets.php
(2.24 KB)
π
deprecated.php
(188.13 KB)
π
embed-template.php
(338 B)
π
embed.php
(38 KB)
π
error-protection.php
(4.02 KB)
π
error_log
(4.25 KB)
π
feed-atom-comments.php
(5.38 KB)
π
feed-atom.php
(3.05 KB)
π
feed-rdf.php
(2.61 KB)
π
feed-rss.php
(1.16 KB)
π
feed-rss2-comments.php
(4.04 KB)
π
feed-rss2.php
(3.71 KB)
π
feed.php
(23.03 KB)
π
fonts
π
fonts.php
(9.56 KB)
π
formatting.php
(346.43 KB)
π
functions.php
(281.84 KB)
π
functions.wp-scripts.php
(14.95 KB)
π
functions.wp-styles.php
(8.44 KB)
π
general-template.php
(168.95 KB)
π
global-styles-and-settings.php
(20.71 KB)
π
html-api
π
http.php
(25.27 KB)
π
https-detection.php
(5.72 KB)
π
https-migration.php
(4.63 KB)
π
images
π
interactivity-api
π
js
π
kses.php
(81.72 KB)
π
l10n
π
l10n.php
(67.18 KB)
π
link-template.php
(156.36 KB)
π
load.php
(55.19 KB)
π
locale.php
(162 B)
π
media-template.php
(61.72 KB)
π
media.php
(216 KB)
π
meta.php
(65 KB)
π
ms-blogs.php
(25.24 KB)
π
ms-default-constants.php
(4.81 KB)
π
ms-default-filters.php
(6.48 KB)
π
ms-deprecated.php
(21.25 KB)
π
ms-files.php
(2.79 KB)
π
ms-functions.php
(89.69 KB)
π
ms-load.php
(19.42 KB)
π
ms-network.php
(3.69 KB)
π
ms-settings.php
(4.11 KB)
π
ms-site.php
(40.74 KB)
π
nav-menu-template.php
(25.38 KB)
π
nav-menu.php
(43.33 KB)
π
option.php
(102.57 KB)
π
php-compat
π
pluggable-deprecated.php
(6.18 KB)
π
pluggable.php
(124.45 KB)
π
plugin.php
(35.65 KB)
π
pomo
π
post-formats.php
(6.94 KB)
π
post-template.php
(67.04 KB)
π
post-thumbnail-template.php
(10.62 KB)
π
post.php
(289.13 KB)
π
query.php
(36.23 KB)
π
registration-functions.php
(200 B)
π
registration.php
(200 B)
π
rest-api
π
rest-api.php
(98.29 KB)
π
revision.php
(30.02 KB)
π
rewrite.php
(19.03 KB)
π
robots-template.php
(5.06 KB)
π
rss-functions.php
(255 B)
π
rss.php
(22.66 KB)
π
script-loader.php
(150.38 KB)
π
script-modules.php
(9.68 KB)
π
session.php
(258 B)
π
shortcodes.php
(23.49 KB)
π
sitemaps
π
sitemaps.php
(3.16 KB)
π
sodium_compat
π
speculative-loading.php
(8.4 KB)
π
spl-autoload-compat.php
(441 B)
π
style-engine
π
style-engine.php
(7.39 KB)
π
taxonomy.php
(172.91 KB)
π
template-canvas.php
(544 B)
π
template-loader.php
(3.84 KB)
π
template.php
(35.97 KB)
π
theme-compat
π
theme-i18n.json
(1.49 KB)
π
theme-previews.php
(2.84 KB)
π
theme-templates.php
(6.09 KB)
π
theme.json
(8.71 KB)
π
theme.php
(131.84 KB)
π
update.php
(37.45 KB)
π
user.php
(173.89 KB)
π
utf8.php
(7.09 KB)
π
vars.php
(6.41 KB)
π
version.php
(1.08 KB)
π
widgets
π
widgets.php
(69.46 KB)
π
wp-db.php
(445 B)
π
wp-diff.php
(799 B)
Editing: utf8.php
<?php if ( extension_loaded( 'mbstring' ) ) : /** * Determines if a given byte string represents a valid UTF-8 encoding. * * Note that itβs unlikely for non-UTF-8 data to validate as UTF-8, but * it is still possible. Many texts are simultaneously valid UTF-8, * valid US-ASCII, and valid ISO-8859-1 (`latin1`). * * Example: * * true === wp_is_valid_utf8( '' ); * true === wp_is_valid_utf8( 'just a test' ); * true === wp_is_valid_utf8( "\xE2\x9C\x8F" ); // Pencil, U+270F. * true === wp_is_valid_utf8( "\u{270F}" ); // Pencil, U+270F. * true === wp_is_valid_utf8( 'β' ); // Pencil, U+270F. * * false === wp_is_valid_utf8( "just \xC0 test" ); // Invalid bytes. * false === wp_is_valid_utf8( "\xE2\x9C" ); // Invalid/incomplete sequences. * false === wp_is_valid_utf8( "\xC1\xBF" ); // Overlong sequences. * false === wp_is_valid_utf8( "\xED\xB0\x80" ); // Surrogate halves. * false === wp_is_valid_utf8( "B\xFCch" ); // ISO-8859-1 high-bytes. * // E.g. The βΓΌβ in ISO-8859-1 is a single byte 0xFC, * // but in UTF-8 is the two-byte sequence 0xC3 0xBC. * * A βvalidβ string consists of βwell-formed UTF-8 code unit sequence[s],β meaning * that the bytes conform to the UTF-8 encoding scheme, all characters use the minimal * byte sequence required by UTF-8, and that no sequence encodes a UTF-16 surrogate * code point or any character above the representable range. * * @see https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-3/#G32860 * * @since 6.9.0 * * @param string $bytes String which might contain text encoded as UTF-8. * @return bool Whether the provided bytes can decode as valid UTF-8. */ function wp_is_valid_utf8( string $bytes ): bool { return mb_check_encoding( $bytes, 'UTF-8' ); } else : /** * Fallback function for validating UTF-8. * * @ignore * @private * * @since 6.9.0 */ function wp_is_valid_utf8( string $string ): bool { return _wp_is_valid_utf8_fallback( $string ); } endif; if ( extension_loaded( 'mbstring' ) && // Maximal subpart substitution introduced by php/php-src@04e59c916f12b322ac55f22314e31bd0176d01cb. version_compare( PHP_VERSION, '8.1.6', '>=' ) ) : /** * Replaces ill-formed UTF-8 byte sequences with the Unicode Replacement Character. * * Knowing what to do in the presence of text encoding issues can be complicated. * This function replaces invalid spans of bytes to neutralize any corruption that * may be there and prevent it from causing further problems downstream. * * However, itβs not always ideal to replace those bytes. In some settings it may * be best to leave the invalid bytes in the string so that downstream code can handle * them in a specific way. Replacing the bytes too early, like escaping for HTML too * early, can introduce other forms of corruption and data loss. * * When in doubt, use this function to replace spans of invalid bytes. * * Replacement follows the βmaximal subpartβ algorithm for secure and interoperable * strings. This can lead to sequences of multiple replacement characters in a row. * * Example: * * // Valid strings come through unchanged. * 'test' === wp_scrub_utf8( 'test' ); * * // Invalid sequences of bytes are replaced. * $invalid = "the byte \xC0 is never allowed in a UTF-8 string."; * "the byte \u{FFFD} is never allowed in a UTF-8 string." === wp_scrub_utf8( $invalid, true ); * 'the byte οΏ½ is never allowed in a UTF-8 string.' === wp_scrub_utf8( $invalid, true ); * * // Maximal subparts are replaced individually. * '.οΏ½.' === wp_scrub_utf8( ".\xC0." ); // C0 is never valid. * '.οΏ½.' === wp_scrub_utf8( ".\xE2\x8C." ); // Missing A3 at end. * '.οΏ½οΏ½.' === wp_scrub_utf8( ".\xE2\x8C\xE2\x8C." ); // Maximal subparts replaced separately. * '.οΏ½οΏ½.' === wp_scrub_utf8( ".\xC1\xBF." ); // Overlong sequence. * '.οΏ½οΏ½οΏ½.' === wp_scrub_utf8( ".\xED\xA0\x80." ); // Surrogate half. * * Note! The Unicode Replacement Character is itself a Unicode character (U+FFFD). * Once a span of invalid bytes has been replaced by one, it will not be possible * to know whether the replacement character was originally intended to be there * or if it is the result of scrubbing bytes. It is ideal to leave replacement for * display only, but some contexts (e.g. generating XML or passing data into a * large language model) require valid input strings. * * @since 6.9.0 * * @see https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-5/#G40630 * * @param string $text String which is assumed to be UTF-8 but may contain invalid sequences of bytes. * @return string Input text with invalid sequences of bytes replaced with the Unicode replacement character. */ function wp_scrub_utf8( $text ) { /* * While it looks like setting the substitute character could fail, * the internal PHP code will never fail when provided a valid * code point as a number. In this case, thereβs no need to check * its return value to see if it succeeded. */ $prev_replacement_character = mb_substitute_character(); mb_substitute_character( 0xFFFD ); $scrubbed = mb_scrub( $text, 'UTF-8' ); mb_substitute_character( $prev_replacement_character ); return $scrubbed; } else : /** * Fallback function for scrubbing UTF-8. * * @ignore * @private * * @since 6.9.0 */ function wp_scrub_utf8( $text ) { return _wp_scrub_utf8_fallback( $text ); } endif; if ( _wp_can_use_pcre_u() ) : /** * Returns whether the given string contains Unicode noncharacters. * * XML recommends against using noncharacters and HTML forbids their * use in attribute names. Unicode recommends that they not be used * in open exchange of data. * * Noncharacters are code points within the following ranges: * - U+FDD0βU+FDEF * - U+FFFEβU+FFFF * - U+1FFFE, U+1FFFF, U+2FFFE, U+2FFFF, β¦, U+10FFFE, U+10FFFF * * @see https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-23/#G12612 * @see https://www.w3.org/TR/xml/#charsets * @see https://html.spec.whatwg.org/#attributes-2 * * @since 6.9.0 * * @param string $text Are there noncharacters in this string? * @return bool Whether noncharacters were found in the string. */ function wp_has_noncharacters( string $text ): bool { return 1 === preg_match( '/[\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]/u', $text ); } else : /** * Fallback function for detecting noncharacters in a text. * * @ignore * @private * * @since 6.9.0 */ function wp_has_noncharacters( string $text ): bool { return _wp_has_noncharacters_fallback( $text ); } endif;
Upload File
Create Folder