Skip to content

Instantly share code, notes, and snippets.

@ocean90
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ocean90/999c6ee0bab6431cfa3d to your computer and use it in GitHub Desktop.
Save ocean90/999c6ee0bab6431cfa3d to your computer and use it in GitHub Desktop.
Plugin Update: First run, the only one
// Output of error_log( print_r( debug_backtrace( DEBUG_BACKTRACE_PROVIDE_OBJECT | DEBUG_BACKTRACE_IGNORE_ARGS ), true ) );
Array
(
[0] => Array
(
[function] => async_upgrade
[class] => Language_Pack_Upgrader
[type] => ::
)
[1] => Array
(
[file] => /srv/www/wp-develop/svn/build/wp-includes/plugin.php
[line] => 504
[function] => call_user_func_array
)
[2] => Array
(
[file] => /srv/www/wp-develop/svn/build/wp-admin/includes/class-wp-upgrader.php
[line] => 684
[function] => do_action
)
[3] => Array
(
[file] => /srv/www/wp-develop/svn/build/wp-admin/update.php
[line] => 44
[function] => bulk_upgrade
[class] => Plugin_Upgrader
[object] => Plugin_Upgrader Object
(
[result] => Array
(
[source] => /srv/www/wp-develop/svn/build/wp-content/upgrade/debug-bar.tmp/debug-bar/
[source_files] => Array
(
[0] => css
[1] => debug-bar.php
[2] => js
[3] => panels
[4] => readme.txt
)
[destination] => /srv/www/wp-shared/develop-plugins/debug-bar/
[destination_name] => debug-bar
[local_destination] => /srv/www/wp-shared/develop-plugins
[remote_destination] => /srv/www/wp-shared/develop-plugins/debug-bar/
[clear_destination] => 1
)
[bulk] => 1
[strings] => Array
(
[skin_upgrade_start] => Der Updateprozess beginnt. Dies kann eine Weile dauern, hab bitte etwas Geduld.
[skin_update_failed_error] => Beim Aktualisieren von %1$s trat ein Fehler auf: <strong>%2$s</strong>
[skin_update_failed] => Das aktualisieren von %1$s schlug fehl.
[skin_update_successful] => %1$s erfolgreich aktualisiert. <a onclick="%2$s" href="#" class="hide-if-no-js"><span>Details anzeigen</span><span class="hidden">Verberge Details</span>.</a>
[skin_upgrade_end] => Alle Aktualisierungen sind komplett.
[skin_before_update_header] => Aktualisiere Plugin %1$s (%2$d von %3$d)
[bad_request] => Ungültige Daten eingegeben.
[fs_unavailable] => Konnte nicht auf das Dateisystem zugreifen.
[fs_error] => Dateisystem-Fehler.
[fs_no_root_dir] => WordPress Verzeichnis kann nicht gefunden werden.
[fs_no_content_dir] => Das Verzeichnis "wp-content" konnte nicht gefunden werden.
[fs_no_plugins_dir] => WordPress-Plugin-Verzeichnis konnte nicht gefunden werden.
[fs_no_themes_dir] => Das WordPress Themeverzeichnis konnte nicht gefunden werden.
[fs_no_folder] => Der benötigte Ordner (%s) kann nicht gefunden werden.
[download_failed] => Download fehlgeschlagen.
[installing_package] => Die aktuelle Version wird installiert&#8230;
[no_files] => Das Paket enthält keine Dateien.
[folder_exists] => Der Zielordner existiert bereits.
[mkdir_failed] => Verzeichnis konnte nicht angelegt werden.
[incompatible_archive] => Das Paket konnte nicht installiert werden.
[maintenance_start] => Anschalten des Wartungsmodus&#8230;
[maintenance_end] => Abschalten des Wartungsmodus&#8230;
[up_to_date] => Das Plugin ist auf dem neuesten Stand.
[no_package] => Update-Paket nicht verfügbar.
[downloading_package] => Runterladen der Aktualisierung von <span class="code">%s</span>&#8230;
[unpack_package] => Entpacken der aktualisierten Version&#8230;
[remove_old] => Die alte Version des Plugins wird entfernt&#8230;
[remove_old_failed] => Altes Plugin konnte nicht entfernt werden.
[process_failed] => Plugin-Aktualisierung fehlgeschlagen.
[process_success] => Plugin erfolgreich aktualisiert.
)
[skin] => Bulk_Plugin_Upgrader_Skin Object
(
[plugin_info] => Array
(
[Name] => Debug Bar
[PluginURI] => http://wordpress.org/extend/plugins/debug-bar/
[Version] => 0.8.0
[Description] => Adds a debug menu to the admin bar that shows query, cache, and other helpful debugging information.
[Author] => wordpressdotorg
[AuthorURI] => http://wordpress.org/
[TextDomain] =>
[DomainPath] =>
[Network] =>
[Title] => Debug Bar
[AuthorName] => wordpressdotorg
)
[in_loop] =>
[error] =>
[upgrader] => Plugin_Upgrader Object
*RECURSION*
[done_header] =>
[done_footer] =>
[result] => Array
(
[source] => /srv/www/wp-develop/svn/build/wp-content/upgrade/debug-bar.tmp/debug-bar/
[source_files] => Array
(
[0] => css
[1] => debug-bar.php
[2] => js
[3] => panels
[4] => readme.txt
)
[destination] => /srv/www/wp-shared/develop-plugins/debug-bar/
[destination_name] => debug-bar
[local_destination] => /srv/www/wp-shared/develop-plugins
[remote_destination] => /srv/www/wp-shared/develop-plugins/debug-bar/
[clear_destination] => 1
)
[options] => Array
(
[url] => update.php?action=update-selected&amp;plugins=debug-bar%2Fdebug-bar.php
[nonce] => bulk-update-plugins
[title] =>
[context] =>
)
[plugin_active] => 1
)
[update_count] => 1
[update_current] => 1
)
[type] => ->
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment