You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was hypothesized that this was due to the missing textdomain, though I didn't think that would cause a problem. After further user testing, it seems to be an issue with a trailing comma in those translation functions. In doing some research, this seemed to be something that would cause an issue in PHP 7.2 or less but was fixed in PHP 7.3+. Our PHP minimum is 7.4 so I didn't think this would be an issue but the user report we got is using PHP 8.1, so seems like maybe this doesn't fully work in PHP 7.3+?
I don't think there's any need to have those commas so a quick fix here is to remove those.
Describe the bug
As reported on WordPress.org, there's a PHP error linked to these lines.
It was hypothesized that this was due to the missing textdomain, though I didn't think that would cause a problem. After further user testing, it seems to be an issue with a trailing comma in those translation functions. In doing some research, this seemed to be something that would cause an issue in PHP 7.2 or less but was fixed in PHP 7.3+. Our PHP minimum is 7.4 so I didn't think this would be an issue but the user report we got is using PHP 8.1, so seems like maybe this doesn't fully work in PHP 7.3+?
I don't think there's any need to have those commas so a quick fix here is to remove those.
Steps to Reproduce
I've not reproduced myself but see the WordPress.org thread for more details.
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: