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 (201 - 300 of 888)

1 2 3 4 5 6 7 8 9

Future Releases (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#42076 Allow the external HTTP tests to run internally Build/Test Tools normal normal Awaiting Review enhancement needs-unit-tests 03/22/2020
#41451 Use pretty permalinks by default in the test suite Build/Test Tools normal normal Awaiting Review enhancement needs-unit-tests 10/19/2018
#30430 WP_Object_Cache does not properly cache objects nested in arrays Cache API normal normal Awaiting Review defect (bug) needs-unit-tests 07/08/2022
#28664 wp_load_alloptions() fails to set object cache when persistent alloptions cache is "0" Cache API normal normal Awaiting Review defect (bug) needs-unit-tests 07/08/2022
#51725 Canonical redirect and user_trailingslashit() Canonical normal trivial Awaiting Review defect (bug) needs-unit-tests 01/25/2024
#44899 redirect_canonical redirects to another URL when it should not Canonical normal critical Awaiting Review defect (bug) needs-unit-tests 09/06/2018
#49369 redirect_canonical() should strip trailing protocols Canonical normal major Awaiting Review defect (bug) needs-unit-tests 07/20/2020
#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
#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
#54669 Remove ONLY_FULL_GROUP_BY from incompatible wpdb modes Database normal normal Awaiting Review enhancement needs-unit-tests 06/15/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
#48207 Implement new Comment Date Functions Date/Time normal normal Awaiting Review defect (bug) needs-unit-tests 11/08/2019
#53236 Nonce lifespans are inaccurate and unintuitively affected by timezones Date/Time normal minor Awaiting Review defect (bug) needs-unit-tests 06/02/2021
#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 Date/Time normal normal Awaiting Review enhancement needs-unit-tests 02/24/2023
#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
#37336 Pre-existing page with slug /embed/ does not work as described Embeds normal normal Awaiting Review defect (bug) needs-unit-tests 09/28/2020
#41746 oEmbed does not respect canonical provider url parameter Embeds normal normal Awaiting Review defect (bug) needs-unit-tests 09/20/2017
#61127 Make `wp_filter_oembed_result` less strict Embeds normal normal Awaiting Review enhancement needs-unit-tests 05/02/2024
#19998 Feeds can contain characters that are not valid XML Feeds normal normal Awaiting Review defect (bug) needs-unit-tests 06/19/2020
#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
#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 11/13/2017
#38052 wp-utility.js misses function argument null General normal major Awaiting Review defect (bug) needs-unit-tests 07/28/2017
#50867 An API which encourages automatic escaping of HTML HTML API normal normal Awaiting Review enhancement needs-unit-tests 02/07/2024
#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
#46333 wp_mail successfully working but not sending mails - WordPress 5.1 Mail normal major Awaiting Review defect (bug) needs-unit-tests 06/04/2020
#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 07/24/2024
#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 06/13/2024
#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 04/18/2024
#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
#28701 Deleted option is not deleted if value was ever null Options, Meta APIs normal normal Awaiting Review defect (bug) needs-unit-tests 02/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
#43818 Invalidate query caches less aggressively by using a `last_changed` key specific to metadata Options, Meta APIs normal normal Awaiting Review enhancement needs-unit-tests 04/20/2018
#43208 Separate setting validation from sanitization Options, Meta APIs normal normal Awaiting Review enhancement needs-unit-tests 11/06/2020
#44847 Redirect old date-based permalinks on structure changes Permalinks normal normal Awaiting Review defect (bug) needs-unit-tests 01/08/2019
#61393 Trailing Slash Issue in Category Pagination URLs with the_posts_pagination() Permalinks normal normal Awaiting Review defect (bug) needs-unit-tests 06/21/2024
#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
#39939 A Contributor cannot preview their own post if it's scheduled Posts, Post Types normal minor Awaiting Review defect (bug) needs-unit-tests 02/23/2017
#50002 Hack in get_sample_permalink() can cause filters like post_link, and pre_post_link to have inaccurate post_status in admin Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 04/26/2020
#43752 ID, post_parent, menu_order on global $post object is a string in edit context; expecting int Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 04/19/2018
#42323 Posts vs CPT user permissions issue Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 10/24/2017
#41226 Static "posts page" preview not working Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 02/17/2019
#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
#62468 wp_update_post overwrites post_date when updating post_status Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 11/21/2024
#41674 More granular capabilities for restoring and permanently deleting trashed posts Posts, Post Types normal normal Awaiting Review enhancement needs-unit-tests 08/19/2017
#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
#56992 The Loop displays incorrect data for queries started with `fields => 'id=>parent'`. Query normal normal Awaiting Review defect (bug) needs-unit-tests 11/04/2022
#44695 WP_Term_Query unexpected 'orderby' behaviour. Query normal normal Awaiting Review defect (bug) needs-unit-tests 08/27/2019
#52559 When doing JOINs for meta queries the meta_key should be in the ON clause whenever possible. Query normal normal Awaiting Review defect (bug) needs-unit-tests 04/26/2021
#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 08/08/2023
#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
#54293 Expand functionality of themes REST API REST API normal normal Awaiting Review enhancement needs-unit-tests 06/07/2022
#46238 REST API: Allow conditional field registration REST API normal normal Awaiting Review enhancement needs-unit-tests 10/25/2020
#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
#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
#34591 BugFix to WP_Scripts::do_item(), remove doubled "//" Script Loader normal normal Awaiting Review defect (bug) needs-unit-tests 02/05/2017
#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 01/16/2019
#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
#36641 WP_Term method __toString Taxonomy normal normal Awaiting Review enhancement needs-unit-tests 02/05/2017
#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
#42513 WP_Theme::get_post_templates() is extremely inefficient for large themes Themes normal normal Awaiting Review defect (bug) needs-unit-tests 11/12/2017
#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
#48175 Allow Template Resolution Algorithm to be Replaceable Themes normal normal Awaiting Review feature request needs-unit-tests 10/04/2019
#59485 Invalid username Users normal normal Awaiting Review defect (bug) needs-unit-tests 11/26/2024
#40477 REST API: Does NOT Trigger New User Notifications! Users normal normal Awaiting Review defect (bug) needs-unit-tests 07/31/2024
#50072 Users with email addresses containing a single quote cannot reset their passwords Users normal major Awaiting Review defect (bug) needs-unit-tests 05/05/2020
#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/24/2017
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.