WordPress/wp-includes
Scott Taylor 8c39368644 Optimize the wptexturize() loop:
* Take the ampersand pattern out of the loop for speed.
* Fix old bugs in the ampersand pattern.
* Refactor `_wptexturize_pushpop_element()` without PCRE for speed.
* Update unit tests.

Props miqrogroove.
Fixes #28623.

Built from https://develop.svn.wordpress.org/trunk@28831


git-svn-id: http://core.svn.wordpress.org/trunk@28635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-25 17:49:14 +00:00
..
certificates WP_HTTP: Update the Root Certificate bundle used for SSL communication by WP_HTTP. 2014-02-27 02:33:14 +00:00
css Fix the layout of the Image Details modal, props gcorne, see #24716 [28682] 2014-06-11 00:23:14 +00:00
fonts Update Dashicons. 2014-04-07 17:52:16 +00:00
ID3
images Edit Image modal: 2014-03-27 22:41:14 +00:00
js wpLink: support whole URLs including query/fragment when pre-filling the URL field. Fixes #19992 2014-06-25 00:37:15 +00:00
pomo Introduce a binary-safe wrapper for strlen() and use it in seems_utf8(), utf8_uri_encode(), and wp_read_image_metadata(). 2014-06-23 14:48:14 +00:00
SimplePie
Text
theme-compat Eliminate use of extract() in wp-includes/theme-compat/comments-popup.php. 2014-05-13 04:40:16 +00:00
admin-bar.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
atomlib.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
author-template.php Eliminate use of extract() in wp_list_authors(). 2014-05-13 06:02:14 +00:00
bookmark-template.php In wp_list_bookmarks(), $categorize should now be $r['categorize]. 2014-05-19 05:11:14 +00:00
bookmark.php Replace all uses of like_escape() with $wpdb->esc_like(). 2014-06-10 00:44:15 +00:00
cache.php Classes that have __set() also need __isset() and __unset(). 2014-05-19 06:52:14 +00:00
canonical.php Replace all uses of like_escape() with $wpdb->esc_like(). 2014-06-10 00:44:15 +00:00
capabilities.php These functions import $wpdb but do not use it. 2014-05-22 17:37:14 +00:00
category-template.php Cleanup for switch statements: 2014-05-30 17:58:15 +00:00
category.php Deprecate get_all_category_ids(). Suggest get_terms() as a replacement. 2014-06-05 16:25:14 +00:00
class-feed.php Add access modifiers to methods/members in WP_Feed_Cache, WP_SimplePie_File, and WP_Feed_Cache_Transient. 2014-05-19 05:27:15 +00:00
class-http.php Add access modifier to methods of HTTP classes. There are no new private or protected methods, so no need for __call(). 2014-05-19 05:34:15 +00:00
class-IXR.php Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. 2014-03-15 05:01:14 +00:00
class-json.php
class-oembed.php Merge two Animoto oEmbed patterns. 2014-06-24 15:56:14 +00:00
class-phpass.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-phpmailer.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
class-pop3.php
class-simplepie.php hackificator complains if you call include 'file.php' without the parens, needs to be include( 'file.php' ) 2014-05-18 20:52:15 +00:00
class-smtp.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
class-snoopy.php
class-wp-admin-bar.php In wp-includes/class-wp-admin-bar.php, break is unreachabled after return. 2014-05-06 18:29:15 +00:00
class-wp-ajax-response.php Classes that have __set() also need __isset() and __unset(). 2014-05-19 06:52:14 +00:00
class-wp-customize-control.php Add missing access modifiers to methods/members in WP_Customize_*. 2014-05-19 05:45:16 +00:00
class-wp-customize-manager.php In WP_Customize_Manager::register_controls(), $menu_locations is set and never used. 2014-05-22 19:01:15 +00:00
class-wp-customize-section.php Allow for easier adding of custom class variables when extending WP_Customize_Section or WP_Customize_Setting. 2014-06-24 22:56:14 +00:00
class-wp-customize-setting.php Allow for easier adding of custom class variables when extending WP_Customize_Section or WP_Customize_Setting. 2014-06-24 22:56:14 +00:00
class-wp-customize-widgets.php Widgets: Remove create_function() from the customizer class. 2014-04-16 00:11:35 +00:00
class-wp-editor.php TinyMCE: update to 4.0.26. Includes fixes for the 'paste' plugin (paste from Word/Excel, paste in WebKit/Blink), show/hide/isHidden in inline mode, drag/drop in tables and in Safari, and others. Fixes #28342, #28016, #28250 and #28067 2014-05-24 01:44:15 +00:00
class-wp-embed.php Read the src attribute for the [embed] shortcode if the shortcode's body is empty. 2014-05-23 18:06:13 +00:00
class-wp-error.php Improve inline documentation for the __construct() and add() methods in WP_Error class. 2014-06-04 06:06:14 +00:00
class-wp-http-ixr-client.php Add access modifiers to methods/members in WP_HTTP_IXR_Client. 2014-05-19 05:51:15 +00:00
class-wp-image-editor-gd.php In WP_Image_Editor_GD::_save(), pass $compression_level into the args array for ->make_image(). 2014-05-30 20:06:14 +00:00
class-wp-image-editor-imagick.php Add missing access modifiers to methods/members in WP_Image_Editor_* classes. 2014-05-19 05:53:14 +00:00
class-wp-image-editor.php In WP_Image_Editor::get_output_format(), $file_mime and $file_ext are set twice before they are used. 2014-05-06 18:37:29 +00:00
class-wp-theme.php Remove redundant 'Visit author homepage' title attributes for plugins and themes. 2014-06-05 04:52:16 +00:00
class-wp-walker.php Ensure that a has_children parameter is given to Walker::start_el(). 2014-06-24 17:06:14 +00:00
class-wp-xmlrpc-server.php Replace all uses of like_escape() with $wpdb->esc_like(). 2014-06-10 00:44:15 +00:00
class-wp.php Classes that have __set() also need __isset() and __unset(). 2014-05-19 06:52:14 +00:00
class.wp-dependencies.php Add missing access modifiers to methods in WP_Dependencies and _WP_Dependency. 2014-05-19 06:14:14 +00:00
class.wp-scripts.php Add missing access modifiers to methods in WP_Scripts and WP_Styles. 2014-05-19 06:17:14 +00:00
class.wp-styles.php Add missing access modifiers to methods in WP_Scripts and WP_Styles. 2014-05-19 06:17:14 +00:00
comment-template.php Ensure that a has_children parameter is given to Walker::start_el(). 2014-06-24 17:06:14 +00:00
comment.php Don't use variable variables in WP_Comment_Query::query(). 2014-06-11 17:58:14 +00:00
compat.php
cron.php Remove SSL verification by default for requests to wp-cron.php. Props sivel, rhurling. Fixes #12609. 2014-06-19 22:53:19 +00:00
date.php WP_Date_Query was only missing one access modifier. 2014-05-19 17:30:17 +00:00
default-constants.php Force SSL admin when siteurl is explicitly configured with HTTPS. 2014-06-05 14:09:18 +00:00
default-filters.php Allow for custom authentication handlers for all requests. 2014-03-09 15:23:15 +00:00
default-widgets.php Cleanup wp_widget_rss_form() after [28734]. "$$input used sanitized variables which contained actual values, unlike $inputs[$input] which in that context contains data about which input fields are hidden." 2014-06-20 17:29:14 +00:00
deprecated.php LIKE escape sanity: 2014-06-10 00:30:15 +00:00
feed-atom-comments.php Inline documentation for hooks in wp-includes/feed-atom-comments.php. 2013-12-21 20:22:12 +00:00
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php Where a filter no longer exists, it need not be notated. 2014-05-06 05:38:15 +00:00
formatting.php Optimize the wptexturize() loop: 2014-06-25 17:49:14 +00:00
functions.php Remove mbstring_binary_safe_strlen(). Use mbstring_binary_safe_encoding() and reset_mbstring_encoding() directly. 2014-06-23 22:21:15 +00:00
functions.wp-scripts.php
functions.wp-styles.php Inline documentation for hooks in wp-includes/functions.wp-styles.php. 2013-10-27 17:59:09 +00:00
general-template.php Cleanup after [28671]: 2014-06-20 17:12:15 +00:00
http.php Remove by-reference modifiers from arguments in wp_remote_retrieve_* functions. 2014-05-05 18:46:15 +00:00
kses.php Inline documentation for hooks in wp-includes/kses.php. 2014-03-26 14:57:15 +00:00
l10n.php Allow a language to be chosen before installing WordPress. First pass. 2014-06-18 19:58:15 +00:00
link-template.php Don't generate adjacent links in wp_head() for attachments. 2014-06-18 00:05:16 +00:00
load.php Improve inline documentation for wp-includes/load.php. 2014-06-04 04:12:17 +00:00
locale.php
media-template.php Use the proper height property when calculating video size in wp_underscore_video_template(). 2014-06-23 20:35:18 +00:00
media.php Grid view for the media library, first pass. This is alpha; expect imperfection. We will be iterating further. 2014-06-05 22:01:18 +00:00
meta.php Replace all uses of like_escape() with $wpdb->esc_like(). 2014-06-10 00:44:15 +00:00
ms-blogs.php Fix the return description for switch_to_blog() to reflect that it always returns true. 2014-03-02 04:41:15 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php Theme compat: Move <head profile> to <link>. 2014-03-25 17:22:15 +00:00
ms-files.php
ms-functions.php In is_user_option_local(), $user_id is set conditionally, but never used. 2014-05-22 19:18:14 +00:00
ms-load.php Replace all uses of like_escape() with $wpdb->esc_like(). 2014-06-10 00:44:15 +00:00
ms-settings.php Multisite: Fix case sensitivity regressions in 3.9. 2014-05-06 05:24:14 +00:00
nav-menu-template.php When selecting a fallback menu in wp_nav_menu(), the "first" menu is retrieved from an unsorted query. When retrieving a fallback menu, pass array( 'orderby' => 'name' ) to wp_get_nav_menus() to return a menu consistently. 2014-06-24 17:25:15 +00:00
nav-menu.php Simplify the setting of $args['include'] in wp_get_nav_menu_items(). 2014-06-24 17:17:14 +00:00
option.php Improve inline documention for set_transient() and set_site_transient() to specify the 45- and 40-character limits for their respective transient name values. 2014-06-11 16:33:15 +00:00
pluggable-deprecated.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
pluggable.php Fix documentation for wp_create_nonce() which wrongly suggests these tokens are actually numbers used once. 2014-06-20 20:47:14 +00:00
plugin.php Add a missing @since 3.9.0 to the PHPDoc for wp_register_plugin_realpath(). 2014-04-07 21:34:14 +00:00
post-formats.php Allow has_post_format() to be used to check for any format. 2013-11-24 13:45:10 +00:00
post-template.php Prevent get_post_class() and get_body_class() from returning duplicate classes. 2014-06-17 15:18:16 +00:00
post-thumbnail-template.php Revert [27166]. 2014-03-26 18:43:14 +00:00
post.php Posts in the Trash should not drag attachment pages down with them. 2014-06-20 19:14:15 +00:00
query.php Don't kill an empty search query. 2014-06-23 13:34:15 +00:00
registration-functions.php
registration.php
revision.php Ensure $post_id is documented as optional where applicable. 2014-06-03 04:44:16 +00:00
rewrite.php WP_Query was only missing one access modifier. 2014-05-19 17:41:13 +00:00
rss-functions.php
rss.php
script-loader.php Fix MediaElement i18n. 2014-06-22 14:16:14 +00:00
shortcodes.php Update the inline docs for add_shortcode() to eliminate suggestion to use extract(). 2014-05-15 03:28:15 +00:00
taxonomy.php Correct @return value for term_exists(). 2014-06-14 14:57:16 +00:00
template-loader.php
template.php Replaces all uses of TEMPLATEPATH and STYLESHEETPATH in core with get_template_directory() and get_stylesheet_directory(). 2014-05-23 20:12:15 +00:00
theme.php Replaces all uses of TEMPLATEPATH and STYLESHEETPATH in core with get_template_directory() and get_stylesheet_directory(). 2014-05-23 20:12:15 +00:00
update.php Use direct typecasting instead of intval() for better performance. 2014-06-24 16:06:14 +00:00
user.php Don't use variable variables in wp_insert_user(). 2014-06-11 18:21:14 +00:00
vars.php Update the wp-inclues/vars.php file header to include Nginx as a recognized web server. 2014-01-10 18:15:13 +00:00
version.php wpLink: support whole URLs including query/fragment when pre-filling the URL field. Fixes #19992 2014-06-25 00:37:15 +00:00
widgets.php Add public access modifier to methods/members of WP_Widget and WP_Widget_Factory. 2014-05-19 15:42:13 +00:00
wlwmanifest.xml The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
wp-db.php In $wpdb->update(), prevent explosions when $where is empty. 2014-06-24 00:24:14 +00:00
wp-diff.php Add access modifiers to WP_Text_Diff_Renderer_Table that are compatible with its parent class. Some of the inline docs suggest access that, if implemented, would produce fatal errors. 2014-05-19 15:23:14 +00:00