Make WordPress Core

{37} Needs Unit Tests (867 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 (501 - 600 of 867)

1 2 3 4 5 6 7 8 9

Next Release (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#24257 is_attachment() should accept $attachment parameter wonderboymusic Query normal normal 3.9 enhancement needs-unit-tests 02/17/2014
#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
#19205 Orphaned categories can be created by accident wonderboymusic Taxonomy normal minor 4.0 defect (bug) needs-unit-tests 07/18/2014
#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
#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
#23685 Explicitly globalize version variables wonderboymusic Unit Tests normal normal 3.8 defect (bug) 11/05/2013
#26164 Unit Tests :: links_add_target function and trivial changes wonderboymusic Unit Tests normal normal 3.8 defect (bug) 11/22/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
#26514 Add unit tests for wp.shortcode.attrs wonderboymusic Unit Tests normal normal 3.9 enhancement 01/17/2014
#25871 Always Clean Install in PHPUnit Tests wonderboymusic Unit Tests normal normal 3.8 enhancement 11/13/2013
#26163 Proposed Unit Test for normalize_whitespace function wonderboymusic Unit Tests normal minor 3.8 enhancement 11/22/2013
#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
#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
#25958 Allow wp.getUsersBlogs to return the primary_blog flag wonderboymusic XML-RPC low normal 4.4 enhancement needs-unit-tests 09/26/2015
#24106 Simplify wp_slash() whyisjake Formatting normal normal 5.5 defect (bug) needs-unit-tests 07/11/2020
#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
#37964 Allow customizer controls to be encapsulated by accepting pre-instantiated settings westonruter Customize high normal 4.9 enhancement needs-unit-tests 11/01/2017
#39896 Customizer: Allow users to Draft changes before Publishing westonruter Customize high normal 4.9 enhancement needs-unit-tests 01/17/2021
#30937 Add Customizer state persistence in changesets (formerly “transactions”) westonruter Customize high normal 4.7 feature request needs-unit-tests 01/22/2018
#30738 JS content templates for base WP_Customize_Control westonruter Customize high normal 4.9 task (blessed) needs-unit-tests 01/19/2018
#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
#23167 Cache incrementors for get_pages westi Cache API normal normal 3.6 task (blessed) needs-unit-tests 02/11/2013
#11882 get_pending_comments_num has inconsistent behaviour westi Comments normal normal 3.0 defect (bug) needs-unit-tests 08/16/2011
#13715 dbDelta produces warnings westi Database normal normal 3.0 defect (bug) needs-unit-tests 06/11/2010
#15600 shortcode_unautop returns emtpy string westi Formatting high major 3.3 defect (bug) needs-unit-tests 10/12/2011
#9246 Wordpress cannot update '.htaccess' even though it is writable westi General normal normal 2.8 defect (bug) needs-unit-tests 08/17/2009
#10619 Importing WXR breaks serialized postmeta value westi Import normal normal 3.0 defect (bug) needs-unit-tests 12/22/2009
#21181 simplify and add filter to is_upload_space_available westi Multisite normal normal 3.5 enhancement needs-unit-tests 10/18/2012
#9264 Self closing shortcodes westi Shortcodes normal normal 3.3 defect (bug) needs-unit-tests 11/01/2012
#11099 Additonal unit tests for quotes formatting. westi Unit Tests normal normal 2.9 defect (bug) 12/07/2009
#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
#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
#20026 Adding a post_type filter in wp.getComments westi XML-RPC normal normal 4.4 enhancement needs-unit-tests 09/26/2015
#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
#23311 Enable internationalization in PHPMailer swissspidy I18N normal normal 6.8 enhancement needs-unit-tests 04/06/2025
#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
#21667 Add some user agent to wp_is_mobile stevenkword General normal normal enhancement needs-unit-tests 06/07/2021
#55372 Use tax_query in wp_get_nav_menu_items spacedmonkey Menus normal normal 6.0 enhancement needs-unit-tests 04/28/2022
#55620 Prime caches linked objects in menu item REST API spacedmonkey REST API normal normal 6.1 enhancement needs-unit-tests 10/10/2022
#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
#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
#19033 Problem with Hebrew letter "Nun" hiding search results shir.gans@… I18N normal critical 3.4 defect (bug) needs-unit-tests 02/08/2012
#10381 post->ancestors isn't always set ryan Cache API normal normal 3.5 defect (bug) needs-unit-tests 08/20/2012
#13480 update_option + PHP5 Object references not storing correctly in cache ryan Cache API normal normal 3.0 defect (bug) needs-unit-tests 09/22/2011
#22585 wp_editor() gives fatal error on front-end ryan Editor normal major 3.5 defect (bug) needs-unit-tests 11/27/2012
#10077 clean_url improperly scrapes %20 ryan Formatting high major defect (bug) needs-unit-tests 05/14/2015
#22473 Post-formats radiogroup on custom post types and pages will not update in 3.5 Beta 3 ryan General normal normal 3.5 defect (bug) needs-unit-tests 11/20/2012
#20434 cURL fails to follow redirects sometimes ryan HTTP API high critical 3.4 defect (bug) needs-unit-tests 05/10/2012
#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
#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
#21786 remove_cap can't unset a negative capability ryan Role/Capability normal minor 3.5 defect (bug) needs-unit-tests 09/21/2012
#21742 Allow unit tests to override is_*_admin() ryan Unit Tests normal normal 3.5 enhancement 09/01/2012
#21990 SimplePie: DOMDocument can be disabled rmccue External Libraries low normal 3.5 defect (bug) needs-unit-tests 11/20/2015
#36358 Return of _wp_json_prepare_data() in wp_json_encode() should be used. rmccue General normal normal 4.6 defect (bug) needs-unit-tests 05/17/2016
#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
#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
#38816 REST API: logic error in comments post ID rachelbaker Comments normal normal 4.7 defect (bug) needs-unit-tests 11/18/2016
#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
#7326 get_posts not working properly pyadav General high blocker 2.6.2 defect (bug) needs-unit-tests 09/13/2024
#55407 Allow case-insensitive elements for KSES peterwilsoncc Formatting normal normal 6.0 defect (bug) needs-unit-tests 03/31/2022
#24587 Walker_Page and Walker_Nav_Menu not compatible peterwilsoncc Menus normal normal defect (bug) needs-unit-tests 06/04/2020
#36163 Make Walker_Nav_Menu::start_lvl more flexible by introducing filters for class name(s) at least peterwilsoncc Menus normal normal 4.8 enhancement needs-unit-tests 06/08/2017
#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
#40532 Find a workaround for unit tests that have a dependency on XDebug pento Build/Test Tools normal normal 5.3 defect (bug) needs-unit-tests 08/19/2019
#37660 RegEx in wpdb::get_table_from_query( $q ) in wp-db.php returns table_alias='a' rather than table_name=wp_999_options pento Database normal normal 4.7 defect (bug) needs-unit-tests 09/02/2016
#33501 Starting w/ WP4.2, upgrade scenario may fail for non-MySQL installs pento Database normal normal 4.4 defect (bug) needs-unit-tests 09/28/2015
#36917 Re-architect wpdb::init_charset() for unit testing pento Database normal minor 4.6 task (blessed) needs-unit-tests 06/01/2016
#45378 Convert soft hyphens when sanitizing titles pento Formatting normal normal 5.1 defect (bug) needs-unit-tests 01/14/2019
#4857 More issues with wpautop() pento Formatting low normal 4.7 defect (bug) needs-unit-tests 12/27/2016
#1914 Permalinks for unattached uploads/attachments pento Permalinks normal normal 4.4 enhancement needs-unit-tests 09/29/2015
#35115 404 error when URL includes title=... pento Query normal normal 4.4.1 defect (bug) needs-unit-tests 12/21/2015
#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
#50568 Improve WP_Term's sanitization calls pbearne Taxonomy normal normal 6.9 enhancement needs-unit-tests 02/26/2025
#30815 WP_Filesystem_FTPext::exists() returns false if directory exists but is empty ocean90 Filesystem API normal normal 4.2 defect (bug) needs-unit-tests 03/18/2015
#50999 Scripts loaded through concatenation don't print their translations. ocean90 I18N high major 5.5.1 defect (bug) needs-unit-tests 09/09/2020
#28672 add_settings_field & co don't return values obenland Options, Meta APIs normal normal enhancement needs-unit-tests 08/28/2015
#26867 Explicitly globalize some missing query globals in wp-settings.php nbachiyski Unit Tests normal normal 3.9 defect (bug) 01/22/2014
#17749 Faster and phpunit runner-compatible unit tests nbachiyski Unit Tests normal normal 3.3 feature request 02/28/2013
#20143 Array query args on a paginated archive page creates PHP Warning, breaks page. nacin Canonical normal normal 3.4 defect (bug) needs-unit-tests 04/27/2012
#10332 Backdated pre-1st January 1970 post displayed as published on the current viewing day nacin Date/Time high major 3.2 defect (bug) needs-unit-tests 06/02/2011
#24622 If-Modified-Since is wrong by comment feed nacin Feeds normal normal 3.7 defect (bug) needs-unit-tests 10/03/2013
#22267 Make trailingslashit() and untrailingslashit() work with backslashes nacin Filesystem API normal normal 3.9 enhancement needs-unit-tests 03/01/2014
#21018 get_the_password_form() inserting two </p> before the </form> causing W3C validation error nacin Formatting normal normal 3.4.1 defect (bug) needs-unit-tests 06/26/2012
#21767 Remove stripslashes from API functions nacin Formatting normal normal 3.6 task (blessed) needs-unit-tests 02/29/2016
#23284 Wrong parameter order for stripos in wp-includes/functions.php nacin General normal normal 3.5.2 defect (bug) needs-unit-tests 06/19/2013
#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
#18034 Incorrect URL for second page of search results nacin Multisite normal normal 3.5 defect (bug) needs-unit-tests 06/28/2012
#18592 add trailingslashit to BLOGUPLOADDIR in ms-files.php nacin Multisite normal normal 3.3 defect (bug) needs-unit-tests 09/06/2011
#15458 Lazy-load usermeta into the user object nacin Performance normal normal 3.3 enhancement needs-unit-tests 05/24/2016
#14994 Introduce a way to identify a hook in progress nacin Plugins normal normal 3.9 enhancement needs-unit-tests 04/07/2014
#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
#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
#21779 Querying Taxonomies (Tag) containing the sequence "-נ-" *still* fails. nacin Query normal normal 3.5 defect (bug) needs-unit-tests 01/08/2015
#11058 Add unregister_taxonomy_for_object_type() nacin Taxonomy normal normal 3.7 enhancement needs-unit-tests 03/08/2016
#24800 DROP TABLE error 1051 (Unknown table) nacin Unit Tests normal normal 3.9 defect (bug) 02/03/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
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.