Commit Graph

  • 63e0d969b6 Code Modernization: Return false from wpdb::query() if the query was filtered to an empty string using the query filter. Sergey Biryukov 2020-09-30 12:07:13 +0000
  • f2bd8d0481 Docs: Correct description for wp_ajax_update_widget(). Sergey Biryukov 2020-09-30 09:42:16 +0000
  • 6d786bb311 External Libraries: Update MediaElementJS to version 4.2.16. Jonathan Desrosiers 2020-09-29 15:51:48 +0000
  • 3b75e7d0f0 Tests: Require imagejpeg() function in Ajax media editing tests. Sergey Biryukov 2020-09-29 14:14:28 +0000
  • bf945a81ec Code Modernization: Remove a single trailing percent sign before calling sprintf() on the $default parameter in get_theme_mod(). Sergey Biryukov 2020-09-29 10:01:05 +0000
  • f070145fa9 Posts, Post Types: Avoid a PHP notice in wp_get_shortlink() if the post type is no longer registered. Sergey Biryukov 2020-09-28 11:52:00 +0000
  • b6f5a94631 Docs: Clarify the false return value of get_post_type_archive_link() and get_post_type_archive_feed_link(). SergeyBiryukov 2020-09-28 11:10:01 +0000
  • 0432229195 Docs: Correct formatting for the autosave() function return value in js/_enqueues/wp/autosave.js. Sergey Biryukov 2020-09-28 10:45:01 +0000
  • 581e45426c Media: Make the "Copy URL" button implementation more consistent with other instances in core: Sergey Biryukov 2020-09-27 20:46:44 +0000
  • dbf692583c REST API: Support the multipleOf JSON Schema keyword. Timothy Jacobs 2020-09-27 19:01:18 +0000
  • 7b64dc237a Media: Check if the item is defined before setting the skipHistory property in media frame router. Sergey Biryukov 2020-09-27 08:48:05 +0000
  • 0c4958bdbc Docs: Add missing @return tags for some WP_Automatic_Updater methods: Sergey Biryukov 2020-09-27 08:34:51 +0000
  • 8357bb923c Taxonomy: Restore documentation for the taxonomy parameter of wp_list_categories(). Sergey Biryukov 2020-09-27 08:17:25 +0000
  • 742754d5a1 Docs: Correct description for the taxonomy parameter of wp_dropdown_categories(). Sergey Biryukov 2020-09-27 07:47:04 +0000
  • c729e4d732 Docs: Fix typo in a comment in js/media/routers/manage.js. SergeyBiryukov 2020-09-27 07:36:02 +0000
  • 73779aaa0a External Libraries: Backport a commit from sodium_compat trunk to fix a PHP 8 error. Sergey Biryukov 2020-09-27 05:15:03 +0000
  • 3366793a8d Upgrade/Install: Update sodium_compat to v1.13.0. Sergey Biryukov 2020-09-27 04:44:01 +0000
  • 4ad4eeaf7d Add ircs and irc6 to the list of allowed protocols. Timothy Jacobs 2020-09-26 21:00:19 +0000
  • 9b9b59c4ee REST API: Correct @since version after [49053]. Timothy Jacobs 2020-09-26 18:54:48 +0000
  • d5c2c86bd8 REST API: Support the minProperties and maxProperties JSON Schema keywords. Timothy Jacobs 2020-09-26 18:18:53 +0000
  • 9aa0e0c92b Tests: Require imagejpeg() function in WP_Widget_Media_Image::render_media() test. Sergey Biryukov 2020-09-26 14:50:51 +0000
  • e2b74bee82 Tests: Correct assertion in WP_Test_REST_Comments_Controller::check_comment_data(). Sergey Biryukov 2020-09-26 03:12:21 +0000
  • 21eb2f0d98 Tests: Require imagejpeg() function in one more media test. Sergey Biryukov 2020-09-26 02:32:25 +0000
  • ce87b260bc Upload: Add a check in wp_check_filetype_and_ext() to account for CSV files having the application/csv MIME type. Sergey Biryukov 2020-09-26 01:09:52 +0000
  • 5346800a92 Upgrade/Install: Introduce the wp_installed_email filter for filtering the contents of the email sent when WordPress is installed, without needing to override the wp_new_blog_notification() pluggable function. John Blackbourn 2020-09-25 22:31:27 +0000
  • 5d1a29deaa Tests: Require imagejpeg() function in some REST API attachments controller tests. Sergey Biryukov 2020-09-25 02:21:33 +0000
  • 51a7210589 Tests: Correct the check for image sizes in some REST API attachments controller tests. Sergey Biryukov 2020-09-25 02:09:32 +0000
  • 5730b983b8 Tests: Require imagejpeg() function in some more media tests. Sergey Biryukov 2020-09-25 01:43:19 +0000
  • 3bfa4606c7 Tests: Check if image sizes were successfully retrieved in some REST API attachments controller tests. Sergey Biryukov 2020-09-25 01:29:51 +0000
  • da93663d01 Code Modernization: Correct the check for parent argument in wp_insert_term() and wp_update_term(). Sergey Biryukov 2020-09-25 00:02:39 +0000
  • 0ae6b563b6 Docs: Add a @since note to wp_privacy_exports_dir and wp_privacy_exports_url filters about exports using relative paths since WordPress 5.5. Sergey Biryukov 2020-09-24 04:58:27 +0000
  • 28963e897c Documentation: Add 'template' arg documentation Robert Anderson 2020-09-24 03:10:26 +0000
  • 165adab5e7 Editor: Hide Screen Options tab from block editor Robert Anderson 2020-09-24 02:58:17 +0000
  • 185ad1e116 Build/Test Tools: Use trunk revision 2387243 of the WordPress Importer plugin. Sergey Biryukov 2020-09-23 18:37:09 +0000
  • 7826f31e26 Docs: Remove obsolete $wpdb global reference from get_site_by_path(). Sergey Biryukov 2020-09-23 14:09:03 +0000
  • c31a551273 Tests: Backport two changes from PHPUnit 9.3: Sergey Biryukov 2020-09-23 13:52:02 +0000
  • 7d15225ad0 Users: Check if the user ID passed as selected to wp_dropdown_users() corresponds to an existing user. Sergey Biryukov 2020-09-23 00:25:47 +0000
  • 83eb948b7f Privacy: Ensure bulk action related strings end with periods. Jonathan Desrosiers 2020-09-22 18:38:51 +0000
  • 45197f9d4e External Libraries: Upgrade PHPMailer to version 6.1.7. Jonathan Desrosiers 2020-09-22 18:35:10 +0000
  • 303deffe91 Tests: Use consistent trailing punctuation in fail() messages. Sergey Biryukov 2020-09-22 12:32:39 +0000
  • a9ee47c806 Tests: Check if image metadata for a particular size was successfully retrieved in some media tests. Sergey Biryukov 2020-09-22 12:30:48 +0000
  • c263d2e56c REST API: Regenerate test fixtures after [48982]. Timothy Jacobs 2020-09-21 22:52:29 +0000
  • e8617468a2 Tests: Fix typo in some markTestSkipped() messages. Sergey Biryukov 2020-09-21 20:18:20 +0000
  • 4a929fe723 Users: Introduce the invited_user_email filter for filtering the contents of the email sent when an existing user is invited to a site on Multisite. John Blackbourn 2020-09-21 17:14:33 +0000
  • 0fbc8b1ac7 Docs: Correct the indentation for some array type docs. John Blackbourn 2020-09-21 16:44:35 +0000
  • 310799a268 Tests: Use consistent trailing punctuation in markTestSkipped() messages. Sergey Biryukov 2020-09-21 14:05:23 +0000
  • e8b00da747 Privacy: Check if the accumulated data in wp_privacy_process_personal_data_export_page() is not empty. Sergey Biryukov 2020-09-21 13:49:07 +0000
  • 6242c634ee Tests: Convert a few more function_exists() and extension_loaded() checks to @requires annotations. Sergey Biryukov 2020-09-21 13:25:38 +0000
  • b984a64c98 Tests: Convert the checks for imagejpeg() function availability to use the @requires annotation. Sergey Biryukov 2020-09-21 11:34:06 +0000
  • f7570fec4a General: Give the $is variable in is_wp_error() a more descriptive name. Sergey Biryukov 2020-09-21 11:11:10 +0000
  • 2b742beb5c General: Introduce the wp_error_added and wp_error_checked actions. John Blackbourn 2020-09-20 17:43:00 +0000
  • dd076bb611 Media: Standardise the description for image size parameters. John Blackbourn 2020-09-20 16:21:42 +0000
  • b620440519 Docs: Inline documentation improvements for media related functions and hooks. John Blackbourn 2020-09-20 15:53:52 +0000
  • e020b1183d Media: Return a WP_Error from WP_Image_Editor_GD::load() if file contents could not be retrieved. Sergey Biryukov 2020-09-20 14:26:38 +0000
  • 8856579610 Tests: Correctly unset non-supported image editor engines in some image tests. Sergey Biryukov 2020-09-20 14:13:04 +0000
  • ab25da99a0 Media: Correct some types for attachment ID parameters passed to functions and filters. John Blackbourn 2020-09-20 14:03:17 +0000
  • db684af2c1 Media: Correct some types in docblocks for filters related to thumbnails. John Blackbourn 2020-09-20 13:38:04 +0000
  • e92ddaa2c3 Tests: Use more specific assertions in Tests_Image_Functions::test_load_directory(). Sergey Biryukov 2020-09-20 13:31:08 +0000
  • 68b71263f3 Tests: Optimize some image tests to avoid checking for image editor engines availability twice. Sergey Biryukov 2020-09-20 13:25:07 +0000
  • 42019042de I18N: Add a language icon next to the Default Language network option. John Blackbourn 2020-09-20 13:16:12 +0000
  • 9462c458ff Media: Correct the image thumbnail logic in media templates. John Blackbourn 2020-09-20 13:13:46 +0000
  • 74688add2c Themes: Remove the ability to delete themes from the single site Appearance screen on Multisite installations. John Blackbourn 2020-09-20 12:01:32 +0000
  • 8493793928 Tests: Consistently require imagejpeg() function in image_make_intermediate_size() tests. Sergey Biryukov 2020-09-20 03:31:46 +0000
  • 58385f1402 Tests: Skip some image tests if neither GD nor Imagick image editor engines are supported on the system. Sergey Biryukov 2020-09-20 02:45:35 +0000
  • 2bfa83d882 Coding Standards: Fix WPCS issue in [49007]. Sergey Biryukov 2020-09-20 01:16:57 +0000
  • cdd15a8f77 Tests: Fix the failures in REST API format keyword validation tests on PHP 8. Sergey Biryukov 2020-09-20 00:55:07 +0000
  • 835e9c48a4 Tests: Add missing @covers tags for files in phpunit/tests/functions/. Sergey Biryukov 2020-09-19 15:52:03 +0000
  • 898eb5fc51 Tests: Speed up slashed data tests by reusing some more shared fixtures. Sergey Biryukov 2020-09-19 11:11:00 +0000
  • 4018e92c39 Coding Standards: Give the $id variable in slashed data tests a more descriptive name. Sergey Biryukov 2020-09-19 10:53:15 +0000
  • ffc129395c Tests: Speed up slashed data tests by reusing shared fixtures. Sergey Biryukov 2020-09-19 10:34:54 +0000
  • 0c5324df3b Tests: Speed up tests for wp_allow_comment() by reusing shared fixtures. Sergey Biryukov 2020-09-19 09:25:55 +0000
  • 1ec9dc6fa4 Tests: Simplify the logic in WP_UnitTestCase_Base::setUpBeforeClass() and ::tearDownAfterClass(). Sergey Biryukov 2020-09-19 09:11:23 +0000
  • 1ffdfdaea7 Posts, Post Types: Ensure default terms are added by wp_publish_post(). Peter Wilson 2020-09-19 01:20:48 +0000
  • 2f491fba50 Tests: Simplify PluralFormsTest::test_exceptions(). Sergey Biryukov 2020-09-18 14:11:11 +0000
  • ba20847ef5 Docs: Update the code example in WP_Ajax_UnitTestCase::dieHandler() DocBlock to use expectException(). Sergey Biryukov 2020-09-18 13:53:31 +0000
  • 5164bba5e2 Tests: Switch Ajax tests to use the expectException() method directly, instead of the WP_UnitTestCase_Base::setExpectedException() wrapper. Sergey Biryukov 2020-09-18 13:48:27 +0000
  • d46af0956d Tests: Consistently use the expectException() method instead of the older @expectedException annotation. Sergey Biryukov 2020-09-18 13:22:22 +0000
  • f78acee893 Docs: Add a @since note about adjacent_posts_rel_link_wp_head() no longer being used in core. Sergey Biryukov 2020-09-18 11:04:48 +0000
  • 8bc03cf494 Docs: Add a @since note for the recovery_mode_email filter about the $email argument now including the attachments key. Sergey Biryukov 2020-09-18 11:01:52 +0000
  • bc556578b3 Tests: Fix the failure in test_get_weekday_undefined_index() on PHP 8. Sergey Biryukov 2020-09-18 10:56:27 +0000
  • cb356d9cfc Twenty Twenty: Update the URL for PHP date formats table in translator comments. Sergey Biryukov 2020-09-18 10:42:26 +0000
  • 7d23a212c4 Docs: Update the URL for PHP date formats table in translator comments. Sergey Biryukov 2020-09-18 10:35:41 +0000
  • cb38bc973e Comments: Assign the array of comment data returned from the comments_pre_query filter to the comments property of the current WP_Comment_Query instance. Sergey Biryukov 2020-09-17 19:53:47 +0000
  • 7da52b8eae Media: Allow contextually generated images to show in Media Library grid view. In grid view, contextually generated or cropped media is filtered out causing page numbering to be offset and incorrect. This also impacted any media utilizing media-models.js. Props webmandesign, audrasjb, afercia, pbiron, mista-flo. Fixes #46127, #50410, #47215. Anthony Burchell 2020-09-17 14:40:47 +0000
  • f5fc714cf6 Tests: Move the data_wp_site_query_meta_query() data provider next to the test it's used in. Sergey Biryukov 2020-09-17 11:28:05 +0000
  • 64a0a9f108 Docs: Correct comments in comments_pre_query, networks_pre_query, and sites_pre_query tests. Sergey Biryukov 2020-09-17 11:18:39 +0000
  • e145c9aaba Docs: Reformat comments_pre_query, networks_pre_query, sites_pre_query DocBlocks for better readability. Sergey Biryukov 2020-09-17 11:08:04 +0000
  • 8621e8d5c8 Docs: Fix typo in *_pre_query filter DocBlocks. Sergey Biryukov 2020-09-17 10:43:23 +0000
  • 77647aea23 Docs: Correct the parameter type for networks_pre_query filter. Sergey Biryukov 2020-09-17 10:35:51 +0000
  • 9cb0da3754 Formatting: Make sure links_add_target() adds the target attribute to the correct tag. Sergey Biryukov 2020-09-17 10:12:32 +0000
  • 9648bcd373 i18n: Ensure block type strings in the REST API end with a full stop. Helen Hou-Sandi 2020-09-16 19:21:03 +0000
  • 2cc4276746 Code Modernization: Return an empty string from wpdb::prepare() if there are not enough arguments to match the placeholders. Sergey Biryukov 2020-09-16 02:27:42 +0000
  • 35ceac68f4 Code Modernization: Return an empty string from wpdb::_real_escape() if a non-scalar value is passed. Sergey Biryukov 2020-09-16 01:46:25 +0000
  • aadc1d70f2 Tests: Revert [48973]. Sergey Biryukov 2020-09-16 01:33:42 +0000
  • b936a4131d Build/Test Tools: Restore the QUnit global in JSHint config for QUnit. Sergey Biryukov 2020-09-15 10:07:29 +0000
  • d9514d19f1 Build/Test Tools: Remove unused legacy globals from JSHint config for QUnit. Sergey Biryukov 2020-09-15 10:02:22 +0000
  • 54fd2f7a80 Docs: Document the usage of $wpdb global in wp_delete_attachment_files(). Sergey Biryukov 2020-09-14 13:41:33 +0000
  • 82a4978a71 Docs: Document the usage of $wpdb global in wp_get_post_autosave(). Sergey Biryukov 2020-09-14 13:35:10 +0000
  • 91feaf04af Tests: Correct assertion in Tests_DB::test_prepare_incorrect_arg_count(). Sergey Biryukov 2020-09-13 15:19:40 +0000
  • 2d01fac875 Tests: Require PHP less than 8.0 for some wpdb tests. Sergey Biryukov 2020-09-13 02:47:20 +0000