Make WordPress Core

{37} Needs Unit Tests (868 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 868)

1 2 3 4 5 6 7 8 9

Future Releases (82 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#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 02/12/2025
#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 09/17/2024
#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 07/24/2024
#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
#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 08/18/2024
#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 02/14/2025
#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
#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 01/31/2025
#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
#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
#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
#34406 wp_kses_hair is too stringent redux Formatting normal normal defect (bug) needs-unit-tests 06/23/2020
#51305 wp_list_comments returns nothing if "per_page" parameter is defined metalandcoffee Comments normal normal defect (bug) needs-unit-tests 01/29/2024
#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) needs-unit-tests 06/04/2019
#46333 wp_mail successfully working but not sending mails - WordPress 5.1 Mail normal major Awaiting Review defect (bug) needs-unit-tests 06/04/2020
#36831 wp_normalize_path in plugin_dir_path Plugins normal normal defect (bug) needs-unit-tests 01/16/2021
#48289 wp_normalize_path() breaks path_is_absolute() in Windows. SergeyBiryukov Filesystem API normal normal Future Release defect (bug) needs-unit-tests 04/08/2021
#37185 wp_print_styles() doesn't call "wp_print_styles" action when "$handles" argument passed Script Loader normal normal defect (bug) needs-unit-tests 06/04/2019
#49385 wp_remote_get() cannot retrieve webcal URIs HTTP API normal normal Awaiting Review defect (bug) needs-unit-tests 02/07/2020
#34028 wp_safe_redirect can return admin_url() when get_admin_url() is used aaroncampbell General normal normal defect (bug) needs-unit-tests 06/04/2019
#45488 wp_set_script_translations does not load md5-based PO files I18N normal normal defect (bug) needs-unit-tests 12/26/2018
#16843 wp_unique_post_slug() doesn't check pagination base when CPT has archive Posts, Post Types normal minor defect (bug) needs-unit-tests 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) needs-unit-tests 01/16/2019
#31066 wp_upload_dir calls wp_mkdir_p on each invocation Filesystem API normal normal defect (bug) needs-unit-tests 10/31/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) needs-unit-tests 07/21/2017
#38656 wpautop incorrectly handling paragraphs within block elements Formatting normal normal Future Release defect (bug) needs-unit-tests 03/26/2019
#10033 wpautop problems with html comments and object tags Formatting normal minor defect (bug) needs-unit-tests 06/04/2019
#5250 wpautop() issue with lists Formatting normal normal defect (bug) needs-unit-tests 06/12/2024
#27733 wpautop(): \s in regex destroys some UTF-8 characters Formatting normal major defect (bug) needs-unit-tests 01/18/2022
#4298 wpautop: Avoid wrapping <table> tags with a paragraph markjaquith Formatting low minor defect (bug) needs-unit-tests 02/10/2023
#37508 wpdb->result instance should be checked `mysqli_num_fields` in `load_col_info()` Database normal normal defect (bug) needs-unit-tests 06/04/2019
#43785 wptexturize fails to skip JavaScript if code contains < Formatting normal normal Future Release defect (bug) needs-unit-tests 07/10/2024
#29913 wptexturize should handle broken HTML consistently Formatting normal minor defect (bug) needs-unit-tests 06/04/2019
#48602 wptexturize: smart quotes: should ignore tags inside quotes Formatting normal normal defect (bug) needs-unit-tests 09/12/2023

Next Release (18 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#18412 "%20" in an uploaded image file name breaks thumbnails Media normal normal defect (bug) needs-unit-tests 07/02/2014
#46581 $skip_list in copy_dir function is not working as it should SergeyBiryukov Filesystem API normal major 5.3 defect (bug) needs-unit-tests 10/05/2019
#35115 404 error when URL includes title=... pento Query normal normal 4.4.1 defect (bug) needs-unit-tests 12/21/2015
#55580 6.0 Regression: Featured image in Cover block missing from published page gziolo Editor high normal 6.0 defect (bug) needs-unit-tests 05/03/2022
#15256 ?cat=## permalinks do not redirect when category is a parent wonderboymusic Canonical high normal 3.8 defect (bug) needs-unit-tests 11/11/2013
#23776 A string of text starting with "http://" turned into a paragraph SergeyBiryukov Embeds normal normal 4.2 defect (bug) needs-unit-tests 01/07/2015
#17455 Add $post_type argument to get_lastpostdate/get_lastpostmodified/_get_last_post_time SergeyBiryukov Posts, Post Types normal normal 4.4 enhancement needs-unit-tests 09/16/2015
#16395 Add 'Template Version' for use with 'Template' in Child-Themes Themes normal normal enhancement needs-unit-tests 01/11/2016
#28439 Add 'post_date' as a possible orderby argument to get_terms() Taxonomy normal normal enhancement needs-unit-tests 08/26/2015
#30937 Add Customizer state persistence in changesets (formerly “transactions”) westonruter Customize high normal 4.7 feature request needs-unit-tests 01/22/2018
#24870 Add JavaScript unit tests to core Unit Tests normal normal enhancement needs-unit-tests 08/29/2013
#49116 Add Links to the REST version of a Resource in the header of the page dshanske REST API normal normal 5.5 enhancement needs-unit-tests 08/09/2020
#26364 Add Travis CI Configuration nacin Unit Tests normal normal 3.8 enhancement 12/03/2013
#21993 Add WP_DOING_TESTS constant, check for it in WP_Ajax_Response Unit Tests normal normal enhancement 09/26/2012
#36573 Add `$comment` parameter to `get_comment_author_url_link()` wonderboymusic Comments normal normal 4.6 enhancement needs-unit-tests 04/22/2016
#26631 Add a "playlist" shortcode wonderboymusic Media normal normal 3.9 task (blessed) needs-unit-tests 04/07/2014
#35697 Add a `fields` key to `wp_get_sites()` Networks and Sites normal normal enhancement needs-unit-tests 08/23/2016
#47466 Add a comment to .htaccess markers, labelling inserted strings as read-only/ dynamic SergeyBiryukov Rewrite Rules normal minor 5.3 enhancement needs-unit-tests 07/28/2019
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.