Commit Graph

  • 22c02a0325 General: Introduce HTML classes in get_calendar() for easier CSS targeting: Sergey Biryukov 2020-02-25 20:28:29 +00:00
  • 91878831dd Docs: In update_option(), remove an inaccurate statement about the $autoload value for new options. Sergey Biryukov 2020-02-25 20:06:32 +00:00
  • 38e9142a66 Coding Standards: Use strict comparison for normalize_whitespace() checks when comparing revisions or autosaves. Sergey Biryukov 2020-02-25 19:33:22 +00:00
  • f852ca2cc1 Widgets: Create a unique HTML ID for the <ul> element of Recent Comments widget if more than one instance is displayed on the page. Sergey Biryukov 2020-02-25 19:27:22 +00:00
  • 97d43fbff5 Bootstrap/Load: In wp_magic_quotes(), revert the type change to string for REQUEST_TIME and REQUEST_TIME_FLOAT values, which should retain their proper type. Sergey Biryukov 2020-02-25 18:31:33 +00:00
  • 8dbe048737 Docs: In wp_insert_user(), correct @type for rich_editing, syntax_highlighting, comment_shortcuts, and show_admin_bar_front arguments. Sergey Biryukov 2020-02-25 18:18:26 +00:00
  • d722bdb0ac Docs: In wp_insert_user(), clarify that rich_editing, syntax_highlighting, comment_shortcuts, and show_admin_bar_front arguments accept true or false as a string literal, not boolean. Sergey Biryukov 2020-02-25 18:15:00 +00:00
  • f1124fc1cb Docs: Clarify in WP_Customize_Manager::remove_*() methods that removing a setting, panel, section, or control does not destroy the class instance or remove its filters. Sergey Biryukov 2020-02-25 17:48:40 +00:00
  • a6b80a326a Comments: Restore the fourth parameter of comments_number() as $post_id, for consistency with get_comments_number_text(). Sergey Biryukov 2020-02-25 17:32:34 +00:00
  • 812773b8fc Widgets: Avoid an overflow issue in widget controls that include <select> form fields. Sergey Biryukov 2020-02-25 17:02:27 +00:00
  • 3bd4e3a075 Docs: Add a reference to WP_Customize_Control::__construct() for information on accepted arguments in WP_Customize_Manager::add_control(). Sergey Biryukov 2020-02-25 16:39:36 +00:00
  • 5178d29f4a Docs: Add a reference to WP_Customize_Control::__construct() for information on accepted arguments to override class property defaults in child classes. Sergey Biryukov 2020-02-25 16:19:08 +00:00
  • 4e0062e5be REST API: Correctly infer empty objects passed via query parameters. K. Adam White 2020-02-25 15:32:27 +00:00
  • b5190458fe REST API: Permit access to the themes controller if user can edit any post type. K. Adam White 2020-02-25 15:18:19 +00:00
  • a0ac0ff13d REST API: Apply all relevant block rendering filters when rendering block previews. K. Adam White 2020-02-25 15:03:57 +00:00
  • 51e6228635 Script Loader: Improve performance of wp_script_is() for scripts registered with complex dependencies. Sergey Biryukov 2020-02-25 13:40:52 +00:00
  • 887e0a8004 Docs: Add a @since note for including delete_posts in default capabilities in get_post_type_capabilities(). Sergey Biryukov 2020-02-25 12:53:35 +00:00
  • 317e1c076c Posts, Post Types: Ensure delete_posts is included in default post type capabilities regardless of map_meta_cap value. Sergey Biryukov 2020-02-25 12:48:11 +00:00
  • 196859f90f Customize: When a menu item is removed from the menu, uncheck its source item on the available items panel. Sergey Biryukov 2020-02-25 11:12:18 +00:00
  • f40c6c9ebe Script Loader: Remove unnecessary reference sign from function definitions in script loader. Sergey Biryukov 2020-02-25 00:57:33 +00:00
  • bc3850c8dc Block Editor: Update WordPress Packages WordPress 5.4 Beta 3. Jorge Costa 2020-02-25 00:16:12 +00:00
  • 753ffe3968 Accessibility: Widgets: Restore missing string in script loader. Sergey Biryukov 2020-02-24 23:05:14 +00:00
  • b2d243fbe6 Build Tools: - Update the DependencyExtractionWebpackPlugin to 2.3.0 and set it to output a single assets file. - Grunt: copy the assets file to both SOURCE_DIR and BUILD_DIR as wp-includes/assets/script-loader-packages.php. - "Unignore" the wp-includes/assets directory. Its content will be committed similarly to wp-includes/blocks. - Update wp_default_packages_scripts() to use the above file. This also removes the hard-coded lists of packages and packages with translations. Andrew Ozz 2020-02-24 21:20:49 +00:00
  • 4e18f78ced REST API: Fix namespace shadowing issue in route matching logic. K. Adam White 2020-02-24 18:05:12 +00:00
  • 74baee2f19 Menus: Introduce wp_nav_menu_item_custom_fields_customize_template action that fires at the end of the form field template for nav menu items in the customizer. Sergey Biryukov 2020-02-24 14:56:42 +00:00
  • c2316edc3a Coding Standards: Add missing braces to if conditions and use strict comparison in js/_enqueues/wp/media/editor.js. Sergey Biryukov 2020-02-23 08:56:44 +00:00
  • dd859e48f2 Built/Test Tools: Ignore the node_modules folder in Twenty Nineteen when running grunt jshint:themes. Sergey Biryukov 2020-02-23 08:26:15 +00:00
  • 2f10289ffb Docs: Use third-person singular verbs for function descriptions in wp-includes/option.php, per the documentation standards. Sergey Biryukov 2020-02-23 01:05:28 +00:00
  • 84764d4cee Docs: Add a @staticvar entry for $transports in WP_Http::_dispatch_request(). Sergey Biryukov 2020-02-22 19:10:47 +00:00
  • af57dcb03e I18N: Replace .htaccess with placeholders in the strings for Site Health custom rules check. Sergey Biryukov 2020-02-22 18:54:09 +00:00
  • 74908c06bf I18N: Use a consistent wording for "Unable to write to file" strings. Sergey Biryukov 2020-02-22 18:31:39 +00:00
  • 35ddd5c97d General: Introduce a pull request template. Jonathan Desrosiers 2020-02-21 18:23:28 +00:00
  • 8837ebd1f6 Build/Test Tools: Remove unused ::assertPostHasTerms() method from tests/term.php. Sergey Biryukov 2020-02-21 17:03:12 +00:00
  • 8793357dfa Comments: improve styling on mobile for comments marked as spam. Adam Silverstein 2020-02-21 17:02:18 +00:00
  • bb6b0cdaa5 Bundled Themes: Twenty Nineteen text color setting in pullquote block not applied. Ian Belanger 2020-02-21 14:57:12 +00:00
  • 3ff0ef5030 I18N: Replace upload_max_filesize, php.ini, MAX_FILE_SIZE with placeholders in upload error strings. Sergey Biryukov 2020-02-20 17:16:21 +00:00
  • 8a62f46beb REST API: Don't assume all item schemas have properties. Timothy Jacobs 2020-02-20 16:56:17 +00:00
  • 6194b3c5d2 Bundled Themes: Twenty Nineteen Update margins in editor styles to address upcoming block editor margin changes. Ian Belanger 2020-02-20 16:38:38 +00:00
  • be371a7431 REST API: Fix links format in OPTIONS requests for non-variable routes. Timothy Jacobs 2020-02-20 00:53:43 +00:00
  • 727faabe98 REST API: Warn if registering array settings without an items schema. Timothy Jacobs 2020-02-19 22:54:03 +00:00
  • 5f26580730 Docs: Add missing quote to {@see 'comment_$old_status_to_$new_status'} hook reference in wp_transition_comment_status() DocBlock. Sergey Biryukov 2020-02-19 13:43:16 +00:00
  • e4dda92bc5 Tests: Correct assertions in test_site_dates_are_gmt(). Sergey Biryukov 2020-02-19 04:38:39 +00:00
  • 2d73050eda Posts, Post Types: Discard tags_input parameter in wp_update_post() if it's the same as existing post tags. Sergey Biryukov 2020-02-19 03:50:38 +00:00
  • 8de22575cd Tests: Use delta comparison in test_site_dates_are_gmt() to avoid race conditions. Sergey Biryukov 2020-02-19 02:41:53 +00:00
  • efde364e7c Build/Test Tools: Keep wp-config.php file in the build directory on rebuild, but still copy it over from src if it also exists there. Sergey Biryukov 2020-02-19 01:48:15 +00:00
  • 2213eb37c4 Tests: Remove an irrelevant tags_input property assertion from test_get_page_template_property(). Sergey Biryukov 2020-02-19 01:03:37 +00:00
  • 6930542657 Bump version number to beta 2-47310 Tammie Lister 2020-02-18 21:27:31 +00:00
  • bc0847e8bd Bump version number to beta 2 Tammie Lister 2020-02-18 21:09:56 +00:00
  • 9f87034879 Widgets: Revert [47307]. Jonathan Desrosiers 2020-02-18 18:17:53 +00:00
  • 0d7a5f949d Widgets: Remove unnecessary redundant conditional. Jonathan Desrosiers 2020-02-18 17:50:54 +00:00
  • b797e91541 Site Health: Display the REST API test error codes correctly. Jonathan Desrosiers 2020-02-18 16:46:11 +00:00
  • 6234fd90c2 Theme Editor: Disable CodeMirror CSS linting. Sergey Biryukov 2020-02-18 15:49:08 +00:00
  • 5133f6b779 Accessibility: Improve readability by removing unnecessary italic font style. Andrea Fercia 2020-02-18 15:30:10 +00:00
  • 82ddcbf707 Build/Test Tools: Keep wp-config.php file in the build directory on rebuild. Sergey Biryukov 2020-02-18 09:25:25 +00:00
  • bb110e3c0b Block Editor: Update WordPress Packages WordPress 5.4 beta 2. Jorge Costa 2020-02-17 23:00:07 +00:00
  • 0ebe341284 Block Editor: Add missing package to the default export array. Jorge Costa 2020-02-17 12:30:54 +00:00
  • 002bfea745 Site Health: Prevent the Site Health Status dashboard widget from loading on network admin screen for now. Sergey Biryukov 2020-02-17 09:58:00 +00:00
  • 9ac7fca92b Users: Limit the scope of admin files required in WP_REST_Users_Controller. Sergey Biryukov 2020-02-17 05:31:18 +00:00
  • b8993b72bd Docs: Improve inline comments for require_once calls in WP_REST_Users_Controller per the documentation standards. Sergey Biryukov 2020-02-17 03:54:11 +00:00
  • 7d8b92ede9 Docs: Fix typo in a comment in WP_REST_Attachments_Controller::create_item(). Sergey Biryukov 2020-02-17 03:28:05 +00:00
  • 2d9f3a1330 REST API: Restore wp-admin/includes/image.php requirement in WP_REST_Attachments_Controller::create_item(). Sergey Biryukov 2020-02-17 03:22:43 +00:00
  • f8d1664544 Docs: Improve inline comments for require_once() calls in WP_REST_Attachments_Controller. Sergey Biryukov 2020-02-17 03:11:50 +00:00
  • 96f845d1a7 Menus: Restore the title of the currently active/expanded menu item when clicking "Cancel" after editing. Sergey Biryukov 2020-02-16 06:25:54 +00:00
  • 0e52a4efc1 Themes: Correct the height of theme actions button container on various screen sizes. Sergey Biryukov 2020-02-15 05:06:39 +00:00
  • 45e02b9026 Widgets: Hide the "Align" legend in Image Widget display settings, since the associated controls are also hidden. Sergey Biryukov 2020-02-15 02:48:28 +00:00
  • ae82bd40cc Administration: Allow wp_update_link() to update the link_owner field, for consistency with other link fields. Sergey Biryukov 2020-02-15 01:53:22 +00:00
  • 1911d0db67 Administration: Correct alignment of form controls inside custom meta boxes. Sergey Biryukov 2020-02-14 00:50:42 +00:00
  • d4cc38581b Tests: Rename $d variable in some date/time tests to $format for clarity. Sergey Biryukov 2020-02-14 00:11:00 +00:00
  • 543944257c Coding Standards: Rename $d parameter in various date/time functions to $format for clarity. Sergey Biryukov 2020-02-14 00:05:43 +00:00
  • a41b2d93d3 Docs: Update @return tag for wp_allow_comment() with trash as a possible return value. Sergey Biryukov 2020-02-13 17:48:50 +00:00
  • 3dd39ffece General: Update Michel Valdrighi's website in license.txt. Sergey Biryukov 2020-02-12 11:52:11 +00:00
  • 58efcbdcd6 Privacy: Only show the Privacy Policy page notice when editing the page, not on drafts list. Sergey Biryukov 2020-02-12 11:42:23 +00:00
  • a6d078c228 Privacy: Improve the appearance of privacy request email inputs on mobile. Sergey Biryukov 2020-02-12 11:27:27 +00:00
  • 20849f39b4 Post WordPress 5.4 Beta 1 version bump. Jorge Costa 2020-02-11 22:44:50 +00:00
  • f9fe81df19 WordPress 5.4 Beta 1. Jorge Costa 2020-02-11 22:18:40 +00:00
  • f97a60c9b7 Privacy: Revert [47269] for now to address side effects on Multisite installations. Sergey Biryukov 2020-02-11 21:46:54 +00:00
  • 1106d82f93 Privacy: Introduce filters for the headers of all the privacy-related e-mails: Sergey Biryukov 2020-02-11 21:41:26 +00:00
  • b8e935b2f2 Privacy: Add a table of contents to Personal Data Export report for easier navigation. Sergey Biryukov 2020-02-11 21:26:25 +00:00
  • d6352c544b Coding Standards: Use a strict in_array() check for reserved names of user data items in wp_user_personal_data_exporter(). Sergey Biryukov 2020-02-11 20:53:40 +00:00
  • 4020493d45 Comments: Add a $post_id parameter to get_comments_number_text() and comments_number(). Sergey Biryukov 2020-02-11 20:39:12 +00:00
  • c83253c7f8 Upgrade/Install: Enable maintenance mode when plugins are auto-updated. Jonathan Desrosiers 2020-02-11 20:12:52 +00:00
  • 896de1cba2 Media: Pass through the $unfiltered param to get_attached_file() in wp_get_original_image_path(). Andrew Ozz 2020-02-11 19:45:46 +00:00
  • e7382153fe Bundled Themes: Twenty Sixteen text color setting in pullquote block not applied. Ian Belanger 2020-02-11 19:36:56 +00:00
  • c7267a039f Export: Use correct context for the Posts label on the Export screen. Sergey Biryukov 2020-02-11 19:33:58 +00:00
  • e608cd21ac Upload: Fix Plugin and Theme upload form are misaligned. Jorge Costa 2020-02-11 19:16:57 +00:00
  • 0ad4121c91 Privacy: Introduce wp_privacy_additional_user_data filter to make it easier to include additional user meta in a personal data export. Sergey Biryukov 2020-02-11 18:57:51 +00:00
  • 0911aecf36 Privacy: Un-map privacy capabilities to make them available to be assigned for custom roles: Sergey Biryukov 2020-02-11 18:34:08 +00:00
  • 49b145c23f Site Health: Adjust "Database username" and "Table prefix" strings for consistency with the same strings in wp-admin/setup-config.php. Sergey Biryukov 2020-02-11 16:46:10 +00:00
  • 2599e1b4fb Customize: Avoid unnecessary get_theme_mod() call and premature escaping in get_header_video_url(). Sergey Biryukov 2020-02-11 16:34:09 +00:00
  • 5866986d74 Media: Fix bottom spacing on various Media Modal elements for non-webkit browsers. Andrea Fercia 2020-02-11 16:30:13 +00:00
  • b6dcb779ed REST API: Introduce rest_{$this->post_type}_item_schema filter to enable manipulation of schema values. K. Adam White 2020-02-11 16:26:56 +00:00
  • 72e7742446 Bundled Themes: Twenty Twenty property border-style is overwritten - coding standard. Ian Belanger 2020-02-11 16:09:50 +00:00
  • f26d4d3735 Widgets: Prevent currently active wide widget controls from being partially covered by another widget's controls. Sergey Biryukov 2020-02-11 15:24:47 +00:00
  • 08b3c1d123 Media: Reset aspect ratio constraints when width and height fields fail numeric validation. Anthony Burchell 2020-02-11 04:38:55 +00:00
  • 886a02686b REST API: Allow meta to be set when creating a new media record via REST. K. Adam White 2020-02-11 03:37:17 +00:00
  • fc434a0c77 REST API: Match REST API routes on namespace before performing regex checks. K. Adam White 2020-02-11 03:20:05 +00:00
  • 3125c21cc4 Media: Improve wording for error message on failed post-processing of uploaded images. azaozz 2020-02-11 03:18:02 +00:00
  • d06637f9b5 REST API: List all core theme feature support details in /themes endpoint response. K. Adam White 2020-02-11 01:58:08 +00:00
  • b364e2a072 Media: Improve the preview of transparent images in Image widget by using CSS3 to show a checkered background. Sergey Biryukov 2020-02-11 01:45:01 +00:00
  • d9c6c5eed9 Administration: Move .has-row-actions class in Recent Comments dashboard widget next to .dashboard-comment-wrap, for consistency. Sergey Biryukov 2020-02-11 01:19:55 +00:00