Make WordPress Core

{37} Needs Unit Tests (871 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 (601 - 700 of 871)

1 2 3 4 5 6 7 8 9

Next Release (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#23073 Wrong RewriteRule in a local Multisite installation markjaquith Multisite normal normal 3.5.1 defect (bug) needs-unit-tests 04/17/2014
#18592 add trailingslashit to BLOGUPLOADDIR in ms-files.php nacin Multisite normal normal 3.3 defect (bug) needs-unit-tests 09/06/2011
#33185 Site search in "Network Admin" returns less results than expected; frequently none jeremyfelt Networks and Sites normal normal 4.6 defect (bug) needs-unit-tests 06/17/2016
#42021 _update_posts_count_on_transition_post_status firing for incorrect post types jeremyfelt Networks and Sites normal normal 4.9 defect (bug) needs-unit-tests 10/02/2017
#21600 Reduce calls to sanitize_title_with_dashes in register_(post_type|taxonomy) ryan Performance normal normal 3.5 defect (bug) needs-unit-tests 08/20/2012
#14867 HTTPS related issues in ms-blogs.php (with fix) johnbillion Permalinks normal normal 4.4 defect (bug) needs-unit-tests 10/30/2015
#49872 PHP Notice: Undefined index: path in /wp-includes/functions.php on line 905 SergeyBiryukov Pings/Trackbacks normal normal 5.5 defect (bug) needs-unit-tests 07/26/2020
#19986 Issue with add_filter() and add_action() when using anonymous functions. Plugins normal minor defect (bug) needs-unit-tests 01/03/2017
#33330 Undefined property: stdClass::$slug Plugins normal minor 6.1 defect (bug) needs-unit-tests 08/03/2023
#18855 get_attached_file( $post_id ) wrongly(?) returns the uploads directory when $post_id is not a valid attachment nacin Post Thumbnails normal normal 3.4 defect (bug) needs-unit-tests 04/27/2012
#16567 Can't create categories with different names but similar slugs on Edit Post screen boonebgorges Posts, Post Types normal normal 4.8 defect (bug) needs-unit-tests 12/23/2016
#16956 Comments Being Pulled from Non-Existent Post Types boonebgorges Posts, Post Types normal normal 4.4 defect (bug) needs-unit-tests 03/11/2016
#21963 Consolidate post insertion APIs wonderboymusic Posts, Post Types normal normal 4.0 defect (bug) needs-unit-tests 07/15/2014
#27578 Editing a draft does not set `post_date_gmt`, but quick editing a draft does Posts, Post Types normal normal defect (bug) needs-unit-tests 03/29/2014
#38341 Hide 'Empty Trash' button when trash is already empty swissspidy Posts, Post Types normal normal 4.8 defect (bug) needs-unit-tests 03/17/2017
#30339 Infinite loop while checking for post slug uniqueness johnbillion Posts, Post Types normal major 4.1 defect (bug) needs-unit-tests 11/20/2014
#27071 Invalid HTML produced by get_the_password_form SergeyBiryukov Posts, Post Types normal normal 3.8.2 defect (bug) needs-unit-tests 03/31/2014
#48653 PHP Notices when requesting a post with an unregistered status SergeyBiryukov Posts, Post Types normal normal 5.4 defect (bug) needs-unit-tests 02/05/2020
#33763 Post types with show_ui set to false should not be accessible via the admin area johnbillion Posts, Post Types normal normal 4.4 defect (bug) needs-unit-tests 11/19/2015
#32585 Programmatically using wp_insert_post with post_author=0 does not work when user is logged in wonderboymusic Posts, Post Types normal normal 4.4 defect (bug) needs-unit-tests 09/14/2015
#31034 delete_post capability issue in Trash Posts, Post Types normal normal defect (bug) needs-unit-tests 07/27/2017
#22882 get_post_ancestors() now returns false in addition to array() nacin Posts, Post Types normal normal 3.5.1 defect (bug) needs-unit-tests 01/15/2013
#54736 get_sample_permalink unsets $post->filter even though this is a public property. hellofromTonya Posts, Post Types normal normal 6.1 defect (bug) needs-unit-tests 09/20/2022
#52144 the $term_ids in function wp_queue_posts_for_term_meta_lazyload is index array SergeyBiryukov Posts, Post Types normal normal 5.7 defect (bug) needs-unit-tests 12/24/2020
#55877 wp_insert_post() should check that a post type exists before using it SergeyBiryukov Posts, Post Types normal normal 6.1 defect (bug) needs-unit-tests 07/24/2022
#44079 Require `manage_privacy_options` capability to edit the privacy policy page iandunn Privacy normal normal 4.9.6 defect (bug) needs-unit-tests 05/16/2018
#35115 404 error when URL includes title=... pento Query normal normal 4.4.1 defect (bug) needs-unit-tests 12/21/2015
#25380 Allow posts_per_page option for pre_get_posts action hook on feed wonderboymusic Query normal normal 3.9 defect (bug) needs-unit-tests 03/07/2014
#26775 Fatal error in wp_reset_postdata() SergeyBiryukov Query normal normal 3.8.1 defect (bug) needs-unit-tests 01/28/2014
#36953 Meta lazyloading can cause excessive calls to object cache DBrumbaugh10Up Query normal normal 4.6 defect (bug) needs-unit-tests 10/29/2021
#23268 NOT EXISTS meta query with OR relation wonderboymusic Query normal normal 3.9 defect (bug) needs-unit-tests 02/06/2015
#22967 Null value in meta query changes the type of comparison wonderboymusic Query normal normal 3.8 defect (bug) needs-unit-tests 11/08/2013
#40669 Proper query cache invalidation on queries meta queries boonebgorges Query normal normal 4.9 defect (bug) needs-unit-tests 10/12/2017
#21779 Querying Taxonomies (Tag) containing the sequence "-נ-" *still* fails. nacin Query normal normal 3.5 defect (bug) needs-unit-tests 01/08/2015
#39717 Search_terms_count includes stopwords Query normal normal defect (bug) needs-unit-tests 01/31/2017
#16373 Wrong page loaded requesting custom registered query_vars when correcting is_* for page_on_front requests markjaquith Query high normal defect (bug) needs-unit-tests 01/26/2014
#33211 get_adjacent_post is not working with post_format Query normal normal defect (bug) needs-unit-tests 07/31/2015
#8885 get_posts() should default orderby post_date_gmt Query normal normal defect (bug) needs-unit-tests 09/01/2016
#31723 is_page( false ) === true ? Query normal normal defect (bug) needs-unit-tests 05/06/2015
#28012 orderby post__in interferes with menu_order Query normal normal defect (bug) needs-unit-tests 08/24/2015
#16472 set_query_var() / get_query_var() does not work for NULL values Query normal normal defect (bug) needs-unit-tests 02/02/2014
#27193 tax_query returns only partial results Query low normal defect (bug) needs-unit-tests 12/15/2014
#40383 Comments Controller is not checking permission of Custom Post Type controller class TimothyBlynJacobs REST API normal normal 5.3 defect (bug) needs-unit-tests 10/03/2019
#50189 Only validate format if type is string TimothyBlynJacobs REST API normal normal 5.5 defect (bug) needs-unit-tests 07/04/2020
#49695 REST API check_template function can return false error TimothyBlynJacobs REST API normal normal 5.6 defect (bug) needs-unit-tests 10/24/2020
#40861 REST API saves attachments with absolute path for `_wp_attached_file` on Windows platforms SergeyBiryukov REST API normal normal 4.9.8 defect (bug) needs-unit-tests 07/24/2018
#38483 REST API: (CPT) Status handling doesn't account for edit_published_posts rachelbaker REST API normal normal defect (bug) needs-unit-tests 10/31/2016
#50213 REST API: Allow queries other than the main query to be `is_home` whyisjake REST API normal normal 5.5 defect (bug) needs-unit-tests 06/16/2020
#40614 REST API: String argument for rest_do_request/rest_ensure_request does not work as expected. kadamwhite REST API normal normal 5.3 defect (bug) needs-unit-tests 02/03/2020
#38610 Set `format` enum based on the post formats registered to the theme rmccue REST API normal normal 4.7 defect (bug) needs-unit-tests 11/02/2016
#39341 `wp.api.utils.decorateFromRoute` should use `_.extend` not `_.union` adamsilverstein REST API normal normal 4.7.3 defect (bug) needs-unit-tests 02/20/2017
#45448 rest_sanitize_value_from_schema() returns invalid value when using a schema of type array with a null value SergeyBiryukov REST API normal normal 5.1 defect (bug) needs-unit-tests 01/10/2019
#26042 wp_save_post_revision() can compare against the wrong $last_revision post wonderboymusic Revisions normal major 4.0 defect (bug) needs-unit-tests 10/26/2020
#52252 PHP Notice when `monthnum` query var is set without the `year` QV peterwilsoncc Rewrite Rules normal normal 6.1 defect (bug) needs-unit-tests 08/08/2022
#45337 Strange pagination issue SergeyBiryukov Rewrite Rules normal normal 5.5 defect (bug) needs-unit-tests 10/07/2020
#11384 rewrite->flush() needlessly deletes the rewrite_rules option Rewrite Rules normal normal defect (bug) needs-unit-tests 01/10/2016
#33694 Capability missing for editing scheduled posts created by one self (implicit permission bypass) johnbillion Role/Capability normal normal 4.4 defect (bug) needs-unit-tests 08/30/2016
#25597 The capability used for managing tags should be separate from that for categories johnbillion Role/Capability normal normal defect (bug) needs-unit-tests 08/31/2016
#21786 remove_cap can't unset a negative capability ryan Role/Capability normal minor 3.5 defect (bug) needs-unit-tests 09/21/2012
#29714 user_can_access_admin_page() returning false for edit.php?post_type=CPT Role/Capability normal normal defect (bug) needs-unit-tests 11/23/2014
#54323 Too few arguments for function (closure) SergeyBiryukov Script Loader normal major 5.8.2 defect (bug) needs-unit-tests 11/02/2021
#30518 WP_Dependencies::recurse_deps can recurse infinitely Script Loader normal normal defect (bug) needs-unit-tests 04/03/2015
#9264 Self closing shortcodes westi Shortcodes normal normal 3.3 defect (bug) needs-unit-tests 11/01/2012
#10082 Shortcodes need a character separating them to work Shortcodes high major 3.3 defect (bug) needs-unit-tests 10/30/2013
#39277 get_post_galleries() produces PHP Warning in PHP 7.1 when parsing empty shortcode dd32 Shortcodes normal normal 4.7.3 defect (bug) needs-unit-tests 02/17/2017
#39038 Add support for non-split shared terms to singular term capabilities Taxonomy normal normal defect (bug) needs-unit-tests 02/26/2017
#30999 Inconsistent parameters for edited_term_taxonomy action boonebgorges Taxonomy normal normal 4.2 defect (bug) needs-unit-tests 02/24/2015
#19205 Orphaned categories can be created by accident wonderboymusic Taxonomy normal minor 4.0 defect (bug) needs-unit-tests 07/18/2014
#16282 PHP catchable error with get_term_link and WP3.1RC2 Taxonomy normal normal defect (bug) needs-unit-tests 09/29/2015
#26234 Passing array of taxonomies to the_terms() triggers "array to string" conversion warning Taxonomy normal normal defect (bug) needs-unit-tests 09/18/2015
#19492 Problems with using wp_insert_term together with switch_to_blog Taxonomy normal normal defect (bug) needs-unit-tests 09/20/2015
#25629 Taxonomy get_sql() generate incorrect query Taxonomy normal normal defect (bug) needs-unit-tests 04/24/2014
#27918 get_taxonomies() on single post type should return taxonomies registered on multiple post types Taxonomy normal normal defect (bug) needs-unit-tests 10/14/2015
#16863 get_terms hierarchical/hide_empty incompatible with include/exclude args Taxonomy normal normal defect (bug) needs-unit-tests 01/26/2015
#31118 get_terms() parameters do not respect multiple $taxonomies boonebgorges Taxonomy normal normal 4.2 defect (bug) needs-unit-tests 02/15/2015
#37728 hide_empty doesn't work correctly in get_terms when no taxonomy specified boonebgorges Taxonomy normal normal 5.3 defect (bug) needs-unit-tests 08/23/2019
#32044 is_object_in_term() leaks DB queries boonebgorges Taxonomy normal normal 4.4 defect (bug) needs-unit-tests 08/24/2016
#20590 is_tax() with term parameter returns true for any taxonomy with that term Taxonomy normal minor 3.5 defect (bug) needs-unit-tests 10/18/2012
#29942 wp_get_object_terms - no caching mechanism in place - results in duplicate queries Taxonomy normal normal defect (bug) needs-unit-tests 09/28/2016
#18614 post_type_archive_title doesn't work when tax_query is added to wp_query wonderboymusic Template normal normal 3.7 defect (bug) needs-unit-tests 10/09/2013
#63062 Parent theme incorrectly not getting resolved in WordPress 6.8-beta1 joemcgill Themes high normal 6.8 defect (bug) needs-unit-tests 03/14/2025
#57886 get_post_templates includes results of get_block_templates while caching (WP_Theme) spacedmonkey Themes normal minor 6.3 defect (bug) needs-unit-tests 06/19/2023
#28263 get_raw_theme_root() fails to recognize a singular custom $wp_theme_directories Themes normal normal defect (bug) needs-unit-tests 05/27/2014
#26375 Additional .gitignore Entries for Unit Test Files SergeyBiryukov Unit Tests low trivial 3.8 defect (bug) 12/03/2013
#11099 Additonal unit tests for quotes formatting. westi Unit Tests normal normal 2.9 defect (bug) 12/07/2009
#24800 DROP TABLE error 1051 (Unknown table) nacin Unit Tests normal normal 3.9 defect (bug) 02/03/2014
#24974 Deprecated use of assignment by reference in testcase.php Unit Tests normal normal 3.7 defect (bug) 08/08/2013
#26867 Explicitly globalize some missing query globals in wp-settings.php nbachiyski Unit Tests normal normal 3.9 defect (bug) 01/22/2014
#23685 Explicitly globalize version variables wonderboymusic Unit Tests normal normal 3.8 defect (bug) 11/05/2013
#26344 Failure in Tests_Basic::test_readme() SergeyBiryukov Unit Tests normal normal 3.8 defect (bug) 12/01/2013
#26345 Failure in Tests_Post_Query::test_meta_query_decimal_results() SergeyBiryukov Unit Tests normal normal 3.8 defect (bug) 12/01/2013
#19456 Globalize $wp_rewrite in wp-settings.php Unit Tests normal normal 3.4 defect (bug) 12/20/2011
#25133 Incorrect instructions in tests/README.txt SergeyBiryukov Unit Tests normal normal 3.7 defect (bug) 08/31/2013
#26091 Infinite loop in WP_FIlesystem_MockFS->mkdir() SergeyBiryukov Unit Tests normal major 3.8 defect (bug) 11/18/2013
#25913 Investigate why we skip so many Unit Tests Unit Tests normal normal defect (bug) 01/27/2014
#25242 Provide correct multisite test information in bootstrap.php nacin Unit Tests normal normal 3.7 defect (bug) 09/12/2013
#21115 Remove ancient wp-settings.php global unsetting code nacin Unit Tests normal normal 3.5 defect (bug) 06/29/2012
#13407 Test-Suite: Allow wp-test multiple classes and exclusion of westi Unit Tests normal normal defect (bug) 05/29/2010
#12277 Test-Suite: Cross-Plattform portability: No Color Codes in Windows Shell westi Unit Tests normal normal defect (bug) 11/25/2012
#11892 Test-Suite: make wp_die() a pluggable function westi Unit Tests normal blocker 3.0 defect (bug) 05/18/2010
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.