PHP Class Update_Logic

Mostrar archivo Open project: anttiviljami/wp-safe-updates Class Usage Examples

Public Properties

Property Type Description
$instance

Public Methods

Method Description
hack_disable_maintenance_mode ( $options ) HACK: Disable maintenance mode right after enabling it in alt heaps
hack_plugin_update_text ( $translated_text, $untranslated_text, $domain ) HACK: filter the gettext value of the update string for a plugin
init ( )
unlink_old_plugin ( $removed, $args ) Before attempting an upgrade in an alt heap, remove the symlink

Private Methods

Method Description
__construct ( )

Method Details

hack_disable_maintenance_mode() public method

HACK: Disable maintenance mode right after enabling it in alt heaps
public hack_disable_maintenance_mode ( $options )

hack_plugin_update_text() public method

HACK: filter the gettext value of the update string for a plugin
public hack_plugin_update_text ( $translated_text, $untranslated_text, $domain )

init() public static method

public static init ( )

Property Details

$instance public_oe static_oe property

public static $instance