Make WordPress Core

{37} Needs Unit Tests (899 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 (601 - 700 of 899)

1 2 3 4 5 6 7 8 9

Next Release (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#35613 Add granularity to REST API embeds joehoyle REST API normal normal enhancement needs-unit-tests 01/27/2017
#61137 Allow view access of template rest endpoint to anyone with the edit_post capability fabiankaegy REST API normal normal 6.6 enhancement needs-unit-tests 05/03/2024
#34999 Calling wp_die() in a REST API request should return valid JSON REST API normal normal enhancement needs-unit-tests 01/14/2019
#39578 Enhancement for rest api comment controller create_item method to check for WP error rmccue REST API normal normal 4.8 enhancement needs-unit-tests 01/18/2017
#55620 Prime caches linked objects in menu item REST API spacedmonkey REST API normal normal 6.1 enhancement needs-unit-tests 10/10/2022
#40343 REST API - set attachment upload directory on request REST API normal normal enhancement needs-unit-tests 04/11/2017
#51131 Remove constraint that search handlers must return integer ids TimothyBlynJacobs REST API normal normal 5.6 enhancement needs-unit-tests 10/03/2020
#47466 Add a comment to .htaccess markers, labelling inserted strings as read-only/ dynamic SergeyBiryukov Rewrite Rules normal minor 5.3 enhancement needs-unit-tests 07/28/2019
#40635 Move JavaScript `sanitizeText` and `stripTags` functions from press-this to core adamsilverstein Security normal normal 4.9 enhancement needs-unit-tests 10/04/2017
#14481 Shortcode Enhancements Shortcodes normal normal enhancement needs-unit-tests 08/23/2015
#56134 Site Health: If 0 active plugins (themes), they can't be "all up to date" SergeyBiryukov Site Health normal normal 6.1 enhancement needs-unit-tests 08/03/2022
#28439 Add 'post_date' as a possible orderby argument to get_terms() Taxonomy normal normal enhancement needs-unit-tests 08/26/2015
#13949 Add a sprintf style argument to wp_list_categories() for title tag. Taxonomy normal normal enhancement needs-unit-tests 09/09/2017
#30415 Add alternative to get_category_parents() that will work for any taxonomy Taxonomy normal normal enhancement needs-unit-tests 09/27/2016
#18778 Add filters to transform_query() to allow caching of queries created by this function. Taxonomy normal normal enhancement needs-unit-tests 08/26/2015
#11058 Add unregister_taxonomy_for_object_type() nacin Taxonomy normal normal 3.7 enhancement needs-unit-tests 03/08/2016
#27764 Allow the_terms() and get_the_terms() to accept an array of taxonomies Taxonomy normal normal enhancement needs-unit-tests 09/18/2015
#19780 Named category functions/docs need cleaning up Taxonomy normal normal enhancement needs-unit-tests 09/02/2015
#25284 Support tax queries using term_taxonomy_id without specifying a taxonomy wonderboymusic Taxonomy normal normal 4.0 enhancement needs-unit-tests 09/10/2014
#52710 Taxonomy: Make it possible to bypass automatic caching of results in `get_terms()` spacedmonkey Taxonomy normal normal 6.4 enhancement needs-unit-tests 11/01/2023
#35886 get_term_parents function instead/inside get_category_parents Taxonomy normal normal enhancement needs-unit-tests 09/27/2016
#24948 wp_delete_term() Shouldn't delete other default terms Taxonomy normal minor enhancement needs-unit-tests 09/20/2013
#28688 wp_get_object_terms - orderby boonebgorges Taxonomy normal normal 4.2 enhancement needs-unit-tests 01/18/2015
#16395 Add 'Template Version' for use with 'Template' in Child-Themes Themes normal normal enhancement needs-unit-tests 01/11/2016
#20307 Edit User link in admin toolbar johnbillion Toolbar normal normal 4.9 enhancement needs-unit-tests 07/26/2017
#24870 Add JavaScript unit tests to core Unit Tests normal normal enhancement needs-unit-tests 08/29/2013
#26364 Add Travis CI Configuration nacin Unit Tests normal normal 3.8 enhancement 12/03/2013
#21993 Add WP_DOING_TESTS constant, check for it in WP_Ajax_Response Unit Tests normal normal enhancement 09/26/2012
#24208 Add more wp-includes/cache.php test coverage maxcutler Unit Tests normal normal 3.6 enhancement 04/28/2013
#26514 Add unit tests for wp.shortcode.attrs wonderboymusic Unit Tests normal normal 3.9 enhancement 01/17/2014
#21742 Allow unit tests to override is_*_admin() ryan Unit Tests normal normal 3.5 enhancement 09/01/2012
#25871 Always Clean Install in PHPUnit Tests wonderboymusic Unit Tests normal normal 3.8 enhancement 11/13/2013
#26163 Proposed Unit Test for normalize_whitespace function wonderboymusic Unit Tests normal minor 3.8 enhancement 11/22/2013
#23499 Rename phpunit.xml to phpunit.xml.dist nacin Unit Tests normal normal 3.6 enhancement 03/03/2013
#23531 Separate tests into unit / integration / ... directories Unit Tests normal normal enhancement 10/30/2013
#23532 Sync Tests Repository on Github Unit Tests normal normal enhancement 09/13/2013
#26116 Unit Tests: Add assertNotWPError() to complement assertWPError() Unit Tests normal normal enhancement 01/27/2014
#25507 Unit test for `wp_strip_all_tags` and better docs nacin Unit Tests normal normal 3.9 enhancement 01/30/2014
#25784 shortcode.js needs unit tests Unit Tests normal normal 3.8 enhancement 12/04/2013
#39090 Remove duplicate query from posts page in the admin Users normal normal 6.3 enhancement needs-unit-tests 10/17/2023
#30064 WP_User_Query should support orderby => include boonebgorges Users normal normal 4.1 enhancement needs-unit-tests 10/24/2014
#24635 update_user_caches() should support accepting a WP_User instance Users normal normal 4.4 enhancement needs-unit-tests 10/08/2015
#36009 wp_new_user_notification "user" option for third parameter SergeyBiryukov Users normal normal 4.6 enhancement needs-unit-tests 09/14/2018
#20026 Adding a post_type filter in wp.getComments westi XML-RPC normal normal 4.4 enhancement needs-unit-tests 09/26/2015
#25958 Allow wp.getUsersBlogs to return the primary_blog flag wonderboymusic XML-RPC low normal 4.4 enhancement needs-unit-tests 09/26/2015
#34691 WP_Posts_List_Table cannot order by meta value correctly Administration normal normal defect (bug) needs-unit-tests 11/16/2015
#35408 Side effect wp_create_post_autosave causes $_POST to be unslashed joehoyle Autosave normal normal 4.5 defect (bug) needs-unit-tests 02/17/2016
#20601 Author archives queries should return a 404 when the user isn't a member of the blog markjaquith Bootstrap/Load high normal 3.9 defect (bug) needs-unit-tests 03/15/2016
#16167 FORCE_ADMIN_SSL broken if site runs on port different from 80 johnbillion Bootstrap/Load normal normal defect (bug) needs-unit-tests 10/07/2016
#19455 The "magic_quotes_sybase" Problem johnbillion Bootstrap/Load normal normal defect (bug) needs-unit-tests 07/26/2017
#40532 Find a workaround for unit tests that have a dependency on XDebug pento Build/Test Tools normal normal 5.3 defect (bug) needs-unit-tests 08/19/2019
#35452 WP_UnitTestCase::set_permalink_structure() doesn't set all permastructures johnbillion Build/Test Tools high normal 4.7 defect (bug) needs-unit-tests 09/26/2016
#49728 [PHP 8] Prepare for the internal functions throwing `TypeError` or `ValueError` exceptions on unexpected types/values Build/Test Tools normal minor 6.6 defect (bug) needs-unit-tests 04/01/2024
#37849 assertQueryTrue() doesn't handle is_front_page() johnbillion Build/Test Tools normal normal 4.7 defect (bug) needs-unit-tests 08/27/2016
#26321 Warning message for update_post_thumbnail_cache() wonderboymusic Cache API normal normal defect (bug) needs-unit-tests 06/30/2014
#10381 post->ancestors isn't always set ryan Cache API normal normal 3.5 defect (bug) needs-unit-tests 08/20/2012
#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
#15256 ?cat=## permalinks do not redirect when category is a parent wonderboymusic Canonical high normal 3.8 defect (bug) needs-unit-tests 11/11/2013
#20143 Array query args on a paginated archive page creates PHP Warning, breaks page. nacin Canonical normal normal 3.4 defect (bug) needs-unit-tests 04/27/2012
#34357 Canonical redirects don't take endpoints into account Canonical normal normal defect (bug) needs-unit-tests 12/04/2016
#35344 Strange pagination issue on front page after 4.4.1 update dd32 Canonical normal normal 4.4.2 defect (bug) needs-unit-tests 05/14/2016
#35012 wp_old_slug_redirect can cause redirect loop Canonical normal normal defect (bug) needs-unit-tests 12/16/2015
#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
#32362 Comments count: wp_count_comments() should not count spam toward totals wonderboymusic Comments normal normal 4.4 defect (bug) needs-unit-tests 09/15/2015
#34918 Orphaned Comments From Nonexistent Post Type Causes Capability Warnings in Admin Comments normal normal defect (bug) needs-unit-tests 11/18/2016
#38816 REST API: logic error in comments post ID rachelbaker Comments normal normal 4.7 defect (bug) needs-unit-tests 11/18/2016
#37184 Stop FOUND_ROWS running in comment query is cached boonebgorges Comments high normal 4.6 defect (bug) needs-unit-tests 07/07/2016
#41457 WP_REST_Comments_Controller::check_read_post_permission() counts an uncountable value johnbillion Comments normal normal 4.9 defect (bug) needs-unit-tests 03/18/2018
#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
#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
#11882 get_pending_comments_num has inconsistent behaviour westi Comments normal normal 3.0 defect (bug) needs-unit-tests 08/16/2011
#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
#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
#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
#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
#30754 Syntax error being reported in customize-controls.js qunit tests jorbin Customize normal normal 4.2 defect (bug) needs-unit-tests 12/23/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
#37660 RegEx in wpdb::get_table_from_query( $q ) in wp-db.php returns table_alias='a' rather than table_name=wp_999_options pento Database normal normal 4.7 defect (bug) needs-unit-tests 09/02/2016
#33501 Starting w/ WP4.2, upgrade scenario may fail for non-MySQL installs pento Database normal normal 4.4 defect (bug) needs-unit-tests 09/28/2015
#13715 dbDelta produces warnings westi Database normal normal 3.0 defect (bug) needs-unit-tests 06/11/2010
#10332 Backdated pre-1st January 1970 post displayed as published on the current viewing day nacin Date/Time high major 3.2 defect (bug) needs-unit-tests 06/02/2011
#55580 6.0 Regression: Featured image in Cover block missing from published page gziolo Editor high normal 6.0 defect (bug) needs-unit-tests 05/03/2022
#45401 Dynamic blocks not working when added after a page break block. Editor normal normal 5.0 defect (bug) needs-unit-tests 12/20/2018
#56325 Some blocks' RTL stylesheets not loading when RTL language is set SergeyBiryukov Editor normal major 6.1 defect (bug) needs-unit-tests 10/11/2022
#22585 wp_editor() gives fatal error on front-end ryan Editor normal major 3.5 defect (bug) needs-unit-tests 11/27/2012
#23776 A string of text starting with "http://" turned into a paragraph SergeyBiryukov Embeds normal normal 4.2 defect (bug) needs-unit-tests 01/07/2015
#21990 SimplePie: DOMDocument can be disabled rmccue External Libraries low normal 3.5 defect (bug) needs-unit-tests 11/20/2015
#24622 If-Modified-Since is wrong by comment feed nacin Feeds normal normal 3.7 defect (bug) needs-unit-tests 10/03/2013
#32620 WordPress is not stripping invalid tags in get_the_content_feed Feeds normal minor defect (bug) needs-unit-tests 02/01/2017
#46581 $skip_list in copy_dir function is not working as it should SergeyBiryukov Filesystem API normal major 5.3 defect (bug) needs-unit-tests 10/05/2019
#48689 PHP warnings after updating to WP 5.3: ftp_nlist() and ftp_pwd() expect missing parameters costdev Filesystem API normal minor 6.6 defect (bug) needs-unit-tests 02/06/2024
#30815 WP_Filesystem_FTPext::exists() returns false if directory exists but is empty ocean90 Filesystem API normal normal 4.2 defect (bug) needs-unit-tests 03/18/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
#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
#44533 wp_is_stream wrappers need preg delimiter when quoting Filesystem API normal normal 5.1 defect (bug) needs-unit-tests 10/12/2018
#55407 Allow case-insensitive elements for KSES peterwilsoncc Formatting normal normal 6.0 defect (bug) needs-unit-tests 03/31/2022
#45378 Convert soft hyphens when sanitizing titles pento Formatting normal normal 5.1 defect (bug) needs-unit-tests 01/14/2019
#25303 Fix regular expression used for smiley translations to work when there is only one registered emoticon. wonderboymusic Formatting normal normal 3.8 defect (bug) needs-unit-tests 11/15/2013
#4857 More issues with wpautop() pento Formatting low normal 4.7 defect (bug) needs-unit-tests 12/27/2016
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.