Login With Ajax - Version 3.1.8.1

Version Description

  • fixed translations from translate.wordpress.org not loading properly (languages must be translated %95 or more),
  • fixed settings pages save button not working in 3.1.8 release
Download this release

Release Info

Developer netweblogic
Plugin Icon 128x128 Login With Ajax
Version 3.1.8.1
Comparing to
See all releases

Code changes from version 3.1.8 to 3.1.8.1

Files changed (3) hide show
  1. login-with-ajax-admin.php +1 -1
  2. login-with-ajax.php +2 -8
  3. readme.txt +19 -2
login-with-ajax-admin.php CHANGED
@@ -145,7 +145,7 @@ class LoginWithAjaxAdmin{
145
  </div>
146
  <div id="post-body">
147
  <div id="post-body-content">
148
- <p method="post" action="">
149
  <h3><?php _e("General Settings", 'login-with-ajax'); ?></h3>
150
  <table class="form-table">
151
  <?php if( count(LoginWithAjax::$templates) > 1 ) : ?>
145
  </div>
146
  <div id="post-body">
147
  <div id="post-body-content">
148
+ <form method="post" action="">
149
  <h3><?php _e("General Settings", 'login-with-ajax'); ?></h3>
150
  <table class="form-table">
151
  <?php if( count(LoginWithAjax::$templates) > 1 ) : ?>
login-with-ajax.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Login With Ajax
4
  Plugin URI: http://wordpress.org/extend/plugins/login-with-ajax/
5
  Description: Ajax driven login widget. Customisable from within your template folder, and advanced settings from the admin area.
6
  Author: Marcus Sykes
7
- Version: 3.1.8
8
  Author URI: http://msyk.es/?utm_source=login-with-ajax&utm_medium=plugin-header&utm_campaign=plugins
9
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
10
  Text Domain: login-with-ajax
@@ -24,7 +24,7 @@ GNU General Public License for more details.
24
  You should have received a copy of the GNU General Public License
25
  along with this program. If not, see <http://www.gnu.org/licenses/>.
26
  */
27
- define('LOGIN_WITH_AJAX_VERSION', '3.1.8');
28
  class LoginWithAjax {
29
 
30
  /**
@@ -517,12 +517,6 @@ if( version_compare( get_option('lwa_version',0), LOGIN_WITH_AJAX_VERSION, '<' )
517
  include_once('lwa-install.php');
518
  }
519
 
520
- //Add translation
521
- function lwa_load_plugin_textdomain(){
522
- load_plugin_textdomain('login-with-ajax', false, "login-with-ajax/langs");
523
- }
524
- add_action('plugins_loaded','lwa_load_plugin_textdomain');
525
-
526
  //Include admin file if needed
527
  if(is_admin()){
528
  include_once('login-with-ajax-admin.php');
4
  Plugin URI: http://wordpress.org/extend/plugins/login-with-ajax/
5
  Description: Ajax driven login widget. Customisable from within your template folder, and advanced settings from the admin area.
6
  Author: Marcus Sykes
7
+ Version: 3.1.8.1
8
  Author URI: http://msyk.es/?utm_source=login-with-ajax&utm_medium=plugin-header&utm_campaign=plugins
9
  Tags: Login, Ajax, Redirect, BuddyPress, MU, WPMU, sidebar, admin, widget
10
  Text Domain: login-with-ajax
24
  You should have received a copy of the GNU General Public License
25
  along with this program. If not, see <http://www.gnu.org/licenses/>.
26
  */
27
+ define('LOGIN_WITH_AJAX_VERSION', '3.1.8.1');
28
  class LoginWithAjax {
29
 
30
  /**
517
  include_once('lwa-install.php');
518
  }
519
 
 
 
 
 
 
 
520
  //Include admin file if needed
521
  if(is_admin()){
522
  include_once('login-with-ajax-admin.php');
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: login, ajax, ajax login, registration, redirect redirect, buddypress, mult
4
  Text Domain: events-manager
5
  Requires at least: 4.8
6
  Tested up to: 5.2
7
- Stable tag: 3.1.8
8
  Requires PHP: 5.2
9
  License: GPLv2 or later
10
 
@@ -35,7 +35,7 @@ If you have any problems with the plugin after reading the FAQ, Other Notes, etc
35
 
36
  = Translated Languages Available =
37
 
38
- To view translated languages avaialble or to contribute translations in your language, visit the [WordPress translation portal](https://translate.wordpress.org/projects/wp-plugins/login-with-ajax/)
39
 
40
  == Installation ==
41
 
@@ -131,6 +131,19 @@ The JavaScript ajax magic relies on the class names and hierarchical structure w
131
 
132
  == Frequently Asked Questions ==
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  = The registration link doesn't show! What's wrong? =
135
  Before you start troubleshooting, make sure your blog has registrations enabled via the admin area (Settings > General) and that your widget has the registration link box checked.
136
 
@@ -150,6 +163,10 @@ For further questions and answers (or to submit one yourself) go to our [https:/
150
 
151
 
152
  == Changelog ==
 
 
 
 
153
  = 3,1,8 =
154
  * removed langs file, as WP translate services now handle translation and updates automatically
155
  * updated admin area to include %LANG% hints in redirect templates and split login/logout for clearler explanations of other placeholders that can be used
4
  Text Domain: events-manager
5
  Requires at least: 4.8
6
  Tested up to: 5.2
7
+ Stable tag: 3.1.8.1
8
  Requires PHP: 5.2
9
  License: GPLv2 or later
10
 
35
 
36
  = Translated Languages Available =
37
 
38
+ To view translated languages avaialble or to contribute translations in your language, visit the [WordPress translation portal](https://translate.wordpress.org/projects/wp-plugins/login-with-ajax/). Any translated languages over 90% will be automatically installed with the plugin, for other languages not fully translated, please see our FAQ.
39
 
40
  == Installation ==
41
 
131
 
132
  == Frequently Asked Questions ==
133
 
134
+ = Language Support =
135
+ If your language has been translated 90% or more on the [translate.wordpress.org project page](https://translate.wordpress.org/projects/wp-plugins/login-with-ajax/), then your language translation of Login With Ajax should be automatically installed and maintained by WordPress.
136
+
137
+ If not, you can also manually install this, we'll use Russian as an example:
138
+
139
+ 1. Find your language on the [translate.wordpress.org project page](https://translate.wordpress.org/projects/wp-plugins/login-with-ajax/), and click on either the stable or development column percentage.
140
+ 2. Click the 'Export' link at the bottom of the page, but select 'All Current' and the (.mo) file format, save the downloaded file.
141
+ 3. Rename that file in the format of login-with-ajax-LANG.mo, where LANG = your language locale, for example russian is ru_RU so you'd get `login-with-ajax-ru_RU.mo`
142
+ 4. Upload that file to the `wp-content/languages/plugins` folder on your WordPress installation.
143
+ 5. Your Login With Ajax plugin should now be translated partially into your language.
144
+
145
+ We suggest you contribute to the WordPress translation project page, anyone with a registered wordpress.org account can suggest new translations!
146
+
147
  = The registration link doesn't show! What's wrong? =
148
  Before you start troubleshooting, make sure your blog has registrations enabled via the admin area (Settings > General) and that your widget has the registration link box checked.
149
 
163
 
164
 
165
  == Changelog ==
166
+ = 3.1.8.1 =
167
+ * fixed translations from translate.wordpress.org not loading properly (languages must be translated %95 or more),
168
+ * fixed settings pages save button not working in 3.1.8 release
169
+
170
  = 3,1,8 =
171
  * removed langs file, as WP translate services now handle translation and updates automatically
172
  * updated admin area to include %LANG% hints in redirect templates and split login/logout for clearler explanations of other placeholders that can be used