Make WordPress Core

{12} Needs Unit Tests (397 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 - 397 of 397)

1 2 3 4

Future Releases (89 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#10690 WordPress does not support non-ascii characters in the domain name markjaquith Canonical normal normal defect (bug) 06/04/2019
#39566 WordPress ignoring previously approved comment for some comment authors rachelbaker Comments normal major Future Release defect (bug) 10/08/2018
#49149 Write tests for WP_Query Query normal normal Awaiting Review enhancement 02/20/2020
#34839 Wrong attribution of current_page_parent for menus when on single/archive CPT Menus normal normal defect (bug) has-patch 06/21/2025
#33929 Wrong data type for several variables holding a wpdb query result boonebgorges General normal normal defect (bug) has-patch 06/04/2019
#45498 Wrong order of arguments in call_user_func() for Walker_Comment::start_el() SergeyBiryukov Comments normal normal Future Release defect (bug) has-patch 01/16/2019
#20386 Year permalinks "win" against category permalinks Canonical normal normal defect (bug) 06/04/2019
#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
#50863 [playlist] + text = </p> error Formatting normal normal Awaiting Review defect (bug) 08/06/2020
#43502 `WP_REST_Posts_Controller::prepare_item_for_response()` doesn't reset postdata after calling setup_postdata() REST API normal normal Future Release defect (bug) has-patch 06/30/2025
#43571 `add_feed` with regex characters breaks rewrite rules SergeyBiryukov Rewrite Rules normal normal Future Release defect (bug) has-patch 01/16/2019
#44801 `image_constrain_size_for_editor()` forcing the `$content_width` messes up dimensions Media normal normal Future Release defect (bug) has-patch 04/15/2019
#44964 `redirect_guess_404_permalink` doesn't support array in `post_type` var Query normal normal Awaiting Review defect (bug) dev-feedback 10/01/2018
#23044 adjacent_image_link() needs optimization Query normal normal enhancement has-patch 06/04/2019
#45374 apply_filters_ref_array() no longer passes arguments by reference Plugins normal normal Awaiting Review defect (bug) 01/25/2019
#38486 current_page_parent class wrongly added to menu item williampatton Menus normal normal Awaiting Review defect (bug) has-patch 07/31/2020
#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
#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
#40357 dbDelta can't change primary keys, create AUTO_INCREMENT columns and doesn't make significant index changes Database normal normal Awaiting Review enhancement has-patch 04/04/2017
#15332 dbDelta($query) - do not create view Database normal normal Future Release feature request has-patch 05/25/2025
#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
#9968 dynamically adding/removing filters breaks plugins Plugins low normal Awaiting Review defect (bug) 03/02/2020
#28172 edit_post() should call {un}stick_post() before calling wp_update_post() Posts, Post Types normal normal Future Release enhancement changes-requested 01/26/2023
#14991 extra_rules_top should take priority over extra_permastructs Rewrite Rules normal normal defect (bug) dev-feedback 12/05/2022
#62600 fatal error on capabilities. Role/Capability normal normal Future Release defect (bug) has-patch 05/21/2025
#29319 filter dayswithposts in widget calendar SergeyBiryukov Widgets normal normal Future Release enhancement has-patch 10/20/2020
#59126 first class callable syntax support in _wp_filter_build_unique_id() / remove_filter() General normal normal Awaiting Review defect (bug) has-patch 03/31/2025
#28616 ftp_fput should have a retry threshold Filesystem API normal normal defect (bug) has-patch 06/04/2019
#45640 get_blogs_of_user improvements alexstine Networks and Sites normal minor Awaiting Review enhancement has-patch 11/16/2021
#34475 get_comment_link incorrect page number in returned url. SergeyBiryukov Comments normal normal Future Release defect (bug) reporter-feedback 10/03/2019
#42517 get_file_data() doesn't support the single-line variant of post template headers General normal normal Awaiting Review defect (bug) has-patch 02/12/2025
#33498 get_home_path does not stripslashes $_SERVER['SCRIPT_FILENAME'] before using it General normal normal defect (bug) has-patch 06/04/2019
#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 dev-feedback 09/17/2024
#15086 get_template_part() should let you specify a directory westi* Themes normal normal enhancement dev-feedback 06/04/2019
#49799 get_the_terms() object term cache check too strict? Taxonomy normal normal Awaiting Review defect (bug) reporter-feedback 04/16/2020
#33561 get_transient() will always return the value of a broken transient Options, Meta APIs normal normal defect (bug) has-patch 06/04/2019
#59507 global-styles-and-settings.php in wp_theme_has_theme_json Themes normal normal Awaiting Review defect (bug) close 10/02/2023
#20368 htmlspecialchars() returns empty string for non-UTF-8 input in PHP 5.4 Formatting normal major defect (bug) 06/04/2019
#35390 image_constrain_size_for_editor() should not affect images generated on the front end when `large` size is used. joemcgill* Media normal normal Future Release defect (bug) 05/31/2017
#47713 image_get_intermediate_size does not return size if it equals original size SergeyBiryukov Media normal major Future Release defect (bug) has-patch 09/10/2020
#54943 image_get_intermediate_size(): size data is a bool, not an array throws notice / warning Media normal normal Awaiting Review defect (bug) reporter-feedback 05/12/2025
#37530 is_front_page() is based on wrong data -> gives wrong results Query normal normal Future Release defect (bug) reporter-feedback 06/23/2025
#24284 is_multi_author() should query by specific post type and status General normal normal enhancement has-patch 06/04/2019
#9824 make better use of stubs when verbose rules should apply Rewrite Rules normal normal task (blessed) 06/04/2019
#20241 make it possible for plugins to activate other plugins Plugins normal normal Future Release enhancement has-patch 08/05/2022
#50514 make_clickable nested links bug Formatting normal normal Awaiting Review defect (bug) has-patch 10/12/2020
#45702 make_clickable() doesn't handle linked text being a URL with spaces within it Formatting low trivial Future Release defect (bug) 04/03/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
#29938 mysqli_query and multiple resultsets Database normal normal enhancement 06/04/2019
#41746 oEmbed does not respect canonical provider url parameter Embeds normal normal Awaiting Review defect (bug) dev-feedback 09/20/2017
#19388 plugin_basename returns full directory in URL Plugins normal normal enhancement has-patch 06/04/2019
#34358 plugin_dir_url( __FILE__ ) returns plugins directory when plugin symlinked to mu-plugins Plugins normal normal Future Release defect (bug) has-patch 10/02/2017
#41445 post_parent can prevent media from embedding correctly adamsilverstein Media normal normal Future Release defect (bug) dev-feedback 05/12/2025
#51471 pre_oembed_result filter missing from oembed proxy controller Embeds normal normal Future Release defect (bug) has-patch 02/17/2021
#17183 previous_comments_link and next_comments_link return wrong url with PATHINFO permalinks Permalinks normal normal defect (bug) dev-feedback 06/04/2019
#21602 redirect_canonical can lead to infinite loop on index navigation if site url is not all lower case Canonical normal blocker Future Release defect (bug) has-patch 04/29/2023
#44899 redirect_canonical redirects to another URL when it should not Canonical normal critical Awaiting Review defect (bug) 09/06/2018
#49369 redirect_canonical() should strip trailing protocols Canonical normal major Awaiting Review defect (bug) has-patch 07/07/2025
#38303 register_meta and capabilities aren't working as expected rmccue Role/Capability normal normal Future Release defect (bug) 06/25/2017
#21650 replace serialize() with print_r() in stats() function in wp-includes/cache.php Cache API normal normal Future Release defect (bug) has-patch 10/10/2022
#23423 sanitize_title() in dynamic_sidebar() restricts the use of specific characters for sidebar IDs chriscct7 Widgets normal normal defect (bug) 06/05/2019
#58234 sanitize_title_with_dashes fatal error when query var value is an array in php 8 Query normal normal Awaiting Review defect (bug) reporter-feedback 01/31/2025
#27287 siteurl is missing WordPress path when creating a new site Networks and Sites normal normal defect (bug) 06/04/2019
#40513 switch_to_blog should accept a WP_site as param Networks and Sites normal normal Future Release enhancement has-patch 02/01/2022
#43789 the_posts_pagination() outputs the slash at the first link Permalinks normal normal Future Release defect (bug) 09/17/2021
#45389 trackback_url_list() trackback excerpt for multibyte correspondence SergeyBiryukov Pings/Trackbacks normal normal Future Release defect (bug) dev-feedback 01/16/2019
#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) 04/30/2018
#22192 update_option() strict checks can cause false negatives joemcgill Options, Meta APIs normal normal Future Release defect (bug) 10/16/2023
#42148 url_to_postid plain permalinks for CPTs Permalinks normal normal Awaiting Review enhancement 10/08/2017
#16830 url_to_postid() doesn't resolve attachments when rewrite rules are disabled Rewrite Rules normal normal enhancement dev-feedback 06/04/2019
#25106 web.config for multisite configurations on IIS7 Rewrite Rules normal normal defect (bug) 06/04/2019
#38052 wp-utility.js misses function argument null General normal major Awaiting Review defect (bug) has-patch 07/28/2017
#30597 wp_filter_post_kses mangles URLs with colons in them Formatting normal normal defect (bug) 06/04/2019
#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
#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
#46333 wp_mail successfully working but not sending mails - WordPress 5.1 Mail normal major Awaiting Review defect (bug) reporter-feedback 06/04/2020
#48289 wp_normalize_path() breaks path_is_absolute() in Windows. SergeyBiryukov Filesystem API normal normal Future Release defect (bug) has-patch 04/08/2021
#49385 wp_remote_get() cannot retrieve webcal URIs HTTP API normal normal Awaiting Review defect (bug) 02/07/2020
#34028 wp_safe_redirect can return admin_url() when get_admin_url() is used aaroncampbell General 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
#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
#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) dev-feedback 07/21/2017
#38656 wpautop incorrectly handling paragraphs within block elements Formatting normal normal Future Release defect (bug) has-patch 03/26/2019
#10033 wpautop problems with html comments and object tags Formatting normal minor defect (bug) 06/04/2019
#27733 wpautop(): \s in regex destroys some UTF-8 characters Formatting normal major defect (bug) 01/18/2022
#37508 wpdb->result instance should be checked `mysqli_num_fields` in `load_col_info()` Database normal normal defect (bug) has-patch 06/04/2019
#43785 wptexturize fails to skip JavaScript if code contains < Formatting normal normal Future Release defect (bug) 07/10/2024
#29913 wptexturize should handle broken HTML consistently Formatting normal minor defect (bug) 06/04/2019

Next Release (8 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#51006 Add a mechanism for accessible tooltips in core joedolson* General normal normal 6.9 enhancement has-patch 05/07/2025
#63636 Enable instant page navigations from browser history via bfcache when sending "nocache" headers westonruter* Administration normal normal 6.9 enhancement dev-feedback 07/04/2025
#63529 Fatal Error Media Upload MP3 PHP 8.2 when metadata contains list Media normal normal 6.9 defect (bug) has-patch 06/11/2025
#61100 Fix capability error in bulk role removal when editing site users in network admin jeremyfelt Networks and Sites normal normal 6.9 defect (bug) dev-feedback 05/12/2025
#43258 Output buffer template rendering and add filter for post-processing (e.g. caching, optimization) westonruter* General normal normal 6.9 enhancement has-patch 07/04/2025
#63562 Term counts should not be recalculated when a post transitions between statuses that are not counted johnbillion Posts, Post Types normal normal 6.9 defect (bug) has-patch 06/29/2025
#63126 Theme preview model and Media library model having issues with Shift/Ctrl + Shift next and previous arrows. joedolson* Themes normal normal 6.9 enhancement has-patch 06/19/2025
#63611 wp_widget_rss_output: HTML entities that are part of HTML tags should be removed Widgets normal normal 6.9 defect (bug) has-patch 06/30/2025
1 2 3 4
Note: See TracReports for help on using and creating reports.