Commit Graph

  • 0e2f9b5019 Updates: Try a more compatible method to detect if a file exists when using the FTP Extension. This change causes it to list the parent directories files, and assets that the node exists within the returned listing, this is a little more compatible than relying upon the FTP server to correctly filter the returned resultset to the specific file/node being requested. Fixes #28013 Dion Hulse 2015-10-01 05:08:07 +00:00
  • d5fdd9084a Correct some WP_Query metadata lazyloading docs. Boone Gorges 2015-10-01 04:00:48 +00:00
  • 27eb520f0c s/add_action()/add_filter() in WP_Query metadata lazyloading. Boone Gorges 2015-10-01 04:00:41 +00:00
  • a7dbb948c5 Prevent extra db queries in WP_Comment::get_children(). Boone Gorges 2015-10-01 03:57:53 +00:00
  • f14dc03ad6 Simplify pagination logic in comments_template(). Boone Gorges 2015-10-01 03:10:13 +00:00
  • 63b6bc751d Post List Table: Ensure that edit.php with no query string produces the proper markup and links in the date column header. Scott Taylor 2015-10-01 02:09:41 +00:00
  • ed1240234d Formatting: Rename the $richedit parameter in format_to_edit() to $rich_text. Drew Jaynes 2015-10-01 02:00:42 +00:00
  • f737a197c2 Comments: Trash blacklisted comments by default. Helen Hou-Sandi 2015-10-01 01:48:14 +00:00
  • 3725408616 Docs: Document declaration of the $submenu_file global in wp-admin/menu-header.php. Drew Jaynes 2015-10-01 01:47:07 +00:00
  • 72e5ad9390 Declare the $submenu_file global to avoid a notice generated by passing it as a parameter to the submenu_file hook, introduced in [34722]. Drew Jaynes 2015-10-01 01:22:55 +00:00
  • 11144bd39e Don't show the "Add New" link on post-new.php. Helen Hou-Sandi 2015-10-01 00:47:22 +00:00
  • be98773ac9 Add 'submenu_file' filter for the file of an admin menu sub-menu item. Sergey Biryukov 2015-10-01 00:22:37 +00:00
  • 00f500f135 Customize: Style the nav menu "Add Items" button as disabled when reordering. Weston Ruter 2015-09-30 22:54:59 +00:00
  • 9dd6f369cf Fix db_version juggling during non-multisite tests. Boone Gorges 2015-09-30 13:27:09 +00:00
  • 13e28a6d34 Prevent Multisite term tests from hitting database for 'db_version'. Boone Gorges 2015-09-30 13:08:49 +00:00
  • 8e0b9bae2e Bail out of termmeta functions if schema is not up-to-date. Boone Gorges 2015-09-30 04:52:28 +00:00
  • 69db043e3c Docs: There are quite alot of typos in core inline comments. Drew Jaynes 2015-09-30 04:12:16 +00:00
  • 87fbd30548 Use array hash notation for get_comment_link() $args. Boone Gorges 2015-09-30 04:12:06 +00:00
  • bd01019c21 Themes: Introduce three new arguments for get_the_post_navigation(), in_same_term, excluded_terms, and taxonomy. Drew Jaynes 2015-09-30 03:40:52 +00:00
  • a774dfbb08 Widgets: Introduce a delete_widget action, which fires after a widget has been marked for deletion. Drew Jaynes 2015-09-30 03:20:41 +00:00
  • 30a165a1a5 Fix logical errors in some comment pagination tests. Boone Gorges 2015-09-30 03:06:22 +00:00
  • 13aeda2ef7 Docs: Mark a few optional parameters as such in wp-includes/rewrite-functions.php. Drew Jaynes 2015-09-30 02:41:49 +00:00
  • 283c38c022 Improve lazyloading of comment meta in WP_Query loops. Boone Gorges 2015-09-30 01:34:54 +00:00
  • 686ef2bd79 List Tables: .column-date needs to become wider at smaller screen sizes, bump it from 10% to 14% at the breakpoint to prevent wrapping. Scott Taylor 2015-09-30 01:24:33 +00:00
  • 876c8611f1 Revert [34083], I was willing to try this out for the greater good. The good was not greater. There is too much baggage associated with this specific change as pertains to BC and expected layout. Scott Taylor 2015-09-30 01:18:55 +00:00
  • 427f4fe063 Rewrite: allow add_rewrite_rule|WP_Rewrite::add_rule() to accept an associative array for the value of $redirect instead of requiring a query string. Scott Taylor 2015-09-30 01:10:03 +00:00
  • 27bc50cef8 List Tables: only hide bulk actions when there are no items, don't hide all of the extra table nav. Scott Taylor 2015-09-30 00:46:15 +00:00
  • 2b8df0b47a Docs: Add an @see reference for the "use-instead-of" function in the DocBlock for force_ssl_login(), deprecated in [34700]. Drew Jaynes 2015-09-29 22:45:56 +00:00
  • 0150a52379 Users: Add the default arguments array as a second parameter to the wp_dropdown_users_args filter, introduced in [34692]. Drew Jaynes 2015-09-29 22:38:12 +00:00
  • e75f2c024f Improve lazyloading of term metadata in WP_Query loops. Boone Gorges 2015-09-29 21:59:44 +00:00
  • 601ace8b25 force_ssl_login() has been functionally identical to force_ssl_admin() since 4.0 (#10267), so its test assertions can be removed as the function has been deprecated in [34700]. The remaining assertions suitably cover force_ssl_admin(). John Blackbourn 2015-09-29 21:43:04 +00:00
  • e04d0dd623 Customizer: make "Current header" clickable in the same way that "Background Image" is - will open the media modal. Scott Taylor 2015-09-29 21:39:55 +00:00
  • 3d06ffcbbc Network Upgrade: switch <h3> to <h2>. Scott Taylor 2015-09-29 21:27:42 +00:00
  • 0058018799 Deprecate force_ssl_login(), which is simply a wrapper for force_ssl_admin() and is not used in core. John Blackbourn 2015-09-29 21:27:40 +00:00
  • c226bff80b Tests: Add two tests for the current behavior of the 'hierarchical' and 'child_of' arguments in get_pages(). Drew Jaynes 2015-09-29 21:27:03 +00:00
  • 49f4196f12 Tests: Add two tests for the current 'hierarchical' argument behavior in get_pages(). Drew Jaynes 2015-09-29 20:49:32 +00:00
  • 49063d8e14 WP_Query should not ignore an offset of 0. Boone Gorges 2015-09-29 19:36:16 +00:00
  • 3b7187eade Fix 'exclude_tree' in wp_list_categories(). Boone Gorges 2015-09-29 19:11:12 +00:00
  • c81fe78b9c Bump H3 headings to H2 on the Network Settings screen for better accessibility. Andrea Fercia 2015-09-29 18:51:20 +00:00
  • f765605336 Cleanup image size in unit tests Aaron Jorbin 2015-09-29 17:47:24 +00:00
  • 644632bec5 Revert the introduction of validation of the comment author's email address when sanity checking input in wp-comments-post.php (introduced in r34274). This allows a problematic email address to fall through to the correct validation routine and show the "Please enter a valid email address" as expected. John Blackbourn 2015-09-29 17:26:44 +00:00
  • 077854484d Users: Introduce the wp_dropdown_users_args filter, making it possible to filter the arguments for wp_dropdown_users() before the query is run. Drew Jaynes 2015-09-29 15:39:26 +00:00
  • a8f9ae8161 On the Permalink Settings screen, add a link to the Nginx documentation when the current site is running Nginx. This is in lieu of showing actual Nginx configuration like we do for mod_rewrite or IIS. John Blackbourn 2015-09-29 11:14:23 +00:00
  • ce14a63214 Permalinks: Add pretty permalinks for unattached attachments. Gary Pendergast 2015-09-29 09:41:14 +00:00
  • 133b204471 Docs: Move the hook doc to once again directly precede the hook line for the getarchives_where filter following [34686]. DrewAPicture 2015-09-29 06:38:02 +00:00
  • f270e7a03e Tests: Relocate tests for general-template.php to a more logically-placed (and named) file, tests/general/template.php. Drew Jaynes 2015-09-29 05:51:14 +00:00
  • 6f6f62b6e5 Tests: Consolidate author-template tests into a single, more logically-placed file, tests/user/author.php. Drew Jaynes 2015-09-29 05:37:00 +00:00
  • 1ac3ba0828 Allow wp_get_archives() to accept post_type as an arg. Scott Taylor 2015-09-29 05:10:10 +00:00
  • 070b65dcfc Rewrite: Redirect attachment URLs when their slug changes. Gary Pendergast 2015-09-29 04:57:02 +00:00
  • 0ab0525691 Edit Media: wrap long filenames in the Publish meta box. Scott Taylor 2015-09-29 04:50:08 +00:00
  • 999e54c8d3 RSS Widget: add a class, rss-widget-icon, to the RSS icon to allow devs to hide it. Not going to remove to not break visual BC. Scott Taylor 2015-09-29 04:31:10 +00:00
  • 9bffa403dd XML-RPC: add a unit test for mw.editPost. Scott Taylor 2015-09-29 04:27:57 +00:00
  • 948ab018d2 XML-RPC: calculate the proper offset for GMT in wp.newPost, mw.newPost, and mw.editPost when post_date is set, wp.editComment when comment_date is set. post|comment_date is assumed to be GMT. This is only true if the timezone string for the site matches GMT. Scott Taylor 2015-09-29 04:04:16 +00:00
  • 16e0cc873b Add unit tests for post_exists(). Boone Gorges 2015-09-29 04:02:00 +00:00
  • 36af857315 Don't require explicit taxonomy when getting terms by term_taxonomy_id. Boone Gorges 2015-09-29 03:51:11 +00:00
  • 58d7f89bf7 Tests: Flush rewrite rules between tests in an attempt to avoid permalinks pollution in Tests_Author_Template. Drew Jaynes 2015-09-29 02:18:55 +00:00
  • 3edc3b46f2 Introduce get_the_author_posts_link(), which returns the HTML link to the author page for the current post's author. Drew Jaynes 2015-09-29 01:48:47 +00:00
  • fbce07b386 Docs: Clarify $user parameter documentation in wpmu_validate_blog_signup. Jeremy Felt 2015-09-29 01:32:47 +00:00
  • f0200152be Revert r34674 due to failures on PHP < 5.4. John Blackbourn 2015-09-29 01:00:17 +00:00
  • 2183725c54 Avoid stripping square brackets from URLs, and instead correctly encode them. John Blackbourn 2015-09-29 00:40:30 +00:00
  • 8f4a6370f0 Fixes #33816. Jeremy Felt 2015-09-28 23:29:40 +00:00
  • bf4846985f MS: Delete rewrite_rules when updating a switched site's URL. Jeremy Felt 2015-09-28 23:23:44 +00:00
  • 94f596278c Sample permalink: Buttons still need the .button class. Helen Hou-Sandi 2015-09-28 22:06:15 +00:00
  • 106f0b7b7b Edit: Remove the redundant "View Post" button-link and link the sample permalink. Helen Hou-Sandi 2015-09-28 20:09:19 +00:00
  • f261d3ac8a Fix comment_order for single page comment threads. Boone Gorges 2015-09-28 19:29:22 +00:00
  • ac85963ad4 Correctly slash post fields when trashing and untrashing posts. John Blackbourn 2015-09-28 19:25:05 +00:00
  • 9271360932 Correct the logic used when determining whether to display the 'Mine' link on post list tables. It should only be shown when the count for the user's posts differs for the total count of posts. is_multi_author() cannot be used because it only considers Posts. John Blackbourn 2015-09-28 19:14:56 +00:00
  • aaa6e1c27e Add a nav_menu_item_title filter for filtering nav menu item titles. John Blackbourn 2015-09-28 18:40:56 +00:00
  • 01ae35dc58 Add a missing @param doc for confirm_another_blog_signup(). John Blackbourn 2015-09-28 17:57:05 +00:00
  • 06caa4bb37 Avoid using assertNotFalse() which is only available in phpunit >= 4.0.0 John Blackbourn 2015-09-28 16:27:18 +00:00
  • 8823432749 Update get_the_post_thumbnail_url() so it returns false on failure, to bring it inline with wp_get_attachment_image_url(). Correct and introduce new tests. John Blackbourn 2015-09-28 15:33:12 +00:00
  • 7fce79698a Widgets: Pass $instance to the widget_nav_menu_args filter in the Custom Menu widget. Drew Jaynes 2015-09-28 15:30:21 +00:00
  • c1d7e7f5aa In get_page_of_comment(), use a true COUNT query. Boone Gorges 2015-09-28 15:09:46 +00:00
  • 05e0a3b97e Use correct 'page_id' parameter in get_page_of_comment(). Boone Gorges 2015-09-28 15:09:34 +00:00
  • 6d87c4cecb Rewrite: When redirecting old slugs, include URL endpoints. Gary Pendergast 2015-09-28 06:56:54 +00:00
  • b59df508cf Theme Editor: ensure that files named index.php in theme subfolders are not labeled as "Main Index Template" Scott Taylor 2015-09-28 03:10:08 +00:00
  • 9d0f206ee1 After [34629], use $size_class instead of $size. Scott Taylor 2015-09-28 02:49:05 +00:00
  • 963e92a7dc Exclude external HTTP tests from multisite run Aaron Jorbin 2015-09-28 02:36:23 +00:00
  • 2b78c9579a WPDB: Make sure we don't run sanity checks on DB dropins. Gary Pendergast 2015-09-28 01:16:29 +00:00
  • 416dc6642a Tests: Add a test for the 'before' and 'after' arguments in wp_page_menu() when used as a fallback for wp_nav_menu(). Drew Jaynes 2015-09-28 00:46:19 +00:00
  • a155c5dcfd After [34200], force 'before' and 'after' to <ul> and </ul> when wp_nav_menu() falls back to wp_page_menu(). Scott Taylor 2015-09-27 23:38:32 +00:00
  • 8594d93d7b Docs: Improve the hook documentation for the plugins_api_args filter. Drew Jaynes 2015-09-27 23:02:47 +00:00
  • df542a1802 Docs: Improve the hook documentation for the themes_api filter. Drew Jaynes 2015-09-27 23:00:08 +00:00
  • c6c2afd70b Docs: Normalize the data table spacing in the themes_api() DocBlock following a typo fix in [34649]. Drew Jaynes 2015-09-27 22:48:06 +00:00
  • 8fa143dc2e Docs: Fix two typos in the DocBlock description for themes_api(): Drew Jaynes 2015-09-27 22:46:37 +00:00
  • 9e4c655b2a Docs: Adjust the themes_api() DocBlock description to clarify the "second" available hook, themes_api, and add new information for the "third" hook, themes_api_result. Drew Jaynes 2015-09-27 22:44:18 +00:00
  • c82483fcbc Docs: Improve the hook documentation for the plugins_api filter. Drew Jaynes 2015-09-27 22:28:38 +00:00
  • cb66358b9b Switch several assertions to assertNotWPError() so more context is provided when the assertion fails. John Blackbourn 2015-09-27 22:26:16 +00:00
  • ed0ef8e2c0 Docs: Adjust the plugins_api() DocBlock description to clarify the "second" available hook, plugins_api, and add new information for the "third" hook, plugins_api_result. Drew Jaynes 2015-09-27 22:22:32 +00:00
  • c64bab4531 Docs: Slightly improve the readability of the data table in the DocBlock description for the oembed_providers hook by centering the HTTPS column. Drew Jaynes 2015-09-27 22:11:01 +00:00
  • 813bff7bdb Canonical: after [34272], don't redirect rewrite endpoints on attachment URLs when pretty permalinks are enabled. Scott Taylor 2015-09-27 22:10:08 +00:00
  • b9944f6331 Docs: Update the DocBlock summary for plugins_api() to reflect the "WordPress.org" Plugins API. Drew Jaynes 2015-09-27 22:06:37 +00:00
  • 40c3091ee3 Docs: Further improve documentation for plugins_api(). Drew Jaynes 2015-09-27 21:59:12 +00:00
  • e712f041e2 Docs: Vastly improve documentation for themes_api(). Drew Jaynes 2015-09-27 21:51:18 +00:00
  • a0be6bbb12 Don't set CURLOPT_CAINFO when sslverify is false when sending HTTP API requests through cURL. This avoids sending redundant information to cURL, and avoids a bug in Apple's SecureTransport library which causes a request to fail when a CA bundle is set but certificate verification is disabled. John Blackbourn 2015-09-27 21:37:00 +00:00
  • 5ff16465f2 Introduce WP_UnitTestCase::assertNotWPError() for when a test needs to assert that something is, well, not a WP_Error. John Blackbourn 2015-09-27 21:28:26 +00:00
  • deb42cc66f Autoprefixer for [34634]. Helen Hou-Sandi 2015-09-27 19:16:35 +00:00
  • 8fa5426485 Users List Table: show the "Change role to" dropdown on the top and bottom. Currently only shows on top. Scott Taylor 2015-09-27 19:10:08 +00:00
  • b3f49e0cdf Docs: Fix some syntatical issues in the DocBlock for WP::send_headers() following [34632]. Drew Jaynes 2015-09-27 18:48:14 +00:00
  • 4dc810ad3c Feature Image: Improve the preview for transparent background images by using CSS3 to show a checkered background. Scott Taylor 2015-09-27 18:40:40 +00:00