Make WordPress Core

{37} Needs Unit Tests (867 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 867)

1 2 3 4 5 6 7 8 9

Next Release (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#41686 Store Widgets in the Posts table Widgets normal normal defect (bug) needs-unit-tests 08/21/2017
#36953 Meta lazyloading can cause excessive calls to object cache DBrumbaugh10Up Query normal normal 4.6 defect (bug) needs-unit-tests 10/29/2021
#56068 Send HTTP headers after querying posts in WP::main() SergeyBiryukov Bootstrap/Load normal normal 6.1 enhancement needs-unit-tests 09/21/2022
#52482 Tests: Reduce usage of assertEquals() for 5.8 SergeyBiryukov Build/Test Tools normal normal 5.8 task (blessed) needs-unit-tests 06/24/2021
#38266 Tests: Use assertSame() when the type of the value in the assertion is important SergeyBiryukov Build/Test Tools normal normal 5.7 task (blessed) needs-unit-tests 02/10/2021
#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
#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
#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
#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
#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
#52622 Fix PHP Warning on PHP7.2 in class-wp-http-curl.php SergeyBiryukov HTTP API normal normal 6.3 defect (bug) needs-unit-tests 07/03/2023
#36790 Wrong month name declension SergeyBiryukov I18N normal normal 4.6 defect (bug) needs-unit-tests 07/05/2016
#35781 Incorrect use of PHP method compact SergeyBiryukov Mail normal normal 4.4.3 defect (bug) needs-unit-tests 03/25/2016
#44589 password reset email link faulty in some email clients SergeyBiryukov Mail normal normal 5.4 enhancement needs-unit-tests 01/18/2020
#30346 Attachments not being found with attachment_url_to_postid() SergeyBiryukov Media normal normal 4.1 defect (bug) needs-unit-tests 11/21/2014
#23706 Image metadata encoding problem SergeyBiryukov Media normal normal 4.0 defect (bug) needs-unit-tests 05/12/2014
#52606 Investigate why the media test group errors when run on its own SergeyBiryukov Media normal normal 5.7 defect (bug) needs-unit-tests 02/22/2021
#29460 Change the default orderby in wp_get_nav_menus() SergeyBiryukov Menus normal normal 4.1 defect (bug) needs-unit-tests 10/02/2014
#23192 Use get_user_by() in is_user_spammy() SergeyBiryukov Multisite normal normal 3.6 enhancement needs-unit-tests 02/15/2013
#49872 PHP Notice: Undefined index: path in /wp-includes/functions.php on line 905 SergeyBiryukov Pings/Trackbacks normal normal 5.5 defect (bug) needs-unit-tests 07/26/2020
#47283 Strip inline JS and CSS while trying to figure out the pingback context SergeyBiryukov Pings/Trackbacks normal normal 5.3 enhancement needs-unit-tests 08/17/2019
#27071 Invalid HTML produced by get_the_password_form SergeyBiryukov Posts, Post Types normal normal 3.8.2 defect (bug) needs-unit-tests 03/31/2014
#48653 PHP Notices when requesting a post with an unregistered status SergeyBiryukov Posts, Post Types normal normal 5.4 defect (bug) needs-unit-tests 02/05/2020
#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
#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
#17455 Add $post_type argument to get_lastpostdate/get_lastpostmodified/_get_last_post_time SergeyBiryukov Posts, Post Types normal normal 4.4 enhancement needs-unit-tests 09/16/2015
#26775 Fatal error in wp_reset_postdata() SergeyBiryukov Query normal normal 3.8.1 defect (bug) needs-unit-tests 01/28/2014
#40861 REST API saves attachments with absolute path for `_wp_attached_file` on Windows platforms SergeyBiryukov REST API normal normal 4.9.8 defect (bug) needs-unit-tests 07/24/2018
#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
#45337 Strange pagination issue SergeyBiryukov Rewrite Rules normal normal 5.5 defect (bug) needs-unit-tests 10/07/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
#54323 Too few arguments for function (closure) SergeyBiryukov Script Loader normal major 5.8.2 defect (bug) needs-unit-tests 11/02/2021
#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
#26375 Additional .gitignore Entries for Unit Test Files SergeyBiryukov Unit Tests low trivial 3.8 defect (bug) 12/03/2013
#26344 Failure in Tests_Basic::test_readme() SergeyBiryukov Unit Tests normal normal 3.8 defect (bug) 12/01/2013
#26345 Failure in Tests_Post_Query::test_meta_query_decimal_results() SergeyBiryukov Unit Tests normal normal 3.8 defect (bug) 12/01/2013
#25133 Incorrect instructions in tests/README.txt SergeyBiryukov Unit Tests normal normal 3.7 defect (bug) 08/31/2013
#26091 Infinite loop in WP_FIlesystem_MockFS->mkdir() SergeyBiryukov Unit Tests normal major 3.8 defect (bug) 11/18/2013
#26155 Tests_Image_Functions failures SergeyBiryukov Unit Tests normal normal 3.8 defect (bug) 12/05/2013
#24662 Unit Tests: Re-implement the mock PHPMailer SergeyBiryukov Unit Tests normal normal 3.6 defect (bug) 06/29/2013
#25118 Unit Tests: Restrict locales in test_locale_floats in db.php SergeyBiryukov Unit Tests normal normal 3.7 defect (bug) 08/22/2013
#24706 Use $wpdb->prefix to verify query in tests/meta/query.php (WP_Meta_Query test) SergeyBiryukov Unit Tests normal normal 3.6 defect (bug) 07/08/2013
#25088 password-strength-meter.js should have unit tests SergeyBiryukov Unit Tests normal normal 3.7 task (blessed) 09/07/2013
#36009 wp_new_user_notification "user" option for third parameter SergeyBiryukov Users normal normal 4.6 enhancement needs-unit-tests 09/14/2018
#40383 Comments Controller is not checking permission of Custom Post Type controller class TimothyBlynJacobs REST API normal normal 5.3 defect (bug) needs-unit-tests 10/03/2019
#50189 Only validate format if type is string TimothyBlynJacobs REST API normal normal 5.5 defect (bug) needs-unit-tests 07/04/2020
#49695 REST API check_template function can return false error TimothyBlynJacobs REST API normal normal 5.6 defect (bug) needs-unit-tests 10/24/2020
#51131 Remove constraint that search handlers must return integer ids TimothyBlynJacobs REST API normal normal 5.6 enhancement needs-unit-tests 10/03/2020
#53386 Multisite is_super_admin call during app password validation can lead to infinite loop TimothyBlynJacobs Users normal normal 5.9 defect (bug) needs-unit-tests 11/15/2021
#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
#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
#43986 Disable "Install Plugin" button for PHP required version mismatch afragen Site Health normal major 5.1 task (blessed) needs-unit-tests 06/24/2019
#43883 Add a user's attachments to the personal data export file allendav Privacy normal normal 4.9.6 enhancement needs-unit-tests 05/16/2018
#50675 Media: migrate the data from the attachment post of the parent image when saving an edited image azaozz Media normal normal 5.5 defect (bug) needs-unit-tests 07/19/2020
#37184 Stop FOUND_ROWS running in comment query is cached boonebgorges Comments high normal 4.6 defect (bug) needs-unit-tests 07/07/2016
#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
#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
#30238 Treat 'FALSE' as false in wp_validate_boolean() boonebgorges General normal normal 4.1 enhancement needs-unit-tests 01/31/2020
#16567 Can't create categories with different names but similar slugs on Edit Post screen boonebgorges Posts, Post Types normal normal 4.8 defect (bug) needs-unit-tests 12/23/2016
#16956 Comments Being Pulled from Non-Existent Post Types boonebgorges Posts, Post Types normal normal 4.4 defect (bug) needs-unit-tests 03/11/2016
#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
#40669 Proper query cache invalidation on queries meta queries boonebgorges Query normal normal 4.9 defect (bug) needs-unit-tests 10/12/2017
#35601 WP_Query: comment_status and ping_status boonebgorges Query normal normal 4.5 feature request needs-unit-tests 01/26/2016
#30999 Inconsistent parameters for edited_term_taxonomy action boonebgorges Taxonomy normal normal 4.2 defect (bug) needs-unit-tests 02/24/2015
#31118 get_terms() parameters do not respect multiple $taxonomies boonebgorges Taxonomy normal normal 4.2 defect (bug) needs-unit-tests 02/15/2015
#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
#32044 is_object_in_term() leaks DB queries boonebgorges Taxonomy normal normal 4.4 defect (bug) needs-unit-tests 08/24/2016
#28688 wp_get_object_terms - orderby boonebgorges Taxonomy normal normal 4.2 enhancement needs-unit-tests 01/18/2015
#33793 Adding a user with a username 52 characters or longer fails, but displays success message. boonebgorges Users normal normal 4.4 defect (bug) needs-unit-tests 05/24/2016
#30064 WP_User_Query should support orderby => include boonebgorges Users normal normal 4.1 enhancement needs-unit-tests 10/24/2014
#27833 Add hook to hidden inline data for quick edit chriscct7 Quick/Bulk Edit normal normal enhancement needs-unit-tests 03/05/2018
#24280 Unit tests for mt_publishPost, blogger_newPost and mw_newPost chriscct7 XML-RPC normal normal defect (bug) needs-unit-tests 09/26/2015
#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
#39250 Undefinded Variable in Media-Modal dd32 Media normal normal 4.7.1 defect (bug) needs-unit-tests 12/30/2016
#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
#25065 The unit tests assume that PHPUnit is installed via PEAR dd32 Unit Tests normal normal 3.7 defect (bug) 08/28/2013
#41524 Remove usage of each() from WP_Upgrader dd32 Upgrade/Install normal major 4.9 task (blessed) needs-unit-tests 11/21/2017
#46567 Run AJAX test group for multisite desrosj Build/Test Tools normal normal 5.7 task (blessed) needs-unit-tests 03/15/2021
#43992 Prevent activation of a plugin if its required PHP version is too high desrosj Site Health high major 5.2 task (blessed) needs-unit-tests 04/13/2020
#52605 Reset password email sent in wrong language desrosj Users normal normal 5.7 defect (bug) needs-unit-tests 06/06/2021
#60698 Token Map: Introduce an efficient lookup and translation class for string mappings. dmsnell General normal normal 6.6 feature request needs-unit-tests 06/21/2024
#49116 Add Links to the REST version of a Resource in the header of the page dshanske REST API normal normal 5.5 enhancement needs-unit-tests 08/09/2020
#61228 Backport: Templates perf: resolve patterns server side ellatrix Editor normal normal 6.6 enhancement needs-unit-tests 06/13/2024
#15367 WordPress strips multiple line breaks inside of <pre> tags garyc40 Formatting normal normal 3.4 defect (bug) needs-unit-tests 03/31/2014
#18158 Meta Query for posts with a meta key not set (IS NULL). georgestephanis Query normal normal 3.5 enhancement needs-unit-tests 08/09/2024
#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
#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
#35658 Provide additional data for registered meta through register_meta() helen Options, Meta APIs high normal 4.6 task (blessed) needs-unit-tests 05/10/2018
#55005 Improve PHP performance for block.json files hellofromTonya Editor normal normal 6.1 enhancement needs-unit-tests 04/25/2023
#53631 Modify "email already exists" message upon registration hellofromTonya Login and Registration normal normal 5.9 enhancement needs-unit-tests 11/09/2021
#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
#44079 Require `manage_privacy_options` capability to edit the privacy policy page iandunn Privacy normal normal 4.9.6 defect (bug) needs-unit-tests 05/16/2018
#33185 Site search in "Network Admin" returns less results than expected; frequently none jeremyfelt Networks and Sites normal normal 4.6 defect (bug) needs-unit-tests 06/17/2016
#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
#51006 Add a mechanism for accessible tooltips in core joedolson* General normal normal 6.8 enhancement needs-unit-tests 02/13/2025
#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
#35613 Add granularity to REST API embeds joehoyle REST API normal normal enhancement needs-unit-tests 01/27/2017
#44563 WordPress 4.9.7 Media delete changes break plugins deleting media via stream wrappers joemcgill Media normal normal 5.2 defect (bug) needs-unit-tests 11/12/2019
#34980 image_get_intermediate_size() sometimes skips image sizes joemcgill Media normal normal 4.6 defect (bug) needs-unit-tests 07/18/2016
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.