Make WordPress Core

{37} Needs Unit Tests (888 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 (501 - 600 of 888)

1 2 3 4 5 6 7 8 9

Future Releases (9 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#50781 500 error caused by customize_changeset_uuid for non-authenticated users Customize normal normal Future Release defect (bug) needs-unit-tests 02/25/2023
#37812 404 when using a numeric slug and /%category%/ base Permalinks normal normal Future Release defect (bug) needs-unit-tests 03/11/2023
#16747 'feedtype_enclosure' hooks not triggered without custom field Feeds normal normal defect (bug) needs-unit-tests 06/04/2019
#44958 &nbsp character in title generates a permalink (and slug) with space Permalinks normal normal Future Release defect (bug) needs-unit-tests 10/22/2024
#31624 $wpdb->prepare() named placeholders Database normal normal enhancement needs-unit-tests 06/22/2023
#47279 $post object passed to clean_post_cache action can contain outdated values Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 05/15/2019
#36406 $network_wide is unreliable Plugins normal critical Future Release defect (bug) needs-unit-tests 07/09/2019
#51852 "any" value in "post_type" param in "get_posts" by default ignore attachments Query normal normal Future Release defect (bug) needs-unit-tests 02/18/2021
#40340 "Attach to existing content" modal shows posts and pages of other users Role/Capability normal normal Awaiting Review defect (bug) needs-unit-tests 08/03/2017

Next Release (91 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#24556 wptexturize() edge case bug with specific sentence structure Formatting normal normal defect (bug) needs-unit-tests 02/12/2022
#16957 wptexturize - problem with numbers and non-breaking spaces Formatting normal normal defect (bug) needs-unit-tests 03/15/2014
#7988 wpautop p (paragraph) bug with div Formatting normal normal defect (bug) needs-unit-tests 09/22/2011
#26906 wp_user_update does not update custom user meta fields Users normal normal defect (bug) needs-unit-tests 10/04/2015
#12118 wp_texturize converting x to × is too greedy Formatting normal normal 3.0 defect (bug) needs-unit-tests 12/15/2017
#15657 wp_strip_all_tags causes paragraphs to run together Formatting normal normal defect (bug) needs-unit-tests 10/07/2013
#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
#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
#35012 wp_old_slug_redirect can cause redirect loop Canonical normal normal defect (bug) needs-unit-tests 12/16/2015
#36009 wp_new_user_notification "user" option for third parameter SergeyBiryukov Users normal normal 4.6 enhancement needs-unit-tests 09/14/2018
#44533 wp_is_stream wrappers need preg delimiter when quoting Filesystem API normal normal 5.1 defect (bug) needs-unit-tests 10/12/2018
#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
#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
#28688 wp_get_object_terms - orderby boonebgorges Taxonomy normal normal 4.2 enhancement needs-unit-tests 01/18/2015
#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
#22585 wp_editor() gives fatal error on front-end ryan Editor normal major 3.5 defect (bug) needs-unit-tests 11/27/2012
#24948 wp_delete_term() Shouldn't delete other default terms Taxonomy normal minor enhancement needs-unit-tests 09/20/2013
#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
#61827 wp_check_comment_disallowed_list() can't be used to match unprocessed HTML SergeyBiryukov Comments normal normal 6.7 defect (bug) needs-unit-tests 10/29/2024
#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
#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
#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
#24635 update_user_caches() should support accepting a WP_User instance Users normal normal 4.4 enhancement needs-unit-tests 10/08/2015
#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
#38828 update_blog_details() performance improvement ideas General normal normal defect (bug) needs-unit-tests 07/06/2017
#20522 the sanitize_file_name_chars filter and ch(0) Formatting normal minor enhancement needs-unit-tests 01/17/2014
#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
#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
#27193 tax_query returns only partial results Query low normal defect (bug) needs-unit-tests 12/15/2014
#21181 simplify and add filter to is_upload_space_available westi Multisite normal normal 3.5 enhancement needs-unit-tests 10/18/2012
#15600 shortcode_unautop returns emtpy string westi Formatting high major 3.3 defect (bug) needs-unit-tests 10/12/2011
#25784 shortcode.js needs unit tests Unit Tests normal normal 3.8 enhancement 12/04/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
#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
#16472 set_query_var() / get_query_var() does not work for NULL values Query normal normal defect (bug) needs-unit-tests 02/02/2014
#11384 rewrite->flush() needlessly deletes the rewrite_rules option Rewrite Rules normal normal defect (bug) needs-unit-tests 01/10/2016
#19629 return option for media_sideload_image kirasong Media normal minor 4.8 task (blessed) needs-unit-tests 05/25/2017
#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
#21786 remove_cap can't unset a negative capability ryan Role/Capability normal minor 3.5 defect (bug) needs-unit-tests 09/21/2012
#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
#46800 protect against bad characters in media attachment metadata joemcgill Media normal normal 5.3 defect (bug) needs-unit-tests 09/28/2019
#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
#25632 post_parent out of range error in unit tests Unit Tests normal minor defect (bug) 11/30/2013
#10381 post->ancestors isn't always set ryan Cache API normal normal 3.5 defect (bug) needs-unit-tests 08/20/2012
#41842 pingback() doesn't return anything Pings/Trackbacks low minor enhancement needs-unit-tests 03/08/2018
#25088 password-strength-meter.js should have unit tests SergeyBiryukov Unit Tests normal normal 3.7 task (blessed) 09/07/2013
#44589 password reset email link faulty in some email clients SergeyBiryukov Mail normal normal 5.4 enhancement needs-unit-tests 01/18/2020
#28012 orderby post__in interferes with menu_order Query normal normal defect (bug) needs-unit-tests 08/24/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
#31723 is_page( false ) === true ? Query normal normal defect (bug) needs-unit-tests 05/06/2015
#32044 is_object_in_term() leaks DB queries boonebgorges Taxonomy normal normal 4.4 defect (bug) needs-unit-tests 08/24/2016
#24257 is_attachment() should accept $attachment parameter wonderboymusic Query normal normal 3.9 enhancement needs-unit-tests 02/17/2014
#10853 improve get_page_hierarchy Performance normal normal 3.0 enhancement needs-unit-tests 02/18/2013
#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
#34980 image_get_intermediate_size() sometimes skips image sizes joemcgill Media normal normal 4.6 defect (bug) needs-unit-tests 07/18/2016
#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
#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
#31118 get_terms() parameters do not respect multiple $taxonomies boonebgorges Taxonomy normal normal 4.2 defect (bug) needs-unit-tests 02/15/2015
#16863 get_terms hierarchical/hide_empty incompatible with include/exclude args Taxonomy normal normal defect (bug) needs-unit-tests 01/26/2015
#35886 get_term_parents function instead/inside get_category_parents Taxonomy normal normal enhancement needs-unit-tests 09/27/2016
#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
#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
#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
#8885 get_posts() should default orderby post_date_gmt Query normal normal defect (bug) needs-unit-tests 09/01/2016
#7326 get_posts not working properly pyadav General high blocker 2.6.2 defect (bug) needs-unit-tests 09/13/2024
#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
#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
#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
#11882 get_pending_comments_num has inconsistent behaviour westi Comments normal normal 3.0 defect (bug) needs-unit-tests 08/16/2011
#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
#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
#25156 get_custom_header() should return false when there is no header kovshenin Customize normal normal defect (bug) needs-unit-tests 09/12/2016
#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
#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
#7688 get_children not working General normal normal defect (bug) needs-unit-tests 09/22/2011
#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
#33211 get_adjacent_post is not working with post_format Query normal normal defect (bug) needs-unit-tests 07/31/2015
#25646 figcaption should not be treated as a block by wpautop() Formatting normal normal 3.9 defect (bug) needs-unit-tests 05/01/2016
#31034 delete_post capability issue in Trash Posts, Post Types normal normal defect (bug) needs-unit-tests 07/27/2017
#13715 dbDelta produces warnings westi Database normal normal 3.0 defect (bug) needs-unit-tests 06/11/2010
#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
#39280 comment permalink wrong in WordPress 4.7 boonebgorges Comments normal normal 4.7.1 defect (bug) needs-unit-tests 01/08/2017
#10077 clean_url improperly scrapes %20 ryan Formatting high major defect (bug) needs-unit-tests 05/14/2015
#20434 cURL fails to follow redirects sometimes ryan HTTP API high critical 3.4 defect (bug) needs-unit-tests 05/10/2012
#20415 big tags formatted incorrectly in rss Formatting normal normal defect (bug) needs-unit-tests 09/20/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
#28672 add_settings_field & co don't return values obenland Options, Meta APIs normal normal enhancement needs-unit-tests 08/28/2015
#20412 add_query_arg() doesn't work with already exisitng CGI vars General normal normal defect (bug) needs-unit-tests 04/10/2012
#18592 add trailingslashit to BLOGUPLOADDIR in ms-files.php nacin Multisite normal normal 3.3 defect (bug) needs-unit-tests 09/06/2011
#22196 add $wpdb->upsert function Database normal normal enhancement needs-unit-tests 07/27/2017
#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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.