Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #55866


Ignore:
Timestamp:
05/28/2022 03:47:14 PM (19 months ago)
Author:
SergeyBiryukov
Comment:

Hi there, welcome to WordPress Trac!

This appears to be a bug in the Arabic translation of a particular string. Note %2$ there, it should be %2$s instead.

Once the translation is corrected and the language pack is updated, the error should disappear. Pinging @okfie as a Translation Editor for Arabic.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55866

    • Property Keywords needs-unit-tests removed
    • Property Component changed from General to I18N
  • Ticket #55866 – Description

    initial v2  
    33Tested on more than one server
    44
     5{{{
     6Fatal error: Uncaught ValueError: Missing format specifier at end of string in //wp-includes/script-loader.php:1271
    57
    6 Fatal error: Uncaught ValueError: Missing format specifier at end of string in //wp-includes/script-loader.php:1271 Stack trace: #0 //wp-includes/script-loader.php(1271): sprintf() #1 //wp-includes/class-wp-hook.php(307): wp_default_scripts() #2 //wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 //wp-includes/plugin.php(524): WP_Hook->do_action() #4 //wp-includes/class.wp-scripts.php(167): do_action_ref_array() #5 //wp-includes/class.wp-scripts.php(142): WP_Scripts->init() #6 //wp-includes/functions.wp-scripts.php(24): WP_Scripts->__construct() #7 //wp-includes/functions.wp-scripts.php(147): wp_scripts() #8 //wp-includes/widgets/class-wp-widget-text.php(59): wp_add_inline_script() #9 //wp-includes/class-wp-widget.php(274): WP_Widget_Text->_register_one() #10 //wp-includes/class-wp-widget-factory.php(102): WP_Widget->_register() #11 //wp-includes/class-wp-hook.php(307): WP_Widget_Factory->_register_widgets() #12 //wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #13 //wp-includes/plugin.php(476): WP_Hook->do_action() #14 //wp-includes/widgets.php(1854): do_action() #15 //wp-includes/class-wp-hook.php(307): wp_widgets_init() #16 //wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #17 //wp-includes/plugin.php(476): WP_Hook->do_action() #18 //wp-settings.php(598): do_action() #19 //wp-config.php(96): require_once('/...') #20 //wp-load.php(50): require_once('/...') #21 //wp-blog-header.php(13): require_once('/...') #22 //index.php(17): require('/...') #23 {main} thrown in
     8Stack trace:
     9#0 //wp-includes/script-loader.php(1271): sprintf()
     10#1 //wp-includes/class-wp-hook.php(307): wp_default_scripts()
     11#2 //wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
     12#3 //wp-includes/plugin.php(524): WP_Hook->do_action()
     13#4 //wp-includes/class.wp-scripts.php(167): do_action_ref_array()
     14#5 //wp-includes/class.wp-scripts.php(142): WP_Scripts->init()
     15#6 //wp-includes/functions.wp-scripts.php(24): WP_Scripts->__construct()
     16#7 //wp-includes/functions.wp-scripts.php(147): wp_scripts()
     17#8 //wp-includes/widgets/class-wp-widget-text.php(59): wp_add_inline_script()
     18#9 //wp-includes/class-wp-widget.php(274): WP_Widget_Text->_register_one()
     19#10 //wp-includes/class-wp-widget-factory.php(102): WP_Widget->_register()
     20#11 //wp-includes/class-wp-hook.php(307): WP_Widget_Factory->_register_widgets()
     21#12 //wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
     22#13 //wp-includes/plugin.php(476): WP_Hook->do_action()
     23#14 //wp-includes/widgets.php(1854): do_action()
     24#15 //wp-includes/class-wp-hook.php(307): wp_widgets_init()
     25#16 //wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
     26#17 //wp-includes/plugin.php(476): WP_Hook->do_action()
     27#18 //wp-settings.php(598): do_action()
     28#19 //wp-config.php(96): require_once('/...')
     29#20 //wp-load.php(50): require_once('/...')
     30#21 //wp-blog-header.php(13): require_once('/...')
     31#22 //index.php(17): require('/...')
     32#23 {main} thrown in
     33}}}