[wp-trac] [WordPress Trac] #50584: translation-install.php file creates an issue when opening settings page
WordPress Trac
noreply at wordpress.org
Tue Jul 7 08:33:43 UTC 2020
#50584: translation-install.php file creates an issue when opening settings page
--------------------------+-------------------------
Reporter: mariolonghi | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
--------------------------+-------------------------
Changes (by ocean90):
* keywords: needs-patch =>
* status: new => closed
* version: 5.4.2 =>
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Hi @mariolonghi, welcome to WordPress Trac!
Thanks for the report. The message you're getting there is the same for
all WordPress.org requests, like update checks or API requests for plugins
and themes. The message is only visible when PHP is set to display
warnings/notices.
To override the specific request you can use the
[https://developer.wordpress.org/reference/hooks/translations_api/
translations_api] filter.
`add_filter( 'translations_api', '__return_empty_array' )` should work.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50584#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list