Changeset 1030856
- Timestamp:
- 11/22/2014 06:39:55 PM (11 years ago)
- Location:
- better-delete-revision/trunk
- Files:
-
- 2 deleted
- 2 edited
-
better-delete-revision.php (modified) (2 diffs)
-
bwl_menu (deleted)
-
images (deleted)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
better-delete-revision/trunk/better-delete-revision.php
r1030151 r1030856 14 14 best things you can do to your Wordpress blog to keep it running as fast as it 15 15 can. 16 Author: Galerio & Urda , BestWebLayout17 Version: 1.6 16 Author: Galerio & Urda 17 Version: 1.6.1 18 18 Author URI: http://www.1e2.it/ 19 19 License: GPLv3 or later … … 37 37 function bdr_admin_menu() { 38 38 add_options_page( __( 'Better Delete Revision', 'bdr' ), __( 'Better Delete Revision', 'bdr' ), 'manage_options', basename( __FILE__ ), 'bdr_page' ); 39 40 global $bstwblt_options, $bstwblt_added_menu;41 $bwl_menu_info = get_plugin_data( plugin_dir_path( __FILE__ ) . "bwl_menu/bwl_menu.php" );42 $bwl_menu_version = $bwl_menu_info["Version"];43 $base = plugin_basename(__FILE__);44 45 if ( ! isset( $bstwblt_options ) ) {46 if ( function_exists( 'is_multisite' ) ) {47 if ( is_multisite() ) {48 if ( ! get_site_option( 'bstwblt_options' ) )49 add_site_option( 'bstwblt_options', array(), '', 'yes' );50 $bstwbsftwppdtplgns_options = get_site_option( 'bstwblt_options' );51 } else {52 if ( ! get_option( 'bstwblt_options' ) )53 add_option( 'bstwblt_options', array(), '', 'yes' );54 $bstwblt_options = get_option( 'bstwblt_options' );55 }56 } else {57 if ( ! get_option( 'bstwblt_options' ) )58 add_option( 'bstwblt_options', array(), '', 'yes' );59 $bstwblt_options = get_option( 'bstwblt_options' );60 }61 }62 63 if ( ! isset( $bstwblt_options['bwl_menu']['version'][ $base ] ) || $bstwblt_options['bwl_menu']['version'][ $base ] < $bwl_menu_version ) {64 $bstwblt_options['bwl_menu']['version'][ $base ] = $bwl_menu_version;65 update_option( 'bstwblt_options', $bstwblt_options, '', 'yes' );66 require_once( dirname( __FILE__ ) . '/bwl_menu/bwl_menu.php' );67 } else if ( ! isset( $bstwblt_added_menu ) ) {68 $plugin_with_newer_menu = $base;69 foreach ( $bstwblt_options['bwl_menu']['version'] as $key => $value ) {70 if ( $bwl_menu_version < $value && is_plugin_active( $base ) )71 $plugin_with_newer_menu = $key;72 }73 74 $plugin_with_newer_menu = explode( '/', $plugin_with_newer_menu );75 76 $wp_content_dir = defined( 'WP_CONTENT_DIR' ) ? basename( WP_CONTENT_DIR ) : 'wp-content';77 if ( file_exists( ABSPATH . $wp_content_dir . '/plugins/' . $plugin_with_newer_menu[0] . '/bwl_menu/bwl_menu.php' ) )78 require_once( ABSPATH . $wp_content_dir . '/plugins/' . $plugin_with_newer_menu[0] . '/bwl_menu/bwl_menu.php' );79 else80 require_once( dirname( __FILE__ ) . '/bwl_menu/bwl_menu.php' );81 $bstwblt_added_menu = true;82 }83 add_menu_page( 'BWL Plugins', 'BWL Plugins', 'manage_options', 'bwl_plugins', 'bwl_add_menu_render', plugins_url( "images/px.png", __FILE__ ), 1001 );84 39 } 85 40 } -
better-delete-revision/trunk/readme.txt
r1030151 r1030856 1 1 === Better Delete Revision === 2 Contributors: galerio, Urda , bestweblayout2 Contributors: galerio, Urda 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K72TR62V5ZDU8 4 4 Tags: better delete revision, revision, delete, remove, removal, revision removal, delete revision, disable revision, no revision, revision manager, manage revision, remove revision, post revision, page revision, optimize database, database optimization, optimize, fast, light, faster, lighter, speed up, improve site performance, redundant revisions, perform optimization, delete revision from database, remove old database content, reduce database size 5 5 Requires at least: 2.7 6 6 Tested up to: 4.0.1 7 Stable tag: 1.6 7 Stable tag: 1.6.1 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 18 18 This plugin can also perform optimizations on your Wordpress database. With optimization and old revision removal this plugin will keep your database lighter and smaller throughout use. Removing old revisions and database optimizations is one of the best things you can do to your Wordpress blog to keep it running as fast as it can. 19 19 20 Please pay ATTENTION, if you use the NextGEN Gallery plugin, some problems may occur when deleting revisions of posts or pages that contain the shortcode of the NextGEN Gallery plugin. So if you also use the NextGEN Gallery plugin we recommend you to make a backup before using the Better Delete Revision.20 Please pay ATTENTION, even if we added a fix that solve the problem, if you use the NextGEN Gallery plugin, some problems may occur when deleting revisions of posts or pages that contain the shortcode of the NextGEN Gallery plugin. So if you also use the NextGEN Gallery plugin we recommend you to make a backup before using the Better Delete Revision. 21 21 22 22 Wordpress MU or customs installation (like some pre-made installation of some Hosting Providers) are not yet supported. Wordpress MU support is in our TODO list. … … 67 67 68 68 == Changelog == 69 70 = V1.6.1 - 22.11.2014 = 71 * Removed : Unnecessary and unwanted menu 69 72 70 73 = V1.6 - 21.11.2014 =
Note: See TracChangeset
for help on using the changeset viewer.