Make WordPress Core

{37} Needs Unit Tests (898 matches)

Create a new ticket
  • Tickets that explicitly marked as needing unit tests (needs-unit-tests), or tickets in the Unit Tests component
  • Remove the keyword once the unit tests are committed
  • Sort by component, type, summary
  • Accepted tickets have an '*' appended to their owner's name

Results (801 - 898 of 898)

1 2 3 4 5 6 7 8 9

Next Release (98 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#13835 XML-RPC API should return commentmeta values josephscott XML-RPC normal normal feature request needs-unit-tests 02/13/2017
#16985 XML-RPC endpoint set the datetime when saving a Draft wonderboymusic XML-RPC normal normal 4.4 defect (bug) needs-unit-tests 11/09/2018
#19733 XML-RPC returns invalid dates if the date is zero westi XML-RPC normal normal 3.4 defect (bug) needs-unit-tests 12/15/2015
#17981 XML-RPC wp.getComments should work for non-admins wonderboymusic XML-RPC normal normal 4.4 defect (bug) needs-unit-tests 09/26/2015
#52018 Zip Module 2.8.2 - class-pclzip fatal error with PHP 8.0 SergeyBiryukov Filesystem API normal normal 5.6.2 defect (bug) needs-unit-tests 06/30/2021
#25647 [WP_Query] Include post_type_query parameter to WP_Query Query normal normal enhancement needs-unit-tests 12/23/2015
#42021 _update_posts_count_on_transition_post_status firing for incorrect post types jeremyfelt Networks and Sites normal normal 4.9 defect (bug) needs-unit-tests 10/02/2017
#25818 `WP_UnitTestCase::go_to()` drops query vars wonderboymusic Unit Tests normal normal 3.8 defect (bug) 10/07/2020
#39341 `wp.api.utils.decorateFromRoute` should use `_.extend` not `_.union` adamsilverstein REST API normal normal 4.7.3 defect (bug) needs-unit-tests 02/20/2017
#22196 add $wpdb->upsert function Database normal normal enhancement needs-unit-tests 07/27/2017
#18592 add trailingslashit to BLOGUPLOADDIR in ms-files.php nacin Multisite normal normal 3.3 defect (bug) needs-unit-tests 09/06/2011
#20412 add_query_arg() doesn't work with already exisitng CGI vars General normal normal defect (bug) needs-unit-tests 04/10/2012
#28672 add_settings_field & co don't return values obenland Options, Meta APIs normal normal enhancement needs-unit-tests 08/28/2015
#37849 assertQueryTrue() doesn't handle is_front_page() johnbillion Build/Test Tools normal normal 4.7 defect (bug) needs-unit-tests 08/27/2016
#20415 big tags formatted incorrectly in rss Formatting normal normal defect (bug) needs-unit-tests 09/20/2015
#20434 cURL fails to follow redirects sometimes ryan HTTP API high critical 3.4 defect (bug) needs-unit-tests 05/10/2012
#10077 clean_url improperly scrapes %20 ryan Formatting high major defect (bug) needs-unit-tests 05/14/2015
#39280 comment permalink wrong in WordPress 4.7 boonebgorges Comments normal normal 4.7.1 defect (bug) needs-unit-tests 01/08/2017
#32081 comments query w/ meta_value and comments__in returns clause is ambiguous db error boonebgorges Comments normal normal 4.3 defect (bug) needs-unit-tests 05/08/2015
#13715 dbDelta produces warnings westi Database normal normal 3.0 defect (bug) needs-unit-tests 06/11/2010
#31034 delete_post capability issue in Trash Posts, Post Types normal normal defect (bug) needs-unit-tests 07/27/2017
#25646 figcaption should not be treated as a block by wpautop() Formatting normal normal 3.9 defect (bug) needs-unit-tests 05/01/2016
#33211 get_adjacent_post is not working with post_format Query normal normal defect (bug) needs-unit-tests 07/31/2015
#18855 get_attached_file( $post_id ) wrongly(?) returns the uploads directory when $post_id is not a valid attachment nacin Post Thumbnails normal normal 3.4 defect (bug) needs-unit-tests 04/27/2012
#7688 get_children not working General normal normal defect (bug) needs-unit-tests 09/22/2011
#32277 get_comment_reply_link() uses $_SERVER['REQUEST_URI'] for post link, not the actual post's link. Comments normal normal defect (bug) needs-unit-tests 05/07/2015
#19893 get_comments_link() doesn't link properly if there are no responses wonderboymusic Comments normal normal 4.4 enhancement needs-unit-tests 09/12/2015
#25156 get_custom_header() should return false when there is no header kovshenin Customize normal normal defect (bug) needs-unit-tests 09/12/2016
#25767 get_home_path() fails if admin area is SSL but not the frontend johnbillion Filesystem API normal normal 4.0 defect (bug) needs-unit-tests 06/29/2014
#32077 get_pages re-factor to reduce line-count, DRY up code & give more specific functions for some of it's main processes Posts, Post Types normal normal enhancement needs-unit-tests 06/03/2015
#11882 get_pending_comments_num has inconsistent behaviour westi Comments normal normal 3.0 defect (bug) needs-unit-tests 08/16/2011
#22882 get_post_ancestors() now returns false in addition to array() nacin Posts, Post Types normal normal 3.5.1 defect (bug) needs-unit-tests 01/15/2013
#39277 get_post_galleries() produces PHP Warning in PHP 7.1 when parsing empty shortcode dd32 Shortcodes normal normal 4.7.3 defect (bug) needs-unit-tests 02/17/2017
#57886 get_post_templates includes results of get_block_templates while caching (WP_Theme) spacedmonkey Themes normal minor 6.3 defect (bug) needs-unit-tests 06/19/2023
#7326 get_posts not working properly pyadav General high blocker 2.6.2 defect (bug) needs-unit-tests 09/22/2011
#8885 get_posts() should default orderby post_date_gmt Query normal normal defect (bug) needs-unit-tests 09/01/2016
#28263 get_raw_theme_root() fails to recognize a singular custom $wp_theme_directories Themes normal normal defect (bug) needs-unit-tests 05/27/2014
#54736 get_sample_permalink unsets $post->filter even though this is a public property. hellofromTonya Posts, Post Types normal normal 6.1 defect (bug) needs-unit-tests 09/20/2022
#27918 get_taxonomies() on single post type should return taxonomies registered on multiple post types Taxonomy normal normal defect (bug) needs-unit-tests 10/14/2015
#35886 get_term_parents function instead/inside get_category_parents Taxonomy normal normal enhancement needs-unit-tests 09/27/2016
#16863 get_terms hierarchical/hide_empty incompatible with include/exclude args Taxonomy normal normal defect (bug) needs-unit-tests 01/26/2015
#31118 get_terms() parameters do not respect multiple $taxonomies boonebgorges Taxonomy normal normal 4.2 defect (bug) needs-unit-tests 02/15/2015
#21018 get_the_password_form() inserting two </p> before the </form> causing W3C validation error nacin Formatting normal normal 3.4.1 defect (bug) needs-unit-tests 06/26/2012
#37728 hide_empty doesn't work correctly in get_terms when no taxonomy specified boonebgorges Taxonomy normal normal 5.3 defect (bug) needs-unit-tests 08/23/2019
#34980 image_get_intermediate_size() sometimes skips image sizes joemcgill Media normal normal 4.6 defect (bug) needs-unit-tests 07/18/2016
#22181 image_make_intermediate_size in wp-includes/media.php always returns FALSE markoheijnen Media normal major 3.5 defect (bug) needs-unit-tests 10/15/2012
#10853 improve get_page_hierarchy Performance normal normal 3.0 enhancement needs-unit-tests 02/18/2013
#24257 is_attachment() should accept $attachment parameter wonderboymusic Query normal normal 3.9 enhancement needs-unit-tests 02/17/2014
#32044 is_object_in_term() leaks DB queries boonebgorges Taxonomy normal normal 4.4 defect (bug) needs-unit-tests 08/24/2016
#31723 is_page( false ) === true ? Query normal normal defect (bug) needs-unit-tests 05/06/2015
#20590 is_tax() with term parameter returns true for any taxonomy with that term Taxonomy normal minor 3.5 defect (bug) needs-unit-tests 10/18/2012
#28012 orderby post__in interferes with menu_order Query normal normal defect (bug) needs-unit-tests 08/24/2015
#44589 password reset email link faulty in some email clients SergeyBiryukov Mail normal normal 5.4 enhancement needs-unit-tests 01/18/2020
#25088 password-strength-meter.js should have unit tests SergeyBiryukov Unit Tests normal normal 3.7 task (blessed) 09/07/2013
#41842 pingback() doesn't return anything Pings/Trackbacks low minor enhancement needs-unit-tests 03/08/2018
#10381 post->ancestors isn't always set ryan Cache API normal normal 3.5 defect (bug) needs-unit-tests 08/20/2012
#25632 post_parent out of range error in unit tests Unit Tests normal minor defect (bug) 11/30/2013
#18614 post_type_archive_title doesn't work when tax_query is added to wp_query wonderboymusic Template normal normal 3.7 defect (bug) needs-unit-tests 10/09/2013
#46800 protect against bad characters in media attachment metadata joemcgill Media normal normal 5.3 defect (bug) needs-unit-tests 09/28/2019
#14290 register_new_user() can't handle WP_Error result from wp_create_user() nacin Users normal normal 3.7 defect (bug) needs-unit-tests 08/29/2013
#21786 remove_cap can't unset a negative capability ryan Role/Capability normal minor 3.5 defect (bug) needs-unit-tests 09/21/2012
#45448 rest_sanitize_value_from_schema() returns invalid value when using a schema of type array with a null value SergeyBiryukov REST API normal normal 5.1 defect (bug) needs-unit-tests 01/10/2019
#19629 return option for media_sideload_image kirasong Media normal minor 4.8 task (blessed) needs-unit-tests 05/25/2017
#11384 rewrite->flush() needlessly deletes the rewrite_rules option Rewrite Rules normal normal defect (bug) needs-unit-tests 01/10/2016
#16472 set_query_var() / get_query_var() does not work for NULL values Query normal normal defect (bug) needs-unit-tests 02/02/2014
#26248 setting WP_TESTS_FORCE_KNOWN_BUGS to true shouldn't produce fatal errors wonderboymusic Unit Tests normal normal 3.8 defect (bug) 11/25/2013
#30970 setup_postdata should be able to accept a Post ID, currently requires full WP Post object boonebgorges Posts, Post Types normal normal 4.4 enhancement needs-unit-tests 09/12/2015
#25784 shortcode.js needs unit tests Unit Tests normal normal 3.8 enhancement 12/04/2013
#15600 shortcode_unautop returns emtpy string westi Formatting high major 3.3 defect (bug) needs-unit-tests 10/12/2011
#21181 simplify and add filter to is_upload_space_available westi Multisite normal normal 3.5 enhancement needs-unit-tests 10/18/2012
#27193 tax_query returns only partial results Query low normal defect (bug) needs-unit-tests 12/15/2014
#41357 test_comment_query_should_be_cached() doesn't perform an assertion boonebgorges Comments normal normal 4.9 defect (bug) needs-unit-tests 08/24/2017
#52144 the $term_ids in function wp_queue_posts_for_term_meta_lazyload is index array SergeyBiryukov Posts, Post Types normal normal 5.7 defect (bug) needs-unit-tests 12/24/2020
#20522 the sanitize_file_name_chars filter and ch(0) Formatting normal minor enhancement needs-unit-tests 01/17/2014
#38828 update_blog_details() performance improvement ideas General normal normal defect (bug) needs-unit-tests 07/06/2017
#13480 update_option + PHP5 Object references not storing correctly in cache ryan Cache API normal normal 3.0 defect (bug) needs-unit-tests 09/22/2011
#24635 update_user_caches() should support accepting a WP_User instance Users normal normal 4.4 enhancement needs-unit-tests 10/08/2015
#29714 user_can_access_admin_page() returning false for edit.php?post_type=CPT Role/Capability normal normal defect (bug) needs-unit-tests 11/23/2014
#20633 wp-includes/comment.php:738 - Undefined property: WP_Query::$comments wonderboymusic Comments normal normal 3.9 defect (bug) needs-unit-tests 01/29/2014
#20665 wp.getUsersBlogs method runs out of memory when there are too many blogs nacin XML-RPC normal normal 3.5 defect (bug) needs-unit-tests 06/30/2012
#11175 wp_check_invalid_utf8() should drop invalid utf-8 chars only instead of truncating string hakre Charset normal normal defect (bug) needs-unit-tests 12/20/2020
#24948 wp_delete_term() Shouldn't delete other default terms Taxonomy normal minor enhancement needs-unit-tests 09/20/2013
#22585 wp_editor() gives fatal error on front-end ryan Editor normal major 3.5 defect (bug) needs-unit-tests 11/27/2012
#29942 wp_get_object_terms - no caching mechanism in place - results in duplicate queries Taxonomy normal normal defect (bug) needs-unit-tests 09/28/2016
#28688 wp_get_object_terms - orderby boonebgorges Taxonomy normal normal 4.2 enhancement needs-unit-tests 01/18/2015
#34493 wp_handle_comment_submission() does not set the user_ID johnbillion Comments high normal 4.4 defect (bug) needs-unit-tests 11/05/2015
#55877 wp_insert_post() should check that a post type exists before using it SergeyBiryukov Posts, Post Types normal normal 6.1 defect (bug) needs-unit-tests 07/24/2022
#44533 wp_is_stream wrappers need preg delimiter when quoting Filesystem API normal normal 5.1 defect (bug) needs-unit-tests 10/12/2018
#36009 wp_new_user_notification "user" option for third parameter SergeyBiryukov Users normal normal 4.6 enhancement needs-unit-tests 09/14/2018
#35012 wp_old_slug_redirect can cause redirect loop Canonical normal normal defect (bug) needs-unit-tests 12/16/2015
#9959 wp_rel_nofollow_callback adds too many rel/nofollow attributes wonderboymusic Comments low normal 4.4 defect (bug) needs-unit-tests 11/04/2015
#26042 wp_save_post_revision() can compare against the wrong $last_revision post wonderboymusic Revisions normal major 4.0 defect (bug) needs-unit-tests 10/26/2020
#15657 wp_strip_all_tags causes paragraphs to run together Formatting normal normal defect (bug) needs-unit-tests 10/07/2013
#12118 wp_texturize converting x to &#215; is too greedy Formatting normal normal 3.0 defect (bug) needs-unit-tests 12/15/2017
#26906 wp_user_update does not update custom user meta fields Users normal normal defect (bug) needs-unit-tests 10/04/2015
#7988 wpautop p (paragraph) bug with div Formatting normal normal defect (bug) needs-unit-tests 09/22/2011
#16957 wptexturize - problem with numbers and non-breaking spaces Formatting normal normal defect (bug) needs-unit-tests 03/15/2014
#24556 wptexturize() edge case bug with specific sentence structure Formatting normal normal defect (bug) needs-unit-tests 02/12/2022
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.