Commit Graph

  • 4da03f3cfc Allow metadata to be attached to comment at time of creation. Boone Gorges 2015-09-25 04:40:30 +00:00
  • 0dc1f270ec After [34529], fix multisite site creation test. Boone Gorges 2015-09-25 04:31:52 +00:00
  • 039955d5cd Introduce 'paged' parameter for WP_User_Query. Boone Gorges 2015-09-25 04:25:20 +00:00
  • 7757f84a69 After [34529], normalize documentation for get_terms() and wp_get_object_terms(). Boone Gorges 2015-09-25 04:04:06 +00:00
  • 3425177325 Introduce metadata for taxonomy terms. Boone Gorges 2015-09-25 03:58:59 +00:00
  • a98ca8b314 Links: in get_adjacent_post(), add a "get_{$adjacent}_post_excluded_terms" filter. Scott Taylor 2015-09-25 02:37:29 +00:00
  • 641150a87a Comments List Table: after [34179], scope the <th>s and <td>s as direct descendants of their parent row. Scott Taylor 2015-09-25 02:20:11 +00:00
  • 53c3cd897a Update the oEmbed endpoint URL for Photobucket. John Blackbourn 2015-09-24 22:02:16 +00:00
  • 2300740fa2 Comments: In comment_form(), move the comment textarea to the top for logged-out users when replying, improves keyboard/focus navigation. Scott Taylor 2015-09-24 21:59:39 +00:00
  • 3e46dd8b92 Comments: In get_comment_statuses(), also return trash. XML-RPC: In wp_xmlrpc_server::wp_editComment(), allow comments to be trashed. Scott Taylor 2015-09-24 21:47:51 +00:00
  • 15935e0aed Comments: in comment_form(), add args for cancel_reply_before and cancel_reply_after to eradicate remaining hard-coded HTML bits. Scott Taylor 2015-09-24 21:32:03 +00:00
  • 9b55d4fecb Comments: in check_comment_flood_db(), don't throttle moderators. If the commenter is logged in, check against their user_id instead of comment_author_IP. Scott Taylor 2015-09-24 21:21:16 +00:00
  • d1fbe56dfc Plugins: Don't use _n() for singular/plural strings which have no placeholder for a number. Dominik Schilling (ocean90) 2015-09-24 21:06:50 +00:00
  • 55bb8b8c0b Comments: add a 'comment_excerpt_length' filter to get_comment_excerpt(). Scott Taylor 2015-09-24 21:04:16 +00:00
  • c5a336d664 Use WP_TESTS_DOMAIN where it should be used in tests in place of hard-coded uses of example.org. John Blackbourn 2015-09-24 21:01:10 +00:00
  • b415937e4a Another missed file from [34172]. John Blackbourn 2015-09-24 20:32:49 +00:00
  • 5b5b714694 Comments List Table JS: move the dynamic count functions into closure scope so that setCommentsList AND commentReply can access them. Update counts when replying inline. Scott Taylor 2015-09-24 20:15:54 +00:00
  • 1e42aeb3c4 Add a @since entry for the implementation of the $public argument in register_taxonomy(). John Blackbourn 2015-09-24 20:15:29 +00:00
  • e1d433a233 Edit Post: in the logic determining whether to display the Comments meta box, check for the current post status in get_post_stati( array( 'public' => true ) ) instead of just checking publish and private. Ensure that private is checked in both instances. Scott Taylor 2015-09-24 20:01:55 +00:00
  • 395fc15df3 Widgets: use input[type="number"] for the number prop in the Recent Posts and Recent Comments widget forms. Scott Taylor 2015-09-24 19:52:06 +00:00
  • 075245d894 Convert the $args passed to register_post_type() into an array before passing them to the new register_post_type_args filter. John Blackbourn 2015-09-24 19:38:11 +00:00
  • 2703af7691 Docs: Clarify the summary and optional $query parameter description for remove_query_arg(). Drew Jaynes 2015-09-24 19:33:07 +00:00
  • c406171d12 Docs: Overhaul the DocBlock for add_query_arg() to attempt to better explain the various call signatures it accepts. Drew Jaynes 2015-09-24 19:31:40 +00:00
  • a099621012 Docs: Convert the $args parameter description in the register_taxonomy() DocBlock to a hash notation. Drew Jaynes 2015-09-24 19:11:53 +00:00
  • 45b8138b97 Docs: Improve the summary and description for the pre_http_request filter docs to better illustrate expected values. Drew Jaynes 2015-09-24 18:51:13 +00:00
  • 5852971d3c Comments List Table: fix the translators comment for all count after [34506]. Andrea Fercia 2015-09-24 18:39:04 +00:00
  • 133993389e Add $depth as a parameter in the nav_menu_item_args filter. John Blackbourn 2015-09-24 17:58:20 +00:00
  • d7a59c4661 Comments List Table: include count for "All". Dynamically update. Scott Taylor 2015-09-24 17:56:50 +00:00
  • 3d97e9a53b Correctly present an error to the user if the nickname field is empty when updating a user profile. It's strange that this field is required, but it is, so be it. John Blackbourn 2015-09-24 17:48:10 +00:00
  • 821821c8b5 Comments: add date column to WP_Comments_List_Table to allow sorting and to break out the date/time from the comment content column. Scott Taylor 2015-09-24 17:26:54 +00:00
  • ba2842f326 Comments: In comments_template(), set $wp_query->comments_by_type to empty array if not separating comments. The value becomes stale otherwise. Edge case. Scott Taylor 2015-09-24 16:30:12 +00:00
  • 057ba76b2c Docs: Add more explicit optional parameter types and return descriptions in the DocBlocks for is_page(), is_single(), is_singular(). Drew Jaynes 2015-09-24 16:17:23 +00:00
  • 9d4d1a7572 Twenty Fifteen: Add a missing comma in rtl.css. Dominik Schilling (ocean90) 2015-09-24 16:02:19 +00:00
  • c0ebd3b5e2 Comments: update Comment counts dynamically in the Right Now widget based on moderation actions in the Activity widget. Scott Taylor 2015-09-24 15:52:41 +00:00
  • b408cd37fb Docs: Standardize and clarify class DocBlocks for all of the Upgrade API classes. Drew Jaynes 2015-09-24 14:53:46 +00:00
  • cccd9356fe Docs: Clarify the file header for wp-admin/includes/class-wp-upgrader.php. DrewAPicture 2015-09-24 14:43:02 +00:00
  • ad64ee866b Docs: Mark the optional $upgrader parameter as such and add a description in the DocBlock for Language_Pack_Upgrader::async_upgrade(). Drew Jaynes 2015-09-24 14:34:15 +00:00
  • 04bb8a07d7 Canonical/Rewrite: After [34492], fix rel="canonical" URLs for paginated posts. Scott Taylor 2015-09-24 14:30:00 +00:00
  • 02e1102a5b Docs: Add a summary, version, and parameter and return descriptions to the DocBlock for WP_Filesystem_ftpsockets::get_contents(). Drew Jaynes 2015-09-24 14:21:50 +00:00
  • 30554cccab After [34492], no need to import the global instance when we are, in fact, currently, that instance. Scott Taylor 2015-09-24 14:19:03 +00:00
  • 6ac2cb05e6 Docs: Add a summary, version, and parameter and return descriptions to the DocBlock for WP_Filesystem_FTPext::get_contents(). Drew Jaynes 2015-09-24 14:10:47 +00:00
  • 0111ecef55 Canonical/Rewrite: sanity check posts that are paged with <!--nextpage-->. Page numbers past the max number of pages are returning the last page of content and causing infinite duplicate content. Scott Taylor 2015-09-24 14:03:05 +00:00
  • c9093207df Docs: Add a summary, version, and @access tag to the property DocBlock for Custom_Image_Header->updated. Drew Jaynes 2015-09-24 13:38:03 +00:00
  • 00eab11256 Docs: Add a summary, version, and @access tag to the property DocBlock for Custom_Background->updated. Drew Jaynes 2015-09-24 13:33:18 +00:00
  • 72a968ca03 Docs: Add a summary, version, and @access tag to the property DocBlock for WP_Locale->number_format. Drew Jaynes 2015-09-24 13:25:55 +00:00
  • 1efbe10b47 Customizer: Update tests for [34487]. Dominik Schilling (ocean90) 2015-09-24 11:31:30 +00:00
  • 15ee0a44b2 Customizer: Use the plural label for available menu item types. Dominik Schilling (ocean90) 2015-09-24 09:15:15 +00:00
  • 273bd1ed99 Edit Post: Add missing periods. Dominik Schilling (ocean90) 2015-09-24 08:53:21 +00:00
  • 8e61ab359c Docs: Link up a hook reference with an inline @see tag in the return description for get_locale(). Drew Jaynes 2015-09-24 05:50:49 +00:00
  • b91804e0bf Docs: Fix the summary for get_locale(). Drew Jaynes 2015-09-24 05:49:07 +00:00
  • f85670cd36 Docs: Clarify the file header summary for wp-includes/l10n.php and add the version it was introduced. Drew Jaynes 2015-09-24 05:46:35 +00:00
  • 1810710798 Docs: Split the DocBlock summary for __() into a summary and description. Drew Jaynes 2015-09-24 05:42:35 +00:00
  • 4d94ef47de Docs: Add a summary to the hook doc for the nav_menu_item_args filter, introduced in [34471]. Drew Jaynes 2015-09-24 05:08:36 +00:00
  • 3a8f42bfe0 Post Thumbnails: In get_the_post_thumbnail_url(), return false instead of empty string when no URL is available. Scott Taylor 2015-09-24 04:37:48 +00:00
  • e366584fae Unit Tests: after [34477], make Tests_Link_GetPostCommentsFeedLink more respectable. Scott Taylor 2015-09-24 04:31:58 +00:00
  • e1fafc56d5 WPDB: When attempting to fall back to ext/mysql in db_connect(), return the result of the fall back. Gary Pendergast 2015-09-24 04:29:40 +00:00
  • 158aecc3ec Feeds/Links: after [34336], use a different meat cleaver to fix Rewrite spillage across test cases. Scott Taylor 2015-09-24 04:19:56 +00:00
  • b9ad7136d7 WP: after [34443], calling get_queried_object() messes up unit tests. We can just clone the $post prop and call it a day. Scott Taylor 2015-09-24 03:53:39 +00:00
  • 6ad1c1c380 Plugins: on the plugins admin screen, the "has been deleted" string needs a plural. Scott Taylor 2015-09-24 03:41:52 +00:00
  • bab2316129 Date/Time: Add unit tests for the_date(). Scott Taylor 2015-09-24 03:33:21 +00:00
  • 9d71ae4122 Edit Post: After [33666], separate the translation string for pages, avoiding HTML usage. Scott Taylor 2015-09-24 03:27:26 +00:00
  • d98165d1c3 Media Modal: move the translation strings for insertIntoPost and uploadedToThisPost to the get_post_type_labels() array as insert_into_item and uploaded_to_this_item. Scott Taylor 2015-09-24 03:21:11 +00:00
  • 0e81ac08de Nav Menus: Add a 'nav_menu_item_args' filter to Walker_Nav_Menu::start_el(). Scott Taylor 2015-09-24 03:16:44 +00:00
  • 000b9e2fb3 Include fourth array parameter in return value doc block for wp_get_attachment_image_src(). Scott Taylor 2015-09-24 03:13:08 +00:00
  • c9c9e19260 After [34341], add translation strings. Scott Taylor 2015-09-24 03:08:34 +00:00
  • c47ef29b34 Tests: Remove a var_dump() added in [34373]. Gary Pendergast 2015-09-24 03:07:20 +00:00
  • 21dad99c1b List Tables: add JS code to dynamically toggle the disabled attribute of the Bulk Actions dropdown and Apply button. Scott Taylor 2015-09-24 01:06:17 +00:00
  • d92723a33f Users: in WP_User::__unset(), don't reset the deprecated prop id to ID. Still throw the deprecated notice. Scott Taylor 2015-09-24 00:48:23 +00:00
  • c1c93f1e95 Widgets: when passing a string arg value to dynamic_sidebar(), don't reset $index when the arg's sanitized value matches the sanitized name of a sidebar. Scott Taylor 2015-09-24 00:29:54 +00:00
  • 9209546292 Recent Posts Widget: remove HTML fragment caching. The cache currently doesn't work cross-scheme and causes mixed content issues for links. The widget was written pre-$split_the_query, after which post objects can be served from the cache. Scott Taylor 2015-09-24 00:16:16 +00:00
  • 325a900519 Calendar Widget: remove the title attribute for days and replace with aria-label. Spruce up some of this nasty code. Delete unnecessary bits. Scott Taylor 2015-09-23 23:56:05 +00:00
  • 1ce18f6e95 Send a 500 HTTP response code when the server's PHP or MySQL checks fail. John Blackbourn 2015-09-23 21:56:32 +00:00
  • a87b30da21 Comments: allow meta boxes for Discussion and Comments in extenuating circumstances. Scott Taylor 2015-09-23 19:48:41 +00:00
  • daadd27ed4 Allow comment_exists() to match based on GMT date. Boone Gorges 2015-09-23 18:15:39 +00:00
  • 92748bb96e Add an entry for Cloudup to the list of oEmbed providers. John Blackbourn 2015-09-23 15:59:42 +00:00
  • d8a59791f0 Avoid a PHP notice if the last_updated property isn't present in a plugin's data from the Plugins API. John Blackbourn 2015-09-23 15:09:42 +00:00
  • cf3042389d Fix comment_exists() unit test introduced in [34456]. Boone Gorges 2015-09-23 14:46:36 +00:00
  • 01c8e7a8e1 Add unit test for comment_exists(). Boone Gorges 2015-09-23 14:34:37 +00:00
  • 4cbd2fbc55 Multisite: Don't limit site titles to 50 chars. Boone Gorges 2015-09-23 14:23:13 +00:00
  • e6b7c6b2d4 Bail early when invalid ID is passed to get_comment_class(). Boone Gorges 2015-09-23 14:08:47 +00:00
  • b23a1fc613 Add a few simple tests for get_comment_class(). Boone Gorges 2015-09-23 14:04:55 +00:00
  • fc3b7b20cd Links: the esc_html() additions in [34444] aren't very nice to screen reader <span>s. Revert those specific calls. Scott Taylor 2015-09-23 04:25:18 +00:00
  • 6c63977ec2 Make the 'register_post_type_args' filter introduced in [34242] available for built-in post types too. Sergey Biryukov 2015-09-22 22:31:25 +00:00
  • 9dd4680d2f Add tests for some missing capabilities, including do_not_allow. John Blackbourn 2015-09-22 22:17:30 +00:00
  • f1191d2e6e Correct a capability name in the roles and capabilities mapping. The delete_others_pages key was missing, and the delete_others_posts key was duplicated. John Blackbourn 2015-09-22 22:15:18 +00:00
  • dd25cc9a7c Add test image for test_exif_keywords test Aaron Jorbin 2015-09-22 21:42:45 +00:00
  • 50226ada19 Implement a test for capabilities for a custom post type that uses capability_type => page. johnbillion 2015-09-22 21:00:03 +00:00
  • d416922cbf Remove some unused globals and/or their docs. Scott Taylor 2015-09-22 20:26:17 +00:00
  • e2ce2d90fd After [34444​], wp_get_shortlink() can call get_queried_object_id() instead of using the $wp_query global. Scott Taylor 2015-09-22 20:08:49 +00:00
  • e06ca91cd2 Links: use consistent late-escaping in some HTML link-generation functions: Scott Taylor 2015-09-22 20:05:17 +00:00
  • 23c82a270b PINGBACKS: After [34442], switch to is_singular() to check attachments and pages as well. Scott Taylor 2015-09-22 19:09:28 +00:00
  • e774c95266 PINGBACKS: rather than sending the X-Pingback HTTP header on every single request for fun, perhaps only send it on single posts with pings open. Scott Taylor 2015-09-22 18:46:43 +00:00
  • 44006ff6a2 Docs: Actually, the subpackage for Walker_Page should be Template. Drew Jaynes 2015-09-22 15:08:10 +00:00
  • 1ea9111541 Docs: Add a file header to wp-includes/widgets/class-wp-widget-text.php, introduced in [33746]. Drew Jaynes 2015-09-22 15:03:03 +00:00
  • fdc31fdf45 Docs: Add a file header to wp-includes/widgets/class-wp-widget-tag-cloud.php, introduced in [33746]. Drew Jaynes 2015-09-22 15:01:24 +00:00
  • 7aedd83be1 Docs: Add a file header to wp-includes/widgets/class-wp-widget-search.php, introduced in [33746]. DrewAPicture 2015-09-22 15:00:04 +00:00
  • 564fda0cf7 Docs: Add a file header to wp-includes/widgets/class-wp-widget-rss.php, introduced in [33746]. Drew Jaynes 2015-09-22 14:56:14 +00:00
  • 6acc3944d3 Docs: Add a file header to wp-includes/widgets/class-wp-widget-recent-posts.php, introduced in [33746]. Drew Jaynes 2015-09-22 14:53:44 +00:00
  • c668d2295d Docs: Add a file header to wp-includes/widgets/class-wp-widget-recent-comments.php, introduced in [33746]. Drew Jaynes 2015-09-22 14:50:31 +00:00
  • 645c11475d Docs: Add a file header to wp-includes/widgets/class-wp-widget-pages.php, introduced in [33746]. Drew Jaynes 2015-09-22 14:48:54 +00:00