Commit Graph

  • 8b98406a17 Code Modernization: Remove unused dynamic property in Tests_WP_Customize_*. Sergey Biryukov 2022-08-07 14:20:02 +00:00
  • 350d5e4590 Code Modernization: Remove dynamic properties in Tests_POMO_PO. Sergey Biryukov 2022-08-07 13:56:35 +00:00
  • d6b46b9b99 Tests: Rename the test class for wp_preload_resources() tests. Sergey Biryukov 2022-08-06 00:03:01 +00:00
  • 3deb9e9520 Media: use original image size data for full size secondary mime generation. Adam Silverstein 2022-08-05 22:14:09 +00:00
  • 2615c4dc0c Media: correct a misnamed variable when creating sub sizes with multi_resize. Adam Silverstein 2022-08-05 18:56:25 +00:00
  • beabd7a8fb Script loader: enable resource preloading with rel='preload'. Adam Silverstein 2022-08-05 18:24:42 +00:00
  • 6b3a677ce2 Media: remove unused _wp_image_belongs_to_attachment function. Adam Silverstein 2022-08-05 16:10:52 +00:00
  • 39ade7e466 Plugins: Properly encode query string s parameter in plugin search. Jb Audras 2022-08-05 14:10:03 +00:00
  • 5abf5f6b61 Docs: Various docblock fixes in wp-admin/includes/image.php class, as per docs standards. Jb Audras 2022-08-05 14:05:20 +00:00
  • cc4a86d8bf Revisions: Use wp_get_latest_revision_id_and_total_count() where appropriate. Sergey Biryukov 2022-08-05 13:37:47 +00:00
  • 81805856e2 Revisions: Use latest_id as the array key for the latest revision ID. Sergey Biryukov 2022-08-05 13:00:57 +00:00
  • 60284ca751 Coding standards: Properly escape URLs returned by self_admin_url() calls. Jb Audras 2022-08-05 06:10:04 +00:00
  • ad03949f7b Coding standards: Properly escape URLs returned by self_admin_url() calls. Jb Audras 2022-08-05 05:58:01 +00:00
  • b96a51c529 Sitemaps: Prevent invalid provider names throwing errors. Peter Wilson 2022-08-05 05:47:56 +00:00
  • 193444426a Docs: Provide a more accurate @return type for get_pages() function. Jb Audras 2022-08-05 05:44:49 +00:00
  • 02c5d3a964 Tests: Combine test classes for get_edit_term_link() tests. Sergey Biryukov 2022-08-04 18:28:33 +00:00
  • 2c305659d3 Tests: Use named data provider for WP_Object_Cache::is_valid_key() test. Sergey Biryukov 2022-08-04 17:47:41 +00:00
  • 74c8b7f2de Tests: Add more test cases for WP_Object_Cache::is_valid_key(). Sergey Biryukov 2022-08-04 17:31:45 +00:00
  • d1b3e1cfd4 Tests: Correct data providers for get_term_link() and get_edit_term_link() tests. Sergey Biryukov 2022-08-04 17:18:36 +00:00
  • 13e076e6a4 Coding Standards: Reorder global cache groups alphabetically for some consistency. Sergey Biryukov 2022-08-04 16:27:02 +00:00
  • 87fc33105c Docs: Remove obsolete comment in object cache tests. Sergey Biryukov 2022-08-04 15:49:23 +00:00
  • 15b2748615 Tests: Move wp_cache_replace() test to a more appropriate place. Sergey Biryukov 2022-08-04 15:42:57 +00:00
  • 54106e0359 Tests: Remove the list of non-persistent groups in Memcached implementation used in the test suite. Sergey Biryukov 2022-08-04 15:37:15 +00:00
  • 0a35283aa3 Tests: Make the comment cache group persistent in WP_UnitTestCase_Base::flush_cache(). Sergey Biryukov 2022-08-04 15:16:32 +00:00
  • c47f438376 Docs: Various corrections and improvements to inline documentation. John Blackbourn 2022-08-04 14:50:27 +00:00
  • bd6f081030 Tests: Remove the list of global groups in Memcached implementation used in the test suite. Sergey Biryukov 2022-08-04 14:46:11 +00:00
  • e9fa9a56a8 Posts, Post Types: Change variable name in wp_set_post_terms() for clarity. Jonathan Desrosiers 2022-08-04 14:07:28 +00:00
  • 2fc936733e Tests: Simplify the list of global groups in object cache tests. Sergey Biryukov 2022-08-04 14:02:36 +00:00
  • 183bfc8b25 Coding Standards: Wrap long lines with global cache groups for better readability. Sergey Biryukov 2022-08-04 13:31:19 +00:00
  • dc0672616c Tests: Add a test case with a float value for WP_Object_Cache::is_valid_key(). Sergey Biryukov 2022-08-04 12:35:28 +00:00
  • a164d64275 Tests: Add a unit test for WP_Object_Cache::is_valid_key(). Sergey Biryukov 2022-08-04 12:09:03 +00:00
  • e6f7520266 Twenty Eleven: Remove a useless CSS comment after [53819]. Jb Audras 2022-08-03 17:15:04 +00:00
  • 1aa576b2a0 Twenty Eleven: Use more specific CSS selectors for .required styles. Jb Audras 2022-08-03 17:10:03 +00:00
  • ad93e6387c Cache API: Validate cache key in WP_Object_Cache methods. Sergey Biryukov 2022-08-03 14:34:58 +00:00
  • ec70b4caee Coding Standards: Remove extra space in two conditionals. Sergey Biryukov 2022-08-03 14:30:34 +00:00
  • 4def4f82a2 Site Health: Improve the wording in plugin and theme version tests. Sergey Biryukov 2022-08-03 13:07:05 +00:00
  • 66dba67484 Administration: Change default site tagline to an empty string. Jb Audras 2022-08-03 12:18:22 +00:00
  • b5b0c8e550 Docs: Use third-person singular verbs for function descriptions in WP_REST_Posts_Controller, as per docblocks standards. Jb Audras 2022-08-03 10:05:22 +00:00
  • 5dff1e8503 Posts, Post Types: Force unique slugs for draft posts. Jb Audras 2022-08-03 09:01:05 +00:00
  • 86fd171713 Database: Suppress errors when checking the validity of table prefix during installation. Sergey Biryukov 2022-08-02 16:33:00 +00:00
  • fd1e1f17eb Docs: Improve the description of param $list in wp_list_sort() docblock. Jb Audras 2022-08-02 14:48:51 +00:00
  • d91b7744f1 Date/Time: Increase test coverage of wp_date(). Peter Wilson 2022-08-01 22:48:42 +00:00
  • 10b2b084af Docs: Improve description for doing_filter() and doing_action(). Sergey Biryukov 2022-08-01 11:13:13 +00:00
  • 299ac4dbb9 Tests: Move the test for action callback representations to the general action tests file. Sergey Biryukov 2022-07-31 21:35:40 +00:00
  • 5849d4fafd Tests: Update a transients test to account for terminology changes in MockAction. Sergey Biryukov 2022-07-31 16:49:34 +00:00
  • cd7a7924cb Tests: Move the test for actions using closures to the general action tests file. Sergey Biryukov 2022-07-31 16:41:53 +00:00
  • ebd66f9aed Tests: Update the terminology used for action or filter names in MockAction class. Sergey Biryukov 2022-07-31 16:25:27 +00:00
  • 0ec5fb339b Tests: Update the terminology used for action or filter names in hook tests. Sergey Biryukov 2022-07-31 15:03:46 +00:00
  • 65e266ede6 Plugins: Introduce did_filter() function. Sergey Biryukov 2022-07-31 14:18:36 +00:00
  • 95efa62a7d Tests: Correct alignment in has_filter() unit test. Sergey Biryukov 2022-07-31 13:09:00 +00:00
  • 338c69ddb4 Coding Standards: Use more meaningful variables names in some Ajax functions. Sergey Biryukov 2022-07-30 15:14:34 +00:00
  • 6048dd6e58 Docs: Use more inclusive language in PHPCS configuration files. Sergey Biryukov 2022-07-30 14:08:13 +00:00
  • da50ef9aed Docs: Fix $feature parameter type in block_has_support(). Jb Audras 2022-07-30 14:07:55 +00:00
  • ac18fe8e15 Docs: Various docblock fixes in WP_Date_Query class, as per docs standards. Jb Audras 2022-07-30 13:59:15 +00:00
  • 19ee843e37 Twenty Twenty: Ensure comments section links are identifiable as links. Jb Audras 2022-07-29 20:24:24 +00:00
  • 0a126fd465 Comments: Improve accessibility of the "Logged in as" link in comment form. Jb Audras 2022-07-29 17:04:25 +00:00
  • 968dde1be6 Tests: Simplify some function calls in Tests_Media. Sergey Biryukov 2022-07-29 14:33:15 +00:00
  • 407f31951a Docs: Various docblock improvements in Importer Administration API, as per docs standards. Jb Audras 2022-07-29 09:20:30 +00:00
  • 6d5d482c72 Themes: Allow remote pattern registration in theme.json when core patterns are disabled. Jb Audras 2022-07-29 08:29:13 +00:00
  • 00a2b65eee Docs: Various docblock improvements in Export Administration API, as per docs standards. Jb Audras 2022-07-29 08:12:27 +00:00
  • a091693f9a Cron API: Modify _get_cron_array() to always return an array. Peter Wilson 2022-07-29 03:32:58 +00:00
  • 7b43b08dd5 Tests: Simplify some assertions in Tests_Media. Sergey Biryukov 2022-07-28 22:37:00 +00:00
  • 9f5935c2e8 Tests: Use named data providers in some wp_insert_post() tests. Sergey Biryukov 2022-07-27 16:27:18 +00:00
  • 5e2861c92d Tests: Don't unnecessarily randomize the post type in some wp_insert_post() tests. Sergey Biryukov 2022-07-27 16:07:20 +00:00
  • c52486b995 Tests: Don't unnecessarily set the author in some wp_insert_post() tests. Sergey Biryukov 2022-07-27 15:41:30 +00:00
  • a9c64ad629 Media: Add information about additional MIME type sources to attachments REST endpoints. Felix Arntz 2022-07-27 15:13:16 +00:00
  • 09808ef048 Tests: Move wp_insert_post() tests to their own file. Sergey Biryukov 2022-07-27 14:59:12 +00:00
  • 52f51f5cdf Site Editor: Pass correct context into get_block_categories Greg Ziółkowski 2022-07-27 12:25:06 +00:00
  • d5fe7bcf45 Tests: Move wp_publish_post() tests to their own file. Sergey Biryukov 2022-07-26 14:28:57 +00:00
  • 13e664a412 Tests: Bring some modernization to wp_insert_post() tests. Sergey Biryukov 2022-07-26 13:53:19 +00:00
  • 4ec275f552 Taxonomy: Allow filtering Ajax term search results in quick edit. Jb Audras 2022-07-26 13:21:55 +00:00
  • 1d020c1012 Docs: Improve parameter descriptions in render_block and render_block_* filters. Jb Audras 2022-07-26 12:58:11 +00:00
  • c3ff3dbfc4 Revisions: Update the "last revision" wording to "latest revision" in various files. Sergey Biryukov 2022-07-25 19:28:29 +00:00
  • ce154a4b66 Revisions: Rename the function for retrieving the latest revision ID and total count. Sergey Biryukov 2022-07-25 19:18:41 +00:00
  • e5bd74cad8 Media: Prevent URLs from overflowing their container in the media editor. Jb Audras 2022-07-25 18:09:26 +00:00
  • 0d7487bad9 Docs: Remove an obsolete function description in addslashes_gpc(). Jb Audras 2022-07-25 17:26:24 +00:00
  • 730a15cf3c Docs: Refine @return docblock mentions for esc_sql(), wp_slash() and wp_unslash(). Jb Audras 2022-07-25 15:41:10 +00:00
  • 36fcd57c91 Tests: Declare custom-logo theme support for custom logo tests. Sergey Biryukov 2022-07-25 13:46:23 +00:00
  • 4ed912c8c3 Tests: Add failure messages for site icon and custom logo tests. Sergey Biryukov 2022-07-25 13:31:24 +00:00
  • c1cf07e4e3 REST API: Prime post caches in comments endpoint. Peter Wilson 2022-07-25 02:51:29 +00:00
  • 6cbed78c94 Posts, Post Types: Check if the post type exists in wp_insert_post(). Sergey Biryukov 2022-07-24 13:24:44 +00:00
  • e2a45c0d8a Docs: List the expected type first in a few functions: Sergey Biryukov 2022-07-23 16:55:18 +00:00
  • 7e8feefd44 Revisions: Correct the function name for retrieving the last revision ID and total count. Sergey Biryukov 2022-07-23 15:40:10 +00:00
  • a560641179 Docs: Document that the $file_format parameter of metadata filters can be null. Sergey Biryukov 2022-07-23 15:04:03 +00:00
  • c937a1a305 Cache API: Make the placement of wp_cache_flush_group() more consistent. Sergey Biryukov 2022-07-23 14:56:51 +00:00
  • f0ddd2e2c2 Docs: Add function description and @since mention for get_upload_iframe_src(). Jb Audras 2022-07-23 08:58:42 +00:00
  • 6db7bb8dcf Docs: Fix indentation issues in wp_read_video_metadata and wp_read_audio_metadata docblocks. Jb Audras 2022-07-23 08:17:08 +00:00
  • ce00971ca1 Media: Allow filtering audio file metadata in wp_read_audio_metadata(). Jb Audras 2022-07-23 08:11:51 +00:00
  • 40768e4ebe Cache API: Add wp_cache_flush_group function. Jonny Harris 2022-07-22 20:50:31 +00:00
  • bd151a9048 Bundled Themes: Update NPM dependencies for Twenty Twenty and Twenty Nineteen. Jonathan Desrosiers 2022-07-22 17:09:05 +00:00
  • f3339e91be Twenty Twenty-One: Update NPM dependencies. Jonathan Desrosiers 2022-07-22 16:40:50 +00:00
  • b7bae6936a REST API: Avoid unnecessarily preparing item links. Jonny Harris 2022-07-22 13:58:46 +00:00
  • 3506684f2a REST API: Use wp_get_lastest_revision_id_and_total_count function in WP_REST_Posts_Controller class. Jonny Harris 2022-07-22 13:22:04 +00:00
  • e822a9a209 Administration: Correct the escaping in documentation lookup for plugin and theme editor. Sergey Biryukov 2022-07-22 11:31:27 +00:00
  • b3b2758455 Docs: Provide a more accurate description for wp_is_theme_directory_ignored(). Jb Audras 2022-07-22 07:16:27 +00:00
  • 334c3ca59d Coding Standards: Use __DIR__ instead of ABSPATH in wp-db.php. Sergey Biryukov 2022-07-21 22:43:24 +00:00
  • 1bcb9808c9 Coding Standards: Check if the _deprecated_file() function exists in wp-db.php. Sergey Biryukov 2022-07-21 21:37:03 +00:00
  • 1d5d9e24c4 Formatting: Normalize to Unicode NFC encoding before converting accent characters in remove_accents(). Jb Audras 2022-07-21 21:09:56 +00:00
  • ae757491f5 Upgrade/Install: track php extensions and image library support for WebP and AVIF. Adam Silverstein 2022-07-21 20:20:52 +00:00
  • e25668d086 Application Passwords: Link a more accurate documentation page in User profile edit screen. Jb Audras 2022-07-21 19:30:21 +00:00