Theme My Login - Version 3.0.3

Version Description

  • Fixed a bug with the widget links
Download this release

Release Info

Developer jfarthing84
Plugin Icon 128x128 Theme My Login
Version 3.0.3
Comparing to
See all releases

Code changes from version 3.0.2 to 3.0.3

Files changed (2) hide show
  1. readme.txt +3 -0
  2. theme-my-login.php +4 -4
readme.txt CHANGED
@@ -26,6 +26,9 @@ None yet. Please visit http://www.jfarthing.com/forum for any support!
26
 
27
  == Changelog ==
28
 
 
 
 
29
  = 3.0.2 =
30
  * Fixed a bug that didn't allow custom registration message to be displayed
31
  * Fixed a few PHP unset variable notice's with a call to isset()
26
 
27
  == Changelog ==
28
 
29
+ = 3.0.3 =
30
+ * Fixed a bug with the widget links
31
+
32
  = 3.0.2 =
33
  * Fixed a bug that didn't allow custom registration message to be displayed
34
  * Fixed a few PHP unset variable notice's with a call to isset()
theme-my-login.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Theme My Login
4
  Plugin URI: http://www.jfarthing.com/wordpress-plugins/theme-my-login-plugin
5
  Description: Themes the WordPress login, registration and forgot password pages according to your theme.
6
- Version: 3.0.2
7
  Author: Jeff Farthing
8
  Author URI: http://www.jfarthing.com
9
  */
@@ -26,7 +26,7 @@ if ($wp_version < '2.7') {
26
  if (!class_exists('ThemeMyLogin')) {
27
  class ThemeMyLogin {
28
 
29
- var $version = '3.0.2';
30
  var $options = array();
31
  var $permalink = '';
32
 
@@ -279,10 +279,10 @@ if (!class_exists('ThemeMyLogin')) {
279
  do_action('theme_my_login_avatar', $current_user);
280
  echo '<ul class="theme-my-login-links">' . "\n";
281
  if ($dashboard_link[$user_role] == true) :
282
- echo '<li><a href="' . admin_url() . '">' . __('Dashboard', 'theme-my-login') . '</a></li>' . "\n";
283
  endif;
284
  if ($profile_link[$user_role] == true) :
285
- echo '<li><a href="' . admin_url('profile.php') . '">' . __('Profile', 'theme-my-login') . '</a></li>' . "\n";
286
  endif;
287
  do_action('theme_my_login_links', $user_role);
288
  echo '<li><a href="' . wp_logout_url(wp_guess_url()) . '">' . __('Logout', 'theme-my-login') . '</a></li>' . "\n";
3
  Plugin Name: Theme My Login
4
  Plugin URI: http://www.jfarthing.com/wordpress-plugins/theme-my-login-plugin
5
  Description: Themes the WordPress login, registration and forgot password pages according to your theme.
6
+ Version: 3.0.3
7
  Author: Jeff Farthing
8
  Author URI: http://www.jfarthing.com
9
  */
26
  if (!class_exists('ThemeMyLogin')) {
27
  class ThemeMyLogin {
28
 
29
+ var $version = '3.0.3';
30
  var $options = array();
31
  var $permalink = '';
32
 
279
  do_action('theme_my_login_avatar', $current_user);
280
  echo '<ul class="theme-my-login-links">' . "\n";
281
  if ($dashboard_link[$user_role] == true) :
282
+ echo '<li><a href="' . site_url('wp-admin/', 'admin') . '">' . __('Dashboard', 'theme-my-login') . '</a></li>' . "\n";
283
  endif;
284
  if ($profile_link[$user_role] == true) :
285
+ echo '<li><a href="' . site_url('wp-admin/profile.php', 'admin') . '">' . __('Profile', 'theme-my-login') . '</a></li>' . "\n";
286
  endif;
287
  do_action('theme_my_login_links', $user_role);
288
  echo '<li><a href="' . wp_logout_url(wp_guess_url()) . '">' . __('Logout', 'theme-my-login') . '</a></li>' . "\n";