Make WordPress Core

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

1 2 3 4 5 6 7 8 9

Next Release (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#35781 Incorrect use of PHP method compact SergeyBiryukov Mail normal normal 4.4.3 defect (bug) needs-unit-tests 03/25/2016
#18412 "%20" in an uploaded image file name breaks thumbnails Media normal normal defect (bug) needs-unit-tests 07/02/2014
#30346 Attachments not being found with attachment_url_to_postid() SergeyBiryukov Media normal normal 4.1 defect (bug) needs-unit-tests 11/21/2014
#23706 Image metadata encoding problem SergeyBiryukov Media normal normal 4.0 defect (bug) needs-unit-tests 05/12/2014
#35325 Image metadata not created when IPTC keywords are non-utf8 Media normal normal defect (bug) needs-unit-tests 03/11/2016
#52606 Investigate why the media test group errors when run on its own SergeyBiryukov Media normal normal 5.7 defect (bug) needs-unit-tests 02/22/2021
#22813 Media Uploader doesn't escape "+" in filenames and doesn't upload file Media normal normal 4.0 defect (bug) needs-unit-tests 10/06/2014
#50675 Media: migrate the data from the attachment post of the parent image when saving an edited image azaozz Media normal normal 5.5 defect (bug) needs-unit-tests 07/19/2020
#25268 Re-enable processing of scheduled and private posts in _fix_attachment_links() nacin Media normal normal 3.7 defect (bug) needs-unit-tests 10/06/2013
#39250 Undefinded Variable in Media-Modal dd32 Media normal normal 4.7.1 defect (bug) needs-unit-tests 12/30/2016
#44563 WordPress 4.9.7 Media delete changes break plugins deleting media via stream wrappers joemcgill Media normal normal 5.2 defect (bug) needs-unit-tests 11/12/2019
#34980 image_get_intermediate_size() sometimes skips image sizes joemcgill Media normal normal 4.6 defect (bug) needs-unit-tests 07/18/2016
#22181 image_make_intermediate_size in wp-includes/media.php always returns FALSE markoheijnen Media normal major 3.5 defect (bug) needs-unit-tests 10/15/2012
#46800 protect against bad characters in media attachment metadata joemcgill Media normal normal 5.3 defect (bug) needs-unit-tests 09/28/2019
#29460 Change the default orderby in wp_get_nav_menus() SergeyBiryukov Menus normal normal 4.1 defect (bug) needs-unit-tests 10/02/2014
#42506 Customize: Custom Link URL validation for nav menu items doesn't allow jump links westonruter Menus normal normal 4.9 defect (bug) needs-unit-tests 11/10/2017
#24802 Don't set slug explicitely to null in wp_update_nav_menu_object Menus normal normal defect (bug) needs-unit-tests 08/18/2015
#22341 Future-dated top-level pages are not automatically added to custom menus Menus normal normal 3.9 defect (bug) needs-unit-tests 03/26/2014
#24587 Walker_Page and Walker_Nav_Menu not compatible peterwilsoncc Menus normal normal defect (bug) needs-unit-tests 06/04/2020
#18034 Incorrect URL for second page of search results nacin Multisite normal normal 3.5 defect (bug) needs-unit-tests 06/28/2012
#16200 Multisite can't find site /foo at /FOO (gives 404) markjaquith Multisite normal normal 3.5 defect (bug) needs-unit-tests 12/05/2012
#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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.