Make WordPress Core

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

1 2 3 4 5 6 7 8 9

Next Release (98 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#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
#60862 wp_localize_script() on login_enqueue_scripts hook change in behavior Script Loader normal normal 6.5.3 defect (bug) needs-unit-tests 04/10/2024
#9264 Self closing shortcodes westi Shortcodes normal normal 3.3 defect (bug) needs-unit-tests 11/01/2012
#58366 Shortcode Support Regained but Content Filters are messing with Shortcode HTML Shortcodes normal normal 6.6 defect (bug) needs-unit-tests 04/07/2024
#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
#58905 Ensure locate_template only loads theme files Themes normal normal 6.6 defect (bug) needs-unit-tests 02/17/2024
#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
#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
#25633 Tests_XMLRPC_wp_getPosts::test_filters failing Unit Tests normal minor 3.8 defect (bug) 11/16/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
#25632 post_parent out of range error in unit tests Unit Tests normal minor defect (bug) 11/30/2013
#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
#25317 Wrong guess in wp_guess_url() for symlinked install, or unit tests Upgrade/Install normal normal 3.7 defect (bug) needs-unit-tests 08/19/2015
#39552 SVG upload support broken in 4.7.1 joemcgill Upload normal normal 4.7.3 defect (bug) needs-unit-tests 02/27/2017
#33793 Adding a user with a username 52 characters or longer fails, but displays success message. boonebgorges Users normal normal 4.4 defect (bug) needs-unit-tests 05/24/2016
#60299 Default assignment of `use_ssl` user meta value causes unnecessary DB write. Users normal normal 6.6 defect (bug) needs-unit-tests 02/19/2024
#44293 Discrepancy between documentation and implementation of wp_new_user_notification() pento Users normal minor 5.1 defect (bug) needs-unit-tests 01/16/2019
#53386 Multisite is_super_admin call during app password validation can lead to infinite loop TimothyBlynJacobs Users normal normal 5.9 defect (bug) needs-unit-tests 11/15/2021
#52605 Reset password email sent in wrong language desrosj Users normal normal 5.7 defect (bug) needs-unit-tests 06/06/2021
#41453 Users with no role on a site on a multisite network see inaccessible links in the admin toolbar Users normal normal 4.9 defect (bug) needs-unit-tests 10/23/2017
#37499 WP_User_Query:prepare_query() bug leads to user meta query with blog_id 0 Users normal normal defect (bug) needs-unit-tests 07/29/2016
#14290 register_new_user() can't handle WP_Error result from wp_create_user() nacin Users normal normal 3.7 defect (bug) needs-unit-tests 08/29/2013
#26906 wp_user_update does not update custom user meta fields Users normal normal defect (bug) needs-unit-tests 10/04/2015
#21533 Error suppression in wp-db is lame: Part 2 Warnings/Notices normal normal 3.5 defect (bug) needs-unit-tests 08/14/2012
#17670 Errors in get_page_by_path() Warnings/Notices highest omg bbq blocker 3.3 defect (bug) needs-unit-tests 11/08/2011
#41686 Store Widgets in the Posts table Widgets normal normal defect (bug) needs-unit-tests 08/21/2017
#23219 Duplicate enclosure metadata created because of disagreement on meta field formatting nacin XML-RPC normal normal 3.6 defect (bug) needs-unit-tests 07/10/2013
#51493 Type error in wp_xmlrpc_server::_prepare_taxonomy() johnbillion XML-RPC normal normal 5.7 defect (bug) needs-unit-tests 12/21/2020
#24280 Unit tests for mt_publishPost, blogger_newPost and mw_newPost chriscct7 XML-RPC normal normal defect (bug) needs-unit-tests 09/26/2015
#16985 XML-RPC endpoint set the datetime when saving a Draft wonderboymusic XML-RPC normal normal 4.4 defect (bug) needs-unit-tests 11/09/2018
#19733 XML-RPC returns invalid dates if the date is zero westi XML-RPC normal normal 3.4 defect (bug) needs-unit-tests 12/15/2015
#17981 XML-RPC wp.getComments should work for non-admins wonderboymusic XML-RPC normal normal 4.4 defect (bug) needs-unit-tests 09/26/2015
#20665 wp.getUsersBlogs method runs out of memory when there are too many blogs nacin XML-RPC normal normal 3.5 defect (bug) needs-unit-tests 06/30/2012
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.