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 (401 - 500 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
#41373 WordPress 4.8 and WPML returns NULL on retrieve of translated slugname. Only ID works Taxonomy normal normal defect (bug) needs-unit-tests 02/21/2019
#42733 WordPress Embed URLs don't work for draft and scheduled posts with pretty permalinks Embeds normal normal Future Release defect (bug) needs-unit-tests 05/29/2023
#34110 WordPress Trackback Bug when Comment Pagination is Enabled Comments normal normal defect (bug) needs-unit-tests 06/04/2019
#10690 WordPress does not support non-ascii characters in the domain name markjaquith Canonical normal normal defect (bug) needs-unit-tests 06/04/2019
#39566 WordPress ignoring previously approved comment for some comment authors rachelbaker Comments normal major Future Release defect (bug) needs-unit-tests 10/08/2018
#49149 Write tests for WP_Query Query normal normal Awaiting Review enhancement needs-unit-tests 02/20/2020
#33929 Wrong data type for several variables holding a wpdb query result boonebgorges General normal normal defect (bug) needs-unit-tests 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) needs-unit-tests 01/16/2019
#44302 X-DNS-Prefetch-Control default setting prevents resource hints from working for dubious 'security reasons' Script Loader normal normal enhancement needs-unit-tests 10/24/2019
#20386 Year permalinks "win" against category permalinks Canonical normal normal defect (bug) needs-unit-tests 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) needs-unit-tests 07/19/2022
#49728 [PHP 8] Prepare for the internal functions throwing `TypeError` or `ValueError` exceptions on unexpected types/values Build/Test Tools normal minor 6.7 defect (bug) needs-unit-tests 06/18/2024
#23431 [embed] shortcode doesn't work with do_shortcode() Embeds normal normal Future Release feature request needs-unit-tests 07/15/2022
#50863 [playlist] + text = </p> error Formatting normal normal Awaiting Review defect (bug) needs-unit-tests 08/06/2020
#43571 `add_feed` with regex characters breaks rewrite rules SergeyBiryukov Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 01/16/2019
#44801 `image_constrain_size_for_editor()` forcing the `$content_width` messes up dimensions Media normal normal Future Release defect (bug) needs-unit-tests 04/15/2019
#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
#23044 adjacent_image_link() needs optimization Query normal normal enhancement needs-unit-tests 06/04/2019
#45374 apply_filters_ref_array() no longer passes arguments by reference Plugins normal normal Awaiting Review defect (bug) needs-unit-tests 01/25/2019
#38486 current_page_parent class wrongly added to menu item williampatton Menus normal normal Awaiting Review defect (bug) needs-unit-tests 07/31/2020
#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
#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) needs-unit-tests 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 needs-unit-tests 04/04/2017
#15332 dbDelta($query) - do not create view Database normal normal Future Release feature request needs-unit-tests 07/30/2018
#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
#23915 discover_pingback_server_uri cases an error when discovery URI sets multiple Content-type headers dd32 Pings/Trackbacks normal normal defect (bug) needs-unit-tests 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) needs-unit-tests 06/04/2019
#9968 dynamically adding/removing filters breaks plugins Plugins low normal Awaiting Review defect (bug) needs-unit-tests 03/02/2020
#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
#20771 esc_url() instead of esc_html() in wp_nonce_url() johnbillion Formatting normal normal enhancement needs-unit-tests 02/23/2021
#26649 escaped shortcodes should not be expanded during 'get_the_excerpt' Shortcodes normal normal defect (bug) needs-unit-tests 06/04/2019
#14991 extra_rules_top should take priority over extra_permastructs Rewrite Rules normal normal defect (bug) needs-unit-tests 12/05/2022
#29319 filter dayswithposts in widget calendar SergeyBiryukov Widgets normal normal Future Release enhancement needs-unit-tests 10/20/2020
#28616 ftp_fput should have a retry threshold Filesystem API normal normal defect (bug) needs-unit-tests 06/04/2019
#37454 get_avatar_data() delivers different url for scheme=https and is_ssl() Users normal normal 6.7 defect (bug) needs-unit-tests 05/31/2024
#45640 get_blogs_of_user improvements alexstine Networks and Sites normal minor Awaiting Review enhancement needs-unit-tests 11/16/2021
#34475 get_comment_link incorrect page number in returned url. SergeyBiryukov Comments normal normal Future Release defect (bug) needs-unit-tests 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) needs-unit-tests 11/13/2017
#33498 get_home_path does not stripslashes $_SERVER['SCRIPT_FILENAME'] before using it General normal normal defect (bug) needs-unit-tests 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 needs-unit-tests 01/19/2023
#15086 get_template_part() should let you specify a directory westi* Themes normal normal enhancement needs-unit-tests 06/04/2019
#15806 get_terms with hide_empty returns count > 0 with unpublished items Taxonomy normal normal defect (bug) needs-unit-tests 06/04/2019
#49799 get_the_terms() object term cache check too strict? Taxonomy normal normal Awaiting Review defect (bug) needs-unit-tests 04/16/2020
#33561 get_transient() will always return the value of a broken transient Options, Meta APIs normal normal defect (bug) needs-unit-tests 06/04/2019
#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
#20368 htmlspecialchars() returns empty string for non-UTF-8 input in PHP 5.4 Formatting normal major defect (bug) needs-unit-tests 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) needs-unit-tests 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) needs-unit-tests 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) needs-unit-tests 08/07/2023
#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
#24284 is_multi_author() should query by specific post type and status General normal normal enhancement needs-unit-tests 06/04/2019
#9930 is_serialized() returns false on serialized doubles westi General normal minor defect (bug) needs-unit-tests 08/07/2019
#9824 make better use of stubs when verbose rules should apply Rewrite Rules normal normal task (blessed) needs-unit-tests 06/04/2019
#20241 make it possible for plugins to activate other plugins Plugins normal normal Future Release enhancement needs-unit-tests 08/05/2022
#32787 make_clickable filter johnjamesjacoby Formatting normal normal Future Release enhancement needs-unit-tests 08/02/2022
#50514 make_clickable nested links bug Formatting normal normal Awaiting Review defect (bug) needs-unit-tests 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) needs-unit-tests 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) needs-unit-tests 06/04/2019
#33885 meta_form performs a potentially expensive query Administration normal normal defect (bug) needs-unit-tests 03/13/2024
#29938 mysqli_query and multiple resultsets Database normal normal enhancement needs-unit-tests 06/04/2019
#39827 notice in wp-includes/canonical.php:392 SergeyBiryukov Canonical normal normal Future Release defect (bug) needs-unit-tests 02/15/2024
#41746 oEmbed does not respect canonical provider url parameter Embeds normal normal Awaiting Review defect (bug) needs-unit-tests 09/20/2017
#31920 oEmbed: Support YouTube timestamps as hashes peterwilsoncc Embeds normal normal enhancement needs-unit-tests 04/30/2022
#19388 plugin_basename returns full directory in URL Plugins normal normal enhancement needs-unit-tests 06/04/2019
#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
#41445 post_parent can prevent media from embedding correctly adamsilverstein Media normal normal Future Release defect (bug) needs-unit-tests 05/16/2024
#51471 pre_oembed_result filter missing from oembed proxy controller Embeds normal normal Future Release defect (bug) needs-unit-tests 02/17/2021
#17183 previous_comments_link and next_comments_link return wrong url with PATHINFO permalinks Permalinks normal normal defect (bug) needs-unit-tests 06/04/2019
#59950 read_dashboard capability? Role/Capability normal normal feature request needs-unit-tests 11/23/2023
#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) needs-unit-tests 04/29/2023
#33821 redirect_canonical does not consider port in $compare_original Canonical normal normal Future Release defect (bug) needs-unit-tests 09/23/2019
#44899 redirect_canonical redirects to another URL when it should not Canonical normal critical Awaiting Review defect (bug) needs-unit-tests 09/06/2018
#49369 redirect_canonical() should strip trailing protocols Canonical normal major Awaiting Review defect (bug) needs-unit-tests 07/20/2020
#34353 redirect_canonical() – Undefined indexes 'host' and 'scheme' Canonical normal normal Future Release defect (bug) needs-unit-tests 07/23/2024
#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
#21650 replace serialize() with print_r() in stats() function in wp-includes/cache.php Cache API normal normal Future Release defect (bug) needs-unit-tests 10/10/2022
#40580 rest_ensure_response() can return WP_Error object, but is consequently not checked in get_item() method REST API normal normal enhancement needs-unit-tests 09/09/2019
#11623 review options list and update sanitize_option() Security normal normal defect (bug) needs-unit-tests 02/05/2020
#23423 sanitize_title() in dynamic_sidebar() restricts the use of specific characters for sidebar IDs chriscct7 Widgets normal normal defect (bug) needs-unit-tests 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) needs-unit-tests 08/08/2023
#27287 siteurl is missing WordPress path when creating a new site Networks and Sites normal normal defect (bug) needs-unit-tests 06/04/2019
#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
#37276 tax_query with field=name doesn't work if the term contains an apostrophe Taxonomy normal normal defect (bug) needs-unit-tests 02/21/2019
#43789 the_posts_pagination() outputs the slash at the first link Permalinks normal normal Future Release defect (bug) needs-unit-tests 09/17/2021
#44985 timezone_string should be valid when offset time zone mode is used Date/Time normal normal enhancement needs-unit-tests 05/27/2019
#45389 trackback_url_list() trackback excerpt for multibyte correspondence SergeyBiryukov Pings/Trackbacks normal normal Future Release defect (bug) needs-unit-tests 01/16/2019
#53651 unit test for wp_removable_query_args Build/Test Tools normal normal Future Release enhancement needs-unit-tests 01/20/2022
#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) needs-unit-tests 04/30/2018
#22192 update_option() strict checks can cause false negatives joemcgill Options, Meta APIs normal normal Future Release defect (bug) needs-unit-tests 10/16/2023
#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
#42148 url_to_postid plain permalinks for CPTs Permalinks normal normal Awaiting Review enhancement needs-unit-tests 10/08/2017
#16830 url_to_postid() doesn't resolve attachments when rewrite rules are disabled Rewrite Rules normal normal enhancement needs-unit-tests 06/04/2019
#25106 web.config for multisite configurations on IIS7 Rewrite Rules normal normal defect (bug) needs-unit-tests 06/04/2019
#15384 wp-login.php refactor Login and Registration normal normal enhancement needs-unit-tests 01/06/2023
#38052 wp-utility.js misses function argument null General normal major Awaiting Review defect (bug) needs-unit-tests 07/28/2017
#34889 wp_check_password() and issue with trailing space Login and Registration normal normal defect (bug) needs-unit-tests 08/21/2023
#36437 wp_delete_attachment causes warning Media normal normal Awaiting Review defect (bug) needs-unit-tests 07/27/2017
#49413 wp_exif_date2ts should use Datetime and accept an optional offset Rarst Date/Time low normal Future Release defect (bug) needs-unit-tests 01/19/2022
#30597 wp_filter_post_kses mangles URLs with colons in them Formatting normal normal defect (bug) needs-unit-tests 06/04/2019
#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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.