Make WordPress Core

{37} Needs Unit Tests (899 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 (101 - 200 of 899)

1 2 3 4 5 6 7 8 9

Future Releases (100 matches)

Ticket Summary Owner Component Priority Severity Milestone Type Workflow Modified
#45374 apply_filters_ref_array() no longer passes arguments by reference Plugins normal normal Awaiting Review defect (bug) needs-unit-tests 01/25/2019
#9968 dynamically adding/removing filters breaks plugins Plugins low normal Awaiting Review defect (bug) needs-unit-tests 03/02/2020
#34358 plugin_dir_url( __FILE__ ) returns plugins directory when plugin symlinked to mu-plugins Plugins normal normal Future Release defect (bug) needs-unit-tests 10/02/2017
#47279 $post object passed to clean_post_cache action can contain outdated values Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 05/15/2019
#39939 A Contributor cannot preview their own post if it's scheduled Posts, Post Types normal minor Awaiting Review defect (bug) needs-unit-tests 02/23/2017
#41448 Contributors shouldn't be able to change the date of their drafts Posts, Post Types low normal Future Release defect (bug) needs-unit-tests 08/04/2017
#50002 Hack in get_sample_permalink() can cause filters like post_link, and pre_post_link to have inaccurate post_status in admin Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 04/26/2020
#43752 ID, post_parent, menu_order on global $post object is a string in edit context; expecting int Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 04/19/2018
#41471 Page dropdown walker must check selected against value field Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 02/20/2019
#11235 Pages whose ancestors are not all "published" cannot be used as parents for other pages. Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 06/04/2019
#42323 Posts vs CPT user permissions issue Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 10/24/2017
#3670 Removing CDATA close tag ( ]]> ) unbalances the CDATA block andy Posts, Post Types normal minor Future Release defect (bug) needs-unit-tests 02/10/2023
#41226 Static "posts page" preview not working Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 02/17/2019
#40588 Trashing and restoring a draft post replaces the slug Posts, Post Types normal normal Awaiting Review defect (bug) needs-unit-tests 07/29/2024
#59027 Weekly wp_get_archives has invalid link (link for month instead of year) Posts, Post Types normal normal Future Release defect (bug) needs-unit-tests 05/21/2024
#44236 Maintain consistency between privacy export report and archive filenames GripsArt Privacy low minor Future Release defect (bug) needs-unit-tests 01/27/2019
#44084 Privacy: The personal data export file should be generated in the user's locale garrett-eclipse Privacy normal normal Future Release defect (bug) needs-unit-tests 10/08/2020
#56694 Uncached database read for logged in users when Privacy Policy Page is deleted Privacy normal normal Awaiting Review defect (bug) needs-unit-tests 09/29/2022
#51852 "any" value in "post_type" param in "get_posts" by default ignore attachments Query normal normal Future Release defect (bug) needs-unit-tests 02/18/2021
#18408 Can't wp_reset_postdata after custom WP_Query in an admin edit page audrasjb Query normal normal Future Release defect (bug) needs-unit-tests 02/19/2024
#42164 Conditional Tags not working when using ugly URL Query normal normal Awaiting Review defect (bug) needs-unit-tests 10/10/2017
#39540 NOT EXISTS meta condition doesn't work if meta has NULL value. Query normal normal Future Release defect (bug) needs-unit-tests 07/14/2020
#56992 The Loop displays incorrect data for queries started with `fields => 'id=>parent'`. Query normal normal Awaiting Review defect (bug) needs-unit-tests 11/04/2022
#51094 WP_Query.query with invalid post_status will return all metalandcoffee* Query normal critical Future Release defect (bug) needs-unit-tests 06/14/2022
#27015 WP_Query::get_queried_object() does not always work in 'pre_get_posts' Query normal normal Future Release defect (bug) needs-unit-tests 07/10/2021
#44695 WP_Term_Query unexpected 'orderby' behaviour. Query normal normal Awaiting Review defect (bug) needs-unit-tests 08/27/2019
#52559 When doing JOINs for meta queries the meta_key should be in the ON clause whenever possible. Query normal normal Awaiting Review defect (bug) needs-unit-tests 04/26/2021
#44964 `redirect_guess_404_permalink` doesn't support array in `post_type` var Query normal normal Awaiting Review defect (bug) needs-unit-tests 10/01/2018
#37530 is_front_page() is based on wrong data -> gives wrong results Query normal normal Future Release defect (bug) needs-unit-tests 01/07/2020
#58234 sanitize_title_with_dashes fatal error when query var value is an array in php 8 Query normal normal Awaiting Review defect (bug) needs-unit-tests 08/08/2023
#39186 Bulk actions not correctly applied when selecting bulk actions in both the top and bottom bulk actions dropdowns engelen Quick/Bulk Edit normal normal Future Release defect (bug) needs-unit-tests 02/28/2023
#54516 Full site editing/REST-API: modify permission checks to use post type. REST API normal normal Future Release defect (bug) needs-unit-tests 09/12/2024
#39889 Improve/Fix REST Response on Multisite when an endpoint for a non-existent site is hit. REST API normal normal Future Release defect (bug) needs-unit-tests 07/09/2019
#53622 Query Param status default is a string value, but an array is required rachelbaker* REST API normal minor Awaiting Review defect (bug) needs-unit-tests 07/26/2024
#16839 Category Base Should be Slugified SergeyBiryukov* Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 03/02/2023
#43746 Custom post type single post feed returns a 404 if has_archive is set to false when calling register_post_type() SergeyBiryukov Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 01/16/2019
#33728 Rewrite endpoints cannot be added to custom taxonomies with public rewrites johnbillion Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 01/23/2018
#41791 Unicode + add_permastruct breaks rewrite rules Rewrite Rules normal normal Awaiting Review defect (bug) needs-unit-tests 09/15/2017
#43571 `add_feed` with regex characters breaks rewrite rules SergeyBiryukov Rewrite Rules normal normal Future Release defect (bug) needs-unit-tests 01/16/2019
#40340 "Attach to existing content" modal shows posts and pages of other users Role/Capability normal normal Awaiting Review defect (bug) needs-unit-tests 08/03/2017
#43877 Do not run unnecessary `user_has_cap` filter if the caps to check for include `do_not_allow` already Role/Capability normal normal Awaiting Review defect (bug) needs-unit-tests 09/17/2018
#50123 Roles & Caps: give anonymous users the `read_post` meta cap for public posts. Role/Capability normal normal Awaiting Review defect (bug) needs-unit-tests 01/26/2024
#59585 Unchecked variable creates fatal error in wp-includes/class-wp-user-query.php Role/Capability normal normal Awaiting Review defect (bug) needs-unit-tests 10/10/2023
#36376 current_user_can/has_cap fails when user has multiple roles dd32* Role/Capability normal normal Future Release defect (bug) needs-unit-tests 01/14/2019
#38997 delete_private_posts capability doesn't prevent user from deleting private posts Role/Capability normal normal Future Release defect (bug) needs-unit-tests 05/25/2019
#38303 register_meta and capabilities aren't working as expected rmccue Role/Capability normal normal Future Release defect (bug) needs-unit-tests 06/25/2017
#37756 Allow inline scripts on script aliases Script Loader normal normal Future Release defect (bug) needs-unit-tests 12/13/2019
#34591 BugFix to WP_Scripts::do_item(), remove doubled "//" Script Loader normal normal Awaiting Review defect (bug) needs-unit-tests 02/05/2017
#46089 Memory exhaustion when setting script translations on `wp-i18n` Script Loader normal normal Future Release defect (bug) needs-unit-tests 02/04/2021
#54956 [5.9] wp_block_type args - "style" and "script" are always loaded on Frontend Script Loader normal normal Awaiting Review defect (bug) needs-unit-tests 07/19/2022
#50027 Retire Phpass and use PHP native password hashing Security normal normal Awaiting Review defect (bug) needs-unit-tests 10/13/2023
#59509 Shortcode attributes named 0 are ignored Shortcodes normal normal Awaiting Review defect (bug) needs-unit-tests 10/04/2023
#48153 Allow the admin email verification capability to be filtered Site Health normal normal Future Release defect (bug) needs-unit-tests 02/21/2020
#38243 Attempting to create a term with invalid UTF8 characters creates a blank term Taxonomy normal normal Future Release defect (bug) needs-unit-tests 04/01/2019
#46010 Auto-generated term slugs can be greater than 200 characters, giving "Could not insert term into the database." error Taxonomy normal normal Awaiting Review defect (bug) needs-unit-tests 01/16/2019
#50568 Improve WP_Term's sanitization calls Taxonomy normal normal Future Release defect (bug) needs-unit-tests 03/12/2024
#49799 get_the_terms() object term cache check too strict? Taxonomy normal normal Awaiting Review defect (bug) needs-unit-tests 04/16/2020
#56990 Render blocking CSS `classic-themes.css` unnecessarily enqueued Themes normal normal Future Release defect (bug) needs-unit-tests 06/20/2023
#57141 WP_Theme cannot locate a parent block theme Themes normal normal Awaiting Review defect (bug) needs-unit-tests 11/21/2022
#42513 WP_Theme::get_post_templates() is extremely inefficient for large themes Themes normal normal Awaiting Review defect (bug) needs-unit-tests 11/12/2017
#59507 global-styles-and-settings.php in wp_theme_has_theme_json Themes normal normal Awaiting Review defect (bug) needs-unit-tests 10/02/2023
#11867 Increase Cross-Plattform portability of the Testsuite westi Unit Tests normal normal WordPress.org defect (bug) 02/18/2010
#24079 Inline Docs for unit-tests SergeyBiryukov Unit Tests normal normal WordPress.org defect (bug) 04/14/2013
#22989 Translation units tests loading test data from non-dynamic path Unit Tests normal normal WordPress.org defect (bug) 12/19/2012
#61330 Plugin Dependencies: Refresh plugin-install.php instead of redirecting on activation Upgrade/Install normal normal 6.8 defect (bug) needs-unit-tests 10/14/2024
#16293 In multisite installs, users with id 1 can't be deleted Users normal normal Future Release defect (bug) needs-unit-tests 02/08/2024
#40477 REST API: Does NOT Trigger New User Notifications! Users normal normal Awaiting Review defect (bug) needs-unit-tests 07/31/2024
#50072 Users with email addresses containing a single quote cannot reset their passwords Users normal major Awaiting Review defect (bug) needs-unit-tests 05/05/2020
#38851 WP_User_Query cannot retrieve multisite users who have not been assigned a role on a site Users normal normal Future Release defect (bug) needs-unit-tests 12/01/2017
#54310 WP_User_Query does not return results in the same format if fields set to all_with_meta and doesn't return any metadata Users normal normal Awaiting Review defect (bug) needs-unit-tests 10/25/2021
#39370 wp_insert_user() appends suffix to nicename when updating already existing user Users normal normal Future Release defect (bug) needs-unit-tests 03/12/2020
#42183 wp_update_user() conditional compares a plain-text password to the hashed old SergeyBiryukov Users normal normal Future Release defect (bug) needs-unit-tests 01/16/2019
#16980 Empty Values are ignored by class-ixr.php XML-RPC normal normal Future Release defect (bug) needs-unit-tests 09/30/2020
#33885 meta_form performs a potentially expensive query Administration normal normal defect (bug) needs-unit-tests 03/13/2024
#17376 Multisite Subfolders and bunk /wp-admin areas Bootstrap/Load normal normal defect (bug) needs-unit-tests 06/24/2021
#13554 WordPress MU canonical link redirect failure markjaquith Bootstrap/Load normal normal defect (bug) needs-unit-tests 09/17/2024
#25691 Refactor StringExtractor nbachiyski Build/Test Tools normal normal defect (bug) needs-unit-tests 11/10/2020
#23290 When using switch_to_blog() with a persistent object cache that lacks wp_cache_switch_to_blog() support, non-persistent groups are not maintained Cache API low normal defect (bug) needs-unit-tests 06/04/2019
#17661 Appending date & author based query vars to a permalink overrides the permalink Canonical normal normal defect (bug) needs-unit-tests 06/04/2019
#23602 Incorrect canonical redirect if p=123 query argument present in "paged" archives Canonical normal normal defect (bug) needs-unit-tests 06/04/2019
#10690 WordPress does not support non-ascii characters in the domain name markjaquith Canonical normal normal defect (bug) needs-unit-tests 06/04/2019
#20386 Year permalinks "win" against category permalinks Canonical normal normal defect (bug) needs-unit-tests 06/04/2019
#10543 Incorrect (non-UTF-8) character handling in tag's name and slug westi* Charset normal normal defect (bug) needs-unit-tests 06/04/2019
#35805 Reverse page order in wp_list_comments() with newest comments first boonebgorges Comments normal normal defect (bug) needs-unit-tests 06/04/2019
#34110 WordPress Trackback Bug when Comment Pagination is Enabled Comments normal normal defect (bug) needs-unit-tests 06/04/2019
#51305 wp_list_comments returns nothing if "per_page" parameter is defined metalandcoffee Comments normal normal defect (bug) needs-unit-tests 01/29/2024
#37542 Taxonomies in cron jobs cause problems Cron API normal normal defect (bug) needs-unit-tests 07/07/2020
#37653 customizer sections with 'active_callback' set to 'is_front_page' don't show when "Front page displays" "a static page" and no page is selected Customize normal normal defect (bug) needs-unit-tests 06/04/2019
#18210 Update_post_meta is case insensitive on meta_key, but get_post_meta is NOT Database normal normal defect (bug) needs-unit-tests 03/08/2024
#37508 wpdb->result instance should be checked `mysqli_num_fields` in `load_col_info()` Database normal normal defect (bug) needs-unit-tests 06/04/2019
#33787 Euro hex code being converted to smiley url Emoji normal normal defect (bug) needs-unit-tests 06/28/2019
#16747 'feedtype_enclosure' hooks not triggered without custom field Feeds normal normal defect (bug) needs-unit-tests 06/04/2019
#21753 Feed excerpts are missing important filter formatting Feeds normal normal defect (bug) needs-unit-tests 11/17/2020
#20888 RDF Feed validation problems. Feeds normal normal defect (bug) needs-unit-tests 06/04/2019
#34128 Tests_Feed_RSS2::test_channel fails when WP_TESTS_TITLE contains an apostrophe Feeds normal normal defect (bug) needs-unit-tests 06/04/2019
#28616 ftp_fput should have a retry threshold Filesystem API normal normal defect (bug) needs-unit-tests 06/04/2019
#31066 wp_upload_dir calls wp_mkdir_p on each invocation Filesystem API normal normal defect (bug) needs-unit-tests 10/31/2019
#4539 Abbreviated year followed by punctuation or markup doesn't texturize jmstacey Formatting low normal defect (bug) needs-unit-tests 01/29/2024
#31695 Enclosing oEmbed using `embed_oembed_html` is generating invalid HTML Formatting normal normal defect (bug) needs-unit-tests 06/04/2019
#29956 Paragraphs within list items disappear in the editor when switching from text to visual and back Formatting normal normal defect (bug) needs-unit-tests 06/04/2019
1 2 3 4 5 6 7 8 9
Note: See TracReports for help on using and creating reports.