[wp-trac] [WordPress Trac] #51871: Site Health actions that use the REST API receive an untranslated response

WordPress Trac noreply at wordpress.org
Mon Nov 30 16:04:45 UTC 2020


#51871: Site Health actions that use the REST API receive an untranslated response
--------------------------+--------------------------------
 Reporter:  oglekler      |       Owner:  TimothyBlynJacobs
     Type:  defect (bug)  |      Status:  assigned
 Priority:  high          |   Milestone:  5.6
Component:  Site Health   |     Version:  5.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+--------------------------------

Comment (by ocean90):

 Looks like we have two options (maybe only one):

 * Move the class to wp-includes if it's used in the front end (which
 includes the REST API). I'm not sure why this file is actually in wp-admin
 since it's already loaded by `wp-settings.php`.
 * Try to adjust the file mappings in
 https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/plugins/wporg-gp-customizations/inc/cli/class-make-core-
 pot.php?rev=10063#L86

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51871#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list