How do you change the text “Update failed. You are probably offline.” <- can't seem to change this default text in my wordpress

Question

How do you change the text "Update failed. You are probably offline." <- can’t seem to change this default text in my wordpress.

Doing

    grep -rnH 'You are probably offline' . 

gets

     ./wp-includes/js/dist/api-fetch.js:856:      message: Object(external_this_wp_i18n_["__"])('You are probably offline.')

and

     ./wp-includes/js/dist/api-fetch.min.js:2:

i edited both text by replacing . with … BUT it doesnt change at all. can someone try and answer how to get this done? I would like to replace the text with "Please reload." because the firewall is blocking the access after too frequent updates of the wordpress so i would like my user to reload the page instead of this default msg.

     ./wp-includes/js/dist/api-fetch.js:856:      message: Object(external_this_wp_i18n_["__"])('You are probably offline....')

can someone help? thx

0
Okit Tfseven 2 months 0 Answers 12 views 0

Leave an answer