Add Logo to Admin - Version 1.3.2

Version Description

Download this release

Release Info

Developer tinkerpriest
Plugin Icon wp plugin Add Logo to Admin
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.2

Files changed (2) hide show
  1. add-logo.php +3 -2
  2. readme.txt +6 -1
add-logo.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Add Logo to Admin
4
  Plugin URI: http://bavotasan.com/tidbits/add-your-logo-to-the-wordpress-admin-and-login-page/
5
  Description: Adds a custom logo to your site's Admin header and your login page.
6
  Author: c.bavota
7
- Version: 1.3.1
8
  Author URI: http://bavotasan.com
9
  */
10
 
@@ -14,6 +14,7 @@ add_action('admin_menu', 'add_logo_init');
14
 
15
  //add page to admin
16
  function add_logo_init() {
 
17
  if(stristr($_SERVER['REQUEST_URI'],'&delete-logo')) {
18
  $directory = dirname(__FILE__) . "/images/";
19
  unlink($directory . $_REQUEST['delete-logo']);
@@ -59,7 +60,7 @@ function add_logo_init() {
59
  die;
60
  }
61
 
62
-
63
  add_options_page('Add Logo to Admin', 'Add Logo to Admin', 10, __FILE__, 'my_plugin_options');
64
  }
65
 
4
  Plugin URI: http://bavotasan.com/tidbits/add-your-logo-to-the-wordpress-admin-and-login-page/
5
  Description: Adds a custom logo to your site's Admin header and your login page.
6
  Author: c.bavota
7
+ Version: 1.3.2
8
  Author URI: http://bavotasan.com
9
  */
10
 
14
 
15
  //add page to admin
16
  function add_logo_init() {
17
+ if(stristr($_SERVER['REQUEST_URI'],'?page=add-logo-to-admin/add-logo.php')) {
18
  if(stristr($_SERVER['REQUEST_URI'],'&delete-logo')) {
19
  $directory = dirname(__FILE__) . "/images/";
20
  unlink($directory . $_REQUEST['delete-logo']);
60
  die;
61
  }
62
 
63
+ }
64
  add_options_page('Add Logo to Admin', 'Add Logo to Admin', 10, __FILE__, 'my_plugin_options');
65
  }
66
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: custom logo, admin, login
5
  Requires at least: 2.7
6
  Tested up to: 2.7.1
7
- Stable tag: 1.3.1
8
 
9
  Add a custom logo to your Admin header and to your login page.
10
 
@@ -36,6 +36,11 @@ You can make it any width or height, as well as any file format.
36
 
37
  == Change Log ==
38
 
 
 
 
 
 
39
  1.3.1 (2009-02-26)
40
  <ul>
41
  <li>Fixed issue with spaces in filename</li>
4
  Tags: custom logo, admin, login
5
  Requires at least: 2.7
6
  Tested up to: 2.7.1
7
+ Stable tag: 1.3.2
8
 
9
  Add a custom logo to your Admin header and to your login page.
10
 
36
 
37
  == Change Log ==
38
 
39
+ 1.3.2 (2009-03-01)
40
+ <ul>
41
+ <li>Fixed issue with invading other admin pages save function</li>
42
+ </ul>
43
+
44
  1.3.1 (2009-02-26)
45
  <ul>
46
  <li>Fixed issue with spaces in filename</li>