Forums

[resolved] Change WordPress x is available please update now! message (3 posts)

  1. Rhand
    Member
    Posted 2 years ago #

    I would like to change the WordPress 2.x is available, please update now, but when I change or add something in the language .mo file like

    %3$s text me@me.com

    I get a php error:

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\folder\wp-includes\pomo\mo.php on line 81

    How can I change this update warning text without causing errors?

  2. Rhand
    Member
    Posted 2 years ago #

    Just adding a little text makes it crash. I will try adding some text with an echo to the php file..

  3. Rhand
    Member
    Posted 2 years ago #

    Found the solution. Go to wp-admin/includes/update.php and find line 129. and adjust

    $msg = sprintf( __('Your text')

    Only downside is that it overruled my language.mo so I had to adjust all text and that this adjustment probably has to be made after each update, but is working.

Topic Closed

This topic has been closed to new replies.

About this Topic