Commit Graph

  • 213bbf76ed Tests: Use more appropriate assertions in get_themes() tests. Sergey Biryukov 2021-08-07 14:15:42 +00:00
  • 05923f05d3 Themes: Correct the documented types for theme mod values. John Blackbourn 2021-08-07 13:53:58 +00:00
  • 14c6bcda56 Tests: Remove redundant @requires tags. Sergey Biryukov 2021-08-07 11:56:24 +00:00
  • f41d9545f9 Tests: Replace expectException() for PHP native errors with calls to the dedicated PHPUnit 8.4+ methods. Sergey Biryukov 2021-08-07 11:52:05 +00:00
  • 36c997c4b2 Build/Test Tools: Remove the copied-in PHPUnit 9.x MockObject files. Sergey Biryukov 2021-08-07 11:44:00 +00:00
  • 8def694fe4 Build/Test Tools: Loosen the PHPUnit restriction. Sergey Biryukov 2021-08-07 11:41:53 +00:00
  • aae784273f Build/Test Tools: Remove SpeedTrapListener. Sergey Biryukov 2021-08-07 11:14:39 +00:00
  • e8ea993ce7 Build/Test Tools: Handle removal of TestCase::getAnnotations(). Sergey Biryukov 2021-08-07 11:00:52 +00:00
  • 60dcae95ea Tests: Fix tests failing due to assertContains() using strict checking. Sergey Biryukov 2021-08-07 10:51:59 +00:00
  • fcd4aa4700 Build/Test Tools: Alias the Getopt class conditionally, as the class no longer exists in PHPUnit 9.x. Sergey Biryukov 2021-08-07 10:46:54 +00:00
  • 22060f3b06 Tests: Remove use of assertArraySubset() in Test_WP_Widget_Media::test_constructor(). Sergey Biryukov 2021-08-07 10:40:44 +00:00
  • ddb409edca Build/Test Tools: Implement use of the void solution. Sergey Biryukov 2021-08-07 10:29:41 +00:00
  • cb6bf02638 Build/Test Tools: Use the PHPUnit Polyfill TestCase as void workaround. Sergey Biryukov 2021-08-07 10:20:05 +00:00
  • ee2770bda5 Tests: Replace assertNotRegExp() with assertDoesNotMatchRegularExpression(). Sergey Biryukov 2021-08-06 21:55:31 +00:00
  • 457b7b3a61 Tests: Replace assertRegExp() with assertMatchesRegularExpression(). Sergey Biryukov 2021-08-06 21:52:06 +00:00
  • 29d678d08b Tests: Replace assertFileNotExists() with assertFileDoesNotExist(). Sergey Biryukov 2021-08-06 21:45:32 +00:00
  • fe7295b860 Tests: Replace expectException() for PHP native errors with calls to the dedicated PHPUnit 8.4+ methods. Sergey Biryukov 2021-08-06 21:38:45 +00:00
  • 81461004d7 Build/Test Tools: Simplify redundant PHPUnit shim for setExpectedException(). Sergey Biryukov 2021-08-06 21:17:20 +00:00
  • 31a6cd2f78 Build/Test Tools: Change the inheritance order of the abstract test classes. Sergey Biryukov 2021-08-06 00:44:00 +00:00
  • 47303b1f95 Build/Test Tools: Unify the PHPUnit adapter TestCases. Sergey Biryukov 2021-08-06 00:35:01 +00:00
  • 8ebd8ec0e4 Build/Test Tools: Add Composer dependency on the PHPUnit Polyfills package. Sergey Biryukov 2021-08-06 00:33:33 +00:00
  • 00140db135 Build/Test Tools: Add branch filtering for Slack notifications workflow. Jonathan Desrosiers 2021-08-05 16:52:51 +00:00
  • 16848d5468 Coding Standards: Silence a WPCS warning in date_i18n(). Sergey Biryukov 2021-08-05 14:48:11 +00:00
  • a6bb6ef2fc Twenty Thirteen: Correct indentation in image.php template. Sergey Biryukov 2021-08-05 14:37:27 +00:00
  • 69b661f687 Build/Test Tools: Correctly check for the trigger event when running the Slack notifications workflow. Jonathan Desrosiers 2021-08-05 14:36:17 +00:00
  • 87da9620ad Twenty Thirteen: Remove wrapping HTML tag from translatable string. Sergey Biryukov 2021-08-05 14:35:09 +00:00
  • f52ef12091 Bundled Themes: Remove redundant semicolons after closing curly brackets. Sergey Biryukov 2021-08-05 13:24:57 +00:00
  • 2bfd2c5da9 Coding Standards: Remove redundant semicolons after closing curly brackets. Sergey Biryukov 2021-08-05 13:14:21 +00:00
  • b2be104b9d Coding Standards: Fix incorrect alignment in two comment blocks. Sergey Biryukov 2021-08-05 13:10:05 +00:00
  • efe00618ab Coding Standards: Fix incorrect comment indent in safecss_filter_attr(). Sergey Biryukov 2021-08-05 12:58:45 +00:00
  • 3ebaa9220f Coding Standards: Use strict comparisons in wp-admin/upload.php. Peter Wilson 2021-08-05 03:36:24 +00:00
  • e776002eaf Coding Standards: Use strict comparisons in wp-admin/options-discussion.php. Peter Wilson 2021-08-05 03:29:53 +00:00
  • 3e6cd53b4a Build/Test Tools: Switch to always running the tests via Composer. Sergey Biryukov 2021-08-04 19:48:56 +00:00
  • 461f7764e4 Build/Test Tools: Use a custom autoloader for the PHPUnit 9.x mock object classes. Sergey Biryukov 2021-08-04 19:24:14 +00:00
  • 0e442c4615 Build/Test Tools: Remove the Composer lock file from version control. Sergey Biryukov 2021-08-04 18:55:38 +00:00
  • a52d8cdfc2 Media: Add / character to <img> tag in wp_print_media_templates(). Sergey Biryukov 2021-08-04 14:23:18 +00:00
  • 2ed4b82cb0 Bundled Themes: Add / character to <img> tags. Sergey Biryukov 2021-08-04 14:22:37 +00:00
  • 601ae4a6b2 Editor: Prevent block-editor JavaScript loading in other editors. Peter Wilson 2021-08-04 05:09:08 +00:00
  • bed17098b8 Menus: Hide bulk-select on new menu page. Peter Wilson 2021-08-04 04:59:46 +00:00
  • 5951c60aed Block Editor: Add missing border setting on button block. Jorge Costa 2021-08-03 18:13:46 +00:00
  • 3148181925 Build/Test Tools: Revert changes only included for testing purposes. Jonathan Desrosiers 2021-08-03 15:14:03 +00:00
  • 37407018d2 Build/Test Tools: Correct invalid JSON in Slack payload. Jonathan Desrosiers 2021-08-03 15:07:34 +00:00
  • ce0396ba76 Build/Test Tools: Expand Slack notifications for GitHub Actions. Jonathan Desrosiers 2021-08-03 13:45:02 +00:00
  • f117c74c6a Coding Standards: Correct DateTimeZone class name in WP_Customize_Date_Time_Control::get_timezone_info(). Sergey Biryukov 2021-08-03 12:17:54 +00:00
  • a5de731f9e Code Modernization: Pass correct default value to new DateTime() in wp_default_packages_inline_scripts(). Sergey Biryukov 2021-08-03 12:03:41 +00:00
  • 9f3c2be1d0 Code Modernization: Silence the deprecation warnings for missing return type in WP_Block_List. Sergey Biryukov 2021-08-03 11:11:45 +00:00
  • 289c9c7248 Code Modernization: Silence the deprecation warnings for missing return type in WP_REST_Request. Sergey Biryukov 2021-08-03 11:07:28 +00:00
  • 471edb0193 Code Modernization: Silence the deprecation warnings for missing return type in WP_Hook. Sergey Biryukov 2021-08-03 11:00:50 +00:00
  • df724f991b Code Modernization: Silence the deprecation warnings for missing return type in WP_Theme. Sergey Biryukov 2021-08-02 22:30:04 +00:00
  • 717158ee32 Upgrade/Install: Store correct result when bulk updating plugins or themes. Sergey Biryukov 2021-08-02 20:54:44 +00:00
  • 80ccb3697c Docs: Fix typo in the WP_Upgrader::install_package() description. Sergey Biryukov 2021-08-02 18:26:34 +00:00
  • 1ea9ce390d Coding Standards: Fix typo in the JS function name for handling the password reset button. Sergey Biryukov 2021-08-02 16:47:38 +00:00
  • 3a189c93e1 Upgrade/Install: Avoid creating nonce during installation. Sergey Biryukov 2021-08-02 16:37:57 +00:00
  • 2ba4a4817a Themes: Make sure get_theme_mods() always returns an array. Sergey Biryukov 2021-08-01 14:54:52 +00:00
  • ac47170bb5 Docs: Document the $wpdb global in WP_Debug_Data::get_mysql_var(). Sergey Biryukov 2021-08-01 14:03:09 +00:00
  • 495f4f7641 Site Health: Add some more MySQL information to the Site Health Info screen. Sergey Biryukov 2021-08-01 14:00:17 +00:00
  • d373e6e0d6 Upgrade/Install: Skip any node_modules directories when removing Genericons example.html files on update. Sergey Biryukov 2021-07-31 10:31:51 +00:00
  • 812d110c5d Taxonomy: Pass correct default value for $post_id to wp_terms_checklist() in the posts list table. Sergey Biryukov 2021-07-31 09:49:35 +00:00
  • 8f3d2b46ad Site Health: Standardise site health check status message punctuation. John Blackbourn 2021-07-30 19:37:54 +00:00
  • 4205214eba Docs: Replace $this in hook param docs with more appropriate names. John Blackbourn 2021-07-30 19:34:39 +00:00
  • 17fb93149b Code Modernization: Fix "JsonSerializable_Object::jsonSerialize() should be compatible with JsonSerializable::jsonSerialize(): mixed" error on PHP 8.1. Sergey Biryukov 2021-07-30 14:46:30 +00:00
  • 108d4d1ae5 Docs: Add missing documentation for the minute parameter of WP_Query. John Blackbourn 2021-07-30 10:52:39 +00:00
  • ccbfd22833 Docs: Correct the documented allowed range for the minute and second parameters of WP_Query. John Blackbourn 2021-07-30 10:22:11 +00:00
  • 12a820379a Build/Test Tools: Revert the test and coding standards changes in [51511]. Jonathan Desrosiers 2021-07-29 20:02:53 +00:00
  • 7a60b8eb8b Build/Test Tools: Post a message to #core in Slack when a workflow fails. Jonathan Desrosiers 2021-07-29 19:47:43 +00:00
  • 2905c5a9bc Themes: Add "Template Editing" to the list of WordPress theme features. Sergey Biryukov 2021-07-29 14:46:48 +00:00
  • ad976addb3 Build: Split packages and blocks to their webpack configs gziolo 2021-07-28 10:05:01 +00:00
  • 31c328d990 Networks and Sites: Replace two remaining occurrences of "blog" with "site" in user-facing strings. Sergey Biryukov 2021-07-28 10:00:51 +00:00
  • e6ed1b2be9 Coding Standards: Apply some alignment fixes from composer format. Jonathan Desrosiers 2021-07-27 19:00:54 +00:00
  • ba98780ed5 Build/Test Tools: Remove the check for changes to version-controlled files in the Test Old Branch workflow. Jonathan Desrosiers 2021-07-27 14:10:44 +00:00
  • 82e4df4cce Upgrade/Install: Add files for 5.8 to the $_old_files list that were missed. Jonathan Desrosiers 2021-07-27 13:56:54 +00:00
  • 38891dbbcb Bundled Themes: Remove extra trailing spaces from translatable strings in block patterns. Sergey Biryukov 2021-07-27 11:26:23 +00:00
  • 3207c62104 Docs: Clarify the @return value for WP_Filesystem_Base::getnumchmodfromh(). Sergey Biryukov 2021-07-27 11:00:25 +00:00
  • 7bb0a17b46 Docs: Correct @return type for WP_Filesystem_Base::getnumchmodfromh(). Sergey Biryukov 2021-07-27 09:27:51 +00:00
  • 8a0b871a3d Tests: Rename classes in phpunit/tests/widgets/ per the naming conventions. Sergey Biryukov 2021-07-26 19:25:09 +00:00
  • 7f828b6b00 Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. Sergey Biryukov 2021-07-26 19:09:41 +00:00
  • 1d838a7885 Tests: Rename classes in phpunit/tests/blocks/ per the naming conventions. Sergey Biryukov 2021-07-26 18:45:48 +00:00
  • 9da818a068 Tests: Move and fix incorrectly placed tests for block supported styles. Sergey Biryukov 2021-07-26 17:39:53 +00:00
  • 000068f637 Bundled Themes: Version Bump 2010, 2011 and 2012. Peter Wilson 2021-07-26 03:13:19 +00:00
  • 9ea5645ec2 Media: Check the posts_per_page value in wp_ajax_query_attachments() before using it as a divisor. Sergey Biryukov 2021-07-25 09:55:33 +00:00
  • 301eb3c8f6 Media: Remove unused code from wp-admin/includes/media.php. Sergey Biryukov 2021-07-24 13:02:29 +00:00
  • c696a2f773 Bundled Themes: Use correct path for loading images in block patterns. Sergey Biryukov 2021-07-24 12:40:28 +00:00
  • bedd023c3a Twenty Ten: Use correct path for loading block patterns. Sergey Biryukov 2021-07-23 13:12:31 +00:00
  • 2c0a1f7377 Tests: Use better assertions in WP_UnitTestCase_Base::assertEqualFields(): Sergey Biryukov 2021-07-22 18:49:24 +00:00
  • d8c3bc78a1 Tests: Modernize the WP_UnitTestCase_Base::assertEqualFields() method: Sergey Biryukov 2021-07-22 17:39:03 +00:00
  • dc568b181b Tests: Correct placement of the $message parameter in assertDiscardWhitespace(). Sergey Biryukov 2021-07-22 17:26:00 +00:00
  • 0975e828f7 Tests: Add a $message parameter for custom assertions in WP_UnitTestCase_Base. Sergey Biryukov 2021-07-22 17:14:44 +00:00
  • 0871a0ddc2 Docs: Miscellaneous docblock corrections and improvements. John Blackbourn 2021-07-22 16:53:59 +00:00
  • a5bef1ea91 Tests: Correct class name for WP_Filesystem_Base::find_folder() tests. Sergey Biryukov 2021-07-22 16:44:34 +00:00
  • 41df21e70d Docs: Add a comment about the $title global usage in various admin files. Sergey Biryukov 2021-07-22 13:51:58 +00:00
  • 49b11dcad7 Docs: Correct a comment about WebP constants in wp-includes/compat.php. Sergey Biryukov 2021-07-22 13:06:55 +00:00
  • 70c9aabf0d Help/About: Add / character to <img> and <source> tags. Sergey Biryukov 2021-07-22 12:57:48 +00:00
  • 3f83b50743 I18n: Fix broken loop in WP_Theme_JSON_Resolver Greg Ziółkowski 2021-07-22 10:05:33 +00:00
  • 211d94b710 Editor: Conditionally load registered styles for block variations Greg Ziółkowski 2021-07-22 08:36:11 +00:00
  • 92c454cec6 Build/Test Tools: Update PHP_CodeSniffer to version 3.6.0. Sergey Biryukov 2021-07-21 14:30:42 +00:00
  • 09bbc174c0 External Libraries: Correct the underscore version used when registering. Jonathan Desrosiers 2021-07-21 12:32:57 +00:00
  • ca214a3b4c External Libraries: Correct the jquery-form version used when registering. Jonathan Desrosiers 2021-07-21 12:19:26 +00:00
  • 0e08acda70 External Libraries: Correct the hoverIntent version used when registering. Jonathan Desrosiers 2021-07-21 12:16:35 +00:00
  • 0167d6dd50 Application Passwords: Improve various user-facing and developer-facing terminology. John Blackbourn 2021-07-19 21:13:36 +00:00
  • c70fe62ed1 Tests: Replace assertContains() with assertStringContainsString() when used with strings. Sergey Biryukov 2021-07-19 14:00:11 +00:00