Title: Davit's Replies | WordPress.org

---

# Davit

  [  ](https://wordpress.org/support/users/dat_j/)

 *   [Profile](https://wordpress.org/support/users/dat_j/)
 *   [Topics Started](https://wordpress.org/support/users/dat_j/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dat_j/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dat_j/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dat_j/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dat_j/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dat_j/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add Media not working after 3.5.2 upgrade](https://wordpress.org/support/topic/add-media-not-working-after-352-upgrade/)
 *  [Davit](https://wordpress.org/support/users/dat_j/)
 * (@dat_j)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/add-media-not-working-after-352-upgrade/page/2/#post-3866872)
 *     ```
       /****** Customize admin message "Howdy" to "Welcome" ******/
       $nohowdy = "Hello!";
   
       if (is_admin()) {
           add_action('init', 'artdev_nohowdy_h');
           add_action('admin_footer', 'artdev_nohowdy_f');
       }
       // Load jQuery
       function artdev_nohowdy_h() {
           wp_enqueue_script('jquery');
       }
       // Modify
       function artdev_nohowdy_f() {
       global $nohowdy;
       echo <<<JS
       <script type="text/javascript">
       //<![CDATA[
       var nohowdy = "$nohowdy";
       jQuery('#user_info p')
           .html(
           jQuery('#user_info p')
               .html()
               .replace(/Howdy/,nohowdy)
           );
       //]]>
       JS;
       }
   
       add_filter('gettext', 'change_howdy', 10, 3);
   
       function change_howdy($translated, $text, $domain) {
   
           if (!is_admin() || 'default' != $domain)
               return $translated;
   
           if (false !== strpos($translated, 'Howdy'))
               return str_replace('Howdy', 'Hello', $translated);
   
           return $translated;
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add Media not working after 3.5.2 upgrade](https://wordpress.org/support/topic/add-media-not-working-after-352-upgrade/)
 *  [Davit](https://wordpress.org/support/users/dat_j/)
 * (@dat_j)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/add-media-not-working-after-352-upgrade/page/2/#post-3866861)
 * I had the same problem with add media button when i updated my wp 3.5.2… and 
   i resolved it, in my function.php file i delete some pice of code which is translated
   howdy text and that all(I mean check your functions php file if there some pice
   of code which incompletable ) I hope it is helps to someone and sorry for my 
   english:)

Viewing 2 replies - 1 through 2 (of 2 total)