You appear to be a bot. Output may be restricted
Description
Implement "in_plugin_update_message-$plugin_file" for a Git repo plugin
Display a message for a Git repo plugin
Usage
bw_gitrepo_plugin( $plugin_data, $r );
Parameters
- $plugin_data
- ( array ) required – information about the plugin and any new version that's available
- $r
- ( mixed ) required – YGIAGAM ???
Returns
void
Source
File name: oik/admin/oik-admin.php
Lines:
1 to 22 of 22
function bw_gitrepo_plugin( $plugin_data, $r ) { bw_trace2( null, null, true, BW_TRACE_VERBOSE ); bw_backtrace( BW_TRACE_VERBOSE ); $version = bw_array_get( $plugin_data, "Version", null ); $new_version = bw_array_get( $plugin_data, "new_version", null ); $text = __( "This plugin is a Git repository.", "oik" ); $text .= " "; $text .= sprintf( __( 'New version?: %s', "oik" ), $new_version ); $text .= " "; $text .= sprintf( __( 'Current version: %s', "oik" ), $version ); $text .= "<br /><strong>"; $text .= __( "Please don't attempt to apply updates using WordPress.", "oik" ); $text .= "</strong>"; $message = '<tr class="plugin-update-tr">'; $message .= '<td colspan="3" class="plugin-update colspanchange">'; $message .= '<div class="update-message">'; $message .= $text; $message .= "</div>"; $message .= "</td>"; $message .= "</tr>"; echo $message; }