Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Updated readme with GitHub proper link, added header data on the main…
Browse files Browse the repository at this point in the history
… plugin file so it can be updated via git-updater, minor code fixes
  • Loading branch information
RuhaniRabin committed Apr 26, 2014
1 parent 47fad5e commit b28732a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WP-Optimize is an extensive WordPress database cleanup and optimization tool. It

Please show your support for this plugin by giving it [a rating](http://wordpress.org/support/view/plugin-reviews/fields-framework?rate=5#postform)!

Now hosted at [Github](http://ruhanirabin.github.io/WP-Optimize) - More updated releases can be found there.
Now hosted at [GitHub](https://github.com/ruhanirabin/WP-Optimize). More updated releases and collaboration can be found over there.

**MAJOR FEATURES:**

Expand Down Expand Up @@ -150,6 +150,7 @@ Of course there is. This is a very primary version of the plugin. So I would rec
= 1.7.6 =
* Now hosted at https://github.com/ruhanirabin/WP-Optimize
* Fix some code problems
* git-updater compatible header

= 1.7.4 =
* More Translation compatibility.
Expand Down
11 changes: 7 additions & 4 deletions wp-optimize.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
Author URI: https://github.com/ruhanirabin/WP-Optimize
Text Domain: wp-optimize
Domain Path: /languages
GitHub Plugin URI: https://github.com/ruhanirabin/wp-optimize
GitHub Branch: master
Copyright 2009-2014 Ruhani Rabin (email : get@ruhanirabin.com)
This program is free software; you can redistribute it and/or modify
Expand All @@ -26,16 +27,18 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/


# ---------------------------------------- #
# Find and replace version info in all files
# ---------------------------------------- #

# ---------------------------------- #
# prevent file from being accessed directly
# ---------------------------------- #
if ('wp-optimize.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not access this file directly. Thanks!');

if ( ! defined( 'WPINC' ) ) {
die;
}

global $current_user;

if (! defined('WPO_VERSION'))
Expand Down

0 comments on commit b28732a

Please sign in to comment.