Make WordPress Core

{37} Needs Unit Tests (878 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 (201 - 300 of 878)

1 2 3 4 5 6 7 8 9

Future Releases (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#50506 PHP warning appearing in 404 page and 'post_type' query var is Array Canonical normal normal Awaiting Review enhancement needs-unit-tests 06/29/2020
#34631 Extra compat for mbstring: mb_strpos() Charset normal normal Awaiting Review enhancement needs-unit-tests 08/25/2025
#51486 The add_option function should not be able to update existing rows in the database. Database normal normal Awaiting Review defect (bug) needs-unit-tests 06/09/2022
#40357 dbDelta can't change primary keys, create AUTO_INCREMENT columns and doesn't make significant index changes Database normal normal Awaiting Review enhancement needs-unit-tests 04/04/2017
#52220 Weekly archives/week 53 incorrect crossing over a year change Rarst* Date/Time normal normal Awaiting Review defect (bug) needs-unit-tests 01/05/2021
#48936 Remove mysql2date() usage from core pbearne Date/Time normal normal Awaiting Review enhancement needs-unit-tests 05/06/2025
#63856 Bug Report: Post Author Can Be Assigned to Subscribers via Gutenberg Editor Editor normal normal Awaiting Review defect (bug) needs-unit-tests 08/23/2025
#43071 User without the ability to publish are unable to edit post status Editor normal normal Awaiting Review defect (bug) needs-unit-tests 12/10/2021
#52990 Account for single quoted attributes when lazy loading images and iframes. Embeds normal normal Awaiting Review defect (bug) needs-unit-tests 04/12/2024
#44399 Add unique capability for oembed Embeds normal normal Awaiting Review defect (bug) needs-unit-tests 01/17/2019
#41746 oEmbed does not respect canonical provider url parameter Embeds normal normal Awaiting Review defect (bug) needs-unit-tests 09/20/2017
#19998 Feeds can contain characters that are not valid XML Feeds normal normal Awaiting Review defect (bug) needs-unit-tests 03/20/2025
#39153 Bug in wp_html_split with unclosed PHP tag (or HTML tag <) Formatting normal normal Awaiting Review defect (bug) needs-unit-tests 03/02/2018
#50863 [playlist] + text = </p> error Formatting normal normal Awaiting Review defect (bug) needs-unit-tests 08/06/2020
#50514 make_clickable nested links bug Formatting normal normal Awaiting Review defect (bug) needs-unit-tests 10/12/2020
#40676 wpautop adds opening & closing p tags around the opening a tag and around the closing a tag when the link contains certain flow content elements like div, h1, h2... Formatting normal normal Awaiting Review defect (bug) needs-unit-tests 07/21/2017
#43010 Attribute Name Escape Formatting normal normal Awaiting Review enhancement needs-unit-tests 01/18/2022
#63522 Warnings related to get_queried_object returning null General low minor Awaiting Review defect (bug) needs-unit-tests 06/04/2025
#59126 first class callable syntax support in _wp_filter_build_unique_id() / remove_filter() General normal normal Awaiting Review defect (bug) needs-unit-tests 10/22/2025
#42517 get_file_data() doesn't support the single-line variant of post template headers General normal normal Awaiting Review defect (bug) needs-unit-tests 02/12/2025
#38052 wp-utility.js misses function argument null General normal major Awaiting Review defect (bug) needs-unit-tests 07/28/2017
#63206 WP_Filesystem and request_filesystem_credentials General normal normal Awaiting Review enhancement needs-unit-tests 08/10/2025
#50867 An API which encourages automatic escaping of HTML HTML API normal normal Awaiting Review enhancement needs-unit-tests 02/07/2024
#60788 Content-Disposition support in download_url() seems broken HTTP API normal normal Awaiting Review defect (bug) needs-unit-tests 08/29/2025
#49385 wp_remote_get() cannot retrieve webcal URIs HTTP API normal normal Awaiting Review defect (bug) needs-unit-tests 02/07/2020
#39695 Add preload headers in redirects HTTP API normal normal Awaiting Review enhancement needs-unit-tests 02/27/2017
#40142 WP Remote Remaining Methods HTTP API normal normal Awaiting Review enhancement needs-unit-tests 04/19/2023
#38750 Split wp_signups into wp_user_signups and wp_blog_signups Login and Registration normal normal Awaiting Review feature request needs-unit-tests 05/26/2019
#38432 Validate user creation and email change by token Login and Registration normal normal Awaiting Review feature request needs-unit-tests 01/17/2018
#54943 image_get_intermediate_size(): size data is a bool, not an array throws notice / warning Media normal normal Awaiting Review defect (bug) needs-unit-tests 05/12/2025
#36273 update_attached_file() on Windows will result in invalid image path when using native Windows directory separators Media normal normal Awaiting Review defect (bug) needs-unit-tests 04/30/2018
#42920 Add support for the picture element adamsilverstein Media normal normal Awaiting Review enhancement needs-unit-tests 08/13/2024
#58416 Media Title field should soft wrap in Media Modal: For better readability/editing of long titles. Media normal normal Awaiting Review enhancement needs-unit-tests 05/12/2025
#38486 current_page_parent class wrongly added to menu item williampatton Menus normal normal Awaiting Review defect (bug) needs-unit-tests 07/31/2020
#52464 The value of argument passed to the update_option_new_admin_email() is not a valid email. SergeyBiryukov Networks and Sites normal normal Awaiting Review defect (bug) needs-unit-tests 06/05/2025
#41771 Global configuration table Networks and Sites normal normal Awaiting Review enhancement needs-unit-tests 09/19/2017
#45640 get_blogs_of_user improvements alexstine Networks and Sites normal minor Awaiting Review enhancement needs-unit-tests 11/16/2021
#37178 Add $cache_only parameter to get_option Options, Meta APIs normal normal Awaiting Review enhancement needs-unit-tests 09/06/2024
#56548 Introduce `get_option` action Options, Meta APIs normal normal Awaiting Review enhancement needs-unit-tests 10/21/2024
#43208 Separate setting validation from sanitization Options, Meta APIs normal normal Awaiting Review enhancement needs-unit-tests 11/06/2020
#50002 Hack in get_sample_permalink() can cause filters like post_link, and pre_post_link to have inaccurate post_status in admin Permalinks normal normal Awaiting Review defect (bug) needs-unit-tests 09/09/2025
#44847 Redirect old date-based permalinks on structure changes Permalinks normal normal Awaiting Review defect (bug) needs-unit-tests 01/08/2019
#42148 url_to_postid plain permalinks for CPTs Permalinks normal normal Awaiting Review enhancement needs-unit-tests 10/08/2017
#43489 Strengthen resilience of wp_register_plugin_realpath to support Gutenberg Plugins normal normal Awaiting Review defect (bug) needs-unit-tests 12/01/2020
#45374 apply_filters_ref_array() no longer passes arguments by reference Plugins normal normal Awaiting Review defect (bug) needs-unit-tests 01/25/2019
#9968 dynamically adding/removing filters breaks plugins Plugins low normal Awaiting Review defect (bug) needs-unit-tests 03/02/2020
#40588 Trashing and restoring a draft post replaces the slug Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 07/29/2024
#37376 Make it possible for custom post type to have an archive but no single Posts, Post Types normal normal Awaiting Review feature request needs-unit-tests 08/24/2021
#56694 Uncached database read for logged in users when Privacy Policy Page is deleted Privacy normal normal Awaiting Review defect (bug) needs-unit-tests 09/29/2022
#43588 Anonymize commenter IP address once a comment is no longer pending Privacy normal normal Awaiting Review enhancement needs-unit-tests 01/09/2019
#42164 Conditional Tags not working when using ugly URL Query normal normal Awaiting Review defect (bug) needs-unit-tests 10/10/2017
#41226 Static "posts page" preview not working Query normal normal Awaiting Review defect (bug) needs-unit-tests 10/02/2025
#44695 WP_Term_Query unexpected 'orderby' behaviour. Query normal normal Awaiting Review defect (bug) needs-unit-tests 08/27/2019
#44964 `redirect_guess_404_permalink` doesn't support array in `post_type` var Query normal normal Awaiting Review defect (bug) needs-unit-tests 10/01/2018
#58234 sanitize_title_with_dashes fatal error when query var value is an array in php 8 Query normal normal Awaiting Review defect (bug) needs-unit-tests 01/31/2025
#56105 Call update_post_parent_caches in the_post function in WP_Query class Query normal normal Awaiting Review enhancement needs-unit-tests 04/20/2023
#41678 Make sure all field returns use filters in WP Query Query normal normal Awaiting Review enhancement needs-unit-tests 04/20/2023
#49149 Write tests for WP_Query Query normal normal Awaiting Review enhancement needs-unit-tests 02/20/2020
#64248 REST API: Logic to only change comment status never runs REST API normal normal Awaiting Review defect (bug) needs-unit-tests 11/13/2025
#63493 Timezone string doesn't return in REST API /wp-json/wp/v2/settings REST API normal normal Awaiting Review defect (bug) needs-unit-tests 05/28/2025
#54293 Expand functionality of themes REST API REST API normal normal Awaiting Review enhancement needs-unit-tests 08/04/2025
#46238 REST API: Allow conditional field registration REST API normal normal Awaiting Review enhancement needs-unit-tests 07/28/2025
#39473 get_routes() called multiple times within single REST request causing the rest_endpoints() filter to also fire more than once REST API normal normal Awaiting Review enhancement needs-unit-tests 09/17/2024
#41791 Unicode + add_permastruct breaks rewrite rules Rewrite Rules normal normal Awaiting Review defect (bug) needs-unit-tests 09/15/2017
#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
#39939 A Contributor cannot preview their own post if it's scheduled Role/Capability normal minor Awaiting Review defect (bug) needs-unit-tests 09/20/2025
#43877 Do not run unnecessary `user_has_cap` filter if the caps to check for include `do_not_allow` already Role/Capability normal normal Awaiting Review defect (bug) needs-unit-tests 09/17/2018
#50123 Roles & Caps: give anonymous users the `read_post` meta cap for public posts. Role/Capability normal normal Awaiting Review defect (bug) needs-unit-tests 01/26/2024
#59585 Unchecked variable creates fatal error in wp-includes/class-wp-user-query.php Role/Capability normal normal Awaiting Review defect (bug) needs-unit-tests 10/10/2023
#41674 More granular capabilities for restoring and permanently deleting trashed posts Role/Capability normal normal Awaiting Review enhancement needs-unit-tests 09/01/2025
#54956 [5.9] wp_block_type args - "style" and "script" are always loaded on Frontend Script Loader normal normal Awaiting Review defect (bug) needs-unit-tests 07/19/2022
#59509 Shortcode attributes named 0 are ignored Shortcodes normal normal Awaiting Review defect (bug) needs-unit-tests 10/25/2024
#46010 Auto-generated term slugs can be greater than 200 characters, giving "Could not insert term into the database." error Taxonomy normal normal Awaiting Review defect (bug) needs-unit-tests 11/04/2025
#49799 get_the_terms() object term cache check too strict? Taxonomy normal normal Awaiting Review defect (bug) needs-unit-tests 04/16/2020
#45107 Taxonomies should only be allowed to support one object type Taxonomy normal normal Awaiting Review enhancement needs-unit-tests 02/12/2019
#40661 WP_Term_Query->parse_query() needs filter like 'get_terms' Taxonomy normal normal Awaiting Review enhancement needs-unit-tests 08/04/2017
#57141 WP_Theme cannot locate a parent block theme Themes normal normal Awaiting Review defect (bug) needs-unit-tests 11/21/2022
#59507 global-styles-and-settings.php in wp_theme_has_theme_json Themes normal normal Awaiting Review defect (bug) needs-unit-tests 10/02/2023
#41564 Search for hyphenated post templates for post types with underscores Themes normal normal Awaiting Review feature request needs-unit-tests 09/21/2025
#64027 Some specific image not uploading correctly on 6.8.2 Upload normal normal Awaiting Review defect (bug) needs-unit-tests 10/03/2025
#59485 Invalid username Users normal normal Awaiting Review defect (bug) needs-unit-tests 11/26/2024
#50072 Users with email addresses containing a single quote cannot reset their passwords Users normal major Awaiting Review defect (bug) needs-unit-tests 09/05/2025
#54310 WP_User_Query does not return results in the same format if fields set to all_with_meta and doesn't return any metadata Users normal normal Awaiting Review defect (bug) needs-unit-tests 10/25/2021
#42326 Allow for user deletion in multisite Users normal normal Awaiting Review enhancement needs-unit-tests 10/03/2025
#39123 Allow usernames to be changed by administrators Users normal normal Awaiting Review enhancement needs-unit-tests 07/28/2024
#34316 User status inconsistent between single-site & multisite Users normal normal Awaiting Review enhancement needs-unit-tests 09/27/2017
#44347 WP allows creating username that is already used email address Users normal normal Awaiting Review enhancement needs-unit-tests 03/02/2019
#49588 Cannot remove <div class="textwidget custom-html-widget"> Widgets normal minor Awaiting Review feature request needs-unit-tests 03/07/2020
#61146 Multisite: Marking a user account as spam, also marks the blogs he's a member of as spam johnjamesjacoby Networks and Sites normal normal 7.0 task (blessed) needs-unit-tests 11/10/2025
#14060 Misleading "You do not have sufficient permissions to access this page." SergeyBiryukov Plugins normal normal 7.0 defect (bug) needs-unit-tests 11/06/2025
#63256 Unnecessary array_map() call in get_terms() when object_ids is not set audrasjb Taxonomy lowest normal 7.0 defect (bug) needs-unit-tests 11/07/2025
#33885 meta_form performs a potentially expensive query Administration normal normal defect (bug) needs-unit-tests 03/13/2024
#33296 Allow sites to skip a query in meta_form() that can delay loading the page Administration normal normal enhancement needs-unit-tests 07/07/2022
#44813 Filter _get_list_table soulseekah Administration normal normal enhancement needs-unit-tests 08/19/2018
#37526 Introduce the possibility to register new administration panels Administration normal normal enhancement needs-unit-tests 04/25/2018
#17376 Multisite Subfolders and bunk /wp-admin areas Bootstrap/Load normal normal defect (bug) needs-unit-tests 06/24/2021
#13554 WordPress MU canonical link redirect failure markjaquith Bootstrap/Load normal normal defect (bug) needs-unit-tests 09/17/2024
#22325 Abstract GPCS away from the superglobals Bootstrap/Load normal normal enhancement needs-unit-tests 10/05/2024
#25691 Refactor StringExtractor nbachiyski Build/Test Tools normal normal defect (bug) needs-unit-tests 11/10/2020
#63539 wp_add_id3_tag_data() unit test coverage Build/Test Tools normal normal enhancement needs-unit-tests 06/08/2025
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.