WordPress.org

Make WordPress Core

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

1 2 3 4 5 6 7 8 9

Next Release (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#32077 get_pages re-factor to reduce line-count, DRY up code & give more specific functions for some of it's main processes Posts, Post Types normal normal enhancement needs-unit-tests 06/03/2015
#30970 setup_postdata should be able to accept a Post ID, currently requires full WP Post object boonebgorges Posts, Post Types normal normal 4.4 enhancement needs-unit-tests 09/12/2015
#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
#43883 Add a user's attachments to the personal data export file allendav Privacy normal normal 4.9.6 enhancement needs-unit-tests 05/16/2018
#43547 Add personal data from usermeta/userdata to personal data export tz-media Privacy normal normal 4.9.6 enhancement 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
#47719 Consistency issue with `include` parameter set to "0" in `WP_Term_Query` SergeyBiryukov Query normal normal 5.6 defect (bug) needs-unit-tests 09/24/2020
#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 07/07/2016
#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
#27344 Array support in WP_Meta_Query when compare operator is LIKE or NOT LIKE Query normal normal enhancement needs-unit-tests 01/12/2015
#36792 Cache Post ids in WP_Query Query normal normal enhancement needs-unit-tests 09/30/2016
#25245 Issue with SQL query generated by pre_get_posts Query normal normal enhancement needs-unit-tests 10/22/2014
#24576 Make WP_Meta_Query accept arrays for keys Query lowest trivial enhancement needs-unit-tests 10/14/2014
#18158 Meta Query for posts with a meta key not set (IS NULL). georgestephanis Query normal normal 3.5 enhancement needs-unit-tests 09/12/2013
#33074 Query by post_title wonderboymusic Query normal normal 4.4 enhancement needs-unit-tests 08/24/2015
#19729 WP_Meta_Query is inefficient when only specifying keys in "OR" query ryan Query normal normal 3.5 enhancement needs-unit-tests 04/15/2013
#25647 [WP_Query] Include post_type_query parameter to WP_Query Query normal normal enhancement needs-unit-tests 12/23/2015
#24257 is_attachment() should accept $attachment parameter wonderboymusic Query normal normal 3.9 enhancement needs-unit-tests 02/17/2014
#35601 WP_Query: comment_status and ping_status boonebgorges Query normal normal 4.5 feature request needs-unit-tests 01/26/2016
#27833 Add hook to hidden inline data for quick edit chriscct7 Quick/Bulk Edit normal normal enhancement needs-unit-tests 03/05/2018
#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
#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
#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
#26042 wp_save_post_revision() can compare against the wrong $last_revision post wonderboymusic Revisions normal major 4.0 defect (bug) needs-unit-tests 05/22/2014
#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
#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
#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
#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
#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
#14481 Shortcode Enhancements Shortcodes normal normal enhancement needs-unit-tests 08/23/2015
#43986 Disable "Install Plugin" button for PHP required version mismatch afragen Site Health normal major 5.1 task (blessed) needs-unit-tests 06/24/2019
#43992 Prevent activation of a plugin if its required PHP version is too high desrosj Site Health high major 5.2 task (blessed) needs-unit-tests 04/13/2020
#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
#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
#35886 get_term_parents function instead/inside get_category_parents Taxonomy normal normal enhancement needs-unit-tests 09/27/2016
#24948 wp_delete_term() Shouldn't delete other default terms Taxonomy normal minor enhancement needs-unit-tests 09/20/2013
#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
#24870 Add JavaScript unit tests to core Unit Tests normal normal enhancement needs-unit-tests 08/29/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
#41524 Remove usage of each() from WP_Upgrader dd32 Upgrade/Install normal major 4.9 task (blessed) needs-unit-tests 11/21/2017
#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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.