Commit Graph

  • 2a10fc1e5b Widgets: Add a comment in WP_Nav_Menu_Widget::form() to clarify the esc_attr() usage. Sergey Biryukov 2022-07-01 19:59:38 +00:00
  • 8622af27bb Build/Test Tools: Remove an unused build configuration file. John Blackbourn 2022-07-01 19:54:22 +00:00
  • ddfc8e9f2e Build/Test Tools: Run the PHP container with PID > 1 so Ctrl+C works correctly. John Blackbourn 2022-07-01 19:35:47 +00:00
  • 5d67fe7d09 Taxonomy: Pass the $args parameter to all actions and filters in wp_insert_term() and wp_update_term(). John Blackbourn 2022-07-01 19:08:00 +00:00
  • e2bf96e4af Twenty Eleven: Replace deprecated function calls on theme options page. Sergey Biryukov 2022-07-01 14:25:00 +00:00
  • 28720264d8 Editor: Ensure only the main query is modified when resolving template for new posts. Sergey Biryukov 2022-06-30 15:46:06 +00:00
  • d45bfba3bc Build/Test Tools: Correct some GitHub Action workflow inline documentation. Jonathan Desrosiers 2022-06-30 15:07:49 +00:00
  • d75d6ca550 Build/Test Tools: Remove the workflow_run event from the Slack notification workflow. Jonathan Desrosiers 2022-06-30 14:05:29 +00:00
  • f1b3ce0902 REST API: Use the integer type for page_on_front and page_for_posts options. Sergey Biryukov 2022-06-29 14:15:57 +00:00
  • a0b53ac1db REST API: Add missing options to the settings endpoint. Sergey Biryukov 2022-06-29 13:46:37 +00:00
  • aaa4d1a4a7 Help/About: Typo correction in the Media Library help tab text. Jb Audras 2022-06-29 13:37:38 +00:00
  • 0abc2b2a5b Help/About: Add help tab info for available row actions in the Media Library. Jb Audras 2022-06-28 20:45:28 +00:00
  • 44871d68a2 Docs: Misc fixes in Shortcode API function and hook descriptions, as per documentation standards. Jb Audras 2022-06-28 20:35:45 +00:00
  • 911cc55368 Docs: Adjust some DocBlocks in wpdb per the documentation standards. Sergey Biryukov 2022-06-28 11:25:21 +00:00
  • a5b555aac3 Build/Test Tools: Update the actions/cache action. Jonathan Desrosiers 2022-06-27 19:23:45 +00:00
  • 6d9ede9285 Build/Test Tools: Update 3rd party GitHub Actions. Jonathan Desrosiers 2022-06-27 18:57:00 +00:00
  • 049b111254 Build/Test Tools: Update NPM devDependencies to their latest versions. Jonathan Desrosiers 2022-06-27 18:51:36 +00:00
  • b03466a79d General: Revert an earlier define of the WPINC constant in src/index.php. Sergey Biryukov 2022-06-27 10:18:44 +00:00
  • b6aabe46b7 Upgrade/Install: Add a conditional to facilitate testing of the Rollbacks feature project. Sergey Biryukov 2022-06-26 12:35:28 +00:00
  • c558823416 Tests: Remove multiple $wpdb::placeholder_escape() calls in wpdb tests. Sergey Biryukov 2022-06-25 14:43:27 +00:00
  • 2fa1194a75 Comments: Add contextual autocomplete attributes to comment form fields. David Baumwald 2022-06-24 21:24:18 +00:00
  • ac64f38b66 Database: Add %i placeholder support to $wpdb->prepare to escape table and column names. David Baumwald 2022-06-24 20:33:56 +00:00
  • 2ee3444874 Tests: Replace esc_url_raw() calls with sanitize_url(). Sergey Biryukov 2022-06-24 15:07:40 +00:00
  • 78c315dc00 Tests: Use more consistent wording when referring to PHP deprecation notices. Sergey Biryukov 2022-06-24 15:02:18 +00:00
  • 4621347494 Tests: Give the tests for adding empty post meta values more consistent names. Sergey Biryukov 2022-06-24 14:41:11 +00:00
  • c6ada508e6 Tests: Put @covers tags before @params in Ajax and Formatting groups. Sergey Biryukov 2022-06-24 14:18:20 +00:00
  • c5db33f82e Media: Use correct escaping function for URLs in some legacy media functions. Sergey Biryukov 2022-06-24 13:50:53 +00:00
  • ed2bf69b0f Editor: Add utility classnames back to blocks that have layout attributes specified. Sergey Biryukov 2022-06-23 23:07:11 +00:00
  • 10cfe4945c Application Passwords: Ensure long passwords don't break the "new password" notice. Jb Audras 2022-06-23 23:02:19 +00:00
  • b9c137ceab Docs: Use third-person singular verbs for function descriptions in Bookmark related files, as per docblock standards. Jb Audras 2022-06-23 22:55:41 +00:00
  • 984680b54e Tests: Correct the expected result for wp_ajax_replyto_comment() test with a draft post. Sergey Biryukov 2022-06-23 21:36:47 +00:00
  • 63560d16da Build/Test Tools: Add missing @covers tags and fix the docs for the Cron test group. Andrew Ozz 2022-06-23 20:41:22 +00:00
  • 4a2c11d4fe Build/Test Tools: Fix erroneous file name, from convertInvalidEntries.php to convertInvalidEntities.php. Andrew Ozz 2022-06-23 20:34:26 +00:00
  • 5a3f8484d6 Build/Test Tools, Formatting group: Andrew Ozz 2022-06-23 20:27:34 +00:00
  • db1b341dec Build/Test Tools: Add missing @covers tags for the AJAX test group. Andrew Ozz 2022-06-23 19:45:24 +00:00
  • 32ee6cb39e Themes: Add actions to template loading to assist with collecting debug info. John Blackbourn 2022-06-23 18:57:24 +00:00
  • 828d518988 Editor: Universalize functions for checking block editor status. Aaron Jorbin 2022-06-23 18:46:18 +00:00
  • 9f27d13efb Code Modernization: Remove dynamic properties in Tests_Media. Sergey Biryukov 2022-06-23 15:01:19 +00:00
  • bafecbeab5 Code Modernization: Remove dynamic properties in Tests_*_Slashes. Sergey Biryukov 2022-06-23 14:24:08 +00:00
  • 2c11931a4a Tests: Improve the test for sticky posts not being moved to the front in sitemaps. Sergey Biryukov 2022-06-22 16:50:14 +00:00
  • e7cafe6141 Code Modernization: Use the integer portion of an item position in add_submenu_page(). Sergey Biryukov 2022-06-22 14:53:49 +00:00
  • b2f9e67757 Build/Test Tools: Return an error when uploading a test coverage report fails. Jonathan Desrosiers 2022-06-22 00:18:42 +00:00
  • e902e52e95 Build/Test Tools: Allow changes to the code coverage workflow to run on pull request. Jonathan Desrosiers 2022-06-21 23:59:29 +00:00
  • c40b46525c Build/Test Tools: Configure Xdebug modes in the local Docker environment. Jonathan Desrosiers 2022-06-21 23:45:19 +00:00
  • af8255775b Docs: Add missing @since mention in get_posts_query_args(). Jb Audras 2022-06-21 13:46:29 +00:00
  • 74882538c1 Docs: Use third-person singular verbs for function descriptions in Tests_Sitemaps_wpSitemapsPosts, as per docblock standards. Jb Audras 2022-06-21 13:43:16 +00:00
  • dfcfe0b21d Posts, Post Types: Add caching to _find_post_by_old_slug and _find_post_by_old_date functions. Jonny Harris 2022-06-21 13:32:48 +00:00
  • d91e148452 Sitemaps: Remove duplicate sticky Posts from Sitemap Post Query. Jb Audras 2022-06-21 13:16:10 +00:00
  • a14324ca3a Docs: Improve documentation for WP_Image_Editor::save() and related functions. Sergey Biryukov 2022-06-21 11:16:09 +00:00
  • d27deea511 Docs: Correct the return type for wp_save_image_file(). Sergey Biryukov 2022-06-21 11:13:17 +00:00
  • 53372fd5be Tests: Move assertQueryTrue() closer to the other custom assertions in WP_UnitTestCase_Base. Sergey Biryukov 2022-06-21 11:12:02 +00:00
  • 40c4f11a81 REST API: Move all links to prepare_links method in theme REST API controller. Jonny Harris 2022-06-21 10:46:49 +00:00
  • 14a468294f I18N: Correct and improve inline docs and tests for functionality related to nooped plurals. John Blackbourn 2022-06-20 22:55:52 +00:00
  • 268015c02d Docs: Use third-person singular verbs for function descriptions in Tests_Image_Functions, per the documentation standards. Sergey Biryukov 2022-06-20 22:24:03 +00:00
  • a7f868f455 Tests: Further improve Tests_Image_Functions::test_wp_crop_image*() tests. Sergey Biryukov 2022-06-20 22:04:24 +00:00
  • 4e871a9cbd Embeds: Remove Meetup as an oEmbed source since the related endpoint has been deprecated. Jb Audras 2022-06-20 21:46:27 +00:00
  • dc385a9f47 Docs: Use third-person singular verbs for function descriptions in the Feed API, as per docblock standards. Jb Audras 2022-06-20 21:44:27 +00:00
  • 1ce3d79729 Tests: Improve Tests_Image_Functions::test_wp_crop_image*() tests. Sergey Biryukov 2022-06-20 21:35:03 +00:00
  • 1e48121fd6 Tests: Refactor Tests_Image_Functions::test_load_directory() to split the tests and use a data provider. Sergey Biryukov 2022-06-20 19:34:54 +00:00
  • 397b4e45f2 Tests: Always include the error message in assertNotWPError() and assertNotIXRError(). Sergey Biryukov 2022-06-20 17:27:15 +00:00
  • a649d58128 External Libraries: Upgrade PHPMailer to version 6.6.3. Sergey Biryukov 2022-06-20 15:02:32 +00:00
  • ebfc6cdc82 Build/Test Tools: Adjust Slack notifications logic to account for expected non push events. Jonathan Desrosiers 2022-06-20 14:58:45 +00:00
  • 3813f9b2ba Tests: Use consistent punctuation in failure messages in Tests_Image_Functions. Sergey Biryukov 2022-06-20 12:48:35 +00:00
  • 90caf2b35f Tests: Consistently check that an image was loaded in image saving tests. Sergey Biryukov 2022-06-19 17:26:52 +00:00
  • a1c9ddabbd Tests: Refactor Tests_Image_Functions::test_inferred_mime_types() to use a data provider. Sergey Biryukov 2022-06-19 17:10:48 +00:00
  • 342a457303 Tests: Refactor Tests_Image_Functions::test_mime_overrides_filename() to use a data provider. Sergey Biryukov 2022-06-19 16:51:49 +00:00
  • f9eae75f9f Tests: Refactor Tests_Image_Functions::test_wp_save_image_file() to use a data provider. Sergey Biryukov 2022-06-19 16:39:15 +00:00
  • 6b87f4f0d7 Tests: Reorder is_gd_image() test methods for consistency. Sergey Biryukov 2022-06-19 16:03:45 +00:00
  • b949c646db Tests: Rename some test methods in Tests_Image_Functions for consistency. Sergey Biryukov 2022-06-19 15:43:34 +00:00
  • d143e9420f Tests: Refactor Tests_Image_Functions::test_is_displayable_image_negative() to use a data provider. Sergey Biryukov 2022-06-19 15:34:21 +00:00
  • 2b9472a669 Tests: Refactor Tests_Image_Functions::test_is_displayable_image_positive() to use a data provider. Sergey Biryukov 2022-06-19 15:28:25 +00:00
  • e7a9d91020 Tests: Refactor Tests_Image_Functions::test_is_image_negative() to use a data provider. Sergey Biryukov 2022-06-19 15:19:17 +00:00
  • 4e0f290f2c Tests: Refactor Tests_Image_Functions::test_is_image_positive() to use a data provider. Sergey Biryukov 2022-06-19 15:13:16 +00:00
  • e44c94abc5 Tests: Move the filter_image_editor_output_format() helper method next to the test it's used in. Sergey Biryukov 2022-06-19 12:47:47 +00:00
  • 044f702a1c Tests: Add a helper method for for creating named data providers in WP_UnitTestCase_Base. Sergey Biryukov 2022-06-18 21:28:39 +00:00
  • 0fa05bacca Docs: Consistently declare the $wp_query global in link template functions. Sergey Biryukov 2022-06-18 15:36:20 +00:00
  • 8769fbec0d Coding Standards: Fix WPCS issue in [53518]. Sergey Biryukov 2022-06-17 11:31:49 +00:00
  • d39bc7e304 General: Use WPINC as a shorter reference to wp-includes in some files. Sergey Biryukov 2022-06-17 11:18:37 +00:00
  • 812af1515f Twenty Twenty-One: Ensure custom text color is reflected in the Editor for Quote block. Jb Audras 2022-06-16 23:41:14 +00:00
  • cd46b2b75e Docs: Use third-person singular verbs for function descriptions in the Taxonomy Administration API. Jb Audras 2022-06-16 23:37:29 +00:00
  • 3db14aa2ed Twenty Nineteen: Ensure custom text color is reflected in the Editor for Quote block. Jb Audras 2022-06-16 23:15:56 +00:00
  • 229a578bed Docs: Use third-person singular verbs for function descriptions in the WP_Screen API. Jb Audras 2022-06-16 23:08:25 +00:00
  • 17554d89aa Docs: Add @since notes for html5 theme feature changes in add_theme_support(): Sergey Biryukov 2022-06-16 15:19:08 +00:00
  • 43879c01f6 Tests: Re-enable failing REST API test for update_post_parent_caches(). Jonny Harris 2022-06-15 19:32:25 +00:00
  • c13b9ba752 Tests: Temporarily disable the failing REST API test for update_post_parent_caches(). Sergey Biryukov 2022-06-15 15:37:09 +00:00
  • 5b048f5a4e Tests: Use assertSameSets() in some newly introduced tests. Sergey Biryukov 2022-06-15 14:42:58 +00:00
  • 8f219cdd78 Tests: Some improvements for REST API cache priming tests: Sergey Biryukov 2022-06-15 14:07:24 +00:00
  • ec0f508a9f REST API: Some documentation and test improvements for update_menu_item_cache(): Sergey Biryukov 2022-06-15 13:35:28 +00:00
  • 20ccbb1437 REST API: Some documentation and test improvements for update_post_parent_caches(): Sergey Biryukov 2022-06-15 13:17:59 +00:00
  • 9a488568a0 REST API: Prime caches for post parents in post REST API controller. Jonny Harris 2022-06-15 10:41:32 +00:00
  • 770a909a5f Database: Don't translate the "WordPress database error" message in the error log. Sergey Biryukov 2022-06-15 10:34:07 +00:00
  • aef77be627 REST API: Prime caches for linked objects in menu item REST API controller. Jonny Harris 2022-06-15 10:18:02 +00:00
  • f3441e37ed Docs: Add a comment for stripping the leading AND from SQL clauses in some query classes. Sergey Biryukov 2022-06-14 16:15:52 +00:00
  • 18d8db3078 Docs: Add a missing word in pre_months_dropdown_query filter description. Sergey Biryukov 2022-06-14 15:05:18 +00:00
  • 2d9073413f I18N: Use a translatable string for displaying a user's first name and last name. Sergey Biryukov 2022-06-14 14:41:10 +00:00
  • d60f4f9cab External Libraries: Upgrade PHPMailer to version 6.6.2. Jonathan Desrosiers 2022-06-14 14:36:29 +00:00
  • c2de42b9ad REST API: Prime caches for featured images in post controller. Jonny Harris 2022-06-14 13:08:39 +00:00
  • 219927c11b REST API: Avoid duplicated query in post collections. Jonny Harris 2022-06-14 12:40:29 +00:00
  • a067d588c3 Tests: Remove redundant skip call in Tests_Image_Functions::get_image_editor_engine_classes(). Sergey Biryukov 2022-06-14 11:44:58 +00:00
  • 6d89ea8f09 Taxonomy: Fix caching issues in WP_Term_Query class. Jonny Harris 2022-06-14 11:41:33 +00:00