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

1 2 3 4 5 6 7 8 9

Future Releases (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#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
#37530 is_front_page() is based on wrong data -> gives wrong results Query normal normal Future Release defect (bug) needs-unit-tests 01/07/2020
#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
#39447 Improvement to the get_the_posts_navigation SergeyBiryukov Query normal normal Future Release enhancement needs-unit-tests 01/27/2021
#41678 Make sure all field returns use filters in WP Query Query normal normal Awaiting Review enhancement needs-unit-tests 04/20/2023
#19653 Order by meta field forces ignore of null records Query normal normal Future Release enhancement needs-unit-tests 03/29/2019
#35907 Permit sticky posts to affect the query in REST_REQUEST rmccue Query normal normal Future Release enhancement needs-unit-tests 04/23/2017
#45084 WP_Term_Query multiple 'orderby' support Query normal normal Future Release enhancement needs-unit-tests 03/03/2021
#49149 Write tests for WP_Query Query normal normal Awaiting Review enhancement needs-unit-tests 02/20/2020
#39186 Bulk actions not correctly applied when selecting bulk actions in both the top and bottom bulk actions dropdowns engelen Quick/Bulk Edit normal normal Future Release defect (bug) needs-unit-tests 02/28/2023
#54516 Full site editing/REST-API: modify permission checks to use post type. REST API normal normal Future Release defect (bug) needs-unit-tests 09/12/2024
#39889 Improve/Fix REST Response on Multisite when an endpoint for a non-existent site is hit. REST API normal normal Future Release defect (bug) needs-unit-tests 07/09/2019
#53622 Query Param status default is a string value, but an array is required rachelbaker* REST API normal minor Awaiting Review defect (bug) needs-unit-tests 07/26/2024
#49538 Can't get a subset of `_embedded` using `_fields` REST API normal normal Future Release enhancement needs-unit-tests 07/25/2024
#42785 Change default of `show_in_rest` in register_post_type and register_taxonomy REST API normal normal Future Release enhancement needs-unit-tests 01/07/2020
#54293 Expand functionality of themes REST API REST API normal normal Awaiting Review enhancement needs-unit-tests 06/07/2022
#41463 Improve REST API tests that don't perform any assertions johnbillion* REST API normal normal Future Release enhancement needs-unit-tests 09/01/2022
#52840 Include filesize information in REST API response for all media types rachelbaker* REST API normal normal Future Release enhancement needs-unit-tests 01/13/2023
#49179 Manage Post trackbacks within the REST API REST API normal normal Future Release enhancement needs-unit-tests 10/24/2020
#39061 REST API pagination: Large INT passed to `paged` query arg doesn't fail properly joehoyle REST API normal normal Future Release enhancement needs-unit-tests 10/04/2017
#38702 REST API: Add accessor functions for post_status and post_parent REST API normal normal Future Release enhancement needs-unit-tests 01/18/2022
#41821 REST API: Add support for threaded comments REST API normal normal Future Release enhancement needs-unit-tests 09/24/2020
#46238 REST API: Allow conditional field registration REST API normal normal Awaiting Review enhancement needs-unit-tests 10/25/2020
#45140 REST API: Increase upper bound allowed on per_page argument REST API normal normal Future Release enhancement needs-unit-tests 06/26/2024
#38813 REST API: Test schema registration for required fields. jnylen0 REST API normal normal Future Release enhancement needs-unit-tests 11/30/2019
#61308 Return `post_types` field in templates REST API oandregal REST API normal normal Future Release enhancement needs-unit-tests 10/07/2024
#40748 Use REST API for Community Events REST API normal normal Future Release 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
#40365 Introduce a REST API endpoint for sites REST API normal normal Future Release task (blessed) needs-unit-tests 04/03/2020
#40577 Introduce a capability for viewing the revisions of a post adamsilverstein Revisions normal normal Future Release enhancement needs-unit-tests 03/02/2023
#16839 Category Base Should be Slugified SergeyBiryukov* Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 03/02/2023
#43746 Custom post type single post feed returns a 404 if has_archive is set to false when calling register_post_type() SergeyBiryukov Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 01/16/2019
#33728 Rewrite endpoints cannot be added to custom taxonomies with public rewrites johnbillion Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 01/23/2018
#41791 Unicode + add_permastruct breaks rewrite rules Rewrite Rules normal normal Awaiting Review defect (bug) needs-unit-tests 09/15/2017
#43571 `add_feed` with regex characters breaks rewrite rules SergeyBiryukov Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 01/16/2019
#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
#36376 current_user_can/has_cap fails when user has multiple roles dd32* Role/Capability normal normal Future Release defect (bug) needs-unit-tests 01/14/2019
#38997 delete_private_posts capability doesn't prevent user from deleting private posts Role/Capability normal normal Future Release defect (bug) needs-unit-tests 05/25/2019
#38303 register_meta and capabilities aren't working as expected rmccue Role/Capability normal normal Future Release defect (bug) needs-unit-tests 06/25/2017
#38433 Complete test coverage for current_user_can_for_blog() Role/Capability normal normal Future Release enhancement needs-unit-tests 06/04/2020
#33240 Introduce a capability for previewing posts Role/Capability normal normal Future Release enhancement needs-unit-tests 07/14/2017
#42405 Introduce singular capabilities for enabling individual themes on Multisite Role/Capability normal normal Future Release enhancement needs-unit-tests 11/01/2017
#41701 Introduce singular capabilities for further management of individual plugins Role/Capability normal normal Future Release enhancement needs-unit-tests 08/22/2017
#42404 Introduce singular capabilities for managing individual plugins Role/Capability normal normal Future Release enhancement needs-unit-tests 04/18/2018
#41703 Introduce singular capabilities for network activation and deactivation of individual plugins Role/Capability normal normal Future Release enhancement needs-unit-tests 09/20/2020
#39174 Introduce network roles Role/Capability normal normal Future Release feature request needs-unit-tests 03/15/2019
#37756 Allow inline scripts on script aliases Script Loader normal normal Future Release defect (bug) needs-unit-tests 12/13/2019
#34591 BugFix to WP_Scripts::do_item(), remove doubled "//" Script Loader normal normal Awaiting Review defect (bug) needs-unit-tests 02/05/2017
#46089 Memory exhaustion when setting script translations on `wp-i18n` Script Loader normal normal Future Release defect (bug) needs-unit-tests 02/04/2021
#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
#51124 Can we get an additional parameter in wp_add_inline_script to set the script type? audrasjb* Script Loader normal normal Future Release feature request needs-unit-tests 11/08/2021
#50027 Retire Phpass and use PHP native password hashing Security normal normal Awaiting Review defect (bug) needs-unit-tests 10/13/2023
#51438 Use CSP directive upgrade-insecure-requests when using HTTPS Security normal normal Future Release enhancement needs-unit-tests 11/09/2021
#52388 Use HTTPS URL already during installation if supported Security normal normal Future Release enhancement needs-unit-tests 01/28/2021
#59509 Shortcode attributes named 0 are ignored Shortcodes normal normal Awaiting Review defect (bug) needs-unit-tests 10/04/2023
#47616 Enhancement: doing_shortcode() function similar to doing_filter() audrasjb* Shortcodes normal normal Future Release enhancement needs-unit-tests 11/09/2021
#48153 Allow the admin email verification capability to be filtered Site Health normal normal Future Release defect (bug) needs-unit-tests 02/21/2020
#43989 Allow plugin searches to be filtered by "Requires PHP" version information Site Health normal normal Future Release task (blessed) needs-unit-tests 06/24/2019
#47880 Extend unit tests for Site Health component. Site Health normal normal Future Release task (blessed) needs-unit-tests 07/06/2020
#38243 Attempting to create a term with invalid UTF8 characters creates a blank term Taxonomy normal normal Future Release defect (bug) needs-unit-tests 04/01/2019
#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
#50568 Improve WP_Term's sanitization calls Taxonomy normal normal Future Release defect (bug) needs-unit-tests 03/12/2024
#49799 get_the_terms() object term cache check too strict? Taxonomy normal normal Awaiting Review defect (bug) needs-unit-tests 04/16/2020
#58404 Add pre_update_term filter hook Taxonomy normal normal Future Release enhancement needs-unit-tests 09/25/2023
#53319 Add support for a "reverse" argument in get_term_parents_list() function Taxonomy normal normal Future Release enhancement needs-unit-tests 07/26/2023
#38310 Improve "wp_update_term" documentation ruudjoyo Taxonomy normal normal Future Release enhancement needs-unit-tests 09/29/2021
#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
#56990 Render blocking CSS `classic-themes.css` unnecessarily enqueued Themes normal normal Future Release defect (bug) needs-unit-tests 06/20/2023
#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
#39844 Don't return anchor tag if link is empty in get_the_author_posts_link() Themes normal normal Future Release enhancement needs-unit-tests 02/21/2022
#37825 Introduce functions to check whether there are multiple taxonomy terms Themes normal normal Future Release enhancement needs-unit-tests 06/14/2018
#39083 Introduce singular capabilities for managing individual themes Themes normal normal Future Release enhancement needs-unit-tests 07/14/2017
#48175 Allow Template Resolution Algorithm to be Replaceable Themes normal normal Awaiting Review feature request needs-unit-tests 10/04/2019
#28569 Calling show_admin_bar( false ) should dehook toolbar entirely davidbaumwald Toolbar normal normal Future Release enhancement needs-unit-tests 11/05/2021
#11867 Increase Cross-Plattform portability of the Testsuite westi Unit Tests normal normal WordPress.org defect (bug) 02/18/2010
#24079 Inline Docs for unit-tests SergeyBiryukov Unit Tests normal normal WordPress.org defect (bug) 04/14/2013
#22989 Translation units tests loading test data from non-dynamic path Unit Tests normal normal WordPress.org defect (bug) 12/19/2012
#23690 Allow plugin test bootstraps access to tests_add_filter() earlier scribu Unit Tests normal normal WordPress.org enhancement 06/07/2021
#23699 Better `wp_unique_filename` tests joehoyle Unit Tests normal normal WordPress.org enhancement 03/07/2013
#44894 Add support for an optional `$roles` parameter to `populate_roles()` flixos90 Upgrade/Install normal normal Future Release enhancement needs-unit-tests 01/23/2019
#34676 Optimize bulk plugin updates francina Upgrade/Install normal normal Future Release enhancement needs-unit-tests 06/07/2022
#16293 In multisite installs, users with id 1 can't be deleted Users normal normal Future Release defect (bug) needs-unit-tests 02/08/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
#38851 WP_User_Query cannot retrieve multisite users who have not been assigned a role on a site Users normal normal Future Release defect (bug) needs-unit-tests 12/01/2017
#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
#39370 wp_insert_user() appends suffix to nicename when updating already existing user Users normal normal Future Release defect (bug) needs-unit-tests 03/12/2020
#42183 wp_update_user() conditional compares a plain-text password to the hashed old SergeyBiryukov Users normal normal Future Release defect (bug) needs-unit-tests 01/16/2019
#39242 Add caching to count_user_posts() whyisjake* Users normal normal Future Release enhancement needs-unit-tests 01/17/2023
#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.