Diff
checker
Text
Text
Bilder
Dokumente
Excel
Ordner
Legal
Enterprise
Desktop-App
Preise
Einloggen
Diffchecker Desktop herunterladen
Texte vergleichen
Finde den Unterschied zwischen zwei Textdateien
Werkzeuge
Verlauf
Live-Editor
Gleiches ausblenden
Zeilenumbruch aus
Ansicht
Zweispaltig
Einspaltig
Vergleichsgenauigkeit
Intelligent
Wort
Zeichen
Syntaxhervorhebung
Syntax auswählen
Ignorieren
Text umwandeln
Zur ersten Änderung
Eingabe bearbeiten
Diffchecker Desktop
Der sicherste Weg, Diffchecker zu nutzen. Hol dir die Desktop-App: Deine Diffs verlassen nie deinen Computer!
Desktop holen
Untitled diff
Erstellt
vor 11 Jahren
Diff läuft nie ab
Löschen
Exportieren
Teilen
Erklären
6 Entfernungen
Zeilen
Gesamt
Entfernt
Zeichen
Gesamt
Entfernt
Um diese Funktion weiterhin zu nutzen, aktualisiere auf
Diff
checker
Pro
Preise anzeigen
37 Zeilen
Kopieren
16 Hinzufügungen
Zeilen
Gesamt
Hinzugefügt
Zeichen
Gesamt
Hinzugefügt
Um diese Funktion weiterhin zu nutzen, aktualisiere auf
Diff
checker
Pro
Preise anzeigen
46 Zeilen
Kopieren
$this->update_count = count($plugins);
$this->update_count = count($plugins);
$this->update_current = 0;
$this->update_current = 0;
foreach ( $plugins as $plugin ) {
foreach ( $plugins as $plugin ) {
$this->update_current++;
$this->update_current++;
$this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true);
$this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true);
Kopieren
Kopiert
Kopieren
Kopiert
//get plugin infos from Wordpress.org API
$plugin_split = explode('/',$plugin);
$plugin_slug = $plugin_split[0];
$args = (object) array( 'slug' => $plugin_slug );
$request = array( 'action' => 'plugin_information', 'timeout' => 15, 'request' => serialize( $args) );
$url = 'http://api.wordpress.org/plugins/info/1.0/';
$response = wp_remote_post( $url, array( 'body' => $request ) );
$plugin_info = unserialize( $response['body'] );
$download_link = $plugin_info->download_link;
Kopieren
Kopiert
Kopieren
Kopiert
if ( !isset( $
current->response[ $plugin ]
) ) {
if ( !isset( $
download_link
) ) {
$this->skin->set_result(true);
$this->skin->set_result(true);
$this->skin->before();
$this->skin->before();
Kopieren
Kopiert
Kopieren
Kopiert
$this->skin->feedback('
up_to_date
');
$this->skin->feedback('
no_package
');
$this->skin->after();
$this->skin->after();
$results[$plugin] = true;
$results[$plugin] = true;
continue;
continue;
}
}
Kopieren
Kopiert
Kopieren
Kopiert
// Get the URL to the zip file
$r = $current->response[ $plugin ];
$this->skin->plugin_active = is_plugin_active($plugin);
$this->skin->plugin_active = is_plugin_active($plugin);
$result = $this->run( array(
$result = $this->run( array(
Kopieren
Kopiert
Kopieren
Kopiert
'package' => $
r->package
,
'package' => $
download_link
,
'destination' => WP_PLUGIN_DIR,
'destination' => WP_PLUGIN_DIR,
'clear_destination' => true,
'clear_destination' => true,
'clear_working' => true,
'clear_working' => true,
'is_multi' => true,
'is_multi' => true,
'hook_extra' => array(
'hook_extra' => array(
'plugin' => $plugin
'plugin' => $plugin
)
)
) );
) );
$results[$plugin] = $this->result;
$results[$plugin] = $this->result;
// Prevent credentials auth screen from displaying multiple times
// Prevent credentials auth screen from displaying multiple times
if ( false === $result )
if ( false === $result )
break;
break;
} //end foreach $plugins
} //end foreach $plugins
Gespeicherte Diffs
Originaltext
Datei öffnen
$this->update_count = count($plugins); $this->update_current = 0; foreach ( $plugins as $plugin ) { $this->update_current++; $this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true); if ( !isset( $current->response[ $plugin ] ) ) { $this->skin->set_result(true); $this->skin->before(); $this->skin->feedback('up_to_date'); $this->skin->after(); $results[$plugin] = true; continue; } // Get the URL to the zip file $r = $current->response[ $plugin ]; $this->skin->plugin_active = is_plugin_active($plugin); $result = $this->run( array( 'package' => $r->package, 'destination' => WP_PLUGIN_DIR, 'clear_destination' => true, 'clear_working' => true, 'is_multi' => true, 'hook_extra' => array( 'plugin' => $plugin ) ) ); $results[$plugin] = $this->result; // Prevent credentials auth screen from displaying multiple times if ( false === $result ) break; } //end foreach $plugins
Bearbeitung
Datei öffnen
$this->update_count = count($plugins); $this->update_current = 0; foreach ( $plugins as $plugin ) { $this->update_current++; $this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true); //get plugin infos from Wordpress.org API $plugin_split = explode('/',$plugin); $plugin_slug = $plugin_split[0]; $args = (object) array( 'slug' => $plugin_slug ); $request = array( 'action' => 'plugin_information', 'timeout' => 15, 'request' => serialize( $args) ); $url = 'http://api.wordpress.org/plugins/info/1.0/'; $response = wp_remote_post( $url, array( 'body' => $request ) ); $plugin_info = unserialize( $response['body'] ); $download_link = $plugin_info->download_link; if ( !isset( $download_link ) ) { $this->skin->set_result(true); $this->skin->before(); $this->skin->feedback('no_package'); $this->skin->after(); $results[$plugin] = true; continue; } $this->skin->plugin_active = is_plugin_active($plugin); $result = $this->run( array( 'package' => $download_link, 'destination' => WP_PLUGIN_DIR, 'clear_destination' => true, 'clear_working' => true, 'is_multi' => true, 'hook_extra' => array( 'plugin' => $plugin ) ) ); $results[$plugin] = $this->result; // Prevent credentials auth screen from displaying multiple times if ( false === $result ) break; } //end foreach $plugins
Unterschied finden