Commit Graph

  • f216d9c73a REST API: Display the actual conflicting value in addition to the taxonomy name in the _doing_it_wrong() message for a conflicting rest_base or name property. Sergey Biryukov 2020-01-06 17:07:52 +00:00
  • 105375cce7 REST API: Display the taxonomy name in the _doing_it_wrong() message for a conflicting rest_base or name property, to match the translator comment. Sergey Biryukov 2020-01-06 16:45:58 +00:00
  • 6cd0e35c6b I18N: Replace rest_authentication_errors filter name with a placeholder in a translatable string. Sergey Biryukov 2020-01-06 16:19:51 +00:00
  • b459cddeaf I18N: Replace php.ini, post_max_size, and upload_max_filesize with placeholders in "File is empty" error message. Sergey Biryukov 2020-01-06 16:14:30 +00:00
  • 086ae28f0e Docs: Remove duplicate inline comment in wp_mail(). Dominik Schilling 2020-01-06 14:49:13 +00:00
  • cd5b7df8b8 Docs: Improve documentation for tests/phpunit/includes/testcase-ajax.php. Sergey Biryukov 2020-01-05 15:31:10 +00:00
  • 5f600eb32a Media: After [46375], enable JavaScript translations for the media-views script. Dominik Schilling 2020-01-05 13:09:52 +00:00
  • 50ed776846 Docs: Fix typo in media_post_single_attachment_fields_to_edit() description. Sergey Biryukov 2020-01-04 17:58:37 +00:00
  • 0a6720af6b Coding Standards: Add missing braces to if conditions in js/_enqueues/wp/customize/base.js. Sergey Biryukov 2020-01-04 01:26:26 +00:00
  • 746502eaa9 REST API: Issue doing_it_wrong if a taxonomy's specified rest_base is already in use by a different resource. K. Adam White 2020-01-03 19:22:32 +00:00
  • 172e0b01c6 REST API: Short-circuit comment controller permissions check if commented-upon post type does not exist. K. Adam White 2020-01-03 18:42:09 +00:00
  • a35e46a937 Build Tools: Integrate DependencyExtractionWebpackPlugin in the JS build. Grzegorz (Greg) Ziółkowski 2020-01-03 13:15:33 +00:00
  • c27ab74ca9 REST API: Synchronize permission checks in ::get_items_permissions_check() methods for post types, post statuses, and users: Sergey Biryukov 2020-01-03 02:26:36 +00:00
  • adb9483563 Link Manager: Use a strict in_array() check in wp-links-opml.php. Sergey Biryukov 2020-01-03 01:12:13 +00:00
  • b773334bf2 Docs: Synchronize "Default empty array" notes for $args parameter in get_comment_text() and comment_text(). Sergey Biryukov 2020-01-02 19:20:33 +00:00
  • 10d4ad91b0 Site Health: Fix typo in a variable name in js/_enqueues/admin/site-health.js. Sergey Biryukov 2020-01-02 12:09:27 +00:00
  • 83defdf556 Coding Standards: Move assignment out of condition in js/media/controllers/library.js. Sergey Biryukov 2020-01-02 12:05:29 +00:00
  • aaee49fb63 Coding Standards: Move assignment out of condition in js/media/views/settings.js. Sergey Biryukov 2020-01-02 12:00:11 +00:00
  • f4346b9da6 Coding Standards: Use strict comparison in wp-comments-post.php. Sergey Biryukov 2020-01-02 11:40:11 +00:00
  • 3e47858a53 Coding Standards: Use strict comparison and Yoda conditions in wp-includes/widgets.php. Sergey Biryukov 2020-01-02 11:35:55 +00:00
  • f4a8e840af Happy New Year! Sergey Biryukov 2020-01-01 03:51:29 +00:00
  • 7bd615730d Happy New Year! Sergey Biryukov 2020-01-01 02:17:53 +00:00
  • c9a366e857 Docs: Fix typo in _crop_image_resource() DocBlock. Sergey Biryukov 2019-12-31 12:32:19 +00:00
  • ae53e417d5 Docs: Add missing descriptions and @return tags for _WP_Editors::get_mce_locale() and ::get_baseurl(). Sergey Biryukov 2019-12-31 01:29:42 +00:00
  • fa0feb0cff Docs: Add missing @since tags for wp-includes/class-wp-editor.php. Sergey Biryukov 2019-12-31 01:23:11 +00:00
  • e2748f44f4 Docs: Fix typo in .env file description. Sergey Biryukov 2019-12-30 13:46:17 +00:00
  • 7b3483c866 Coding Standards: Fix WPCS issue in [47019]. Sergey Biryukov 2019-12-29 22:30:26 +00:00
  • 1dfd6c5168 Twenty Twenty: Remove extra space from arrow-down-circled icon name in TwentyTwenty_SVG_Icons::$ui_icons. Sergey Biryukov 2019-12-29 20:43:04 +00:00
  • ef6973b7f0 Bootstrap/Load: Make handling the /favicon.ico requests more flexible. Sergey Biryukov 2019-12-28 21:18:03 +00:00
  • 85c7a64791 Docs: Improve @return description for wp_update_comment() and WP_UnitTest_Factory_For_Comment::update_object(). Sergey Biryukov 2019-12-27 00:28:39 +00:00
  • 004023d493 Coding Standards: Fix WPCS issue in [47015]. Sergey Biryukov 2019-12-26 15:51:33 +00:00
  • c231e66c0a Docs: Fix typo in wp_dashboard_cached_rss_widget() documentation. Sergey Biryukov 2019-12-26 14:40:10 +00:00
  • 079580a6b7 Tests: Set network_id instead of site_id in WP_UnitTest_Factory_For_Blog defaults. Sergey Biryukov 2019-12-26 00:25:20 +00:00
  • 93eeb8f1d7 Tests: Update legacy arguments passed to WP_UnitTest_Factory_For_Blog::create_object(). Sergey Biryukov 2019-12-25 21:39:46 +00:00
  • f8051662b1 Tests: Replace most instances of wpmu_delete_blog() not specifically testing that function with wp_delete_site(). Sergey Biryukov 2019-12-25 18:15:13 +00:00
  • ebe75fb903 Tests: Switch WP_UnitTest_Factory_For_Blog::create_object() to use wp_insert_site(). Sergey Biryukov 2019-12-25 18:10:19 +00:00
  • dbf6a0ba7c Media: Make sure attachment_url_to_postid() performs a case-sensitive search for the uploaded file name. Sergey Biryukov 2019-12-25 02:24:38 +00:00
  • d56642ea57 Docs: Use a third-person singular verb for comment template function descriptions, per the documentation standards. Sergey Biryukov 2019-12-24 16:17:17 +00:00
  • 51b421a6d1 Docs: Improve documentation for get_comment_author_url(). Sergey Biryukov 2019-12-24 16:08:34 +00:00
  • 67502b3dcd Docs: Correct the note about the CORE_UPGRADE_SKIP_NEW_BUNDLED constant in $_new_bundled_files global description. Sergey Biryukov 2019-12-23 17:58:02 +00:00
  • c273108570 Docs: Improve documentation for admin menu functions: Sergey Biryukov 2019-12-23 14:34:10 +00:00
  • 56e338c132 Upgrade/Install: When creating the .htaccess file in insert_with_markers(), make sure it has 0644 as a minimum set of permissions. Sergey Biryukov 2019-12-22 02:43:30 +00:00
  • 5c83f0630a Shortcodes: Introduce apply_shortcodes() as an alias for do_shortcode(). Sergey Biryukov 2019-12-21 20:10:25 +00:00
  • 7abc076e13 Shortcodes: Make sure wp.shortcode.string() accepts the attrs array keys in any order. Sergey Biryukov 2019-12-21 18:32:45 +00:00
  • 939fbfa7d3 Administration: Add doing_wp_cron to wp_removable_query_args(). Sergey Biryukov 2019-12-21 16:12:15 +00:00
  • 2c15e0c286 Tests: Don't fail the test in WP_UnitTestCase_Base::skipOnAutomatedBranches() if Travis environment variables are unavailable, it prevents from running the test locally. Sergey Biryukov 2019-12-20 12:13:10 +00:00
  • d697471bb1 Tests: Correct the check for pull requests in WP_UnitTestCase_Base::skipOnAutomatedBranches(). Sergey Biryukov 2019-12-20 01:10:23 +00:00
  • 2915793376 Build/Test Tools: Pass the TRAVIS_BRANCH and TRAVIS_PULL_REQUEST environment variables along to the Docker container. Sergey Biryukov 2019-12-20 00:01:33 +00:00
  • 26cc3cfd19 Tests: Skip external HTTP test for recommended PHP and MySQL versions on 503 errors. Sergey Biryukov 2019-12-19 20:27:16 +00:00
  • 2fad299387 Editor: Add unit tests for v5.3.1 block serialization functions Jake Spurlock 2019-12-19 18:48:49 +00:00
  • 9fe4689f2d Tests: In test_readme(), if the HTTP request to secure.php.net or dev.mysql.com failed, include response code in the error message. Sergey Biryukov 2019-12-19 15:43:33 +00:00
  • 7cdb642610 Tests: Remove unused cache keys from data_get_site_caches(). Sergey Biryukov 2019-12-18 03:20:59 +00:00
  • 0ff4f016fe Networks and Sites: Remove invalidation of unused cache keys in clean_blog_cache(). Sergey Biryukov 2019-12-18 02:57:18 +00:00
  • d592888f36 Users: When creating the first user on installation, populate the Website profile field with the site URL. Sergey Biryukov 2019-12-18 02:24:05 +00:00
  • 38cfdae6e9 I18N: Make the minimum input length to start searching posts in the "Insert/edit link" modal localizable. Sergey Biryukov 2019-12-18 01:13:14 +00:00
  • c8ac42b3dd Docs: Improve comments in tests/formatting/redirect.php per the documentation standards. Sergey Biryukov 2019-12-18 00:26:23 +00:00
  • 0d81dcbfb1 Docs: Add @method notation for WP_UnitTest_Factory_For_Term::create_and_get() for consistency with other factories. Sergey Biryukov 2019-12-18 00:24:03 +00:00
  • a3e674d4f9 Docs: Various documentation fixes for unit test factories. Sergey Biryukov 2019-12-18 00:17:54 +00:00
  • 99ddfa0195 Tests: Use delta comparison in test_should_fall_back_to_last_post_modified() to avoid race conditions. Sergey Biryukov 2019-12-17 21:31:08 +00:00
  • a276995ff9 Upload: Run the final file name collision test in wp_unique_filename() for each existing file + 1. Andrew Ozz 2019-12-17 20:50:16 +00:00
  • a4b65bfca8 Date/Time: Ensure that get_feed_build_date() correctly handles a modified post object with invalid date. Sergey Biryukov 2019-12-17 20:41:09 +00:00
  • 9d69e005ea Docs: Clarify that get_lastpostdate() and get_lastpostmodified() can return false on failure. Sergey Biryukov 2019-12-17 20:24:46 +00:00
  • ed3e924683 Upgrade/Install: Remove unused global in upgrade_430_fix_comments(). Sergey Biryukov 2019-12-17 16:43:22 +00:00
  • 81a54a49d4 Login/Registration: Pass the error data to the wp_login_failed action. Sergey Biryukov 2019-12-17 15:34:49 +00:00
  • 7261695f7d Docs: Correct @type for timeout argument in WP_Http::request(). Sergey Biryukov 2019-12-17 15:23:33 +00:00
  • 69ddf953bd Date/Time: Add a unit test for [46968]. Sergey Biryukov 2019-12-17 14:35:25 +00:00
  • e8c854d2ce Date/Time: In wp_insert_post(), when checking the post date to set future or publish status, use a proper delta comparison. Sergey Biryukov 2019-12-17 02:23:51 +00:00
  • 5e813adcdc Fix the colors in all color schemes for the .active class for buttons. Andrew Ozz 2019-12-17 00:13:47 +00:00
  • 99ef48a585 Upload: Fix the final file name collision test in wp_unique_filename() when uploading a file with upper case extension. Add a unit test to catch that in the future. Andrew Ozz 2019-12-16 23:42:34 +00:00
  • 735b3543db Upload: - Fix PHP warnings in wp_unique_filename() when the destination directory is unreadable. - Run the final name collision test only for files that are saved to the uploads directory. - Update the unit tests to match. Andrew Ozz 2019-12-16 23:22:00 +00:00
  • 8a88cfac42 Coding Standards: Use strict comparison in wp-admin/widgets.php. Sergey Biryukov 2019-12-16 12:53:59 +00:00
  • 2a8f0cb9e0 Coding Standards: Use strict comparison in wp-admin/includes/network.php. Sergey Biryukov 2019-12-16 12:35:26 +00:00
  • 3b25bc4362 Coding Standards: Use strict comparison in wp-admin/edit-tags.php. Sergey Biryukov 2019-12-15 10:44:37 +00:00
  • ee4f57d509 Coding Standards: Use strict comparison in wp-admin/term.php. Sergey Biryukov 2019-12-15 09:43:08 +00:00
  • 49c6bc2a69 Coding Standards: Add missing braces to if conditions in js/_enqueues/wp/util.js. Sergey Biryukov 2019-12-15 08:43:42 +00:00
  • b202cb423a Formatting: Return early from wp_kses_attr_check() if the element is not in the list of allowed elements and attributes. Sergey Biryukov 2019-12-14 15:51:33 +00:00
  • 1440dab429 Docs: Clarify descriptions for get_gmt_from_date() and get_date_from_gmt(). Sergey Biryukov 2019-12-13 21:43:06 +00:00
  • 5e840c755e I18N: Replace file names in translatable strings on Permalink Settings screen with placeholders. Sergey Biryukov 2019-12-13 21:25:14 +00:00
  • b7b29ddfc9 Bundled Themes: Bump version number and update changelog in Twenty Twenty for WordPress 5.3.1. Ian Belanger 2019-12-12 18:24:33 +00:00
  • 7c38cf178a Prevent stored XSS in the block editor. Jake Spurlock 2019-12-12 18:00:45 +00:00
  • 39a8eacb5f Update wp_kses_bad_protocol() to recognize : on uri attributes, Jake Spurlock 2019-12-12 17:52:18 +00:00
  • dcab984b1b Prevent stored XSS through wp_targeted_link_rel(). Jake Spurlock 2019-12-12 17:51:35 +00:00
  • fb952b5ce0 Ensure that a user can publish_posts before making a post sticky. Jake Spurlock 2019-12-12 17:50:13 +00:00
  • a69a2c241d Docs: Update description for get_categories() to avoid suggesting the deprecated type argument. Sergey Biryukov 2019-12-12 16:45:32 +00:00
  • 2830c6869c Upgrade/Install: Improve the appearance of language selection on install: Sergey Biryukov 2019-12-11 23:01:23 +00:00
  • 3778b1eb82 Comments: Avoid a PHP notice in comment_form() if the email field is not set. Sergey Biryukov 2019-12-11 22:12:09 +00:00
  • c85e33c28f Fixes in admin-bar.js: - Silence errors when a node doesn't exist similarly to jQuery. - Add "feature testing" and fallbacks for old browsers as this may run on the front-end. - Improve inline docs. Andrew Ozz 2019-12-11 18:54:55 +00:00
  • b73180da85 Tests: Docs: Correct @param formatting in SpeedTrapListener after [35226] and [45607]. Sergey Biryukov 2019-12-11 15:46:51 +00:00
  • 2c55227995 Tests: Correct the slowThreshold option name for SpeedTrapListener. Sergey Biryukov 2019-12-11 15:40:57 +00:00
  • 3575a07f4b Docs: Improve documentation for wp_dashboard_browser_nag() and dashboard_browser_nag_class(). Sergey Biryukov 2019-12-11 10:57:44 +00:00
  • 0566a2a5fb TinyMCE: remove CSS map reference from /tinymce/skins/lightgray/skin.min.css. Andrew Ozz 2019-12-10 18:31:46 +00:00
  • 78feb00f7c Comments: Optimize the query for pending comments count in wp_notify_moderator() for better performance on large tables. Sergey Biryukov 2019-12-10 13:45:41 +00:00
  • 7ac5a9f003 Coding Standards: Fix WPCS and JSHint issues in [46872]. Sergey Biryukov 2019-12-10 01:32:56 +00:00
  • 2133f8392e Fix the admin toolbar js when jQuery is not present and replace the jQuery based hoverIntent.js with a native implementation. Introduces the "hoverintent" (no dependencies) package. Andrew Ozz 2019-12-10 01:01:35 +00:00
  • ada69f53ed Block Editor: Resolve @wordpress/block-directory to the expected version, 1.0.6. Sergey Biryukov 2019-12-09 22:27:41 +00:00
  • c1ab0cc974 Menus: Avoid a PHP warning in add_submenu_page() when the same value is passed for both $parent_slug and $menu_slug parameters. Sergey Biryukov 2019-12-09 21:01:13 +00:00
  • f090f8528c Administration: Standardize form control height and alignment across the admin. Sergey Biryukov 2019-12-09 20:24:17 +00:00
  • bdca31b322 Date/Time: XML-RPC: Сalculate the proper offset for GMT in wp.newPost, wp.editComment, mw.newPost, mw.editPost when post_date or comment_date is set. Sergey Biryukov 2019-12-09 19:54:16 +00:00
  • 50f01f47e3 Date/Time: When determining whether to decline the month name in wp_maybe_decline_date(), take word boundaries into account. Sergey Biryukov 2019-12-09 18:48:50 +00:00
  • 2e175cad63 Block Editor: Bug fixes targeted for WordPress 5.3.1. Sergey Biryukov 2019-12-09 17:35:22 +00:00