Sidebar Login - Version 3.0.1

Version Description

  • Fix - Fix rendering of additional links when using non-latin characters in the link text.
Download this release

Release Info

Developer mikejolley
Plugin Icon 128x128 Sidebar Login
Version 3.0.1
Comparing to
See all releases

Code changes from version 3.0.0 to 3.0.1

readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: login, sidebar, widget, sidebar login, login widget, login form
5
  Requires at least: 5.0
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 3.0.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -80,6 +80,9 @@ These tags can be used in the widget settings for titles + links and will be rep
80
 
81
  == Changelog ==
82
 
 
 
 
83
  = 3.0.0 =
84
  * Refactor - Rewritten majority of plugin using more up to date standards and namespaces.
85
  * Refactor - Cleaned up the widget settings form to make functionality clearer.
5
  Requires at least: 5.0
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 3.0.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
80
 
81
  == Changelog ==
82
 
83
+ = 3.0.1 =
84
+ * Fix - Fix rendering of additional links when using non-latin characters in the link text.
85
+
86
  = 3.0.0 =
87
  * Refactor - Rewritten majority of plugin using more up to date standards and namespaces.
88
  * Refactor - Cleaned up the widget settings form to make functionality clearer.
sidebar-login.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin Name: Sidebar Login
12
  * Plugin URI: http://wordpress.org/extend/plugins/sidebar-login/
13
  * Description: Easily add an ajax-enhanced login widget to the sidebar of your WordPress site.
14
- * Version: 3.0.0
15
  * Author: Mike Jolley
16
  * Author URI: http://mikejolley.com
17
  * Requires at least: 5.0
11
  * Plugin Name: Sidebar Login
12
  * Plugin URI: http://wordpress.org/extend/plugins/sidebar-login/
13
  * Description: Easily add an ajax-enhanced login widget to the sidebar of your WordPress site.
14
+ * Version: 3.0.1
15
  * Author: Mike Jolley
16
  * Author URI: http://mikejolley.com
17
  * Requires at least: 5.0
src/Utilities/ListLinks.php CHANGED
@@ -54,8 +54,7 @@ class ListLinks {
54
  if ( ! empty( $cap ) && ! current_user_can( $cap ) ) {
55
  continue;
56
  }
57
-
58
- $links[ sanitize_key( $text ) ] = array(
59
  'text' => $text,
60
  'href' => $href,
61
  );
54
  if ( ! empty( $cap ) && ! current_user_can( $cap ) ) {
55
  continue;
56
  }
57
+ $links[ sanitize_title( $text ) ] = array(
 
58
  'text' => $text,
59
  'href' => $href,
60
  );
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit4a0c1d47dc92d09d4bb01379b04b3bdb::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit6fac978289a89fd4cf8dc66cd70330ec::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit4a0c1d47dc92d09d4bb01379b04b3bdb
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit4a0c1d47dc92d09d4bb01379b04b3bdb
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit4a0c1d47dc92d09d4bb01379b04b3bdb', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit4a0c1d47dc92d09d4bb01379b04b3bdb', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit4a0c1d47dc92d09d4bb01379b04b3bdb::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit6fac978289a89fd4cf8dc66cd70330ec
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit6fac978289a89fd4cf8dc66cd70330ec', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit6fac978289a89fd4cf8dc66cd70330ec', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit6fac978289a89fd4cf8dc66cd70330ec::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit4a0c1d47dc92d09d4bb01379b04b3bdb
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'M' =>
@@ -31,8 +31,8 @@ class ComposerStaticInit4a0c1d47dc92d09d4bb01379b04b3bdb
31
  public static function getInitializer(ClassLoader $loader)
32
  {
33
  return \Closure::bind(function () use ($loader) {
34
- $loader->prefixLengthsPsr4 = ComposerStaticInit4a0c1d47dc92d09d4bb01379b04b3bdb::$prefixLengthsPsr4;
35
- $loader->prefixDirsPsr4 = ComposerStaticInit4a0c1d47dc92d09d4bb01379b04b3bdb::$prefixDirsPsr4;
36
 
37
  }, null, ClassLoader::class);
38
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit6fac978289a89fd4cf8dc66cd70330ec
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'M' =>
31
  public static function getInitializer(ClassLoader $loader)
32
  {
33
  return \Closure::bind(function () use ($loader) {
34
+ $loader->prefixLengthsPsr4 = ComposerStaticInit6fac978289a89fd4cf8dc66cd70330ec::$prefixLengthsPsr4;
35
+ $loader->prefixDirsPsr4 = ComposerStaticInit6fac978289a89fd4cf8dc66cd70330ec::$prefixDirsPsr4;
36
 
37
  }, null, ClassLoader::class);
38
  }