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 (101 - 200 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
#37344 Side effects on 'nav_menu_item_args' filter when appending to arguments Menus normal normal Future Release defect (bug) needs-unit-tests 10/10/2021
#51926 Network Site Search should search more than just wp_blogs.path Networks and Sites normal normal Future Release defect (bug) needs-unit-tests 10/07/2022
#41771 Global configuration table Networks and Sites normal normal Awaiting Review enhancement needs-unit-tests 09/19/2017
#40646 Move code from `ms-settings.php` into functions Networks and Sites normal normal Future Release enhancement needs-unit-tests 08/29/2017
#40513 switch_to_blog should accept a WP_site as param Networks and Sites normal normal Future Release enhancement needs-unit-tests 02/01/2022
#15691 Network admin should have its own settings API Networks and Sites normal normal Future Release feature request needs-unit-tests 09/07/2017
#52723 Admin options.php default value to NULL for option_value may lead to MySQL Integrity constraint violation error, potential other bugs Options, Meta APIs normal normal Future Release defect (bug) needs-unit-tests 06/13/2024
#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
#59361 update_post_meta() strict checks can cause false negatives Options, Meta APIs normal normal Future Release defect (bug) needs-unit-tests 09/15/2023
#37702 Accept array of IDs in `delete_metadata_by_mid` Options, Meta APIs normal normal Future Release enhancement needs-unit-tests 12/13/2019
#37178 Add $cache_only parameter to get_option Options, Meta APIs normal normal Awaiting Review enhancement needs-unit-tests 09/06/2024
#44387 Add support for site meta in `register_meta()` Options, Meta APIs normal normal Future Release enhancement needs-unit-tests 09/20/2019
#56548 Introduce `get_option` action Options, Meta APIs normal normal Awaiting Review enhancement needs-unit-tests 10/04/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
#15058 Validate option and transient name lengths Options, Meta APIs normal normal Future Release enhancement needs-unit-tests 06/24/2021
#37812 404 when using a numeric slug and /%category%/ base Permalinks normal normal Future Release defect (bug) needs-unit-tests 03/11/2023
#55189 Automatic removal of "Zero-width non-joiner" in URL Permalinks normal critical Future Release defect (bug) needs-unit-tests 02/23/2023
#9102 Inverse proxy breaks permalinks Permalinks normal normal Future Release defect (bug) needs-unit-tests 03/19/2024
#34972 Permalink for unattached media same as a post Permalinks normal normal Future Release defect (bug) needs-unit-tests 12/17/2018
#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
#43789 the_posts_pagination() outputs the slash at the first link Permalinks normal normal Future Release defect (bug) needs-unit-tests 09/17/2021
#42148 url_to_postid plain permalinks for CPTs Permalinks normal normal Awaiting Review enhancement needs-unit-tests 10/08/2017
#5130 Linking to multiple posts on your site breaks pingback due to comment flooding Pings/Trackbacks normal normal Future Release defect (bug) needs-unit-tests 04/21/2024
#35435 Support Webmentions Pings/Trackbacks normal normal Future Release feature request needs-unit-tests 02/19/2018
#36406 $network_wide is unreliable Plugins normal critical Future Release defect (bug) needs-unit-tests 07/09/2019
#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
#34358 plugin_dir_url( __FILE__ ) returns plugins directory when plugin symlinked to mu-plugins Plugins normal normal Future Release defect (bug) needs-unit-tests 10/02/2017
#38183 Add hooks to be run before and after each callback Plugins normal normal Future Release enhancement needs-unit-tests 08/25/2017
#31136 Allow plugin authors to register an additional 'Uninstall Notification' plugin header and to display back to the user during plugin uninstall flow Plugins normal normal Future Release enhancement needs-unit-tests 02/05/2017
#20241 make it possible for plugins to activate other plugins Plugins normal normal Future Release enhancement needs-unit-tests 08/05/2022
#47279 $post object passed to clean_post_cache action can contain outdated values Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 05/15/2019
#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
#41448 Contributors shouldn't be able to change the date of their drafts Posts, Post Types low normal Future Release defect (bug) needs-unit-tests 08/04/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
#41471 Page dropdown walker must check selected against value field Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 02/20/2019
#11235 Pages whose ancestors are not all "published" cannot be used as parents for other pages. Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 06/04/2019
#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
#59027 Weekly wp_get_archives has invalid link (link for month instead of year) Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 05/21/2024
#37671 Emptying Bin with large amount of posts results in whitescreen Posts, Post Types normal normal Future Release enhancement needs-unit-tests 06/18/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
#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 09/10/2024
#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
#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
#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
#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
#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
#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
#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
#49179 Manage Post trackbacks within the REST API REST API normal normal Future Release enhancement needs-unit-tests 10/24/2020
#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
#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
#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
#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
#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
#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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.