Commit Graph

  • c2c8a6848d Taxonomy: Fix unique-slug check for terms with parents. Boone Gorges 2019-08-26 15:18:40 +00:00
  • 152083be8f Docs: Improve and update the description of multi_resize() to explain changes and expected use. Andrew Ozz 2019-08-25 22:20:57 +00:00
  • 252e14ac27 Menus: In wp_setup_nav_menu_item() and Walker_Nav_Menu_Edit::start_el(), check if the post or term associated with the menu item still exists to avoid a PHP notice. Sergey Biryukov 2019-08-25 21:31:43 +00:00
  • 7ef2679ec7 Users: Adjust [45806] to make sure $all_userids is always defined. Sergey Biryukov 2019-08-25 20:02:31 +00:00
  • 2e1de7309c Site Health: Add timezone to Site Health Info page. Sergey Biryukov 2019-08-24 19:36:33 +00:00
  • 3e704473e7 Taxonomy: Ensure consistency of hide_empty in term queries when taxonomy is excluded. Boone Gorges 2019-08-23 16:04:07 +00:00
  • ae2b4f9add Date/Time: Rewrite and simplify get_gmt_from_date(), get_date_from_gmt(), and iso8601_to_datetime() using wp_timezone(). Sergey Biryukov 2019-08-23 11:02:51 +00:00
  • b975a251ff Date/Time: Simplify the date comparing logic in WP_Community_Events::trim_events(). Sergey Biryukov 2019-08-23 02:14:07 +00:00
  • ece257ffd0 Build Tools: Pass the LOCAL_DIR environment variable through to the phpunit Docker container. Gary Pendergast 2019-08-23 01:55:28 +00:00
  • ff36b9664f Date/Time: Revert unintended changes from [45882]. Sergey Biryukov 2019-08-23 01:15:16 +00:00
  • 1c66cf519b Date/Time: Introduce current_datetime() for better time operations. Sergey Biryukov 2019-08-23 01:11:22 +00:00
  • 67f7d1f4c7 Date/Time: Rewrite and simplify date_i18n() using wp_timezone() to address multiple issues with certain date formats and timezones, while preserving some extra handling for legacy use cases. Sergey Biryukov 2019-08-23 00:56:21 +00:00
  • 0847b67b13 Coding Standards: Dynamic hooks should be named using interpolation not concatenation. Jonathan Desrosiers 2019-08-22 19:07:57 +00:00
  • 5a47302c35 Coding Standards: Add missing break for the default case in wp_privacy_anonymize_data(). Sergey Biryukov 2019-08-22 14:49:05 +00:00
  • 4e129d1506 Date/Time: Use wp_timezone() in WP_Date_Query::build_mysql_datetime() to address timezone issues. Sergey Biryukov 2019-08-22 03:10:05 +00:00
  • 8d5e4fed4d Build Tools: Don't use git for package installs. Gary Pendergast 2019-08-22 02:28:50 +00:00
  • 1ba44554be Users: Adjust [45708] to make sure wp_update_user() does not issue a WP_Error if a single site was previously set up as Multisite and there's still a spam field in the user table. Sergey Biryukov 2019-08-22 01:52:16 +00:00
  • 7fbabd505d Administration: Adjust [45814] to address a backward compatibility issue for plugins passing multiple CSS classes to add_settings_error(). Sergey Biryukov 2019-08-22 00:21:49 +00:00
  • 6ea6591114 Docs: Correct type for the $deprecated argument of get_terms(). Sergey Biryukov 2019-08-21 16:26:47 +00:00
  • 7b14e0c349 Docs: Fix typo in _wp_make_subsizes() DocBlock. Sergey Biryukov 2019-08-21 16:22:49 +00:00
  • fb189a6d5c Customizer: Trim whitespace from custom link URLs. Sergey Biryukov 2019-08-21 00:26:45 +00:00
  • 2fb748bd1c Docs: Update @since tag for new JS functions and variables introduced in [45572]. Sergey Biryukov 2019-08-20 22:53:50 +00:00
  • 23769b62c1 Twenty Seventeen: Fix tabs vs. spaces in [45764]. Sergey Biryukov 2019-08-20 19:10:15 +00:00
  • 92ba7258b0 Twenty Eleven: Fix tabs vs. spaces in [45763]. Sergey Biryukov 2019-08-20 19:10:12 +00:00
  • c277879ad0 Twenty Seventeen: Adjust [45764] to conform to CSS Coding Standards. Sergey Biryukov 2019-08-20 19:05:30 +00:00
  • 13f064a1c3 Twenty Eleven: Adjust [45763] to conform to CSS Coding Standards. Sergey Biryukov 2019-08-20 19:05:24 +00:00
  • d471151f45 Tests: Remove $wpdb global reference from test_wp_insert_user_with_empty_data(). Sergey Biryukov 2019-08-20 17:27:17 +00:00
  • 31a6309902 Users: In wp_insert_user(), account for the wp_pre_insert_user_data filter returning empty data. Sergey Biryukov 2019-08-20 17:25:02 +00:00
  • 051aa3847c Date/Time: Fix race conditions in current_time() tests. Sergey Biryukov 2019-08-20 01:34:37 +00:00
  • 91f60afbe5 Date/Time: Use PHP DateTime class API in current_time(). Sergey Biryukov 2019-08-19 21:05:42 +00:00
  • f5f2fc379e Coding Standards: Use long array syntax in Tests_WP_Timezone::timezone_offset_provider(). Sergey Biryukov 2019-08-19 21:05:25 +00:00
  • c782ad4511 Coding Standards: Use KB_IN_BYTES in get_file_data(). Sergey Biryukov 2019-08-19 20:09:11 +00:00
  • 904b41e01c Date/Time: Introduce wp_timezone_string() and wp_timezone() for unified timezone retrieval. Sergey Biryukov 2019-08-19 19:07:03 +00:00
  • f2b6c12ddb Coding Standards: Fix WPCS violations in [45851]. Sergey Biryukov 2019-08-19 16:34:57 +00:00
  • 896da178e0 Date/Time: In wp_insert_post(), when checking the post date to set future or publish status, use string comparison to work around far future dates (year 2038+) on 32-bit systems. Sergey Biryukov 2019-08-19 15:49:32 +00:00
  • 0f8ba2cf2a Date/Time: In WP_Date_Query::__construct(), return early if $date_query is empty or not an array. Sergey Biryukov 2019-08-19 15:16:18 +00:00
  • 4e0499e5bf Tests: Add an xdebug group for tests that require xdebug. Gary Pendergast 2019-08-19 02:17:50 +00:00
  • 9260916964 Multisite: Remove truncation to allow clearers identification of longer site names Tammie Lister 2019-08-18 12:29:30 +00:00
  • 95c36ce5ba Privacy: Add descriptions for sections in a personal data export file. Sergey Biryukov 2019-08-18 02:07:00 +00:00
  • 6f30523ce9 Plugins: Adjust margin for plugin headings on "Add Plugins" screen to avoid overlapping with "Network Activate" button. Sergey Biryukov 2019-08-17 14:33:01 +00:00
  • e810b32f42 Pings/Trackbacks: In wp_xmlrpc_server::pingback_ping(), strip inline JS and CSS while trying to figure out the pingback context. Sergey Biryukov 2019-08-17 13:58:12 +00:00
  • c5438c3720 Docs: Improve documentation for wp_set_auth_cookie() and related functions. Sergey Biryukov 2019-08-17 13:22:26 +00:00
  • b675f56c4f Docs: Add a missing return type. John Blackbourn 2019-08-16 19:34:31 +00:00
  • 4bb45c674a Add @ticket annotations for [45812]. K. Adam White 2019-08-16 03:32:23 +00:00
  • a100d0cf52 Build Tools: Improve local-env start behaviour under Docker Toolbox. Gary Pendergast 2019-08-16 01:39:59 +00:00
  • f3241f4883 Administration: Replace legacy updated message type in add_settings_error() calls with success. Sergey Biryukov 2019-08-16 00:38:42 +00:00
  • e961891e1b Taxonomy: In feed_links_extra() and get_the_archive_title(), make sure the queried taxonomy term exists before accessing its properties. Sergey Biryukov 2019-08-16 00:23:40 +00:00
  • beb1d3a7b5 Coding Standards: In wlwmanifest_link(), use concatenation instead of commas for echo, for consistency with rsd_link() and the rest of core. Sergey Biryukov 2019-08-16 00:20:58 +00:00
  • 5a98103567 REST API: Add @ticket annotation to test from [45813]. K. Adam White 2019-08-15 23:08:31 +00:00
  • 7113ab1f51 Administration: In add_settings_error(), add warning and info as possible values for message type. Sergey Biryukov 2019-08-15 23:00:38 +00:00
  • d65b89c5e4 REST API: Always return post types list in taxonomies endpoint response as an array. K. Adam White 2019-08-15 22:11:07 +00:00
  • 8f100777e8 REST API: Prevent deletion of post revisions. K. Adam White 2019-08-15 22:00:49 +00:00
  • eb468c4446 REST API: Cache results of get_item_schema on controller instances for performance. K. Adam White 2019-08-15 21:08:05 +00:00
  • 94b8a122c4 REST API: Clarify arguments passed to rest route get & update callbacks. K. Adam White 2019-08-15 20:03:18 +00:00
  • 80e44e49e2 REST API: Do not send response body if status is 204 or body is null. K. Adam White 2019-08-15 19:55:13 +00:00
  • 22480c035b REST API: Add test class file incorrectly omitted from [45807]. K. Adam White 2019-08-15 17:20:02 +00:00
  • c92ef7c441 REST API: Support 'object' and 'array' types in register_meta() schemas. K. Adam White 2019-08-15 17:16:21 +00:00
  • a636529b7c Users: When deleting users, exclude the current user from the content existence check. Sergey Biryukov 2019-08-15 13:05:39 +00:00
  • 9c3fb72719 Schema: Add an index to wp_options.autoload. Gary Pendergast 2019-08-15 07:12:04 +00:00
  • e982455e44 Networks and Sites: Trim site domain when creating a new site on Add New Site screen before further validation. Sergey Biryukov 2019-08-15 01:20:52 +00:00
  • 4f86944a09 Docs: Add missing @since tag for WP_Site_Health::has_late_cron(). Sergey Biryukov 2019-08-15 00:41:25 +00:00
  • 0d2b94a44a Site Health Check: New tests file missed in [45801]. Peter Wilson 2019-08-15 00:36:38 +00:00
  • f29952ab74 Site Health Check: Increase time allowance for cron checks. Peter Wilson 2019-08-15 00:34:53 +00:00
  • f756d801d8 Build Tools: Change the PHPUnit Docker image's working directory to match the other images. Gary Pendergast 2019-08-15 00:33:32 +00:00
  • da411cd17a Build Tools: Run composer commands in a Docker container on Travis. Gary Pendergast 2019-08-14 23:11:39 +00:00
  • a2a28e4608 Widgets: Allow for short-circuiting widget output in the_widget() using the widget_display_callback filter, for consistency with output via a registered sidebar. Sergey Biryukov 2019-08-14 23:02:25 +00:00
  • 1177e1212f Docs: Correct type for query_var argument of register_taxonomy(). Sergey Biryukov 2019-08-14 17:46:20 +00:00
  • a58eb86d5e Posts, Post Types: In wp_trim_words() make sure the $num_words parameter is always an integer, as documented, to avoid a PHP warning. Sergey Biryukov 2019-08-14 17:17:51 +00:00
  • d4a305292f Users: Make wp_list_authors() unit tests more readable. Sergey Biryukov 2019-08-14 15:35:19 +00:00
  • 5bcd25ac0a Networks and Sites: Improve documentation and variable naming in switch_to_blog() and restore_current_blog(). Sergey Biryukov 2019-08-14 14:28:52 +00:00
  • 94f4dcd15a Plugins: Adjust the pause before running plugin search AJAX request on "Add Plugins" screen to allow more time for using browser's autocomplete. Sergey Biryukov 2019-08-14 02:01:26 +00:00
  • e196360f8c Coding Standards: Fix JSHint error in [45790]. Sergey Biryukov 2019-08-14 00:01:40 +00:00
  • ee1159c4fe Site Health: Simplify the language in Status Health Info page introduction, add a link to Status page. Sergey Biryukov 2019-08-13 23:34:53 +00:00
  • 98255d4720 Comments: enable typing cmd/ctrl-enter to submit comment forms. Adam Silverstein 2019-08-13 21:25:57 +00:00
  • 9a20a07304 Remove trailing white space in upgrade.php. Andrew Ozz 2019-08-13 19:52:50 +00:00
  • 6dad32d2ae Admin email verification: - Add the admin_email_lifespan option when installing. Fixes a bug where the verification screen is shown right after installation. - Reset the same option when upgrading and the user doing the DB upgrade is not an admin. This will ensure the email verification is shown next time an admin logs in. - Use site_url() instead of network_site_url() for the form action. The latter seems needed only for password reset. Andrew Ozz 2019-08-13 17:39:06 +00:00
  • feb0830c79 Comments: Include post permalink in comment reply link. Peter Wilson 2019-08-13 05:08:14 +00:00
  • 3d53fdba73 Docs: Clarify custom-fields support requirement for viewing custom post meta in REST API. K. Adam White 2019-08-13 01:51:00 +00:00
  • 457a57af83 Build Tools: Remove the old docker-compose.yml file, now no longer used. Gary Pendergast 2019-08-12 09:22:00 +00:00
  • 4311bac7e4 Build Tools: Add the docker-compose.yml file, missed in [45783]. Gary Pendergast 2019-08-12 09:20:06 +00:00
  • 13d356691b Build Tools: Miscellaneous local-env improvements. Gary Pendergast 2019-08-12 08:28:33 +00:00
  • 83eb411e27 Site Health: Add database charset and collation information to debug info. Sergey Biryukov 2019-08-12 01:53:17 +00:00
  • c76271c49a Docs: Improve documentation for various feed link functions and filters. Sergey Biryukov 2019-08-11 17:20:51 +00:00
  • 64eeedee46 Docs: Improve documentation for get_last_updated(). Sergey Biryukov 2019-08-11 16:17:16 +00:00
  • 26592196e0 Docs: Improve documentation for get_page_by_title(). Sergey Biryukov 2019-08-11 12:41:34 +00:00
  • 6ca6c447b9 Docs: Document the show_split_view argument for wp_text_diff(). Sergey Biryukov 2019-08-10 22:27:02 +00:00
  • f88cc8aaa7 Widgets: Replace http with https in the link placeholder widget image Jake Spurlock 2019-08-09 17:05:13 +00:00
  • 4513c3f009 Twenty Sixteen: Correct HelpHub URL in readme.txt. Sergey Biryukov 2019-08-09 13:52:49 +00:00
  • 5b2c4b5a53 Twenty Nineteen: Add missing Installation section to readme.txt, for consistency with other themes. Sergey Biryukov 2019-08-09 13:41:38 +00:00
  • 570cadf0d9 Twenty Nineteen: Add missing copyright information. Sergey Biryukov 2019-08-09 13:35:57 +00:00
  • 18632fbf8d Twenty Nineteen: Correct license URI. Sergey Biryukov 2019-08-09 02:56:40 +00:00
  • 72529b3deb Feeds: Introduce the get_self_link() function. Gary Pendergast 2019-08-09 01:30:32 +00:00
  • 739bc58d13 REST API: In get_rest_url(), check if $_SERVER['SERVER_NAME'] is set to avoid a PHP warning in CLI context. Sergey Biryukov 2019-08-08 20:19:48 +00:00
  • 3008781746 Bootstrap/Load: Change "Insufficient Requirements" wp_die() heading to "Requirements Not Met", which is more appropriate for the context it's used in. Sergey Biryukov 2019-08-08 12:53:21 +00:00
  • c645936163 Emoji: Upgrade Twemoji to 12.1.2. Gary Pendergast 2019-08-08 04:04:15 +00:00
  • 0d9ec05d2c Bundled Themes: Audit and update version numbers passed to wp_enqueue_script() to ensure proper cache busting. Sergey Biryukov 2019-08-08 01:28:26 +00:00
  • e58b5f1c7f Bundled Themes: Audit and update version numbers passed to wp_enqueue_style() to ensure proper cache busting. Sergey Biryukov 2019-08-08 01:24:32 +00:00
  • 98642e4893 Administration: Show a warning in Reading Settings when a Privacy Policy page is accidentally set as a Homepage or Posts page. Sergey Biryukov 2019-08-07 23:02:43 +00:00
  • 72d2ed8113 Bump grunt-patch-wordpress to 2.0.0 Aaron Jorbin 2019-08-07 15:08:04 +00:00
  • f57620a8d6 Twenty Seventeen: Correct height for a Button block without text. Sergey Biryukov 2019-08-07 11:56:04 +00:00