示例#1
0
 function plugin_check_version($file, $plugin_data)
 {
     $current = get_transient('update_plugins');
     if (!isset($current->response[$file])) {
         return false;
     }
     $url = gdFunctionsGDSW::get_update_url($this->o, get_option('home'));
     $update = wp_remote_fopen($url);
     echo '<td colspan="3" class="gdr-plugin-update"><div class="gdr-plugin-update-message">';
     echo $update;
     echo '</div></td>';
 }