__group__ ticket summary reporter component _version priority severity milestone type _status workflow _created modified _description _reporter Last Week 60735 Problem: Updating failed. The response is not a valid JSON response r3ndy General 6.4.3 normal normal Awaiting Review defect (bug) new reporter-feedback 2024-03-09T02:50:17Z 2024-03-09T12:20:40Z "I encountered an error message when publishing or updating. Due to a mistake in a wrong sentence, the error message appears. You will get the error message ""Updating failed. The response is not a valid JSON response"". Why did it happen? - WordPress 6.4.3 running theme GeneratePress. - .htaccess file according to wp settings - Permalinks postname settings - Already started with HTTPS - REST API no 404 error message" r3ndy Last Week 60722 incorrect display of mail due to outdated version of PHP mailer studiodv Mail 6.4.3 normal normal Awaiting Review defect (bug) new reporter-feedback 2024-03-07T10:47:34Z 2024-03-18T14:59:57Z "Good morning, I am experiencing problems when displaying order confirmation emails and contact forms from multiple WordPress websites. This code is displayed first in the emails: Content-Type: text/html; charset=UTF-8 I've already been looking into what could be causing it. There it was indicated that it was due to the PHP Mailer version of WordPress. Could it be that the PHP Mailer update is not current with the new version (6.4.3) of WordPress? Yours sincerely, Diana" studiodv Old Tickets 60662 "WordPress 6.5-beta3-57738 - Full Site Editor breaks after installing ""Contact Form 7""" capstonebpo Editor trunk normal normal Awaiting Review defect (bug) new reporter-feedback 2024-02-29T22:38:04Z 2024-03-01T07:48:57Z "Hi- I am using WordPress 6.5-beta3-57738 running Twenty Twenty-Four CHILD theme. I ran into an issue after installing Contact Form 7 plugin where the site editor breaks as shown in the attached images. BEFORE-INSTALLING-CONTACT-FORM-7-PLUGIN https://emailmarketing.capstonebpo.com/wp-content/uploads/2024/02/before-installing-contact-form-7.jpg AFTER-INSTALLING-CONTACT-FORM-7-PLUGIN https://emailmarketing.capstonebpo.com/wp-content/uploads/2024/02/after-installing-contact-form-7.jpg Rajesh" capstonebpo Old Tickets 60612 Twenty Fifteen: mobile menu unresponsive in 3.6 perbovbjerg Bundled Theme 6.4.3 normal normal Awaiting Review defect (bug) new reporter-feedback 2024-02-23T00:31:51Z 2024-02-23T12:50:42Z "Hi. I am using the Twenty Fifteen theme at my personal homepage that can be found at https://perbovbjerg.dk When using the 3.6 version of the theme the mobile menu is unresponsive on my phone and tablet. It works fine enough when I simulate a phone or tablet in my browser. But as I rollback to version 3.5 everything works just fine" perbovbjerg Old Tickets 60533 The comment tree is old – maybe it’s worth changing it? Danishsard Comments normal normal Awaiting Review enhancement new reporter-feedback 2024-02-13T19:54:34Z 2024-02-20T02:26:48Z "Maybe it’s worth considering a new approach to comments on WordPress? It’s about the tree – the rooting of comments. Currently it may be level 10. And later there is no reply button – because they usually get narrower. Or maybe it’s worth ending this rooting and switching to something – where every statement will be treated as a response. Completely without roots and their depth – which has been causing problems in long conversations for years. Maybe it would be worth creating it like on the forums – i.e. on a completely different system, without this limitation. Isn’t it worth thinking about? Sometimes conversations are long and it’s a real pain to keep talking to anyone on WordPress. Because – either they are becoming narrower – or the comment ends after the 10th comment – because it cannot be moved as a child. It is probably worth changing it to some other approach, more known from forums – where the number of comments and conversations as – answer to answer does not matter how many of them there are." Danishsard Old Tickets 60449 Number system raniak General normal normal Awaiting Review feature request new reporter-feedback 2024-02-06T21:57:43Z 2024-02-09T03:03:43Z "I have looked everywhere and have been doing so for months. I still can't find the solution. The numbering system starts again at 1 when I want it to continue in between images of titles. There has got to be a fix for this bug. Many people as I saw in my research for a solution are having the same problem. Please advice. " raniak Old Tickets 60443 Site crashes when attempting to swap template chwinekawatches General normal normal Awaiting Review defect (bug) new reporter-feedback 2024-02-05T17:51:53Z 2024-02-07T08:34:53Z "Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at ul (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/vendors/react-dom.min.js?m=1706747918i&ver=18:1:82573) at er (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/vendors/react-dom.min.js?m=1706747918i&ver=18:1:52952) at H (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/compose/index.min.js?m=1706747918i&ver=454f32655f7e573fedaf:1:24429) at https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/compose/index.min.js?m=1706747918i&ver=454f32655f7e573fedaf:1:24918 at H (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/compose/index.min.js?m=1706747918i&ver=454f32655f7e573fedaf:1:24429) at https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/compose/index.min.js?m=1706747918i&ver=454f32655f7e573fedaf:1:24918 at Or (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/vendors/react-dom.min.js?m=1706747918i&ver=18:1:72976) at qr (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/vendors/react-dom.min.js?m=1706747918i&ver=18:1:75017) at $r (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/vendors/react-dom.min.js?m=1706747918i&ver=18:1:74857) at qr (https://s0.wp.com/wp-content/plugins/gutenberg-core/v17.6.0/build/vendors/react-dom.min.js?m=1706747918i&ver=18:1:75614)" chwinekawatches Old Tickets 60317 Cannot select an author from dropdown due to truncated users list yanksyoon General normal major Awaiting Review defect (bug) new reporter-feedback 2024-01-22T14:19:54Z 2024-02-28T05:41:29Z "Hello team! Currently, when we have over 50 users with same email signatures, e.g. over 50 users with email `@zemail.com` (with usernames starting with characters preceding z), and there is a user with username `zemail`, the user `zemail` can never appear in the dropdown since the request made by the dropdown `http:///index.php?rest_route=%2Fwp%2Fv2%2Fusers&context=view&who=authors&per_page=50&_fields=id%2Cname&search=zemail&_locale=user` is sorted alphabetically. This makes it impossible for the user to be selected as an author of a new post. Would the search be better limited to usernames?" yanksyoon Old Tickets 60299 Default assignment of `use_ssl` user meta value causes unnecessary DB write. prettyboymp Users normal normal 6.6 defect (bug) new needs-unit-tests 2024-01-19T15:14:18Z 2024-02-19T17:35:21Z "When the `$meta` in `wp_insert_user()` is processed using `update_metadata()` it first does a comparison against the current values in the database prior to running an update query. However, because the DB returns a string value ('1' or '0') while the meta_value is set to a boolean value by default the comparison always fails causing a write when not needed. While this is relatively minor in itself, in multi-datacenter setups using hyperdb, this can cause a bit of overhead since all future reads to the usermeta table are then sent to the master database." prettyboymp Old Tickets 60291 Support Lossless WebP in WP_Image_Editor_GD adamsilverstein Media 5.8 normal normal 6.6 defect (bug) new needs-unit-tests 2024-01-19T01:08:14Z 2024-02-19T17:09:20Z "While WordPress has supported WebP lossless since WebP support was introduced in WP 5.8 (https://make.wordpress.org/core/2021/06/07/wordpress-5-8-adds-webp-support/) - outputting lossless sub-size image when you upload a lossless WebP - this only worked correctly when Imagick was installed as at the time lossless was not supported in PHP's bundled GD. PHP's bundled GD supports lossless output for WebP images since PHP 8.1, see see php.watch/versions/8.1/gd-webp-lossless. The capability to handle lossless WebPs can be detected in GD by the presence of the `IMG_WEBP_LOSSLESS` constant. To fix this - similar to Imagick, GD should output WebP lossless images when lossless WebP images are uploaded. " adamsilverstein Old Tickets 60582 Let WordPress multisite network setup be aware of Nginx Unit as a hosting environment javorszky Networks and Sites trunk normal normal Future Release feature request new needs-docs 2024-02-20T15:04:36Z 2024-03-12T12:45:58Z "Hi there, I work at F5 on the NGINX Unit team. I'd like to get WordPress to recognise when it's running behind a Unit environment, much like Apache, IIS, and Nginx proper, looking at the server header is sufficient for this. I already have a proof of concept locally with the required code changes. With that, I'd also like to help with adding configuration documentation to the handbook, and to help getting an official Unit-based docker container created as well. There are a few prerequisites that we still need to take care of on our (NGINX Unit) side, however here are all the references for work we already have: * PR to the WordPress docker library adding Unit: https://github.com/docker-library/wordpress/pull/875 * work to fix multisite handling within Unit: https://github.com/nginx/unit/issues/916 I'd like to start the conversation about adding a section to the handbook for Unit configurations like how NGINX has its own: https://developer.wordpress.org/advanced-administration/server/web-server/nginx/. I'd like help validating that Unit can handle all instances of multisite and single site functionality in a way that is expected. Let me know how else I can help. You can also find me in the WordPress Slack during normal working hours GMT. Thanks, Gabor" javorszky Old Tickets 60355 Can't save object to metadata with `readonly` properties Cawa-93 General normal minor Future Release enhancement new needs-docs 2024-01-26T15:45:41Z 2024-02-12T21:52:11Z "If I have class with `readonly` property {{{#!php $property_value ) { $value->$property_name = map_deep( $property_value, $callback ); // <--------- } }}} " Cawa-93 Yesterday 60793 wp_trigger error has a wrong wp_kses $allowed_html arguement. nico23 Formatting 6.4 normal normal Awaiting Review defect (bug) new has-patch 2024-03-18T02:04:16Z 2024-03-18T02:15:45Z "Elements and attributes need to be array keys, not values. Came with: https://core.trac.wordpress.org/changeset/56707 Fix: https://github.com/WordPress/wordpress-develop/pull/6285" nico23 2 Days Ago 60791 Pre-populate slug using URL parameters on new post edit screen. gerardreches Posts, Post Types normal normal Awaiting Review enhancement new has-patch 2024-03-17T06:29:23Z 2024-03-17T15:28:10Z "get_default_post_to_edit() allows to pre-populate `post_title`, `content`, and `excerpt` from `$_REQUEST`. This URL will pre-populate the title and the content: /wp-admin/post-new.php?post_type=post&post_title=My+Title&content=aaaa I have an use case where I need to do the same for the `post_name`: https://wordpress.org/support/topic/set-title-and-slug-of-new-post-using-url-parameters/ I have a shortcode that allows me to load content from a custom post type, and it searches by slug (it needs to be this way for UX reasons). If the post with the provided slug doesn't exist, I register an admin notice alerting that the shortcode is trying to load an unexisting post, and offer a link to create the missing post with the specified slug. I need the slug to be pre-populated with the URL parameter, just as it is possible to do for title, content, and excerpt." gerardreches 4-7 Days Ago 60787 get_registered_meta_keys() should allow for late registration to improve performance sc0ttkclark Options, Meta APIs normal normal Awaiting Review enhancement new has-patch 2024-03-15T22:50:45Z 2024-03-19T00:26:05Z "For a site with many custom post types, custom taxonomies, and tons of custom fields -- the burden of register_meta() can become heavy especially when using a plugin like Advanced Custom Fields, Pods, and others. But we shouldn't have to register every single field on every single page load regardless of whether it's needed. That just drains performance on a given site and requires needless DB/transient/cache requests. The introduction of things like the Block Bindings API rely on fields registered through the REST API. You can register fields with the REST API during the `rest_api_init` action (which yeah, you pretty much have to register everything all at once) but at least it's not every page load. With the Block Bindings API rendering on the front of the site, this requires you having run your fields through `register_meta()` on any given page that might have that field bound. Related dev tutorial: https://developer.wordpress.org/news/2024/02/20/introducing-block-bindings-part-1-connecting-custom-fields/ **Proposed solution:** Run an action at the top of `get_registered_meta_keys()` so a plugin can run `register_meta()` ONLY at the time of that data being needed at the code level." sc0ttkclark 4-7 Days Ago 60786 [PHP 8.4] Fix implicit nullable parameter type depcation ayeshrajans General trunk normal normal Awaiting Review defect (bug) new has-patch 2024-03-15T20:23:38Z 2024-03-16T03:35:34Z "In PHP 8.4, declaring function/method parameters with a default value of `null` is deprecated if the type is not nullable. [https://wiki.php.net/rfc/deprecate-implicitly-nullable-types RFC] and [https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated PHP 8.4: Implicitly nullable parameter declarations deprecated] Out current minimum PHP requirement is PHP 7.0, but nullable types are only supported in PHP 7.1 and later. Submitting the PR with the fixes and to start a conversation, but merging these changes without bumping minimum PHP requirement to 7.1 will break things on PHP 7.0." ayeshrajans 4-7 Days Ago 60784 Add __experimentalSkipSerialization support to shadow ColinD Editor normal normal Awaiting Review enhancement new has-patch 2024-03-15T16:00:00Z 2024-03-18T10:35:51Z "What? This is a backport of the merged Gutenberg PR https://github.com/WordPress/gutenberg/pull/59887 When a dynamic block defines experimentalSkipSerialization in its block.supports.shadow the styles continue to be printed to the block wrapper element. This PR corrects that behavior so that shadow behaves like border, color, and others. Why? This provides the expected behavior for dynamic blocks that need to opt out of having the shadow styles printed to the block wrapper. How? Added a check at the start of the render function to return an empty array of the block has set experimentalSkipSerialization (This is my first attempt at submitting a Gutenberg PR to be included back into WP Core so welcome any advice if I'm doing this wrong)" ColinD 4-7 Days Ago 60780 Twenty Twenty :- Button block having issue with letter spacing nidhidhandhukiya Bundled Theme 6.4.3 normal normal Awaiting Review defect (bug) new has-patch 2024-03-15T09:34:25Z 2024-03-18T11:13:32Z "Steps to reproduce the issue :- 1. Activate Twenty Twenty theme. 2. Choose Button block. 3. Add text. 4. Now change the letter spacing. You can able to see there is no difference in letter spacing in editor and front side both. I have attached video for better understanding. Video URL :- https://share.cleanshot.com/mpT4l41VskS7J26DB23b" nidhidhandhukiya 4-7 Days Ago 60770 TimeZone select box compatibility with RTL directions farhad0 Administration trunk normal normal Awaiting Review enhancement new has-patch 2024-03-13T15:35:10Z 2024-03-13T16:55:59Z "This patch fixes the time zone select box compatibility with RTL directions It sets auto direction which makes the options value compatible with both RTL and LTR directions " farhad0 4-7 Days Ago 60765 Typography Presets ramonopoly Editor trunk normal normal 6.6 defect (bug) new has-patch 2024-03-13T04:54:33Z 2024-03-13T05:36:36Z " We should pass theme.json settings to global preset or style value-generating callbacks. Currently `value_func` callable properties in `PRESETS_METADATA` do not have access to the current theme JSON settings. An example: `wp_get_typography_font_size_value()` needs to know other theme.json settings in order to correctly output values. Styles generated by `WP_Theme_JSON::get_stylesheet` outside a WordPress instance, using custom settings will therefore have no effect. See bug issue for further details: https://github.com/WordPress/gutenberg/issues/58135 This ticket is to sync the following Gutenberg PR: https://github.com/WordPress/gutenberg/pull/58362 " ramonopoly Last Week 60763 Allow resizing the indivigual content areas in Appearance / Menus namith.jawahar Menus trunk normal normal Awaiting Review enhancement new has-patch 2024-03-12T20:54:27Z 2024-03-12T20:57:22Z "The space to select posts, pages and custom posts for dropping into the menu is restricted to 200px height which makes it really difficult to select posts/pages when creating/editing menus. The user experience will be greatly improved if the section can be resized." namith.jawahar Last Week 60754 Block Hooks: Incorrect context passed when setting ignored hooked blocks metadata Bernhard Reiter General trunk normal normal 6.5 defect (bug) new has-patch 2024-03-12T11:17:36Z 2024-03-18T14:21:50Z "Since [57790], the `rest_pre_insert_wp_template` and `rest_pre_insert_wp_template_part` hooks in the Templates Controller are used to call `inject_ignored_hooked_blocks_metadata_attributes()`, which in turn sets the `ignoredHookedBlocks` metadata attribute on anchor blocks upon writing to the DB. The latter function applies the `hooked_block_types`, `hooked_block`, and `hooked_block_{$hooked_block_type}` filters, in order to inform which blocks should be hooked to a given anchor block. Each of these filters is given a `$context` argument, which in the case of templates (and template parts, respectively) is the containing `WP_Block_Template` object. Since the `rest_pre_insert_`-prefixed filters only pass a `stdClass` object for the relevant `$changes` that need to be made to the relevant template (or template part), `$context` is constructed by fetching the existing template (or part) via `get_block_template()` (using the template/part ID present in the network `$request`). This isn't quite how things should be: `hooked_block_types`, `hooked_block`, and `hooked_block_{$hooked_block_type}` should be given a `$context` object that reflects the template (part) that is about to be persisted to the database, ''not'' the one that's currently stored there. A filter might e.g. look for the presence of a certain block in the template's content; that block might not have been present in the previous version of a template (stored in the DB) but might've been added by the user in the editor (and will be part of the payload that's used to update the DB)." Bernhard Reiter Last Week 60751 Add fallback for the default font folder path mmaattiiaass Editor trunk high normal 6.5 task (blessed) new has-patch 2024-03-11T20:34:57Z 2024-03-19T01:16:26Z "Implement this design decision: > For installations that don’t support modification of the wp-content directory, the Font Library will use wp-content/uploads/fonts as a fallback location, ensuring we stay true to our project philosophy of designing for the majority while still making the feature available to anyone out of the box without extra steps from the user. Reference: https://make.wordpress.org/core/2024/03/07/unblocking-wp6-5-font-library-and-synced-pattern-overrides/" mmaattiiaass Last Week 60745 WP_Query::parse_query() does not handle invalid query arg values xknown Query normal normal Awaiting Review defect (bug) new has-patch 2024-03-11T11:29:09Z 2024-03-11T11:31:45Z "The code in `WP_Query::parse_query` assumes that most query arguments have the correct type. However, this doesn't seem to be the case for the following arguments: Things that expect arrays, but the code that call them pass (unintended) invalid data types {{{ 'author__in' => 'string', 'author__not_in' => 'string', 'category__and' => 'string', 'category__in' => 'string', 'category__not_in' => 'string', 'post__in' => 'string', 'post__not_in' => 'string', 'post_name__in' => 'string', 'post_parent__in' => 'string', 'post_parent__not_in' => 'string', 'tag__and' => 'string', 'tag__in' => 'string', 'tag__not_in' => 'string', 'tag_slug__and' => 'string', 'tag_slug__in' => 'string', }}} Using most of the above query args in a `WP_Query::get_posts()` call result in a PHP fatal. Things that expect scalars: {{{ 'attachment' => array(), 'author_name' => array(), 'feed' => array(), }}} Using any of the above query args result in a PHP fatal on a default WP installation: {{{ alex@wayra core % cat .wp-env.json { ""core"": null } }}} http://localhost:8888/?attachment[]=admin {{{ Fatal error: Uncaught TypeError: urlencode(): Argument #1 ($string) must be of type string, array given in /var/www/html/wp-includes/formatting.php:5683 Stack trace: #0 /var/www/html/wp-includes/formatting.php(5683): urlencode(Array) #1 /var/www/html/wp-includes/class-wp-query.php(2183): wp_basename(Array) #2 /var/www/html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts() #3 /var/www/html/wp-includes/class-wp.php(696): WP_Query->query(Array) #4 /var/www/html/wp-includes/class-wp.php(816): WP->query_posts() #5 /var/www/html/wp-includes/functions.php(1336): WP->main('') #6 /var/www/html/wp-blog-header.php(16): wp() #7 /var/www/html/index.php(17): require('/var/www/html/w...') #8 {main} thrown in /var/www/html/wp-includes/formatting.php on line 5683 }}} http://localhost:8888/?author_name[]=admin {{{ Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in /var/www/html/wp-includes/class-wp-query.php:2358 Stack trace: #0 /var/www/html/wp-includes/class-wp-query.php(2358): str_contains(Array, '/') #1 /var/www/html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts() #2 /var/www/html/wp-includes/class-wp.php(696): WP_Query->query(Array) #3 /var/www/html/wp-includes/class-wp.php(816): WP->query_posts() #4 /var/www/html/wp-includes/functions.php(1336): WP->main('') #5 /var/www/html/wp-blog-header.php(16): wp() #6 /var/www/html/index.php(17): require('/var/www/html/w...') #7 {main} thrown in /var/www/html/wp-includes/class-wp-query.php on line 2358 }}} http://localhost:8888/?feed[]=admin {{{ Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in /var/www/html/wp-includes/class-wp-query.php:1018 Stack trace: #0 /var/www/html/wp-includes/class-wp-query.php(1018): str_contains(Array, 'comments-') #1 /var/www/html/wp-includes/class-wp-query.php(1868): WP_Query->parse_query() #2 /var/www/html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts() #3 /var/www/html/wp-includes/class-wp.php(696): WP_Query->query(Array) #4 /var/www/html/wp-includes/class-wp.php(816): WP->query_posts() #5 /var/www/html/wp-includes/functions.php(1336): WP->main('') #6 /var/www/html/wp-blog-header.php(16): wp() #7 /var/www/html/index.php(17): require('/var/www/html/w...') #8 {main} thrown in /var/www/html/wp-includes/class-wp-query.php on line 1018 }}}" xknown Last Week 60724 TT2: Wrap Navigation block in Row within the header.html template part tomjcafferkey Bundled Theme trunk normal normal 6.6 defect (bug) new has-patch 2024-03-07T12:20:57Z 2024-03-13T09:31:10Z Now that the Block Hooks API has been released as part of WordPress 6.4 3PDs may want to insert their own blocks into the header of the TT2 theme, specifically after the Navigation block. This currently causes problems because the Navigation block and it's siblings are treated as flex items due to its parent being a Row block. tomjcafferkey Last Week 60723 TT3: Wrap Navigation block in Row within the header.html template part tomjcafferkey Bundled Theme trunk normal normal 6.6 enhancement assigned has-patch 2024-03-07T12:11:25Z 2024-03-13T09:31:37Z Now that the Block Hooks API has been released as part of WordPress 6.4 3PDs may want to insert their own blocks into the header of the TT3 theme, specifically after the Navigation block. This currently causes problems because the Navigation block and it's siblings are treated as flex items due to its parent being a Row block. tomjcafferkey Last Week 60719 Add fonts upload location to Site Health report swissspidy Site Health normal normal 6.6 enhancement new has-patch 2024-03-07T06:05:53Z 2024-03-12T16:54:27Z Just like Site Health lists the paths to the plugins/themes/uploads directories, we should list the path to the fonts directory (and its size) there as well. swissspidy Last Week 60713 remove 'array_merge(...)' is used in a loop and is a resources greedy construction. from generate_rewrite_rules pbearne Rewrite Rules normal normal Awaiting Review defect (bug) assigned has-patch 2024-03-07T00:06:18Z 2024-03-12T18:03:03Z pbearne Last Week 60706 Tests: Reduce usage of assertEquals for 6.6 SergeyBiryukov Build/Test Tools normal normal 6.6 task (blessed) new has-patch 2024-03-06T06:55:52Z 2024-03-06T06:56:39Z "Follow-up to: * #59655 (6.5) * #58956 (6.4) * #57855 (6.3) * #56800 (6.2) * #55654 (6.1) * #54726 (6.0) * #53364 (5.9) * #52482 (5.8) * #38266 (5.7) The `assertEquals()` test method does not check that the types of the expected and actual values match. This can hide subtle bugs especially when the values are falsey. Tasks: * Switch to using `assertSame()` when the type of the value in the assertion is important * Replace overall usage of `assertEquals()` with type-strict assertion methods, with the aim of potentially removing its usage altogether To help ease the effort of merging tests, changes should also be made upstream in the Gutenberg repository." SergeyBiryukov Last Week 60705 Test tool and unit test improvements for 6.6 SergeyBiryukov Build/Test Tools normal normal 6.6 task (blessed) new has-patch 2024-03-06T06:53:46Z 2024-03-06T06:58:16Z "Previously: * #59647 (6.5) * #58955 (6.4) * #57841 (6.3) * #56793 (6.2) * #55652 (6.1) * #54725 (6.0) * #53363 (5.9) * #52625 (5.8) * #51802 (5.7) * #51344 (5.6) This ticket is for various fixes and improvements in PHPUnit tests that don't have a more specific ticket, as well as general improvements to the GitHub Actions workflows that run automated testing." SergeyBiryukov Last Week 60700 Coding Standards fixes for WP 6.6 mukesh27 General normal normal 6.6 task (blessed) new has-patch 2024-03-06T05:03:13Z 2024-03-18T15:44:26Z "Previously: - #59650 (6.5) - #58831 (6.4) - #57839 (6.3) - #56791 (6.2) - #55647 (6.1) - #54728 (6.0) - #53359 (5.9) - #52627 (5.8) - #51799 (5.7) - #50767 (5.6) - #49542 (5.5) - #49222 (5.4) - #47632 (5.3) - #45934 (5.1)" mukesh27 Old Tickets 60696 Block hooks: Allow insertion of a hooked block with attributes joshuaflow Editor normal normal Awaiting Review enhancement new has-patch 2024-03-05T21:07:33Z 2024-03-05T21:16:21Z "Previously, the `hooked_block_types` and `hooked_block_{$hooked_block_type}` filters were introduced to allow templates to be extended with blocks by third parties. While those two filters work well with unique blocks, they prove challenging when working with generic blocks that can be customized via attributes. Attempting to hook a block into an area that has already inserted the same block type, but with different attributes won't work with the existing filters. [This PR](https://github.com/woocommerce/woocommerce/pull/44860) demonstrates how attempting to set attributes via the `hooked_block_{$hooked_block_type}` filter will overwrite all of the same block types that have been hooked in. It may be possible that block hooks aren't the appropriate venue for this API, but a way to insert blocks with attributes into templates is quite useful, even in the context of the core editor. **Requirements: ** * [ ] Allow insertion of blocks with block attributes in a single filter * [ ] Allow checking anchor block properties before inserting hooked blocks * [ ] (optional, but preferred) Allow nesting hooked blocks onto previous hooked blocks" joshuaflow Old Tickets 60695 Links in the admin-menu are generated incorrectly for mu-plugins partiellkorrekt Administration normal normal Awaiting Review defect (bug) new has-patch 2024-03-05T15:27:57Z 2024-03-05T16:05:37Z "The function _wp_menu_output in wp-admin/menu-header.php checks if a file exists in the WordPress plugin directory. But it never checks if the file exists in the mu-plugins directory. The result of this is that some plugins behave in an unexpected way when moved to mu-plugins. Especially their admin-menus stop working. One example of such a plugin is WPML. E.g. lines 165-175: {{{#!php $arrow""; } else { echo ""\n\t$arrow""; } }}} Better would be: {{{#!php $arrow""; } else { echo ""\n\t$arrow""; } }}} Not how the code in the 5th line only checks for WP_PLUGIN_DIR and not for WPMU_PLUGIN_DIR. This happens a few more times in this function. " partiellkorrekt Old Tickets 60681 Elements: Fix application of element class name when attributes are filtered aaronrobertshaw Editor trunk normal normal 6.6 defect (bug) new has-patch 2024-03-04T07:25:07Z 2024-03-13T19:12:19Z "This ticket tracks the backporting of PHP files for the following Gutenberg changes: - https://github.com/WordPress/gutenberg/pull/59535 These changes fix a bug where if the block data was filtered via `render_block_data` the elements CSS class wouldn't be consistently applied breaking the feature. The initial solution that was merged in Gutenberg via https://github.com/WordPress/gutenberg/pull/59533 caused a conflict in CSS classes that https://github.com/WordPress/gutenberg/pull/59535 addresses." aaronrobertshaw Old Tickets 60672 Improve menu toggle accessible name in admin menus joedolson Menus normal normal 6.6 defect (bug) assigned has-patch 2024-03-02T03:29:57Z 2024-03-12T15:08:54Z "Follow up from #32728 The Customizer accessible name format is ""Edit menu item: {item title} ({item type})"". The admin accessible name format is ""{item title} Menu item n of n"". It doesn't include the purpose of the control or the type, so the Customizer is providing better information; the admin menu needs to be updated. " joedolson Old Tickets 60670 [Site Health] Add current mysql version to update recommendation Presskopp Site Health normal normal Future Release enhancement new has-patch 2024-03-01T11:54:19Z 2024-03-02T22:56:45Z "On Site Health Status, if you run an older version of mysql, you will get the recommenation For optimal performance and security reasons, you should consider running MySQL version 8.0 or higher. Contact your web hosting company to correct this. I propose to add the current version there. **Your version is [version].** For optimal performance and security reasons, you should consider running MySQL version 8.0 or higher. Contact your web hosting company to correct this." Presskopp Old Tickets 60668 Missing translation in login_header() first parameter juliobox Login and Registration 2.1 normal minor 6.6 enhancement accepted has-patch 2024-03-01T10:22:14Z 2024-03-02T09:19:02Z "Hey there Actuel code from WP (wp-login.php): {{{#!php Add New Plugin`. 2. Click ""Install Now"". 3. Once installed, click ""Activate"". 4. 🐞 Once activated, click on the disabled ""Active"" button. === Expected Results When testing a patch to validate it works as expected: - ✅ The link does not work. When reproducing a bug: - ❌ The link still works despite the `.button-disabled` class being present." costdev Old Tickets 60652 font_dir filter enters an infinite loop if wp_get_upload_dir() is used in the filter callback mmaattiiaass General trunk normal normal 6.5 defect (bug) reopened has-patch 2024-02-28T13:20:40Z 2024-03-19T01:58:08Z "Calling wp_get_upload_dir() inside a font_dir filter callback produces an infinite loop. Use this snippet and try to install a font using the font library to reproduce the issue: {{{#!php Export menu. Originally reported here: https://github.com/WordPress/gutenberg/issues/59109" mmaattiiaass Old Tickets 60620 Twenty Twenty-Four: Remove pattern from home template to improve performance onemaggie Bundled Theme normal normal Awaiting Review defect (bug) new has-patch 2024-02-23T09:59:56Z 2024-02-29T13:39:47Z " This PR removes the pattern from the home template and instead replaces it directly with its contents. This was introduced in [this PR](https://github.com/WordPress/twentytwentyfour/pull/486). Creating the pattern was needed to solve what the PR was stating (we need the Home Business pattern to show on the template replacement flows) but we don't need to use it in the template, and the code repetition (which is minor) is better than having to do a an extra pattern replacement. To test this PR, check that the home page is unchanged and that creating a new template still shows the home page pattern (by creating a template for the front page, for example) " onemaggie Old Tickets 60611 Bootstrap/Load: Refactor debug.log handling for enhanced protection and usability itschristiandale Bootstrap/Load trunk normal normal Awaiting Review enhancement new has-patch 2024-02-22T19:41:31Z 2024-02-22T19:41:51Z "This commit addresses concerns related to the /wp-content/debug.log file being publicly accessible, which may contain sensitive information in some circumstances. To mitigate this risk, a randomly generated string is now appended to the debug log filename. Additionally, the debug logs have been relocated to a dedicated directory for improved organization and convenience. These changes enhance both the protection and usability of the debug.log subsystem." itschristiandale Old Tickets 60593 Font Library: add terms and conditions mmaattiiaass Editor trunk normal normal Awaiting Review enhancement new has-patch 2024-02-21T18:24:38Z 2024-02-21T20:06:43Z " What problem does this address? - Give users a way to accept or reject loading the data from a registered font collection. - Give font collection creators the ability to add a license text to inform users about the terms and conditions of the font collection. What is your proposed solution? - Add terms and conditions field in the font collection. - Render the terms and conditions from a font collection in the frontend. - Make the Google fonts permission dialog font collection agnostic. " mmaattiiaass Old Tickets 60581 Redundant variable type check david.binda Shortcodes trunk normal minor 6.6 enhancement new has-patch 2024-02-20T14:07:32Z 2024-02-20T14:13:38Z After the r57597, which is ensuring that the return type of the `shortcode_parse_atts` function is always an array, the `is_array` check in [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/media.php?rev=57597#L5068 get_post_galleries] function is, IMHO, no longer needed. david.binda Old Tickets 60579 Notice: Undefined index: name in /wp-includes/class-wp-roles.php on line 293 mrsize General 6.4.3 normal minor Awaiting Review defect (bug) new has-patch 2024-02-20T09:56:44Z 2024-02-21T10:26:47Z "[[Image(http://servtest.ovh/notice-wp.jpg)]] I have some notices on my dashboard, and fix the bug by modifying the function in core file, line 279 : {{{#!php roles ) ) { return; } $this->role_objects = array(); $this->role_names = array(); foreach ( array_keys( $this->roles ) as $role ) { // Vérifier si 'name' est défini pour le rôle actuel if ( isset( $this->roles[ $role ]['name'] ) ) { $this->role_objects[ $role ] = new WP_Role( $role, $this->roles[ $role ]['capabilities'] ); $this->role_names[ $role ] = $this->roles[ $role ]['name']; } else { // Gérer le cas où 'name' n'est pas défini (éventuellement définir une valeur par défaut) $this->role_objects[ $role ] = new WP_Role( $role, $this->roles[ $role ]['capabilities'] ); $this->role_names[ $role ] = 'Nom par défaut'; } } /** * Fires after the roles have been initialized, allowing plugins to add their own roles. * * @since 4.7.0 * * @param WP_Roles $wp_roles A reference to the WP_Roles object. */ do_action( 'wp_roles_init', $this ); } }}} " mrsize Old Tickets 60576 Unable to change contact email douglas447 Users normal normal Awaiting Review defect (bug) new has-patch 2024-02-19T19:04:05Z 2024-02-20T12:03:04Z Under users profile, I have been unable to have pending email change approved. I have looked at all the possible reasons this can happen but nothing has helped. douglas447 Old Tickets 60565 download_url() returns inaccurate error message on missing URL argument hinnerk HTTP API 6.4.3 normal trivial 6.6 enhancement reviewing has-patch 2024-02-16T20:53:37Z 2024-02-19T19:48:29Z "Expected: {{{#!php Exports""** menu with the selection **""Choose what to export > All,""** the process does not include the export of created templates. " heymehedi Old Tickets 60532 Add a `pre_set_object_terms` action davidbaumwald Taxonomy trunk normal normal Awaiting Review enhancement new has-patch 2024-02-13T19:42:58Z 2024-02-22T05:30:19Z "Working with some custom terms & taxonomies, and it looks like there's no way to hook in to `wp_set_object_terms` _before_ the terms are updated. In the end, the `$old_tt_ids` is passed to the `set_object_terms` action(added in r12261). But, these are the `term_taxonomy_id`s and a a bit harder to work with than the plain terms. Also, these are provided _after_ the terms are updated. So, there's no way to short-circuit the updating. However, I think it would be useful to have a `pre_` action that can work on the current terms before commiting the changes." davidbaumwald Old Tickets 60523 working_directory enhancement ipswise Upgrade/Install trunk normal normal Awaiting Review enhancement new has-patch 2024-02-13T11:59:06Z 2024-02-26T20:16:51Z "Because the ""source"" parameters can be filtered we have to been sure, that the ""working_directory"" has a trailing slash before we check files in it - when it's valid" ipswise Old Tickets 60516 Upgrade Moment.js to the latest version desrosj External Libraries normal normal Awaiting Review enhancement new has-patch 2024-02-12T20:02:55Z 2024-02-19T08:46:30Z "A new version of the `moment` (2.30.1) is now available. The [https://github.com/moment/moment/blob/develop/CHANGELOG.md changelog] and [https://github.com/moment/moment/compare/2.29.4...2.30.1 full of changes] are on [https://github.com/moment/moment GitHub]." desrosj Old Tickets 60515 Update `regenerator-runtime` polyfill desrosj External Libraries normal normal Awaiting Review enhancement new has-patch 2024-02-12T19:51:19Z 2024-02-19T10:00:47Z "A new version of the `regenerator-runtime` polyfill (0.14.1) is available. The [https://github.com/facebook/regenerator/compare/v0.14.0...v0.14.1 full of changes] are on [https://github.com/facebook/regenerator/ GitHub]." desrosj Old Tickets 60514 Update whatwg-fetch library desrosj External Libraries normal normal Awaiting Review enhancement new has-patch 2024-02-12T19:49:10Z 2024-02-19T09:23:11Z "A new version of the `whatwg-fetch` polyfill (3.6.20) is available. The [https://github.com/JakeChampion/fetch/blob/main/CHANGELOG.md changelog] and [https://github.com/JakeChampion/fetch/compare/v3.6.17...v3.6.20 full of changes] are on [https://github.com/JakeChampion/fetch/ GitHub]." desrosj Old Tickets 60512 Update backbone.js to the latest version (1.6.0) desrosj External Libraries normal normal Awaiting Review enhancement new has-patch 2024-02-12T17:27:37Z 2024-02-19T09:11:23Z Version 1.6.0 of Backbone.js is available (see [https://backbonejs.org/#changelog changelog]). desrosj Old Tickets 60499 Duplicate CSS in src/wp-includes/css/media-views.css afercia Media normal normal 6.6 enhancement assigned has-patch 2024-02-12T11:33:04Z 2024-03-06T17:00:44Z "There's about 60 lines (including empty lines) of duplicate CSS in `src/wp-includes/css/media-views.css` all related to the 'load more' button shown at the bottom of the media grid. Compare the CSS starting at line 1272: https://github.com/WordPress/wordpress-develop/blob/93ba10dae607581c00eac627e82dff61d3e5dca6/src/wp-includes/css/media-views.css#L1272 with the one starting at line 1317: https://github.com/WordPress/wordpress-develop/blob/93ba10dae607581c00eac627e82dff61d3e5dca6/src/wp-includes/css/media-views.css#L1317 While it doesn't harm anything, it's just redundant code that can be safely removed. Hint: use a tool of your choice to find all the duplicated CSS rulesets. There are a few online tools as well." afercia Old Tickets 60496 Twenty Sixteen: visual and DOM order of elements in the footer mismatch afercia Bundled Theme normal normal 6.6 defect (bug) assigned has-patch 2024-02-12T09:22:16Z 2024-03-14T21:29:45Z "In the footer of Twenty Sixteen, the footer site info and the social menu visual order and DOM order mismatch. For accessibility, visual order and DOM order must alwasy match when they affect 'meaning or operation'. Basically, altering the visual order via CSS properties like `order` and the various flexbox/grid `*-reverse` properties must be avoided. It is only allowed for purely decorative elements like, for example, the position of an icon within a button (there was such a case in the Gutenberg editor). Reference: WCAG 2.2 1.3.2 Meaningful Sequence (Level A) https://www.w3.org/TR/WCAG22/#meaningful-sequence 2.4.3 Focus Order (Level A) https://www.w3.org/TR/WCAG22/#focus-order Twenty Sixteen uses the `order` property to change the order of the social menu and site info on large screens. On small screens, the visual order is social menu first, site info after (matches the DOM order). Instead, on large screens the site info is first, the social menu is second. See screenshots." afercia Old Tickets 60486 Theme Export: Update the way we replace the version number. scruffian General normal normal Awaiting Review defect (bug) new has-patch 2024-02-09T13:25:03Z 2024-02-09T13:25:49Z "Updates the way we update the version number so it works when the version number is greater than 10. This was raised in https://github.com/WordPress/gutenberg/pull/40106/files/3ef38c98a083a382ca1490be535ba1ea314b49e8#r1479956056 GitHub PR: https://github.com/WordPress/wordpress-develop/pull/6076" scruffian Old Tickets 60475 Possible incorrect type for $comment_id in get_comment_author filter david.binda Comments 6.0 normal normal Awaiting Review defect (bug) new has-patch 2024-02-08T15:44:40Z 2024-02-21T11:41:00Z "After r52818 the `$comment_id` param of the `get_comment_author` filter, which is [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/comment-template.php?rev=56687#L47 documented as numeric string], may be an `int`, in case a non-existing comment ID is passed to the `get_comment_author` function. The topic has been briefly discussed in https://core.trac.wordpress.org/ticket/54379#comment:8 mentioning that the numeric string type is here for compatibility. I'm attaching a patch containing a fix for the issue, as well as a PHPUnit test demonstrating the behaviour." david.binda Old Tickets 60462 Twenty Twenty: Cover template overflows browser bar on mobile twiddler Bundled Theme normal trivial Awaiting Review enhancement new has-patch 2024-02-07T14:36:50Z 2024-02-07T23:32:42Z "Hey there! Twenty Twenty's cover template fills the whole background with the article image. This works as expected on desktop. On mobile however, some content gets covered by the browser bar. Replacing ''vh'' with ''dvh'' fixes that: {{{#!css .screen-height { min-height: 100dvh; } }}}" twiddler Old Tickets 60435 Footnotes Icon not showing for TT4 on Mac OS Sonoma 14.3 and Safari 17.3 jordesign Bundled Theme 6.4.3 normal normal 6.6 defect (bug) new has-patch 2024-02-05T04:08:58Z 2024-02-22T10:03:20Z "When updated to the latest Mac OS (Sonoma 14.3) and using Safari 17.3 - the arrow icon for footnotes (at the bottom of the page) does not display. The ''inline'' footnote arrow shows - just not the one at the bottom of the content. This ''seems'' related to the font face - if I change to default sans-serif, the arrow displays once again. [[Image(https://s3.amazonaws.com/i.snag.gy/dR6Xwz.jpg)]]" jordesign Old Tickets 60433 Adding delete_post_{$post->post_type} action hook gerardreches Posts, Post Types normal minor 6.6 enhancement reviewing has-patch 2024-02-04T16:24:20Z 2024-03-18T08:19:05Z Is there any reason not to add a `delete_post_{$post->post_type}` action hook to the core? We have it for save and edit, so why not for delete as well. gerardreches Old Tickets 60430 Spell enqueuing consistently shailu25 General normal trivial Awaiting Review defect (bug) new has-patch 2024-02-03T14:44:20Z 2024-02-27T21:45:58Z "Small Typo corrections in below files (Inline Documents) - In wp-includes/widgets/class-wp-widget-custom-html.php Line no 58 - In wp-includes/script-loader.php line no 2430 - In wp-includes/widgets/class-wp-widget-text.php line no 47 {{{ enqueueing }}} it should be {{{ enqueuing }}} " shailu25 Old Tickets 60423 Correct documentation for WP_Block_Parser_Frame class jigar bhanushali General normal normal Awaiting Review defect (bug) new has-patch 2024-02-02T09:33:10Z 2024-02-02T15:33:06Z In the DocBlocks for the `__construct` of the class, the `@param` missing null type for `$prev_offset` and `@leading_html_start` jigar bhanushali Old Tickets 60418 Unwanted commented code asgmehra General 6.4.3 normal normal Awaiting Review defect (bug) new has-patch 2024-02-01T19:44:41Z 2024-02-06T11:28:18Z "There are unwanted PHP commented code line showing when I update the wordpress theme. Test case: I have commented html code with PHP comment syntax in theme's functions.php file and then I start the theme to update on the ""Updates"" page. But when theme is updated, that commented code showing at top (Screenshot attached). I don't know it is a bug or not." asgmehra Old Tickets 60414 Core PHP autoloader proposal aristath General normal normal Awaiting Review enhancement new has-patch 2024-02-01T13:15:07Z 2024-03-13T12:31:34Z "Using a PHP autoloader can improve performance, and can be seen as a first step towards modernizing the WP codebase in the future. This ticket is a continuation of the discussion on [https://core.trac.wordpress.org/ticket/36335 #36335] The discussion in the original ticket was derailed many times, so this fresh ticket is an opportunity to discuss the Core proposal submitted on the [https://make.wordpress.org/core/?p=110295 Make blog]" aristath Old Tickets 60391 links_add_base_url will encode all attribut in null passed in pbearne Formatting normal normal Awaiting Review defect (bug) new has-patch 2024-01-30T23:23:31Z 2024-01-30T23:41:44Z pbearne Old Tickets 60389 PHP unit test for links_add_base_url pbearne Build/Test Tools normal normal 6.6 defect (bug) new has-patch 2024-01-30T22:14:08Z 2024-03-14T04:26:47Z pbearne Old Tickets 60364 Incorrect argument type given on number_format krishneup Site Health normal normal Awaiting Review defect (bug) new has-patch 2024-01-28T16:39:32Z 2024-01-29T07:59:37Z `Argument #1 ($num) must be of type float, string given in /var/www/src/wp-admin/includes/class-wp-debug-data.php:587` krishneup Old Tickets 60362 "Emojis cause ""Updating failed. Could not update post in the database."" error" mikefitzman Database normal normal Awaiting Review defect (bug) new has-patch 2024-01-28T01:59:48Z 2024-02-08T03:44:35Z "Hi guys I recently discovered what I think is a bug, 'confirmed' by the folks at Brainstorm Force. As of 26 January, I was suddenly unable to update certain posts and pages in WordPress. When I tried to save, I received the ""Updating failed"" error, but had made no backend or other changes to spontaneously create this error. I use Gutenberg. I stumbled across a GitHub thread about someone with a lightning emoji in a post with the same problem. With this in mind, I removed all emojis from the pages and posts that could not save and sure enough, all functionality was restored to normal after doing so. I verified this several times by re-introducing emoijis, which reintroduced the error. I've reported this to my host, Brainstorm Force (Astra theme devs) and now here. I hope it is of some assistance. Regards Mike liquidaudio.com.au" mikefitzman Old Tickets 60349 Rest API media upload utf8 urlencoded filename not decoded on server ypjzjn REST API 6.4.2 normal normal Awaiting Review defect (bug) new has-patch 2024-01-25T18:34:50Z 2024-01-25T18:34:50Z "Files uploaded with the rest api media endpoint, containing utf8 characters in the filename, does not get urldecoded if the filename is urlencoded. Example: {{{ Content-Disposition: attachment; filename=\""My-nice-filename.jpg\"" }}} The file is correctly called My-nice-filename.jpg on the server. {{{ Content-Disposition: attachment; filename=\""%D1%82%D0%B0%D1%82%D0%B0%D1%82%D0%B0.jpg\"" }}} File named татата.jpg ends incorrectly up as D182D0B0D182D0B0D182D0B0.jpg on the server. Under is a POC patch allowing urlencoded filenames to be urldecoded on the server. {{{ Content-Disposition: attachment; filename*=UTF-8''%D1%82%D0%B0%D1%82%D0%B0%D1%82%D0%B0.jpg }}} The file is correctly named татата.jpg on the server. A number of http clients, example winhttp, doesn't support utf8 characters in the headers, and the files end up with wrong names on the server. {{{ --- class-wp-rest-attachments-controller.php.orig 2024-01-25 13:43:43.898485027 +0100 +++ class-wp-rest-attachments-controller.php 2024-01-25 13:44:02.206740466 +0100 @@ -1139,16 +1139,26 @@ $attributes[ trim( $key ) ] = trim( $value ); } - if ( empty( $attributes['filename'] ) ) { - continue; - } + if ( ! empty( $attributes['filename'] ) ) { + $filename = trim( $attributes['filename'] ); - $filename = trim( $attributes['filename'] ); + // Unquote quoted filename, but after trimming. + if ( str_starts_with( $filename, '""' ) && str_ends_with( $filename, '""' ) ) { + $filename = substr( $filename, 1, -1 ); + } + } else if ( ! empty( $attributes['filename*'] ) ) { + + if ( str_contains( $attributes['filename*'], '\'\'') ) { + list( $key, $value ) = explode( '\'\'', $attributes['filename*'], 2); + // key is encoding + $filename = trim( urldecode( $value ) ); + } else { + continue; + } + } else { + continue; + } - // Unquote quoted filename, but after trimming. - if ( str_starts_with( $filename, '""' ) && str_ends_with( $filename, '""' ) ) { - $filename = substr( $filename, 1, -1 ); - } } return $filename; }}} " ypjzjn Old Tickets 60336 Twenty Sixteen :- Table block having issue with border when text color is used. nidhidhandhukiya Bundled Theme 6.4.2 normal normal Awaiting Review defect (bug) new has-patch 2024-01-24T09:48:00Z 2024-03-02T07:28:39Z "Steps to reproduced the issue :- 1. Activate Twenty Sixteen theme. 2. Choose table block. 3. Add some text. 4. Apply text color. Now you can able to see that the choosen text color also applied on border in editor side but in the user side the border color remains same as default border color. I have attached video for better understanding. Video URL :- https://share.cleanshot.com/LJlVp3460bvvl5ZYRTsP" nidhidhandhukiya Old Tickets 60335 Twenty Twenty-Four: FAQ Pattern creates accessibility issues poena Bundled Theme 6.4 normal normal 6.6 defect (bug) new has-patch 2024-01-24T09:04:02Z 2024-03-05T15:28:33Z "This was reported by @alh0319 in https://github.com/WordPress/twentytwentyfour/issues/743 I have copied and pasted the text from the issue, as well as the comment. ---- The FAQ Pattern packaged in the theme uses multiple Details blocks in a row. While it's not labeled or promoted as an accordion, this functionally behaves like an accordion, and most users, especially non-tech-savvy ones, will see this pattern as an accordion and use it as such throughout their site. They are likely to create long lists of FAQs in this manner when given the pattern as an example. Core themes should set website owners up for success and provide a good example of how to build websites that are accessible. This pattern does neither. Accessible accordions have headings, which are vital for navigation with a screen reader. Lists of FAQs, which frequently include important information about products, services, and companies, need headings so that screen reader users can access that information easily. The details block is not a substitute for an accordion block and users should not be encouraged to use it as one. This pattern should be removed from Twenty Twenty-Four. Either the pattern should be removed completely, or the questions and answers that are built with the details block should be rebuilt with the questions as H3s and the answers as visible paragraphs. If an accordion block can be built quickly, it could be replaced with that, but given testing time needed, it would be better to remove this pattern from the theme ASAP to reduce the number of websites and that using it and will need to be fixed later. == Step-by-step reproduction instructions Insert FAQ pattern into a page and inspect it. == Expected behavior Accordions should be built accessibly. Here's a good [example of how the accordion block should be coded for accessibility https://designsystem.digital.gov/components/accordion/]. We shouldn't create patterns that add accessibility problems to user's websites. == Additional context Please reference the discussion on the [https://github.com/WordPress/gutenberg/issues/21584 New block: Accordion block issue] in the Gutenberg repo for more information on why the Details block should not be used as an accordion. @joedolson said in that discussion that he didn't think it was an issue, so he may want to way in here, but I disagree. ----- Comment by @alexstine Not trying to tell anyone told you so but I felt like this could be one of those blocks that would be misused. Upvote to doing something about it. " poena Old Tickets 60329 Quick Edit tags-input drop-down selection box hangs exactly over the Published/Draft/Queud selection-box phithx Quick/Bulk Edit 6.4.2 normal normal Awaiting Review defect (bug) new has-patch 2024-01-23T16:48:42Z 2024-01-30T01:12:29Z "So, if I'm not careful when selecting tags from the drop-down-selection-box, if I accidentally click on the published/draft/queud box, it can change it from Published to Draft, for example, which has happened more than once before. So, articles that were published suddenly find themselves unpublished, and the person who was inputting tags in the Quick-Edit space doesn't know what happened - that they accidentally unpublished the article. Maybe put the Published-selection box above the tags please? I've got screen-shots, but the image insert button works strangely for me - can't access my computer from here to attach them? This request is mainly for the Gibraltar-Messenger site (not particularly mine) but this issue woud apply to so many others. Thank-you. " phithx Old Tickets 60328 Deprecated parameter default value of unregister_setting() is not correct type crstauf General normal normal Awaiting Review defect (bug) reviewing has-patch 2024-01-23T15:26:46Z 2024-01-29T15:23:34Z "> The parameter callable `$deprecated` cannot default to an empty string. It must either default to `null` or the type has to be changed to `callable|string`. -- Reported by gerardreches via User Contributed Notes." crstauf Old Tickets 60321 Add Viostream.com to oEmbed allowlist sjauldviostream Embeds normal normal Awaiting Review enhancement new has-patch 2024-01-22T23:55:28Z 2024-01-23T00:06:10Z "Viostream.com has implemented oEmbed support. Adding Viostream.com to the WordPress whitelist will enable Viostream users to seamlessly embed their videos in WordPress. Questionnaire responses below: == Is the service is popular enough for core developers to have heard of it before? Is it “mainstream?” Viostream is widely used by Government and enterprise businesses in Australia - many of their developers have requested easier WordPress integration. == If similar services are already supported, how does this service compare in terms of size, features, and backing? Viostream does have a smaller market share than competitors such as Vidyard, however the feature set is particularly geared towards enterprise and Government, particularly around security aspects of the platform. == Does this service have an established social media presence? Yes - see https://www.facebook.com/viostreamhq/ and https://www.linkedin.com/company/viostream == Is its oEmbed endpoint clearly established and properly documented? (Sometimes, they are just a developer’s pet project that may not be supported.) Yes - see https://help.viostream.com/sharing-your-media/embedding-with-oembed-tags/ == Does the oEmbed endpoint work with WordPress’ oEmbed auto-discovery? If not, could it be made to work with additional HTML tags or attributes being added to the allow-list? Yes, discovery has been implemented. == Does the service make an effort to build relationships with developers, such as through robust APIs? Yes, Viostream provides a RESTful API for video management as well as a player API for presentation integrations. == How old is the service? Viostream as a business has been operating for over 20 years. The current Viostream service has been operating for over 10 years. == Does it have a well-established Wikipedia article? (Seriously.) No. == Has anyone written a WordPress plugin that leverages the service in some way, whether adding it as an oEmbed provider, creating a shortcode, or leveraging other APIs of the service? Do these plugins have any noticeable adoption or traction that would indicate usage and demand? No == Is the provider frequently proposed? Yes - both existing and prospective customers have requested this functionality." sjauldviostream Old Tickets 60319 PHPUnit test for wp_spaces_regexp pbearne Build/Test Tools normal normal Awaiting Review defect (bug) new has-patch 2024-01-22T17:44:21Z 2024-02-28T18:15:44Z pbearne Old Tickets 60315 Editor: Update the WordPress packages to the latest versions for 6.5 youknowriad Editor normal normal 6.5 task (blessed) assigned has-patch 2024-01-22T10:21:29Z 2024-03-18T15:25:24Z This ticket tracks updates to @wordpress npm packages for 6.5 release. youknowriad Old Tickets 60314 Revisions: PHP Warning: Undefined array key 0 in .../wp-includes/meta.php on line 642 picocodes Autosave 6.4.2 normal normal Awaiting Review defect (bug) new has-patch 2024-01-22T06:57:06Z 2024-02-15T07:34:17Z " - Call register_post_meta() with single = true, type = object and revisions_enabled = true. - Save your meta value as an associative array. - Next, call get_post_meta on a post that has a revision. - The following filter will fire: {{{#!php = 9.14"", so maybe it's just a matter of skipping the test if the installed Ghostscript version (`gs --version` I think) is older than that." swissspidy 4-7 Days Ago 60781 Expand or modify wp_get_environment_type function to allow more environment types dingo_d Bootstrap/Load 5.5.1 normal normal Awaiting Review enhancement new dev-feedback 2024-03-15T09:49:27Z 2024-03-15T11:29:04Z "Currently the [https://developer.wordpress.org/reference/functions/wp_get_environment_type/ wp_get_environment_type()] function only allows 4 environment types: {{{#!php $wp_environments = array( 'local', 'development', 'staging', 'production', ); }}} But there are projects that have multiple environment types (CI, CD, pre-production, UAT, etc.). So if you define the `WP_ENVIRONMENT_TYPE` to anything outside of these 4 environments, you'll end up with serving the `production` environment. A trivial example would be where you'd like to change the color of your admin UI based on environments. I mean, sure you can use something like {{{defined('WP_ENVIRONMENT_TYPE') ? WP_ENVIRONMENT_TYPE : 'production'}}}, but what's the point of the `wp_get_environment_type` function then? One alternative is to expand the `$wp_environments` variable with some of the industry most-used terms. Or just remove this check, and just return the value of `defined('WP_ENVIRONMENT_TYPE') ? WP_ENVIRONMENT_TYPE : 'production'` check." dingo_d 4-7 Days Ago 60778 Twenty Twenty-Three Theme: The Quote block style is not working as expected. viralsampat Bundled Theme normal normal Awaiting Review defect (bug) new dev-feedback 2024-03-15T07:13:01Z 2024-03-15T10:06:33Z "Hello, I have reviewed and found that the ""**Quote**"" block style is not working as expected into the **Twenty Twenty-Three** theme. Here, I have attached video: Issue: [https://share.cleanshot.com/78X9q3xkwy0kkT5HvHFL] Thanks," viralsampat Last Week 60737 invalid_email or user_email ? juliobox Login and Registration trunk normal minor Awaiting Review enhancement new dev-feedback 2024-03-10T21:40:10Z 2024-03-10T21:40:10Z "Hey there, I'm talking about login error keys. Here are the 3 things we can find in the WP Core: {{{#!php add( 'invalid_email', __( 'Error: There is no account with that username or email address.' ) ); $errors->add( 'invalid_email', __( 'Error: The email address is not correct.' ) ); $errors->add( 'user_email', __( 'Error: The email address is not correct.' ), array('form-field' => 'email', ) ); }}} The 1st is an error message when you try to login using an email address that is not used as a user in this site, the key is ""invalid_email"" The 2nd is an error message when you try to register a new user with an email address that is not correctly formatted, the key is ""invalid_email"" The 3rd is an error message when you try to update your personal profile with an email address that is not correctly formatted, the key is ""user_email"" So we have 2 keys and 2 messages (like ""A1 A2 B2"", should be ""A1 B2 B2"") but the message 2 is sharing both, we should clearly decide is ""invalid_email"" is when the email does not exists in our site OR when the email is not correctly formatted. I suggest that the 2nd message should share the ""user_email"" and let the ""invalid_*"" for the login stuff, like we already have ""invalidcombo"" or ""invalid_username"" that shares the same kind of issue. thanks for your reading time" juliobox Old Tickets 60694 INDEX command denied to user 'wordpress'@'localhost' for table 'wp_trp_dictionary_bg_bg_en_us' 4x4ever Upgrade/Install 6.4.3 normal normal Awaiting Review defect (bug) new dev-feedback 2024-03-05T15:14:32Z 2024-03-05T15:14:32Z "Fresh install of Version 6.4.3. The only active plugin is TranslatePress - Multilingual Version 2.7.2 (Akismet and Hello Dolly are installed but not active). Loggin in as admin, the following error is displayed: INDEX command denied to user 'wordpress'@'localhost' for table 'wp_trp_dictionary_bg_bg_en_us'. phpMyAdmin shows that the wordpress user does not have the 'INDEX' privilege. Is there a reason why the INDEX privilege not be enabled for the wordpress database user?" 4x4ever Old Tickets 60693 """Previously approved comment"" for logged out users bug" jmorti Comments 6.4.3 normal normal Awaiting Review defect (bug) new dev-feedback 2024-03-05T14:30:41Z 2024-03-07T17:00:03Z "When ""Comment author must have a previously approved comment"" is checked in the discussion settings, comments made by registered users who are logged out, go to moderation every time. The check comment function looks for previous comments under their user id but if they have only commented while logged out, no id is recorded. This bug has caused our users and our team major frustration. Can someone please address? Thanks!" jmorti Old Tickets 60692 Plugin dependencies: Allow a mu-plugin to fulfil a dependency johnbillion Upgrade/Install trunk normal normal 6.6 enhancement new dev-feedback 2024-03-05T10:59:05Z 2024-03-05T12:00:04Z "See discussion on #60504 for background. An inactive plugin that has a dependency that is fulfilled by a mu-plugin is prevented from being activated as its dependency is considered unfulfilled. It should be possible for a mu-plugin to fulfil a plugin dependency. It may be that a new filter or a default mu-plugin loader needs to be introduced so facilitate this." johnbillion Old Tickets 60689 Concerning use of external libraries warui1738 External Libraries normal normal Awaiting Review feature request new dev-feedback 2024-03-05T08:20:16Z 2024-03-05T10:17:53Z "As you get more advanced in using wordpress the need arises to use external libraries like bootstrap,font library,icon libraries,tailwind etc,off course this can be added using insert code plugins.the biggest disadvantage of this is that 1.you cannot maintain libraries version 2.You cannot delete the libraries. This problem can be solved through a feature request to create an interface to manage external libraries.In this feature: 1.User adds external libraries through a url 2.user can edit the libraries url 3.user can delete the libraries,libraries ceases to exist in the wordpress environment 4.Ability of the interface to distinguish/or give user opportunity to distinguish between and