Browse Source

fix depr null on str_replace

windhamdavid 5 months ago
parent
commit
29e804e10f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions.php

+ 2 - 2
functions.php

@@ -233,8 +233,8 @@ function gwp24_remove_adminbar( $wp_admin_bar ) {
   $wp_admin_bar->remove_node( 'view-site' );
   $wp_admin_bar->remove_node( 'view-site' );
 }
 }
 
 
-add_filter( 'gettext', 'gwp24_change_howdy_text', 10, 2 );
-function gwp24_change_howdy_text( $translation, $original ) {
+add_filter( 'gettext', 'gwp24_change_howdy', 10, 2 );
+function gwp24_change_howdy( $translation, $original ) {
   if( 'Howdy, %1$s' == $original )
   if( 'Howdy, %1$s' == $original )
     $translation = '%1$s';
     $translation = '%1$s';
   return $translation;
   return $translation;