X7ROOT File Manager
Current Path:
/home/bloomi9/realworks1.com/landsale-ebook/wp-includes
home
/
bloomi9
/
realworks1.com
/
landsale-ebook
/
wp-includes
/
📁
..
📄
.htaccess
(206 B)
📁
ID3
📁
IXR
📁
PHPMailer
📁
Requests
📁
SimplePie
📁
Text
📄
admin-bar.php
(30.96 KB)
📁
assets
📄
atomlib.php
(11.59 KB)
📄
author-template.php
(16.62 KB)
📁
block-patterns
📄
block-patterns.php
(1.42 KB)
📁
blocks
📄
blocks.php
(25.26 KB)
📄
bookmark-template.php
(12.22 KB)
📄
bookmark.php
(14.78 KB)
📄
cache-compat.php
(1.02 KB)
📄
cache.php
(9.28 KB)
📄
canonical.php
(30.65 KB)
📄
capabilities.php
(33.98 KB)
📄
category-template.php
(53.63 KB)
📄
category.php
(12.41 KB)
📁
certificates
📄
class-IXR.php
(2.48 KB)
📄
class-feed.php
(529 B)
📄
class-http.php
(38.79 KB)
📄
class-json.php
(42.43 KB)
📄
class-oembed.php
(407 B)
📄
class-phpass.php
(7.15 KB)
📄
class-phpmailer.php
(664 B)
📄
class-pop3.php
(20.35 KB)
📄
class-requests.php
(29.14 KB)
📄
class-simplepie.php
(94.01 KB)
📄
class-smtp.php
(452 B)
📄
class-snoopy.php
(36.83 KB)
📄
class-walker-category-dropdown.php
(2.08 KB)
📄
class-walker-category.php
(7.69 KB)
📄
class-walker-comment.php
(13.37 KB)
📄
class-walker-nav-menu.php
(8.45 KB)
📄
class-walker-page-dropdown.php
(2.25 KB)
📄
class-walker-page.php
(6.88 KB)
📄
class-wp-admin-bar.php
(16.46 KB)
📄
class-wp-ajax-response.php
(5.12 KB)
📄
class-wp-block-list.php
(4.37 KB)
📄
class-wp-block-parser.php
(14.86 KB)
📄
class-wp-block-pattern-categories-registry.php
(4.08 KB)
📄
class-wp-block-patterns-registry.php
(4.37 KB)
📄
class-wp-block-styles-registry.php
(4.62 KB)
📄
class-wp-block-type-registry.php
(4.69 KB)
📄
class-wp-block-type.php
(5.88 KB)
📄
class-wp-block.php
(5.97 KB)
📄
class-wp-comment-query.php
(43.58 KB)
📄
class-wp-comment.php
(8.83 KB)
📄
class-wp-customize-control.php
(24.91 KB)
📄
class-wp-customize-manager.php
(196.37 KB)
📄
class-wp-customize-nav-menus.php
(55.47 KB)
📄
class-wp-customize-panel.php
(10.16 KB)
📄
class-wp-customize-section.php
(10.72 KB)
📄
class-wp-customize-setting.php
(29.03 KB)
📄
class-wp-customize-widgets.php
(65.46 KB)
📄
class-wp-date-query.php
(34.07 KB)
📄
class-wp-dependency.php
(2.45 KB)
📄
class-wp-editor.php
(68.93 KB)
📄
class-wp-embed.php
(15.42 KB)
📄
class-wp-error.php
(4.84 KB)
📄
class-wp-fatal-error-handler.php
(7.37 KB)
📄
class-wp-feed-cache-transient.php
(2.5 KB)
📄
class-wp-feed-cache.php
(749 B)
📄
class-wp-hook.php
(13.72 KB)
📄
class-wp-http-cookie.php
(7.02 KB)
📄
class-wp-http-curl.php
(12.06 KB)
📄
class-wp-http-encoding.php
(6.4 KB)
📄
class-wp-http-ixr-client.php
(3.39 KB)
📄
class-wp-http-proxy.php
(5.73 KB)
📄
class-wp-http-requests-hooks.php
(1.92 KB)
📄
class-wp-http-requests-response.php
(4.24 KB)
📄
class-wp-http-response.php
(2.88 KB)
📄
class-wp-http-streams.php
(15.73 KB)
📄
class-wp-image-editor-gd.php
(13.81 KB)
📄
class-wp-image-editor-imagick.php
(23.32 KB)
📄
class-wp-image-editor.php
(13.77 KB)
📄
class-wp-list-util.php
(6.46 KB)
📄
class-wp-locale-switcher.php
(4.9 KB)
📄
class-wp-locale.php
(13.59 KB)
📄
class-wp-matchesmapregex.php
(1.76 KB)
📄
class-wp-meta-query.php
(27.19 KB)
📄
class-wp-metadata-lazyloader.php
(5.26 KB)
📄
class-wp-network-query.php
(17.94 KB)
📄
class-wp-network.php
(12.09 KB)
📄
class-wp-object-cache.php
(13.22 KB)
📄
class-wp-oembed-controller.php
(6.63 KB)
📄
class-wp-oembed.php
(28.31 KB)
📄
class-wp-paused-extensions-storage.php
(4.81 KB)
📄
class-wp-post-type.php
(19.08 KB)
📄
class-wp-post.php
(6.29 KB)
📄
class-wp-query.php
(130.67 KB)
📄
class-wp-recovery-mode-cookie-service.php
(6.31 KB)
📄
class-wp-recovery-mode-email-service.php
(9.89 KB)
📄
class-wp-recovery-mode-key-service.php
(4.17 KB)
📄
class-wp-recovery-mode-link-service.php
(3.29 KB)
📄
class-wp-recovery-mode.php
(11.11 KB)
📄
class-wp-rewrite.php
(59.42 KB)
📄
class-wp-role.php
(2.44 KB)
📄
class-wp-roles.php
(8.23 KB)
📄
class-wp-session-tokens.php
(7.26 KB)
📄
class-wp-simplepie-file.php
(2.27 KB)
📄
class-wp-simplepie-sanitize-kses.php
(1.73 KB)
📄
class-wp-site-query.php
(27.88 KB)
📄
class-wp-site.php
(7.19 KB)
📄
class-wp-tax-query.php
(18.81 KB)
📄
class-wp-taxonomy.php
(12.28 KB)
📄
class-wp-term-query.php
(35.32 KB)
📄
class-wp-term.php
(5.14 KB)
📄
class-wp-text-diff-renderer-inline.php
(716 B)
📄
class-wp-text-diff-renderer-table.php
(16.48 KB)
📄
class-wp-theme.php
(49.53 KB)
📄
class-wp-user-meta-session-tokens.php
(2.92 KB)
📄
class-wp-user-query.php
(30.62 KB)
📄
class-wp-user-request.php
(2.14 KB)
📄
class-wp-user.php
(21.63 KB)
📄
class-wp-walker.php
(12.42 KB)
📄
class-wp-widget-factory.php
(2.56 KB)
📄
class-wp-widget.php
(17.49 KB)
📄
class-wp-xmlrpc-server.php
(205.52 KB)
📄
class-wp.php
(24.45 KB)
📄
class.wp-dependencies.php
(12.57 KB)
📄
class.wp-scripts.php
(18.04 KB)
📄
class.wp-styles.php
(10.62 KB)
📄
comment-template.php
(91.85 KB)
📄
comment.php
(122.28 KB)
📄
compat.php
(11.46 KB)
📄
cron.php
(32.06 KB)
📁
css
📁
customize
📄
date.php
(406 B)
📄
default-constants.php
(10.02 KB)
📄
default-filters.php
(26.14 KB)
📄
default-widgets.php
(2.07 KB)
📄
deprecated.php
(118.08 KB)
📄
embed-template.php
(341 B)
📄
embed.php
(46.47 KB)
📄
error-protection.php
(3.3 KB)
📄
feed-atom-comments.php
(5.32 KB)
📄
feed-atom.php
(3.03 KB)
📄
feed-rdf.php
(2.61 KB)
📄
feed-rss.php
(1.16 KB)
📄
feed-rss2-comments.php
(3.97 KB)
📄
feed-rss2.php
(3.71 KB)
📄
feed.php
(22.12 KB)
📁
fonts
📄
formatting.php
(303.19 KB)
📄
functions.php
(228.08 KB)
📄
functions.wp-scripts.php
(13.07 KB)
📄
functions.wp-styles.php
(8.11 KB)
📄
general-template.php
(153.99 KB)
📄
http.php
(21.86 KB)
📁
images
📁
js
📄
kses.php
(61.88 KB)
📄
l10n.php
(55.25 KB)
📄
link-template.php
(141.46 KB)
📄
load.php
(43.82 KB)
📄
locale.php
(162 B)
📄
media-template.php
(57.27 KB)
📄
media.php
(158.53 KB)
📄
meta.php
(58.17 KB)
📄
ms-blogs.php
(24.58 KB)
📄
ms-default-constants.php
(4.6 KB)
📄
ms-default-filters.php
(6.34 KB)
📄
ms-deprecated.php
(20.63 KB)
📄
ms-files.php
(2.58 KB)
📄
ms-functions.php
(88.26 KB)
📄
ms-load.php
(19.36 KB)
📄
ms-network.php
(3.57 KB)
📄
ms-settings.php
(4.03 KB)
📄
ms-site.php
(42.51 KB)
📄
nav-menu-template.php
(22.75 KB)
📄
nav-menu.php
(40.78 KB)
📄
option.php
(72.65 KB)
📄
pluggable-deprecated.php
(6.12 KB)
📄
pluggable.php
(99.8 KB)
📄
plugin.php
(31.66 KB)
📁
pomo
📄
post-formats.php
(6.91 KB)
📄
post-template.php
(61.93 KB)
📄
post-thumbnail-template.php
(9 KB)
📄
post.php
(243.87 KB)
📄
query.php
(34.69 KB)
📁
random_compat
📄
registration-functions.php
(202 B)
📄
registration.php
(202 B)
📁
rest-api
📄
rest-api.php
(65.77 KB)
📄
revision.php
(21.46 KB)
📄
rewrite.php
(17.65 KB)
📄
rss-functions.php
(211 B)
📄
rss.php
(22.44 KB)
📄
script-loader.php
(89.87 KB)
📄
session.php
(258 B)
📄
shortcodes.php
(20.91 KB)
📁
sitemaps
📄
sitemaps.php
(3.16 KB)
📁
sodium_compat
📄
spl-autoload-compat.php
(443 B)
📄
taxonomy.php
(158.32 KB)
📄
template-loader.php
(2.94 KB)
📄
template.php
(21.02 KB)
📁
theme-compat
📄
theme.php
(120.92 KB)
📄
update.php
(25.57 KB)
📄
user.php
(129.65 KB)
📄
vars.php
(5.68 KB)
📄
version.php
(766 B)
📁
widgets
📄
widgets.php
(57.72 KB)
📄
wlwmanifest.xml
(1.02 KB)
📄
wp-db.php
(103.12 KB)
📄
wp-diff.php
(647 B)
Editing: compat.php
<?php /** * WordPress implementation for PHP functions either missing from older PHP versions or not included by default. * * @package PHP * @access private */ // If gettext isn't available. if ( ! function_exists( '_' ) ) { function _( $string ) { return $string; } } /** * Returns whether PCRE/u (PCRE_UTF8 modifier) is available for use. * * @ignore * @since 4.2.2 * @access private * * @param bool $set - Used for testing only * null : default - get PCRE/u capability * false : Used for testing - return false for future calls to this function * 'reset': Used for testing - restore default behavior of this function */ function _wp_can_use_pcre_u( $set = null ) { static $utf8_pcre = 'reset'; if ( null !== $set ) { $utf8_pcre = $set; } if ( 'reset' === $utf8_pcre ) { // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged -- intentional error generated to detect PCRE/u support. $utf8_pcre = @preg_match( '/^./u', 'a' ); } return $utf8_pcre; } if ( ! function_exists( 'mb_substr' ) ) : /** * Compat function to mimic mb_substr(). * * @ignore * @since 3.2.0 * * @see _mb_substr() * * @param string $str The string to extract the substring from. * @param int $start Position to being extraction from in `$str`. * @param int|null $length Optional. Maximum number of characters to extract from `$str`. * Default null. * @param string|null $encoding Optional. Character encoding to use. Default null. * @return string Extracted substring. */ function mb_substr( $str, $start, $length = null, $encoding = null ) { return _mb_substr( $str, $start, $length, $encoding ); } endif; /** * Internal compat function to mimic mb_substr(). * * Only understands UTF-8 and 8bit. All other character sets will be treated as 8bit. * For $encoding === UTF-8, the $str input is expected to be a valid UTF-8 byte sequence. * The behavior of this function for invalid inputs is undefined. * * @ignore * @since 3.2.0 * * @param string $str The string to extract the substring from. * @param int $start Position to being extraction from in `$str`. * @param int|null $length Optional. Maximum number of characters to extract from `$str`. * Default null. * @param string|null $encoding Optional. Character encoding to use. Default null. * @return string Extracted substring. */ function _mb_substr( $str, $start, $length = null, $encoding = null ) { if ( null === $encoding ) { $encoding = get_option( 'blog_charset' ); } /* * The solution below works only for UTF-8, so in case of a different * charset just use built-in substr(). */ if ( ! in_array( $encoding, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ), true ) ) { return is_null( $length ) ? substr( $str, $start ) : substr( $str, $start, $length ); } if ( _wp_can_use_pcre_u() ) { // Use the regex unicode support to separate the UTF-8 characters into an array. preg_match_all( '/./us', $str, $match ); $chars = is_null( $length ) ? array_slice( $match[0], $start ) : array_slice( $match[0], $start, $length ); return implode( '', $chars ); } $regex = '/( [\x00-\x7F] # single-byte sequences 0xxxxxxx | [\xC2-\xDF][\x80-\xBF] # double-byte sequences 110xxxxx 10xxxxxx | \xE0[\xA0-\xBF][\x80-\xBF] # triple-byte sequences 1110xxxx 10xxxxxx * 2 | [\xE1-\xEC][\x80-\xBF]{2} | \xED[\x80-\x9F][\x80-\xBF] | [\xEE-\xEF][\x80-\xBF]{2} | \xF0[\x90-\xBF][\x80-\xBF]{2} # four-byte sequences 11110xxx 10xxxxxx * 3 | [\xF1-\xF3][\x80-\xBF]{3} | \xF4[\x80-\x8F][\x80-\xBF]{2} )/x'; // Start with 1 element instead of 0 since the first thing we do is pop. $chars = array( '' ); do { // We had some string left over from the last round, but we counted it in that last round. array_pop( $chars ); /* * Split by UTF-8 character, limit to 1000 characters (last array element will contain * the rest of the string). */ $pieces = preg_split( $regex, $str, 1000, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ); $chars = array_merge( $chars, $pieces ); // If there's anything left over, repeat the loop. } while ( count( $pieces ) > 1 && $str = array_pop( $pieces ) ); return join( '', array_slice( $chars, $start, $length ) ); } if ( ! function_exists( 'mb_strlen' ) ) : /** * Compat function to mimic mb_strlen(). * * @ignore * @since 4.2.0 * * @see _mb_strlen() * * @param string $str The string to retrieve the character length from. * @param string|null $encoding Optional. Character encoding to use. Default null. * @return int String length of `$str`. */ function mb_strlen( $str, $encoding = null ) { return _mb_strlen( $str, $encoding ); } endif; /** * Internal compat function to mimic mb_strlen(). * * Only understands UTF-8 and 8bit. All other character sets will be treated as 8bit. * For $encoding === UTF-8, the `$str` input is expected to be a valid UTF-8 byte * sequence. The behavior of this function for invalid inputs is undefined. * * @ignore * @since 4.2.0 * * @param string $str The string to retrieve the character length from. * @param string|null $encoding Optional. Character encoding to use. Default null. * @return int String length of `$str`. */ function _mb_strlen( $str, $encoding = null ) { if ( null === $encoding ) { $encoding = get_option( 'blog_charset' ); } /* * The solution below works only for UTF-8, so in case of a different charset * just use built-in strlen(). */ if ( ! in_array( $encoding, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ), true ) ) { return strlen( $str ); } if ( _wp_can_use_pcre_u() ) { // Use the regex unicode support to separate the UTF-8 characters into an array. preg_match_all( '/./us', $str, $match ); return count( $match[0] ); } $regex = '/(?: [\x00-\x7F] # single-byte sequences 0xxxxxxx | [\xC2-\xDF][\x80-\xBF] # double-byte sequences 110xxxxx 10xxxxxx | \xE0[\xA0-\xBF][\x80-\xBF] # triple-byte sequences 1110xxxx 10xxxxxx * 2 | [\xE1-\xEC][\x80-\xBF]{2} | \xED[\x80-\x9F][\x80-\xBF] | [\xEE-\xEF][\x80-\xBF]{2} | \xF0[\x90-\xBF][\x80-\xBF]{2} # four-byte sequences 11110xxx 10xxxxxx * 3 | [\xF1-\xF3][\x80-\xBF]{3} | \xF4[\x80-\x8F][\x80-\xBF]{2} )/x'; // Start at 1 instead of 0 since the first thing we do is decrement. $count = 1; do { // We had some string left over from the last round, but we counted it in that last round. $count--; /* * Split by UTF-8 character, limit to 1000 characters (last array element will contain * the rest of the string). */ $pieces = preg_split( $regex, $str, 1000 ); // Increment. $count += count( $pieces ); // If there's anything left over, repeat the loop. } while ( $str = array_pop( $pieces ) ); // Fencepost: preg_split() always returns one extra item in the array. return --$count; } if ( ! function_exists( 'hash_hmac' ) ) : /** * Compat function to mimic hash_hmac(). * * The Hash extension is bundled with PHP by default since PHP 5.1.2. * However, the extension may be explicitly disabled on select servers. * As of PHP 7.4.0, the Hash extension is a core PHP extension and can no * longer be disabled. * I.e. when PHP 7.4.0 becomes the minimum requirement, this polyfill * and the associated `_hash_hmac()` function can be safely removed. * * @ignore * @since 3.2.0 * * @see _hash_hmac() * * @param string $algo Hash algorithm. Accepts 'md5' or 'sha1'. * @param string $data Data to be hashed. * @param string $key Secret key to use for generating the hash. * @param bool $raw_output Optional. Whether to output raw binary data (true), * or lowercase hexits (false). Default false. * @return string|false The hash in output determined by `$raw_output`. False if `$algo` * is unknown or invalid. */ function hash_hmac( $algo, $data, $key, $raw_output = false ) { return _hash_hmac( $algo, $data, $key, $raw_output ); } endif; /** * Internal compat function to mimic hash_hmac(). * * @ignore * @since 3.2.0 * * @param string $algo Hash algorithm. Accepts 'md5' or 'sha1'. * @param string $data Data to be hashed. * @param string $key Secret key to use for generating the hash. * @param bool $raw_output Optional. Whether to output raw binary data (true), * or lowercase hexits (false). Default false. * @return string|false The hash in output determined by `$raw_output`. False if `$algo` * is unknown or invalid. */ function _hash_hmac( $algo, $data, $key, $raw_output = false ) { $packs = array( 'md5' => 'H32', 'sha1' => 'H40', ); if ( ! isset( $packs[ $algo ] ) ) { return false; } $pack = $packs[ $algo ]; if ( strlen( $key ) > 64 ) { $key = pack( $pack, $algo( $key ) ); } $key = str_pad( $key, 64, chr( 0 ) ); $ipad = ( substr( $key, 0, 64 ) ^ str_repeat( chr( 0x36 ), 64 ) ); $opad = ( substr( $key, 0, 64 ) ^ str_repeat( chr( 0x5C ), 64 ) ); $hmac = $algo( $opad . pack( $pack, $algo( $ipad . $data ) ) ); if ( $raw_output ) { return pack( $pack, $hmac ); } return $hmac; } if ( ! function_exists( 'hash_equals' ) ) : /** * Timing attack safe string comparison * * Compares two strings using the same time whether they're equal or not. * * Note: It can leak the length of a string when arguments of differing length are supplied. * * This function was added in PHP 5.6. * However, the Hash extension may be explicitly disabled on select servers. * As of PHP 7.4.0, the Hash extension is a core PHP extension and can no * longer be disabled. * I.e. when PHP 7.4.0 becomes the minimum requirement, this polyfill * can be safely removed. * * @since 3.9.2 * * @param string $a Expected string. * @param string $b Actual, user supplied, string. * @return bool Whether strings are equal. */ function hash_equals( $a, $b ) { $a_length = strlen( $a ); if ( strlen( $b ) !== $a_length ) { return false; } $result = 0; // Do not attempt to "optimize" this. for ( $i = 0; $i < $a_length; $i++ ) { $result |= ord( $a[ $i ] ) ^ ord( $b[ $i ] ); } return 0 === $result; } endif; // random_int() was introduced in PHP 7.0. if ( ! function_exists( 'random_int' ) ) { require ABSPATH . WPINC . '/random_compat/random.php'; } // sodium_crypto_box() was introduced in PHP 7.2. if ( ! function_exists( 'sodium_crypto_box' ) ) { require ABSPATH . WPINC . '/sodium_compat/autoload.php'; } if ( ! function_exists( 'is_countable' ) ) { /** * Polyfill for is_countable() function added in PHP 7.3. * * Verify that the content of a variable is an array or an object * implementing the Countable interface. * * @since 4.9.6 * * @param mixed $var The value to check. * @return bool True if `$var` is countable, false otherwise. */ function is_countable( $var ) { return ( is_array( $var ) || $var instanceof Countable || $var instanceof SimpleXMLElement || $var instanceof ResourceBundle ); } } if ( ! function_exists( 'is_iterable' ) ) { /** * Polyfill for is_iterable() function added in PHP 7.1. * * Verify that the content of a variable is an array or an object * implementing the Traversable interface. * * @since 4.9.6 * * @param mixed $var The value to check. * @return bool True if `$var` is iterable, false otherwise. */ function is_iterable( $var ) { return ( is_array( $var ) || $var instanceof Traversable ); } }
Upload File
Create Folder