Make WordPress Core

Changeset 11193


Ignore:
Timestamp:
05/05/2009 05:19:53 AM (16 years ago)
Author:
ryan
Message:

Add hook for adding info to plugin update message. Props JohnLamansky. fixes #9553

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update.php

    r11013 r11193  
    162162    else
    163163        printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s Details</a> or <a href="%4$s">upgrade automatically</a>.'), $plugin_data['Name'], $details_url, $r->new_version, wp_nonce_url('update.php?action=upgrade-plugin&amp;plugin=' . $file, 'upgrade-plugin_' . $file) );
    164 
     164   
     165    do_action( "in_plugin_update_message-$file", $plugin_data, $r );
     166   
    165167    echo '</td></tr>';
    166168}
Note: See TracChangeset for help on using the changeset viewer.