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
#28172 edit_post() should call {un}stick_post() before calling wp_update_post() Posts, Post Types normal normal Future Release enhancement needs-unit-tests 01/26/2023
#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
#12706 Custom post status bugs Posts, Post Types normal normal Future Release task (blessed) needs-unit-tests 06/02/2022
#44084 Privacy: The personal data export file should be generated in the user's locale garrett-eclipse Privacy normal normal Future Release defect (bug) needs-unit-tests 10/08/2020
#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
#43880 Add functionality to add an anonymous user an get its ID for anonymization of data related to a WordPress user. tz-media Privacy normal normal Future Release enhancement needs-unit-tests 07/09/2018
#43879 Add tools for anonymizing of post authors tz-media Privacy normal normal Future Release enhancement needs-unit-tests 09/07/2020
#43588 Anonymize commenter IP address once a comment is no longer pending Privacy normal normal Awaiting Review enhancement needs-unit-tests 01/09/2019
#44034 Privacy: Introduce a function to count user requests by type garrett-eclipse Privacy normal normal Future Release enhancement needs-unit-tests 10/12/2020
#51852 "any" value in "post_type" param in "get_posts" by default ignore attachments Query normal normal Future Release defect (bug) needs-unit-tests 02/18/2021
#18408 Can't wp_reset_postdata after custom WP_Query in an admin edit page audrasjb Query normal normal Future Release defect (bug) needs-unit-tests 02/19/2024
#42164 Conditional Tags not working when using ugly URL Query normal normal Awaiting Review defect (bug) needs-unit-tests 10/10/2017
#39540 NOT EXISTS meta condition doesn't work if meta has NULL value. Query normal normal Future Release defect (bug) needs-unit-tests 07/14/2020
#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
#27015 WP_Query::get_queried_object() does not always work in 'pre_get_posts' Query normal normal Future Release defect (bug) needs-unit-tests 07/10/2021
#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
#57416 Do not split query if requesting one post spacedmonkey Query normal normal Future Release enhancement needs-unit-tests 11/16/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
#52925 Autosaves controller: Post checks will never catch invalid IDs REST API normal normal Future Release defect (bug) needs-unit-tests 06/08/2021
#54516 Full site editing/REST-API: modify permission checks to use post type. REST API normal normal Future Release defect (bug) needs-unit-tests 02/19/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
#49538 Can't get a subset of `_embedded` using `_fields` REST API normal normal Future Release enhancement needs-unit-tests 10/22/2020
#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
#41616 REST API: Expose old slugs REST API normal normal Future Release enhancement needs-unit-tests 10/08/2021
#45140 REST API: Increase upper bound allowed on per_page argument REST API normal normal Future Release enhancement needs-unit-tests 10/31/2018
#38813 REST API: Test schema registration for required fields. jnylen0 REST API normal normal Future Release enhancement needs-unit-tests 11/30/2019
#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 01/19/2023
#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
#43421 The $capabilities argument in the `add_role()` function is incompatible with `user_can` Role/Capability normal normal Awaiting Review enhancement needs-unit-tests 03/20/2018
#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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.