Make WordPress Core

{37} Needs Unit Tests (872 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 (701 - 800 of 872)

1 2 3 4 5 6 7 8 9

Next Release (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#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
#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
#35613 Add granularity to REST API embeds joehoyle REST API normal normal enhancement needs-unit-tests 01/27/2017
#34999 Calling wp_die() in a REST API request should return valid JSON REST API normal normal enhancement needs-unit-tests 01/14/2019
#39578 Enhancement for rest api comment controller create_item method to check for WP error rmccue REST API normal normal 4.8 enhancement needs-unit-tests 01/18/2017
#55620 Prime caches linked objects in menu item REST API spacedmonkey REST API normal normal 6.1 enhancement needs-unit-tests 10/10/2022
#40343 REST API - set attachment upload directory on request REST API normal normal enhancement needs-unit-tests 04/11/2017
#51131 Remove constraint that search handlers must return integer ids TimothyBlynJacobs REST API normal normal 5.6 enhancement needs-unit-tests 10/03/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
#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
#30518 WP_Dependencies::recurse_deps can recurse infinitely Script Loader normal normal defect (bug) needs-unit-tests 04/03/2015
#32358 Add unminified jQuery to core for better debugging with SCRIPT_DEBUG enabled Script Loader normal normal feature request needs-unit-tests 06/15/2017
#40635 Move JavaScript `sanitizeText` and `stripTags` functions from press-this to core adamsilverstein Security normal normal 4.9 enhancement needs-unit-tests 10/04/2017
#9264 Self closing shortcodes westi Shortcodes normal normal 3.3 defect (bug) needs-unit-tests 11/01/2012
#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
#14481 Shortcode Enhancements Shortcodes normal normal enhancement needs-unit-tests 08/23/2015
#56134 Site Health: If 0 active plugins (themes), they can't be "all up to date" SergeyBiryukov Site Health normal normal 6.1 enhancement needs-unit-tests 08/03/2022
#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
#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
#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
#28439 Add 'post_date' as a possible orderby argument to get_terms() Taxonomy normal normal enhancement needs-unit-tests 08/26/2015
#13949 Add a sprintf style argument to wp_list_categories() for title tag. Taxonomy normal normal enhancement needs-unit-tests 09/09/2017
#30415 Add alternative to get_category_parents() that will work for any taxonomy Taxonomy normal normal enhancement needs-unit-tests 09/27/2016
#18778 Add filters to transform_query() to allow caching of queries created by this function. Taxonomy normal normal enhancement needs-unit-tests 08/26/2015
#11058 Add unregister_taxonomy_for_object_type() nacin Taxonomy normal normal 3.7 enhancement needs-unit-tests 03/08/2016
#27764 Allow the_terms() and get_the_terms() to accept an array of taxonomies Taxonomy normal normal enhancement needs-unit-tests 09/18/2015
#19780 Named category functions/docs need cleaning up Taxonomy normal normal enhancement needs-unit-tests 09/02/2015
#25284 Support tax queries using term_taxonomy_id without specifying a taxonomy wonderboymusic Taxonomy normal normal 4.0 enhancement needs-unit-tests 09/10/2014
#52710 Taxonomy: Make it possible to bypass automatic caching of results in `get_terms()` spacedmonkey Taxonomy normal normal 6.4 enhancement needs-unit-tests 11/01/2023
#35886 get_term_parents function instead/inside get_category_parents Taxonomy normal normal enhancement needs-unit-tests 09/27/2016
#28688 wp_get_object_terms - orderby boonebgorges Taxonomy normal normal 4.2 enhancement needs-unit-tests 01/18/2015
#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
#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
#16395 Add 'Template Version' for use with 'Template' in Child-Themes Themes normal normal enhancement needs-unit-tests 01/11/2016
#20307 Edit User link in admin toolbar johnbillion Toolbar normal normal 4.9 enhancement needs-unit-tests 07/26/2017
#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
#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
#26155 Tests_Image_Functions failures SergeyBiryukov Unit Tests normal normal 3.8 defect (bug) 12/05/2013
#26219 Tests_Post_Revisions::test_revision_dont_save_revision_if_unchanged unit test fails Unit Tests normal normal defect (bug) 11/24/2013
#25065 The unit tests assume that PHPUnit is installed via PEAR dd32 Unit Tests normal normal 3.7 defect (bug) 08/28/2013
#26164 Unit Tests :: links_add_target function and trivial changes wonderboymusic Unit Tests normal normal 3.8 defect (bug) 11/22/2013
#25282 Unit Tests should run in Debug mode Unit Tests normal normal 3.7 defect (bug) 10/13/2015
#24662 Unit Tests: Re-implement the mock PHPMailer SergeyBiryukov Unit Tests normal normal 3.6 defect (bug) 06/29/2013
#25118 Unit Tests: Restrict locales in test_locale_floats in db.php SergeyBiryukov Unit Tests normal normal 3.7 defect (bug) 08/22/2013
#24207 Unit tests for widgets.php maxcutler Unit Tests normal normal 3.6 defect (bug) 04/28/2013
#23928 Update ajax autosave unit tests for 3.6 Unit Tests normal normal 3.6 defect (bug) 05/16/2013
#26629 Update version in package.json and unit test it nacin Unit Tests normal normal 3.9 defect (bug) 01/23/2014
#24706 Use $wpdb->prefix to verify query in tests/meta/query.php (WP_Meta_Query test) SergeyBiryukov Unit Tests normal normal 3.6 defect (bug) 07/08/2013
#26836 Use Mock PHPMailer during Installation for Unit Tests nacin Unit Tests normal normal 3.9 defect (bug) 01/14/2014
#23066 WordPress 3.5 Duplicate Entry Unit Tests normal normal defect (bug) 05/15/2013
#14057 Wordpress MU 2.91 Test Suite Errors Unit Tests normal normal defect (bug) 06/23/2010
#26725 Wordpress-tests' WP_PHPUnit_Text_UI Throws Unhandled Exceptions nacin Unit Tests normal normal 3.9 defect (bug) 12/27/2013
#25818 `WP_UnitTestCase::go_to()` drops query vars wonderboymusic Unit Tests normal normal 3.8 defect (bug) 10/07/2020
#26248 setting WP_TESTS_FORCE_KNOWN_BUGS to true shouldn't produce fatal errors wonderboymusic Unit Tests normal normal 3.8 defect (bug) 11/25/2013
#24870 Add JavaScript unit tests to core Unit Tests normal normal enhancement needs-unit-tests 08/29/2013
#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
#24208 Add more wp-includes/cache.php test coverage maxcutler Unit Tests normal normal 3.6 enhancement 04/28/2013
#26514 Add unit tests for wp.shortcode.attrs wonderboymusic Unit Tests normal normal 3.9 enhancement 01/17/2014
#21742 Allow unit tests to override is_*_admin() ryan Unit Tests normal normal 3.5 enhancement 09/01/2012
#25871 Always Clean Install in PHPUnit Tests wonderboymusic Unit Tests normal normal 3.8 enhancement 11/13/2013
#23499 Rename phpunit.xml to phpunit.xml.dist nacin Unit Tests normal normal 3.6 enhancement 03/03/2013
#23531 Separate tests into unit / integration / ... directories Unit Tests normal normal enhancement 10/30/2013
#23532 Sync Tests Repository on Github Unit Tests normal normal enhancement 09/13/2013
#26116 Unit Tests: Add assertNotWPError() to complement assertWPError() Unit Tests normal normal enhancement 01/27/2014
#25507 Unit test for `wp_strip_all_tags` and better docs nacin Unit Tests normal normal 3.9 enhancement 01/30/2014
#25784 shortcode.js needs unit tests Unit Tests normal normal 3.8 enhancement 12/04/2013
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.