WordPress/wp-includes
Peter Wilson 0d0634dbc9 Formatting: Improve parenthesis handling in make_clickable().
Improve the regular expression for making links clickable to account for parenthesis in links containing an extension, for example: `http://wordpress.org/my-image(2).jpg`.

Props coquardcyr, hellofromtonya, parthvataliya, rhellewellgmailcom.
Fixes #62037.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-09-30 23:29:13 +00:00
..
assets
block-bindings
block-patterns Editor: Deprecate "Social links with a shared background color" pattern. 2024-09-13 05:37:16 +00:00
block-supports Block Styles: Ensure unique classname generation for variations 2024-08-29 05:41:10 +00:00
blocks Editor: Allow registering PHP manifest file for block metadata collections for enhanced performance. 2024-09-30 17:08:26 +00:00
certificates HTTP: Remove the DST Root CA X3 certificate expired on September 30, 2021. 2021-10-03 17:51:06 +00:00
css Build/Test Tools: Update/Audit NPM dependencies. 2024-09-30 18:36:17 +00:00
customize
fonts Docs: Various docblock improvements. 2024-05-02 13:19:14 +00:00
html-api HTML API: Switch to HTML namespace when entering Integration Points. 2024-09-27 00:44:19 +00:00
ID3
images
interactivity-api Interactivity API: Add wp_interactivity_get_element() function. 2024-09-30 17:07:13 +00:00
IXR
js
l10n
php-compat Tests: Use a @requires annotation for readonly() function test. 2023-10-26 20:33:22 +00:00
PHPMailer External Libraries: Upgrade PHPMailer to version 6.9.1. 2023-11-26 19:27:25 +00:00
pomo
Requests External Libraries: Update the Requests library to version 2.0.11. 2024-03-25 12:23:08 +00:00
rest-api
SimplePie External Libraries: Correct the case for wp-includes/SimplePie/src/Gzdecode.php. 2024-09-30 23:27:19 +00:00
sitemaps
sodium_compat
style-engine Background: add background attachment support to theme.json styles 2024-07-31 02:41:16 +00:00
Text Code Modernization: Fix trigger_error() with E_USER_ERROR deprecation in Text_Diff_Op::reverse(). 2024-09-27 18:19:17 +00:00
theme-compat
widgets
admin-bar.php
atomlib.php Code Modernization: Remove xml_set_object() in AtomParser::parse(). 2024-09-18 21:20:15 +00:00
author-template.php Code Modernization: Correct fallback return value in get_the_author(). 2023-05-14 17:58:24 +00:00
block-bindings.php
block-editor.php
block-i18n.json
block-patterns.php
block-template-utils.php
block-template.php
blocks.php Editor: Allow registering PHP manifest file for block metadata collections for enhanced performance. 2024-09-30 17:08:26 +00:00
bookmark-template.php
bookmark.php
cache-compat.php
cache.php Cache API: Introduce wp_cache_supports() function. 2022-10-10 18:22:11 +00:00
canonical.php Docs: Correct inline comment formatting in redirect_canonical(). 2024-08-22 23:47:15 +00:00
capabilities.php
category-template.php
category.php
class-avif-info.php
class-feed.php
class-http.php General: Use WPINC as a shorter reference to wp-includes in some files. 2022-06-17 11:20:13 +00:00
class-IXR.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-json.php
class-oembed.php
class-phpass.php External Libraries: Update PHPass library. 2024-09-17 21:08:16 +00:00
class-phpmailer.php
class-pop3.php Bootstrap/Load: Ensure uses of set_time_limit are documented why. 2024-09-17 22:41:13 +00:00
class-requests.php
class-simplepie.php
class-smtp.php Mail: Make sure the SMTP class is only required once if a plugin requires wp-includes/class-smtp.php directly. 2021-01-26 13:45:57 +00:00
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php
class-walker-comment.php
class-walker-nav-menu.php
class-walker-page-dropdown.php Coding Standards: Restore more descriptive variable names in a few class methods. 2023-09-14 12:46:20 +00:00
class-walker-page.php
class-wp-admin-bar.php
class-wp-ajax-response.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-application-passwords.php
class-wp-block-bindings-registry.php Block Bindings: Adds context needed by sources during its processing 2024-09-23 12:35:15 +00:00
class-wp-block-bindings-source.php
class-wp-block-editor-context.php
class-wp-block-list.php Coding Standards: Correct equals sign alignment in various files. 2023-11-02 00:04:24 +00:00
class-wp-block-metadata-registry.php
class-wp-block-parser-block.php
class-wp-block-parser-frame.php
class-wp-block-parser.php Docs: Revert the documentation change to WP_Block_Parser::parse() made in [58084]. 2024-05-02 20:09:15 +00:00
class-wp-block-pattern-categories-registry.php
class-wp-block-patterns-registry.php Block Hooks: apply_block_hooks_to_content in Patterns, Templates. 2024-09-27 09:20:18 +00:00
class-wp-block-styles-registry.php Editor: Improve types in docblock after [58246]. 2024-05-30 08:54:07 +00:00
class-wp-block-supports.php
class-wp-block-template.php
class-wp-block-templates-registry.php
class-wp-block-type-registry.php
class-wp-block-type.php Docs: Various docblock corrections. 2024-05-02 00:01:09 +00:00
class-wp-block.php Block bindings: Ensure block receives __default bindings when render. 2024-09-26 14:51:18 +00:00
class-wp-classic-to-block-menu-converter.php
class-wp-comment-query.php Docs: Document $clauses associative array in *-clauses filters. 2024-06-21 17:26:14 +00:00
class-wp-comment.php
class-wp-customize-control.php Administration: A11y: Replace placeholders with visible labels. 2024-05-14 16:49:09 +00:00
class-wp-customize-manager.php Editor: Respect show_avatars option in block editor and Customizer. 2024-09-22 22:50:18 +00:00
class-wp-customize-nav-menus.php
class-wp-customize-panel.php
class-wp-customize-section.php Coding Standards: Correct spacing for spread operators. 2023-09-10 09:04:18 +00:00
class-wp-customize-setting.php
class-wp-customize-widgets.php
class-wp-date-query.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-dependencies.php Script Loader: Refactor Etag generation for concatenated assets. 2024-08-25 23:48:13 +00:00
class-wp-dependency.php
class-wp-duotone.php Docs: Add missing full stop in WP_Duotone class method DocBlocks. 2024-06-14 12:18:11 +00:00
class-wp-editor.php
class-wp-embed.php
class-wp-error.php Docs: Document default values for optional parameters in various DocBlocks. 2023-02-21 16:39:19 +00:00
class-wp-exception.php
class-wp-fatal-error-handler.php
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Plugins: Store result of call to array_keys, to save repeated calls in WP_Hook class. 2023-09-18 12:41:18 +00:00
class-wp-http-cookie.php
class-wp-http-curl.php
class-wp-http-encoding.php
class-wp-http-ixr-client.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-proxy.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
class-wp-http-requests-hooks.php
class-wp-http-requests-response.php Docs: Use US spelling and correct a typing mistake. 2023-10-11 07:05:25 +00:00
class-wp-http-response.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-streams.php
class-wp-http.php
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php Media: improve speed of AVIF image generation. 2024-09-17 23:29:29 +00:00
class-wp-image-editor.php Media: Automatically convert HEIC images to JPEG 2024-08-05 04:13:15 +00:00
class-wp-list-util.php
class-wp-locale-switcher.php I18N: Rename WP_Translation_Controller::instance() method to get_instance(). 2024-01-25 07:53:17 +00:00
class-wp-locale.php
class-wp-matchesmapregex.php
class-wp-meta-query.php
class-wp-metadata-lazyloader.php
class-wp-navigation-fallback.php Editor: Move wp_navigation schema updating to WP_Navigation_Fallback class. 2023-10-06 14:06:22 +00:00
class-wp-network-query.php
class-wp-network.php Networks and Sites: Set WP_Network properties via setters upon creation. 2024-09-13 22:12:15 +00:00
class-wp-object-cache.php Coding Standards: Remove unused return value for WP_Object_Cache::__set(). 2024-09-19 12:12:16 +00:00
class-wp-oembed-controller.php
class-wp-oembed.php Embeds: Remove SlideShare embed block variation. 2024-06-07 23:15:16 +00:00
class-wp-paused-extensions-storage.php
class-wp-plugin-dependencies.php
class-wp-post-type.php Posts, Post Types: Remove now obsolete hardcoded attachment check for autosave support. 2024-05-27 15:24:13 +00:00
class-wp-post.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-query.php
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php
class-wp-recovery-mode-key-service.php
class-wp-recovery-mode-link-service.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-recovery-mode.php Code Modernization: Replace usage of strpos() with str_starts_with(). 2023-05-02 15:45:22 +00:00
class-wp-rewrite.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:28:26 +00:00
class-wp-role.php
class-wp-roles.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
class-wp-script-modules.php Script Loader: Add @wordpress/a11y as a Script Module. 2024-09-25 16:51:16 +00:00
class-wp-scripts.php
class-wp-session-tokens.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-simplepie-file.php External Libraries: Update the SimplePie library to version 1.8.0. 2024-09-30 22:50:19 +00:00
class-wp-simplepie-sanitize-kses.php External Libraries: Update the SimplePie library to version 1.8.0. 2024-09-30 22:50:19 +00:00
class-wp-site-query.php Docs: Various docblock improvements and corrections. 2024-09-11 12:08:19 +00:00
class-wp-site.php
class-wp-styles.php Code Quality: Clarify variable names in dependency classes. 2024-08-10 23:00:14 +00:00
class-wp-tax-query.php
class-wp-taxonomy.php Docs: All sorts of improvements and corrections to function and hook docs. 2023-04-27 23:15:17 +00:00
class-wp-term-query.php
class-wp-term.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php
class-wp-textdomain-registry.php Docs: Fix docblock alignment for pre_get_language_files_from_path filter. 2024-06-28 08:51:16 +00:00
class-wp-theme-json-data.php
class-wp-theme-json-resolver.php Block themes: Enable block-level background image styles 2024-07-24 00:26:14 +00:00
class-wp-theme-json-schema.php Editor: code quality improvements for theme.json migrate API 2024-06-06 08:02:16 +00:00
class-wp-theme-json.php
class-wp-theme.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
class-wp-token-map.php HTML API: Add PHP type annotations. 2024-07-19 23:44:16 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Docs: Add a note that the who parameter in WP_User_Query is deprecated. 2024-05-19 19:53:19 +00:00
class-wp-user-request.php
class-wp-user.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-walker.php General: Cast $max_depth and $depth to an integer in the Walker class. 2024-07-26 07:56:13 +00:00
class-wp-widget-factory.php
class-wp-widget.php Coding Standards: Use strict comparison in wp-includes/class-wp-widget.php. 2023-08-25 01:28:16 +00:00
class-wp-xmlrpc-server.php
class-wp.php
class-wpdb.php Code Modernization: handle mysqli_ping() deprecation in wpdb::check_connection(). 2024-09-19 18:56:16 +00:00
class.wp-dependencies.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class.wp-scripts.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class.wp-styles.php
comment-template.php Comments: Only type cast a scalar $comment_id in get_comment_author_link(). 2024-07-25 22:38:16 +00:00
comment.php
compat.php Bootstrap/Load: Give more context and warning about editing compat.php. 2024-09-17 23:50:12 +00:00
cron.php
date.php General: Use WPINC as a shorter reference to wp-includes in some files. 2022-06-17 11:20:13 +00:00
default-constants.php
default-filters.php
default-widgets.php REST API: Add widget endpoints 2021-05-25 08:27:57 +00:00
deprecated.php Bootstrap/Load: Ensure uses of set_time_limit are documented why. 2024-09-17 22:41:13 +00:00
embed-template.php
embed.php Embeds: Add titles to alternate resource links for oEmbed and REST API. 2024-06-02 22:02:16 +00:00
error-protection.php Code Modernization: Replace usage of strpos() with str_starts_with(). 2023-05-02 15:45:22 +00:00
feed-atom-comments.php Docs: Document the $post global in comment feed templates. 2024-03-04 12:41:10 +00:00
feed-atom.php
feed-rdf.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php
fonts.php
formatting.php
functions.php
functions.wp-scripts.php Docs: Correct the placement of @global tags in various files. 2024-05-26 20:51:13 +00:00
functions.wp-styles.php
general-template.php Docs: Remove the @ignore tag for _wp_render_title_tag(). 2024-09-11 13:27:12 +00:00
global-styles-and-settings.php Block themes: Enable block-level background image styles 2024-07-24 00:26:14 +00:00
http.php
https-detection.php Security: remove the cron event that checked for https support. 2023-09-22 19:08:19 +00:00
https-migration.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 22:38:25 +00:00
kses.php
l10n.php
link-template.php Accessibility: Clarify aria-label in pagination links. 2024-09-28 23:36:13 +00:00
load.php
locale.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
media-template.php
media.php
meta.php Meta: Add label argument to register_meta function 2024-09-16 11:33:38 +00:00
ms-blogs.php
ms-default-constants.php
ms-default-filters.php Posts, Post Types: Pass the post object to _update_posts_count_on_delete(). 2023-02-24 01:23:20 +00:00
ms-deprecated.php Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
ms-files.php Coding Standards: Use strict comparison in wp-includes/ms-files.php. 2023-08-23 15:53:24 +00:00
ms-functions.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
ms-load.php
ms-network.php
ms-settings.php
ms-site.php Docs: Various docblock improvements and corrections. 2024-09-11 12:08:19 +00:00
nav-menu-template.php
nav-menu.php Menus: Check if taxonomy term exists in wp_update_nav_menu_item(). 2024-08-05 19:00:19 +00:00
option.php
pluggable-deprecated.php
pluggable.php I18N: Switch locale to admin locale when sending admin notifications. 2024-09-30 15:52:15 +00:00
plugin.php Docs: Mark apply_filters() third parameter $args as optional. 2023-06-08 07:54:22 +00:00
post-formats.php
post-template.php Docs: Correct documentation for the_password_form hook. 2024-08-03 18:32:14 +00:00
post-thumbnail-template.php Media: Introduce wp_get_attachment_image_context filter. 2023-05-17 18:31:24 +00:00
post.php
query.php
registration-functions.php
registration.php Coding Standards: Pass an empty string instead of null as the $replacement parameter to _deprecated_file(). 2020-11-12 11:17:07 +00:00
rest-api.php REST API: Allow posts to be published with a publication date of midnight 1970-01-01. 2024-09-17 23:24:12 +00:00
revision.php
rewrite.php
robots-template.php
rss-functions.php Feeds: Add an early exit when calling RSS functions directly. 2020-11-16 22:52:05 +00:00
rss.php
script-loader.php
script-modules.php
session.php
shortcodes.php
sitemaps.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
spl-autoload-compat.php Coding Standards: Pass an empty string instead of null as the $replacement parameter to _deprecated_file(). 2020-11-12 11:17:07 +00:00
style-engine.php Editor: add Style Engine support for nested CSS rules. 2024-05-03 04:47:12 +00:00
taxonomy.php Docs: Further clarify return results for a non-existing ID in metadata functions. 2024-09-01 18:30:16 +00:00
template-canvas.php Coding Standards: Remove redundant ignore annotations, take 4. 2023-10-01 00:22:27 +00:00
template-loader.php
template.php Themes: Use original template paths when switching blogs. 2024-02-21 19:26:08 +00:00
theme-i18n.json
theme-previews.php
theme-templates.php
theme.json
theme.php
update.php
user.php
vars.php Permalinks: Detect FrankenPHP web server support. 2024-04-04 13:40:06 +00:00
version.php Formatting: Improve parenthesis handling in make_clickable(). 2024-09-30 23:29:13 +00:00
widgets.php
wp-db.php
wp-diff.php