Make WordPress Core

{12} Needs Unit Tests (393 matches)

Create a new ticket
  • Tickets that need unit tests (keywords: needs-unit-tests)
  • In some cases, these tickets have patches but need tests in order to be committed)
  • Sort by component, type, summary
  • Accepted tickets have an '*' appended to their owner's name

Results (301 - 393 of 393)

1 2 3 4

Future Releases (92 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#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) has-patch 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) 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) has-patch 10/10/2023
#36376 current_user_can/has_cap fails when user has multiple roles dd32* Role/Capability normal normal Future Release defect (bug) dev-feedback 01/14/2019
#62600 fatal error on capabilities. Role/Capability normal normal Future Release defect (bug) has-patch 05/21/2025
#38303 register_meta and capabilities aren't working as expected rmccue Role/Capability normal normal Future Release defect (bug) 06/25/2017
#55184 Custom style handle attached to a custom block style is never load even if the block is in the page. Script Loader normal normal Future Release defect (bug) changes-requested 03/11/2026
#46089 Memory exhaustion when setting script translations on `wp-i18n` Script Loader normal normal Future Release defect (bug) has-patch 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) dev-feedback 07/19/2022
#58366 Shortcode Support Regained but Content Filters are messing with Shortcode HTML Shortcodes normal normal Future Release defect (bug) dev-feedback 05/22/2025
#59509 Shortcode attributes named 0 are ignored Shortcodes normal normal Awaiting Review defect (bug) has-patch 10/25/2024
#48153 Allow the admin email verification capability to be filtered Site Health normal normal Future Release defect (bug) has-patch 02/21/2020
#38243 Attempting to create a term with invalid UTF8 characters creates a blank term Taxonomy normal normal Future Release defect (bug) has-patch 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) dev-feedback 11/04/2025
#61890 Handle WP_Term dynamic properties for PHP 8.2 Taxonomy normal minor Future Release defect (bug) has-patch 11/03/2025
#49799 get_the_terms() object term cache check too strict? Taxonomy normal normal Awaiting Review defect (bug) reporter-feedback 04/16/2020
#56990 Enqueue `classic-themes.css` only when relevant blocks are rendered Themes normal normal Future Release defect (bug) 10/21/2024
#57141 WP_Theme cannot locate a parent block theme Themes normal normal Awaiting Review defect (bug) has-patch 02/02/2026
#59911 WordPress 6.4 changes the font-face generation using wrong fontFamily attribute from theme.json preset Themes normal normal Future Release defect (bug) has-patch 01/15/2026
#64778 get_block_editor_theme_styles() doesn't load editor styles of parent theme Themes normal normal Awaiting Review defect (bug) has-patch 03/03/2026
#59507 global-styles-and-settings.php in wp_theme_has_theme_json Themes normal normal Awaiting Review defect (bug) close 10/02/2023
#61330 Plugin Dependencies: Refresh plugin-install.php instead of redirecting on activation Upgrade/Install normal normal Future Release defect (bug) dev-feedback 05/12/2025
#64027 Some specific image not uploading correctly on 6.8.2 Upload normal normal Awaiting Review defect (bug) 10/03/2025
#64862 Application Passwords: Add rate limiting to prevent brute-force attacks Users normal normal Awaiting Review defect (bug) has-patch 03/14/2026
#16293 In multisite installs, users with id 1 can't be deleted Users normal normal Future Release defect (bug) dev-feedback 02/08/2024
#59485 Invalid username Users normal normal Awaiting Review defect (bug) has-patch 11/26/2024
#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) 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) 10/25/2021
#39370 wp_insert_user() appends suffix to nicename when updating already existing user Users normal normal Future Release defect (bug) reporter-feedback 06/24/2025
#42183 wp_update_user() conditional compares a plain-text password to the hashed old SergeyBiryukov Users normal normal Future Release defect (bug) dev-feedback 01/16/2019
#16980 Empty Values are ignored by class-ixr.php XML-RPC normal normal Future Release defect (bug) 09/30/2020
#17376 Multisite Subfolders and bunk /wp-admin areas Bootstrap/Load normal normal defect (bug) has-patch 06/24/2021
#17661 Appending date & author based query vars to a permalink overrides the permalink Canonical normal normal defect (bug) has-patch 01/30/2026
#23602 Incorrect canonical redirect if p=123 query argument present in "paged" archives Canonical normal normal defect (bug) 06/04/2019
#10690 WordPress does not support non-ascii characters in the domain name markjaquith Canonical normal normal defect (bug) 06/04/2019
#20386 Year permalinks "win" against category permalinks Canonical normal normal defect (bug) 06/04/2019
#10543 Incorrect (non-UTF-8) character handling in tag's name and slug westi* Charset normal normal defect (bug) dev-feedback 04/16/2025
#35805 Reverse page order in wp_list_comments() with newest comments first boonebgorges Comments normal normal defect (bug) 06/04/2019
#34110 WordPress Trackback Bug when Comment Pagination is Enabled Comments normal normal defect (bug) 06/04/2019
#37653 customizer sections with 'active_callback' set to 'is_front_page' don't show when "Front page displays" "a static page" and no page is selected Customize normal normal defect (bug) reporter-feedback 06/04/2019
#37508 wpdb->result instance should be checked `mysqli_num_fields` in `load_col_info()` Database normal normal defect (bug) has-patch 06/04/2019
#16747 'feedtype_enclosure' hooks not triggered without custom field Feeds normal normal defect (bug) has-patch 06/04/2019
#20888 RDF Feed validation problems. Feeds normal normal defect (bug) has-patch 06/04/2019
#34128 Tests_Feed_RSS2::test_channel fails when WP_TESTS_TITLE contains an apostrophe Feeds normal normal defect (bug) 06/04/2019
#28616 ftp_fput should have a retry threshold Filesystem API normal normal defect (bug) has-patch 06/04/2019
#31695 Enclosing oEmbed using `embed_oembed_html` is generating invalid HTML Formatting normal normal defect (bug) 06/04/2019
#29956 Paragraphs within list items disappear in the editor when switching from text to visual and back Formatting normal normal defect (bug) 06/04/2019
#25785 Unexpected Paragraph Formatting Within a Div Container Formatting normal normal defect (bug) 06/04/2019
#20368 htmlspecialchars() returns empty string for non-UTF-8 input in PHP 5.4 Formatting normal major defect (bug) 06/04/2019
#30597 wp_filter_post_kses mangles URLs with colons in them Formatting normal normal defect (bug) 06/04/2019
#10033 wpautop problems with html comments and object tags Formatting normal minor defect (bug) 06/04/2019
#29913 wptexturize should handle broken HTML consistently Formatting normal minor defect (bug) 06/04/2019
#28801 Walker::walk makes an incorrect assumption if $top_level_elements is empty. General normal normal defect (bug) dev-feedback 02/01/2026
#33929 Wrong data type for several variables holding a wpdb query result boonebgorges General normal normal defect (bug) has-patch 06/04/2019
#33498 get_home_path does not stripslashes $_SERVER['SCRIPT_FILENAME'] before using it General normal normal defect (bug) has-patch 06/04/2019
#34028 wp_safe_redirect can return admin_url() when get_admin_url() is used aaroncampbell General normal normal defect (bug) 06/04/2019
#26992 Failing to make new yyyy/mm for uploads affects existing URLs (WP_CONTENT_URL, wp_get_attachment_url and GUID) Media normal normal defect (bug) dev-feedback 06/21/2025
#34839 Wrong attribution of current_page_parent for menus when on single/archive CPT Menus normal normal defect (bug) has-patch 06/21/2025
#27287 siteurl is missing WordPress path when creating a new site Networks and Sites normal normal defect (bug) 06/04/2019
#33561 get_transient() will always return the value of a broken transient Options, Meta APIs normal normal defect (bug) has-patch 06/04/2019
#17450 Almost pretty permalinks with non-ASCII characters do not work in Apache westi Permalinks normal normal defect (bug) 06/04/2019
#28156 In date-containing permalink structures, /dddd/dd/comment-page-d/ urls don't work Permalinks normal normal defect (bug) dev-feedback 06/26/2025
#36157 Permalink UI shown without typing a title Permalinks normal normal defect (bug) has-patch 06/04/2019
#17183 previous_comments_link and next_comments_link return wrong url with PATHINFO permalinks Permalinks normal normal defect (bug) dev-feedback 06/04/2019
#31384 Pingback does not work for schemeless URLs Pings/Trackbacks normal normal defect (bug) has-patch 06/04/2019
#36765 Remove Legacy Code from pingback_ping Pings/Trackbacks normal normal defect (bug) dev-feedback 06/04/2019
#23915 discover_pingback_server_uri cases an error when discovery URI sets multiple Content-type headers dd32 Pings/Trackbacks normal normal defect (bug) 06/04/2019
#27158 do_enclose() throws warnings when content_type is text/html and not audio or video Pings/Trackbacks normal normal defect (bug) 06/04/2019
#25798 Certain single CPT items result in 404 since 3.7 Posts, Post Types normal normal defect (bug) 06/04/2019
#16843 wp_unique_post_slug() doesn't check pagination base when CPT has archive Posts, Post Types normal minor defect (bug) has-patch 06/04/2019
#30184 Author page and category Query normal normal defect (bug) close 06/22/2025
#23309 Not all WP_Query::query_vars get updated during WP_Query::get_posts() Query normal normal defect (bug) early 06/04/2019
#30911 Overhaul post_status logic in WP_Query Query normal normal defect (bug) 06/04/2019
#34660 Query breaks when nopaging = false and posts_per_page = -1 Query normal normal defect (bug) has-patch 06/04/2019
#18513 Searching with explicit post types unsets page post type Query normal normal defect (bug) dev-feedback 01/23/2025
#15667 wp_list_pages, if it finds no pages to display, shows random child pages instead because of a bug in get_pages() jackreichert Query normal minor defect (bug) has-patch 06/04/2019
#35482 Archival pagination fails in 4.4 and up Rewrite Rules normal normal defect (bug) 06/04/2019
#35916 WP_Rewrite::generate_rewrite_rules() ignores boolean $endpoints / $feed parameters for CPT Rewrite Rules normal normal defect (bug) 06/04/2019
#14991 extra_rules_top should take priority over extra_permastructs Rewrite Rules normal normal defect (bug) dev-feedback 12/05/2022
#25106 web.config for multisite configurations on IIS7 Rewrite Rules normal normal defect (bug) 06/04/2019
#26365 map_meta_cap() should use parent post status when post has a post status of inherit Role/Capability normal normal defect (bug) has-patch 06/04/2019
#35963 Only remove item from WP_Dependencies::to_do if it was successfully processed Script Loader normal normal defect (bug) has-patch 06/04/2019
#31665 Duplicate slugs in DB, created for hierarchical terms with long, non-latin names, when the default slug already exists Taxonomy normal normal defect (bug) 06/04/2019
#16101 Numeric term fields are strings Taxonomy normal normal defect (bug) has-patch 11/10/2020
#31270 Unexpected slugs for same-title different-parents term creation boonebgorges Taxonomy normal normal defect (bug) has-patch 06/04/2019
#33017 Images displayed with page.php instead of index.php Themes normal normal defect (bug) dev-feedback 06/04/2019
#24143 When define('WP_CONTENT_DIR', 'your-dir') twentythirteen - The theme directory does not exist. Themes normal normal defect (bug) 04/20/2021
#36428 Weird default value of option 'default_link_category' Upgrade/Install normal normal defect (bug) has-patch 05/16/2025
#31127 Can't add a new user to two sites before they've accepted their account Users normal normal defect (bug) close 05/19/2025
#15001 Duplication and incompatibilities in register_new_user() and wp_insert_user() Users normal normal defect (bug) has-patch 02/02/2026
#11160 Inconsistancies in Naming and Using Sidebar Names and IDs. azaozz Widgets normal normal defect (bug) 06/05/2019
#23423 sanitize_title() in dynamic_sidebar() restricts the use of specific characters for sidebar IDs chriscct7 Widgets normal normal defect (bug) 06/05/2019

Next Release (1 match)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#64813 Docs: Fix `@param` type for `get_posts()` and other functions using `wp_parse_args()` rodrigosprimo Posts, Post Types normal normal 7.0 defect (bug) changes-requested 03/13/2026
1 2 3 4
Note: See TracReports for help on using and creating reports.