Giter VIP home page Giter VIP logo

backup's People

Contributors

iclanzan avatar sergeyklay avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

backup's Issues

2.0.1

When version 2.0.1 will get into the main repository of Wordpress?

Wordpress version check

Maybe include a version check?
Here is an example of such a check:

<?php
function check_version() {
    global $wp_version;
    $plugin = plugin_basename( __FILE__ );
    $plugin_data = get_plugin_data( __FILE__, false );

    if ( version_compare($wp_version, "3.0", "<" ) ) {
        if( is_plugin_active($plugin) ) {
            deactivate_plugins( $plugin );
            wp_die( "'".$plugin_data['Name']."' requires WordPress 3.0 or higher! Deactivating Plugin.<br /><br />Back to <a href='".admin_url()."'>WordPress admin</a>." );
        }
    }
}
add_action( 'admin_init', 'check_version' );

README.md

Maybe it makes sense to change "A WordPress backup plugin." to something more meaningful (e.g. "Plugin Backup. Allows you to make backup copies of the Wordpress website in Google Drive and locally")?

2.1

Undefined variable:

  • flushed in backup.php:
<?php
    function always_flush() {
        if( !isset( $this->$flushed ) ) {
            // All this is needed in order that every echo gets sent to the browser.
            // Code taken from php.net user contributed notes.
            @apache_setenv('no-gzip', 1);
            @ini_set('zlib.output_compression', 0);
            @ini_set('implicit_flush', 1);
            wp_ob_end_flush_all();
            ob_implicit_flush(1);
            $this->flushed = true;
        }
    }

Way to output error messages

I am interested in such a way to output error messages:

<?php
/**
 * trigger_error()
 *
 * @param string $error_msg
 * @param boolean $fatal_error | catched a fatal error - when we exit, then we can't go further than this point
 * @param unknown_type $error_type
 * @return void
 */
function error( $error_msg, $fatal_error = false, $error_type = E_USER_ERROR )  {
    if( isset( $_GET['action'] ) && 'error_scrape' == $_GET['action'] ) {
        echo "{$error_msg}\n";
        if ( $fatal_error )
            exit;
    }
    else {
        trigger_error( $error_msg, $error_type );
    }
}

New screenshot

For the 2.1 branch should make a new screenshot. Because that in the 2.1 branch, has appeared new Metabox Action

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.