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
In WordPress 4.7 a change was made to the logic that translates the 'Howdy,' string.
From $howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name );
To $howdy = sprintf( __( 'Howdy, %s' ), $current_user->display_name );
oik is still using the original string to re-run the translation, but it no longer gets translated due to the parameter format change, so oik's string replacement logic no longer works.
Proposed solution
The code in oik needs to reflect the change to core.
It's not necessary to make the code backward compatible with earlier versions of WordPress.
The text was updated successfully, but these errors were encountered:
bobbingwide
changed the title
'Howdy,' replacement string replacement no longer working in WordPress 4.7
'Howdy,' replacement string replacement no longer working in WordPress 4.7, again in 4.8
Aug 22, 2017
In WordPress 4.7 a change was made to the logic that translates the 'Howdy,' string.
From
$howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name );
To
$howdy = sprintf( __( 'Howdy, %s' ), $current_user->display_name );
See https://core.trac.wordpress.org/ticket/37794
oik is still using the original string to re-run the translation, but it no longer gets translated due to the parameter format change, so oik's string replacement logic no longer works.
Proposed solution
The text was updated successfully, but these errors were encountered: