Plugin Directory

Changeset 1389280


Ignore:
Timestamp:
04/07/2016 11:10:35 AM (10 years ago)
Author:
vlastuin
Message:

Release 1.1 - See changelog

Location:
vevida-optimizer
Files:
8 added
4 deleted
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • vevida-optimizer/tags/1.1/readme.txt

    r1325660 r1389280  
    11=== Plugin Name ===
    22Contributors: vlastuin, janr
    3 Tags: auto-update, updates, mysql optimization, update, automatic update, vevida, hosting
     3Tags: auto-update, updates, MySQL optimization, update, automatic update, vevida, hosting
    44Requires at least: 3.9
    5 Tested up to: 4.4.1
    6 Stable tag: 1.0.15
     5Tested up to: 4.5
     6Stable tag: 1.1
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    1010Easily configure automatic updates from the admin interface and modernize your
    11 mySQL database.
     11MySQL database.
    1212
    1313== License ==
     
    2828
    2929Many websites started originally with older versions of
    30 WordPress. Previously those installs used older versions of mySQL, when the
    31 default table format was myISAM. Nowadays, modern versions of mySQL use the
    32 InnoDB format, which
    33 is currently enabled by default. Through this plugin the database tables can be
    34 optimized for those newer versions of mySQL, converting older myISAM tables to
    35 InnoDB.
     30WordPress. Previously those installs used older versions of MySQL, when the
     31default table format was MyISAM. Nowadays, modern versions of MySQL use the
     32InnoDB format, which is currently enabled by default. Through this plugin
     33the database tables can be optimized for those newer versions of MySQL,
     34converting older MyISAM tables to InnoDB.
    3635This is required only once, and only when you have been using WordPress for a
    37 long time or with a hosting provider that has not actively kept its mySQL
     36long time or with a hosting provider that has not actively kept its MySQL
    3837installations up to date.
    3938
     
    49481. Activate the plugin through the 'Plugins' menu in WordPress
    50491. Configure automatic updates through 'Dashboard' -> 'Update Settings'
    51 1. Optimize your mySQL database through 'Tools' -> 'Convert DB tables'
     501. Optimize your MySQL database through 'Tools' -> 'Convert DB tables'
    5251
    5352Or login to WordPress. Go to Plugins -> Add New and search for Vevida. The search
     
    8786
    8887Go to Tools -> Convert DB tables. This will launch the utility that converts
    89 myISAM tables to InnoDB.
     88MyISAM tables to InnoDB.
    9089
    9190= Why would I convert my database tables? =
    9291
    93 Many older versions of mySQL used myISAM tables by default. Nowadays InnoDB is
    94 used by recent versions of mySQL, and this is a much faster format. If you have
    95 created your WordPress site in the past on previous versions of mySQL, chances
    96 are that you still use myISAM.
     92Many older versions of MySQL used MyISAM tables by default. Nowadays InnoDB is
     93used by recent versions of MySQL, and this is a much faster format. If you have
     94created your WordPress site in the past on previous versions of MySQL, chances
     95are that you still use MyISAM.
    9796
    9897= Can I use this plugin on hosting platforms other than at vevida.com? =
     
    108107== Changelog ==
    109108
     109= 1.1 =
     110Release date: April 7th 2016
     111
     112* Tested with WordPress 4.5
     113* New: major overhaul, Vevida Optimizer now supports its own plugins. Drop your
     114  extension in the plugins/ directory. You do have to add your own plugin to the
     115  WordPress Administration Menu in vevida-optimizer.php, see
     116  https://codex.wordpress.org/Administration_Menus
     117* New: plugins/optimize.php, to perform a manual OPTIMIZE TABLE statement on
     118  WordPress database tables.
     119* Fix: renamed convert_2_innodb.php to convert.php and moved to plugins/.
     120* Fix: renamed functions to a more standard form.
     121* Fix: language updates.
     122
    110123= 1.0.15 =
    111124Release date: January 11th 2016
    112125
    113 * Tested with Wordpress 4.4
     126* Tested with WordPress 4.4
    114127
    115128= 1.0.14 =
  • vevida-optimizer/tags/1.1/vevida-optimizer.php

    r1325660 r1389280  
    44 * Plugin URI: https://wordpress.org/plugins/vevida-optimizer/
    55 * Description: Configure automatic updates for each WordPress component, and optimize the mySQL database tables.
    6  * Version: 1.0.15
     6 * Version: 1.1
    77 * Author: Jan Vlastuin, Jan Reilink
    88 * Author URI: http://vevida.hosting
     
    1919}
    2020
    21 include( plugin_dir_path( __FILE__ ) . 'convert_2_innodb.php');
     21if( !defined( 'VEVIDAOPTIMIZERHOME' ) )
     22    define('VEVIDAOPTIMIZERHOME', dirname(__FILE__).'/');
     23
     24if( !isset( $vevida_optimizer_plugins_dir ) )
     25    $vevida_optimizer_plugins_dir = VEVIDAOPTIMIZERHOME . 'plugins';
     26
     27$plugins = glob( $vevida_optimizer_plugins_dir . '/*.php' );
     28if( is_array( $plugins ) ) {
     29    foreach ( $plugins as $plugin ) {
     30    if( is_file( $plugin ) )
     31        require_once( $plugin );
     32    }
     33}
    2234
    2335/**
     
    94106    /** Add Database Optimisation Page **/
    95107    add_management_page(
    96             'Convert DB tables',
    97             __( 'Convert DB tables', 'vevida-optimizer' ),
     108            'Convert MySQL MyISAM tables to InnoDB',
     109            __( 'Convert MyISAM to InnoDB', 'vevida-optimizer' ),
    98110            'manage_options',
    99             'vevida-optimizer-convertMyisamToInnodb',
    100             'convert_db_tables' );
     111            'vevida-optimizer-convert-myisam-innodb',
     112            'vevida_convert_db_tables' );
     113    add_management_page(
     114            'Optimize MySQL database tables',
     115            __( 'Optimize MySQL database tables', 'vevida-optimizer' ),
     116            'manage_options',
     117            'vevida-optimizer-optimize-db',
     118            'vevida_optimize_db_tables' );
    101119}
    102120add_action( 'admin_menu', 'vevida_optimizer_add_admin_pages' );
     
    141159        array (
    142160            'vevida_optimizer_core_major_updates',
    143             __( 'e.g. WordPress 4.1 to 4.2', 'vevida-optimizer' ) )
     161            __( 'e.g. WordPress 4.4 to 4.5', 'vevida-optimizer' ) )
    144162    );
    145163    register_setting( 'vevida_optimizer_settings_group', 'vevida_optimizer_core_major_updates' );
     
    152170        array (
    153171            'vevida_optimizer_core_minor_updates',
    154             __( 'e.g. WordPress 4.1 to 4.1.1', 'vevida-optimizer' )  )
     172            __( 'e.g. WordPress 4.4.1 to 4.4.2', 'vevida-optimizer' )  )
    155173    );
    156174    register_setting( 'vevida_optimizer_settings_group', 'vevida_optimizer_core_minor_updates' );
  • vevida-optimizer/trunk/readme.txt

    r1325660 r1389280  
    11=== Plugin Name ===
    22Contributors: vlastuin, janr
    3 Tags: auto-update, updates, mysql optimization, update, automatic update, vevida, hosting
     3Tags: auto-update, updates, MySQL optimization, update, automatic update, vevida, hosting
    44Requires at least: 3.9
    5 Tested up to: 4.4.1
    6 Stable tag: 1.0.15
     5Tested up to: 4.5
     6Stable tag: 1.1
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    1010Easily configure automatic updates from the admin interface and modernize your
    11 mySQL database.
     11MySQL database.
    1212
    1313== License ==
     
    2828
    2929Many websites started originally with older versions of
    30 WordPress. Previously those installs used older versions of mySQL, when the
    31 default table format was myISAM. Nowadays, modern versions of mySQL use the
    32 InnoDB format, which
    33 is currently enabled by default. Through this plugin the database tables can be
    34 optimized for those newer versions of mySQL, converting older myISAM tables to
    35 InnoDB.
     30WordPress. Previously those installs used older versions of MySQL, when the
     31default table format was MyISAM. Nowadays, modern versions of MySQL use the
     32InnoDB format, which is currently enabled by default. Through this plugin
     33the database tables can be optimized for those newer versions of MySQL,
     34converting older MyISAM tables to InnoDB.
    3635This is required only once, and only when you have been using WordPress for a
    37 long time or with a hosting provider that has not actively kept its mySQL
     36long time or with a hosting provider that has not actively kept its MySQL
    3837installations up to date.
    3938
     
    49481. Activate the plugin through the 'Plugins' menu in WordPress
    50491. Configure automatic updates through 'Dashboard' -> 'Update Settings'
    51 1. Optimize your mySQL database through 'Tools' -> 'Convert DB tables'
     501. Optimize your MySQL database through 'Tools' -> 'Convert DB tables'
    5251
    5352Or login to WordPress. Go to Plugins -> Add New and search for Vevida. The search
     
    8786
    8887Go to Tools -> Convert DB tables. This will launch the utility that converts
    89 myISAM tables to InnoDB.
     88MyISAM tables to InnoDB.
    9089
    9190= Why would I convert my database tables? =
    9291
    93 Many older versions of mySQL used myISAM tables by default. Nowadays InnoDB is
    94 used by recent versions of mySQL, and this is a much faster format. If you have
    95 created your WordPress site in the past on previous versions of mySQL, chances
    96 are that you still use myISAM.
     92Many older versions of MySQL used MyISAM tables by default. Nowadays InnoDB is
     93used by recent versions of MySQL, and this is a much faster format. If you have
     94created your WordPress site in the past on previous versions of MySQL, chances
     95are that you still use MyISAM.
    9796
    9897= Can I use this plugin on hosting platforms other than at vevida.com? =
     
    108107== Changelog ==
    109108
     109= 1.1 =
     110Release date: April 7th 2016
     111
     112* Tested with WordPress 4.5
     113* New: major overhaul, Vevida Optimizer now supports its own plugins. Drop your
     114  extension in the plugins/ directory. You do have to add your own plugin to the
     115  WordPress Administration Menu in vevida-optimizer.php, see
     116  https://codex.wordpress.org/Administration_Menus
     117* New: plugins/optimize.php, to perform a manual OPTIMIZE TABLE statement on
     118  WordPress database tables.
     119* Fix: renamed convert_2_innodb.php to convert.php and moved to plugins/.
     120* Fix: renamed functions to a more standard form.
     121* Fix: language updates.
     122
    110123= 1.0.15 =
    111124Release date: January 11th 2016
    112125
    113 * Tested with Wordpress 4.4
     126* Tested with WordPress 4.4
    114127
    115128= 1.0.14 =
  • vevida-optimizer/trunk/vevida-optimizer.php

    r1325660 r1389280  
    44 * Plugin URI: https://wordpress.org/plugins/vevida-optimizer/
    55 * Description: Configure automatic updates for each WordPress component, and optimize the mySQL database tables.
    6  * Version: 1.0.15
     6 * Version: 1.1
    77 * Author: Jan Vlastuin, Jan Reilink
    88 * Author URI: http://vevida.hosting
     
    1919}
    2020
    21 include( plugin_dir_path( __FILE__ ) . 'convert_2_innodb.php');
     21if( !defined( 'VEVIDAOPTIMIZERHOME' ) )
     22    define('VEVIDAOPTIMIZERHOME', dirname(__FILE__).'/');
     23
     24if( !isset( $vevida_optimizer_plugins_dir ) )
     25    $vevida_optimizer_plugins_dir = VEVIDAOPTIMIZERHOME . 'plugins';
     26
     27$plugins = glob( $vevida_optimizer_plugins_dir . '/*.php' );
     28if( is_array( $plugins ) ) {
     29    foreach ( $plugins as $plugin ) {
     30    if( is_file( $plugin ) )
     31        require_once( $plugin );
     32    }
     33}
    2234
    2335/**
     
    94106    /** Add Database Optimisation Page **/
    95107    add_management_page(
    96             'Convert DB tables',
    97             __( 'Convert DB tables', 'vevida-optimizer' ),
     108            'Convert MySQL MyISAM tables to InnoDB',
     109            __( 'Convert MyISAM to InnoDB', 'vevida-optimizer' ),
    98110            'manage_options',
    99             'vevida-optimizer-convertMyisamToInnodb',
    100             'convert_db_tables' );
     111            'vevida-optimizer-convert-myisam-innodb',
     112            'vevida_convert_db_tables' );
     113    add_management_page(
     114            'Optimize MySQL database tables',
     115            __( 'Optimize MySQL database tables', 'vevida-optimizer' ),
     116            'manage_options',
     117            'vevida-optimizer-optimize-db',
     118            'vevida_optimize_db_tables' );
    101119}
    102120add_action( 'admin_menu', 'vevida_optimizer_add_admin_pages' );
     
    141159        array (
    142160            'vevida_optimizer_core_major_updates',
    143             __( 'e.g. WordPress 4.1 to 4.2', 'vevida-optimizer' ) )
     161            __( 'e.g. WordPress 4.4 to 4.5', 'vevida-optimizer' ) )
    144162    );
    145163    register_setting( 'vevida_optimizer_settings_group', 'vevida_optimizer_core_major_updates' );
     
    152170        array (
    153171            'vevida_optimizer_core_minor_updates',
    154             __( 'e.g. WordPress 4.1 to 4.1.1', 'vevida-optimizer' )  )
     172            __( 'e.g. WordPress 4.4.1 to 4.4.2', 'vevida-optimizer' )  )
    155173    );
    156174    register_setting( 'vevida_optimizer_settings_group', 'vevida_optimizer_core_minor_updates' );
Note: See TracChangeset for help on using the changeset viewer.