WordPress.org

Make WordPress Core

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

1 2 3 4 5 6 7 8 9

Future Releases (87 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#45640 get_blogs_of_user improvements Networks and Sites normal minor Awaiting Review enhancement needs-unit-tests 12/14/2018
#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
#23635 get_objects_in_term - identify matching terms Taxonomy normal normal enhancement needs-unit-tests 06/04/2019
#45329 get_post_permalink tries is_wp_error on get_post which it will never be Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 11/12/2018
#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 10/25/2020
#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
#29894 get_terms() isn't caching - duplicate queries generated boonebgorges* Taxonomy normal normal Future Release defect (bug) needs-unit-tests 02/09/2018
#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
#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
#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 nacin* Plugins normal normal enhancement needs-unit-tests 09/01/2019
#32787 make_clickable filter johnjamesjacoby Formatting normal normal enhancement needs-unit-tests 07/01/2019
#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
#50972 media_handle_sideload() does not allow $post_data to override the post_date that gets used by wp_upload_dir SergeyBiryukov Media normal minor 5.7 defect (bug) needs-unit-tests 11/15/2020
#33885 meta_form performs a potentially expensive query Administration normal critical Future Release defect (bug) needs-unit-tests 06/03/2020
#29938 mysqli_query and multiple resultsets Database normal normal enhancement needs-unit-tests 06/04/2019
#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 Future Release enhancement needs-unit-tests 09/25/2020
#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
#34012 post_exists() results in a bad query Posts, Post Types normal normal enhancement needs-unit-tests 06/04/2019
#41445 post_parent can prevent media from embedding correctly adamsilverstein Media normal normal Future Release defect (bug) needs-unit-tests 11/12/2020
#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
#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 09/03/2018
#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 11/05/2019
#47911 redirect_guess_404_permalink does not consider public custom posts status SergeyBiryukov Canonical normal normal Future Release defect (bug) needs-unit-tests 10/09/2019
#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
#35951 remove_accents() doesn't escape Unicode NFD characters Charset normal normal Future Release defect (bug) needs-unit-tests 09/20/2020
#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
#27287 siteurl is missing WordPress path when creating a new site Networks and Sites normal normal defect (bug) needs-unit-tests 06/04/2019
#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 07/15/2018
#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
#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 valendesigns Login and Registration normal normal enhancement needs-unit-tests 06/04/2019
#38052 wp-utility.js misses function argument null General normal major Awaiting Review defect (bug) needs-unit-tests 07/28/2017
#29717 wp_check_invalid_utf8 - pcre tricks and failsafes, +mb_convert_encoding, iconv fix, performance Formatting normal normal Awaiting Review enhancement needs-unit-tests 05/18/2019
#34889 wp_check_password() and issue with trailing space Login and Registration normal normal defect (bug) needs-unit-tests 06/04/2019
#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 11/05/2020
#30597 wp_filter_post_kses mangles URLs with colons in them Formatting normal normal defect (bug) needs-unit-tests 06/04/2019
#14148 wp_get_attachment_url() is not url encoding SergeyBiryukov Media normal major Future Release defect (bug) needs-unit-tests 02/21/2020
#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 Comments normal normal Awaiting Review defect (bug) needs-unit-tests 09/24/2020
#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
#28664 wp_load_alloptions() fails to set object cache when persistent alloptions cache is "0" Cache API normal normal 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 Awaiting Review defect (bug) needs-unit-tests 02/19/2017
#48289 wp_normalize_path() breaks path_is_absolute() in Windows. SergeyBiryukov Filesystem API normal normal Future Release defect (bug) needs-unit-tests 02/21/2020
#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
#50447 wp_publish_post not checking for unique post slugs Posts, Post Types normal major Future Release defect (bug) needs-unit-tests 10/15/2020
#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
#4298 wpautop bugs markjaquith Formatting low minor Future Release defect (bug) needs-unit-tests 03/15/2019
#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 Future Release defect (bug) needs-unit-tests 03/15/2019
#27733 wpautop(): \s in regex destroys some UTF-8 characters Formatting normal major defect (bug) needs-unit-tests 06/04/2019
#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
#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 Future Release defect (bug) needs-unit-tests 12/09/2019

Next Release (13 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
#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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.