[wp-trac] [WordPress Trac] #47689: Editor Google Font Error 400

WordPress Trac noreply at wordpress.org
Fri Jul 12 09:23:23 UTC 2019


#47689: Editor Google Font Error 400
------------------------------------+------------------------------
 Reporter:  jtsng8                  |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Script Loader           |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  administration
------------------------------------+------------------------------
Changes (by mukesh27):

 * keywords:   => has-patch dev-feedback
 * focuses:   => administration
 * component:  Options, Meta APIs => Script Loader
 * version:  5.2.2 =>


Comment:

 Hi @jtsng8,

 Welcome to WordPress Trac! Thanks for the ticket.

 I have replicated the same issue in Chinese (Taiwan) language and _x
 function generated issue for this language.

 {{{
 In wp-includes/script-loader.php replace below code


 $font_family = _x( 'Noto Serif:400,400i,700,700i', 'Google Font Name and
 Variants' );
 Replace to
 $font_family = __( 'Noto Serif:400,400i,700,700i' );

 }}}

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


More information about the wp-trac mailing list