Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

We have some sites where we note a few things that need to be checked or done either before or immediately after a core, theme or plugin upgrade. While I keep a list of these things, sometimes users themselves do the upgrade and mess everything up.

I was hoping to be able to add a message to the upgrade screen to remind myself of the checklist of to do's before/after upgrade and also to warn users to contact me etc.

I'm thinking if there is a hook to let me add this customized message that'd be great. If not any suggestions how to approach this? Thanks!

share|improve this question

1 Answer 1

up vote 2 down vote accepted

There is an action, 'core_upgrade_preamble', which can be added to output anything you would like at the bottom of the upgrade-core page. For example, try:

add_action('core_upgrade_preamble', 'add_custom_upgrade_core_message');
function add_custom_upgrade_core_message(){
    echo "<p>HI THERE</p>";
}

That should work to meet your needs.

share|improve this answer
    
Thank you! I think that will do. –  tbm Apr 15 '12 at 4:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.