Make WordPress Core

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

1 2 3 4 5 6 7 8 9

Next Release (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#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
#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
#21779 Querying Taxonomies (Tag) containing the sequence "-נ-" *still* fails. nacin Query normal normal 3.5 defect (bug) needs-unit-tests 01/08/2015
#11058 Add unregister_taxonomy_for_object_type() nacin Taxonomy normal normal 3.7 enhancement needs-unit-tests 03/08/2016
#24800 DROP TABLE error 1051 (Unknown table) nacin Unit Tests normal normal 3.9 defect (bug) 02/03/2014
#25242 Provide correct multisite test information in bootstrap.php nacin Unit Tests normal normal 3.7 defect (bug) 09/12/2013
#21115 Remove ancient wp-settings.php global unsetting code nacin Unit Tests normal normal 3.5 defect (bug) 06/29/2012
#26629 Update version in package.json and unit test it nacin Unit Tests normal normal 3.9 defect (bug) 01/23/2014
#26836 Use Mock PHPMailer during Installation for Unit Tests nacin Unit Tests normal normal 3.9 defect (bug) 01/14/2014
#26725 Wordpress-tests' WP_PHPUnit_Text_UI Throws Unhandled Exceptions nacin Unit Tests normal normal 3.9 defect (bug) 12/27/2013
#26364 Add Travis CI Configuration nacin Unit Tests normal normal 3.8 enhancement 12/03/2013
#23499 Rename phpunit.xml to phpunit.xml.dist nacin Unit Tests normal normal 3.6 enhancement 03/03/2013
#25507 Unit test for `wp_strip_all_tags` and better docs nacin Unit Tests normal normal 3.9 enhancement 01/30/2014
#26566 Add unit test to verify all bundled themes have valid text domain declared nacin Unit Tests high normal 3.9 task (blessed) 12/30/2013
#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
#23219 Duplicate enclosure metadata created because of disagreement on meta field formatting nacin XML-RPC normal normal 3.6 defect (bug) needs-unit-tests 07/10/2013
#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
#32417 Add new core media widget melchoyce Widgets normal normal 4.8 feature request needs-unit-tests 10/24/2017
#24207 Unit tests for widgets.php maxcutler Unit Tests normal normal 3.6 defect (bug) 04/28/2013
#24208 Add more wp-includes/cache.php test coverage maxcutler Unit Tests normal normal 3.6 enhancement 04/28/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
#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
#16200 Multisite can't find site /foo at /FOO (gives 404) markjaquith Multisite normal normal 3.5 defect (bug) needs-unit-tests 12/05/2012
#23073 Wrong RewriteRule in a local Multisite installation markjaquith Multisite normal normal 3.5.1 defect (bug) needs-unit-tests 04/17/2014
#14348 If it's a HEAD request, stop after the head! markjaquith Performance normal normal 3.5 enhancement needs-unit-tests 10/31/2012
#23572 Add functions to parse Audio / Video data out of arbitrary content or a post markjaquith Post Formats normal normal 3.6 enhancement needs-unit-tests 04/12/2013
#16373 Wrong page loaded requesting custom registered query_vars when correcting is_* for page_on_front requests markjaquith Query high normal defect (bug) needs-unit-tests 01/26/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
#14459 Rotate Full Size Images on Upload kirasong Media normal normal 5.3 enhancement needs-unit-tests 03/16/2022
#40439 Save progress of intermediate image creation after upload kirasong Media high normal 5.3 enhancement needs-unit-tests 10/15/2019
#19629 return option for media_sideload_image kirasong Media normal minor 4.8 task (blessed) needs-unit-tests 05/25/2017
#40614 REST API: String argument for rest_do_request/rest_ensure_request does not work as expected. kadamwhite REST API normal normal 5.3 defect (bug) needs-unit-tests 02/03/2020
#33750 Unit tests for is_new_day() and the_date() jubstuff Date/Time low normal 4.4 enhancement needs-unit-tests 09/24/2015
#13835 XML-RPC API should return commentmeta values josephscott XML-RPC normal normal feature request needs-unit-tests 02/13/2017
#37464 Last changed helper function jorbin Cache API normal normal 4.7 enhancement needs-unit-tests 03/10/2023
#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
#36476 Add tests for sign on related functions jorbin Login and Registration normal normal 6.4 enhancement needs-unit-tests 08/24/2023
#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
#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
#37849 assertQueryTrue() doesn't handle is_front_page() johnbillion Build/Test Tools normal normal 4.7 defect (bug) needs-unit-tests 08/27/2016
#41561 Remove usage of DOING_AJAX in the test suite johnbillion Build/Test Tools normal normal 4.9 enhancement needs-unit-tests 10/23/2017
#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
#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
#41526 Remove usage of each() from Text_Diff_Engine_native johnbillion External Libraries normal normal 4.9 task (blessed) needs-unit-tests 10/26/2017
#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
#40040 Run wpautop on author bio johnbillion Formatting normal normal 4.9 enhancement needs-unit-tests 01/17/2018
#14867 HTTPS related issues in ms-blogs.php (with fix) johnbillion Permalinks normal normal 4.4 defect (bug) needs-unit-tests 10/30/2015
#30339 Infinite loop while checking for post slug uniqueness johnbillion Posts, Post Types normal major 4.1 defect (bug) needs-unit-tests 11/20/2014
#33763 Post types with show_ui set to false should not be accessible via the admin area johnbillion Posts, Post Types normal normal 4.4 defect (bug) needs-unit-tests 11/19/2015
#33694 Capability missing for editing scheduled posts created by one self (implicit permission bypass) johnbillion Role/Capability normal normal 4.4 defect (bug) needs-unit-tests 08/30/2016
#25597 The capability used for managing tags should be separate from that for categories johnbillion Role/Capability normal normal defect (bug) needs-unit-tests 08/31/2016
#20307 Edit User link in admin toolbar johnbillion Toolbar normal normal 4.9 enhancement needs-unit-tests 07/26/2017
#51493 Type error in wp_xmlrpc_server::_prepare_taxonomy() johnbillion XML-RPC normal normal 5.7 defect (bug) needs-unit-tests 12/21/2020
#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
#46800 protect against bad characters in media attachment metadata joemcgill Media normal normal 5.3 defect (bug) needs-unit-tests 09/28/2019
#51865 Add filter to `wp_image_src_get_dimensions` joemcgill Media normal normal 5.7 enhancement needs-unit-tests 02/23/2021
#63062 Parent theme incorrectly not getting resolved in WordPress 6.8-beta1 joemcgill Themes high normal 6.8 defect (bug) needs-unit-tests 03/18/2025
#39552 SVG upload support broken in 4.7.1 joemcgill Upload normal normal 4.7.3 defect (bug) needs-unit-tests 02/27/2017
#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
#61100 Fix capability error in bulk role removal when editing site users in network admin jeremyfelt Networks and Sites normal normal 6.8 defect (bug) needs-unit-tests 03/21/2025
#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
#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
#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
#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
#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
#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
#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
#15367 WordPress strips multiple line breaks inside of <pre> tags garyc40 Formatting normal normal 3.4 defect (bug) needs-unit-tests 03/31/2014
#61228 Backport: Templates perf: resolve patterns server side ellatrix Editor normal normal 6.6 enhancement needs-unit-tests 06/13/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
#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
#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
#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
#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
#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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.