Changeset 721340
- Timestamp:
- 06/01/2013 03:39:37 PM (13 years ago)
- Location:
- s8-custom-login-and-registration
- Files:
-
- 1 added
- 2 deleted
- 2 edited
- 16 copied
-
tags/0.8.6 (added)
-
tags/0.8.6/admin (copied) (copied from s8-custom-login-and-registration/trunk/admin)
-
tags/0.8.6/admin/settings.php (copied) (copied from s8-custom-login-and-registration/trunk/admin/settings.php)
-
tags/0.8.6/css (copied) (copied from s8-custom-login-and-registration/trunk/css)
-
tags/0.8.6/css/jquery-ui-1.9.0.custom.min.css (copied) (copied from s8-custom-login-and-registration/trunk/css/jquery-ui-1.9.0.custom.min.css)
-
tags/0.8.6/css/s8-login-admin.css (copied) (copied from s8-custom-login-and-registration/trunk/css/s8-login-admin.css)
-
tags/0.8.6/css/s8-login-basic-styles.css (copied) (copied from s8-custom-login-and-registration/trunk/css/s8-login-basic-styles.css)
-
tags/0.8.6/images (copied) (copied from s8-custom-login-and-registration/trunk/images)
-
tags/0.8.6/inc (copied) (copied from s8-custom-login-and-registration/trunk/inc)
-
tags/0.8.6/inc/forms.php (copied) (copied from s8-custom-login-and-registration/trunk/inc/forms.php)
-
tags/0.8.6/inc/functions.php (copied) (copied from s8-custom-login-and-registration/trunk/inc/functions.php)
-
tags/0.8.6/inc/login.php (deleted)
-
tags/0.8.6/inc/register.php (deleted)
-
tags/0.8.6/inc/s8-login-widget.php (copied) (copied from s8-custom-login-and-registration/trunk/inc/s8-login-widget.php)
-
tags/0.8.6/js (copied) (copied from s8-custom-login-and-registration/trunk/js)
-
tags/0.8.6/js/s8-login-admin.js (copied) (copied from s8-custom-login-and-registration/trunk/js/s8-login-admin.js)
-
tags/0.8.6/js/s8-login-failsafe.js (copied) (copied from s8-custom-login-and-registration/trunk/js/s8-login-failsafe.js)
-
tags/0.8.6/readme.txt (copied) (copied from s8-custom-login-and-registration/trunk/readme.txt) (3 diffs)
-
tags/0.8.6/s8-login-registration.php (copied) (copied from s8-custom-login-and-registration/trunk/s8-login-registration.php) (8 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/s8-login-registration.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
s8-custom-login-and-registration/tags/0.8.6/readme.txt
r721036 r721340 4 4 Requires at least: 3.3 5 5 Tested up to: 3.5.1 6 Stable tag: 0.8. 56 Stable tag: 0.8.6 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 56 56 57 57 == Upgrade Notice == 58 = 0.8.6 = 59 Minor bug fix related to the number 1 appearing on some forms 58 60 = 0.8.5 = 59 61 Several major and minor bug fixes with some code improvements … … 70 72 71 73 == Changelog == 74 = 0.8.6 = 75 * Fixed a bug where the number "1" could appear at the bottom of some forms. 72 76 = 0.8.5 = 73 77 * Updated a function related to the login process to more effectively use WordPress' built-in methods -
s8-custom-login-and-registration/tags/0.8.6/s8-login-registration.php
r721036 r721340 5 5 * Description: The way your site is presented to your users is important. That is why we made the "Custom Login and Registration" plugin. It is designed so that both you and your users never see the built-in WP login, registration, and password reset forms. It is still compatible with all of WordPress' built-in functionality and logout links will still function as they should. It also comes with a login form widget to make it easy for your non-logged in visitors to find the login form. 6 6 * Tags: s8, sideways8, sideways 8, custom login, login, registration, form, login widget, widget, theme login, style login, theme, style log in, theme log in, log in, custom log in, brand, brand login, brand log in 7 * Version: 0.8. 57 * Version: 0.8.6 8 8 * Author: Sideways8 Interactive 9 9 * Author URI: http://sideways8.com/ … … 26 26 class s8_login_registration { 27 27 const ep_login = 'login'; 28 private $version = '0.8. 5',28 private $version = '0.8.6', 29 29 $title = '404 Not Found', 30 30 $content = 'Sorry, what you are looking for could not be found!'; … … 395 395 if(strpos($form_text[$action], '%FORM%') !== false) { 396 396 $output = explode('%FORM%', $this->prepare_content($form_text[$action]), 2); 397 echo ( $output[0])?$output[0]:'';398 s8_clr_get_form($action, $args); 399 echo ( $output[1])?$output[1]:'';397 echo ( $output[0] ) ? $output[0] : ''; 398 s8_clr_get_form($action, $args); 399 echo ( $output[1] ) ? $output[1] : ''; 400 400 } 401 401 else { … … 438 438 if(!is_array($form_text)) $form_text = array(); 439 439 if($form_text[$action]) { 440 ob_start(); 440 441 if(strpos($form_text[$action], '%FORM%') !== false) { 441 $output = explode( '%FORM%', $this->prepare_content($form_text[$action]), 2);442 echo $output[0];443 s8_clr_get_form($action, $args); 444 echo $output[1];442 $output = explode( '%FORM%', $this->prepare_content( $form_text[$action] ), 2 ); 443 echo ( $output[0] ) ? $output[0] : ''; 444 s8_clr_get_form($action, $args); 445 echo ( $output[1] ) ? $output[1] : ''; 445 446 } 446 447 else { 447 echo $this->prepare_content( $form_text[$action]);448 s8_clr_get_form($action, $args); 449 } 450 return true;448 echo $this->prepare_content( $form_text[$action] ); 449 s8_clr_get_form($action, $args); 450 } 451 return ob_get_clean(); 451 452 } 452 453 } … … 483 484 if(!is_array($form_text)) $form_text = array(); 484 485 if($form_text[$action]) { 486 ob_start(); 485 487 if(strpos($form_text[$action], '%FORM%') !== false) { 486 488 $output = explode('%FORM%', $this->prepare_content($form_text[$action]), 2); 487 echo $output[0];488 s8_clr_get_form($action, $args); 489 echo $output[1];489 echo ( $output[0] ) ? $output[0] : ''; 490 s8_clr_get_form($action, $args); 491 echo ( $output[1] ) ? $output[1] : ''; 490 492 } 491 493 else { … … 493 495 s8_clr_get_form($action, $args); 494 496 } 495 return true;497 return ob_get_clean(); 496 498 } 497 499 } … … 528 530 if(!is_array($form_text)) $form_text = array(); 529 531 if($form_text[$action]) { 532 ob_start(); 530 533 if(strpos($form_text[$action], '%FORM%') !== false) { 531 534 $output = explode('%FORM%', $this->prepare_content($form_text[$action]), 2); 532 echo $output[0];533 s8_clr_get_form($action, $args); 534 echo $output[1];535 echo ( $output[0] ) ? $output[0] : ''; 536 s8_clr_get_form($action, $args); 537 echo ( $output[1] ) ? $output[1] : ''; 535 538 } 536 539 else { … … 538 541 s8_clr_get_form($action, $args); 539 542 } 540 return true;543 return ob_get_clean(); 541 544 } 542 545 } -
s8-custom-login-and-registration/trunk/readme.txt
r721036 r721340 4 4 Requires at least: 3.3 5 5 Tested up to: 3.5.1 6 Stable tag: 0.8. 56 Stable tag: 0.8.6 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 56 56 57 57 == Upgrade Notice == 58 = 0.8.6 = 59 Minor bug fix related to the number 1 appearing on some forms 58 60 = 0.8.5 = 59 61 Several major and minor bug fixes with some code improvements … … 70 72 71 73 == Changelog == 74 = 0.8.6 = 75 * Fixed a bug where the number "1" could appear at the bottom of some forms. 72 76 = 0.8.5 = 73 77 * Updated a function related to the login process to more effectively use WordPress' built-in methods -
s8-custom-login-and-registration/trunk/s8-login-registration.php
r721036 r721340 5 5 * Description: The way your site is presented to your users is important. That is why we made the "Custom Login and Registration" plugin. It is designed so that both you and your users never see the built-in WP login, registration, and password reset forms. It is still compatible with all of WordPress' built-in functionality and logout links will still function as they should. It also comes with a login form widget to make it easy for your non-logged in visitors to find the login form. 6 6 * Tags: s8, sideways8, sideways 8, custom login, login, registration, form, login widget, widget, theme login, style login, theme, style log in, theme log in, log in, custom log in, brand, brand login, brand log in 7 * Version: 0.8. 57 * Version: 0.8.6 8 8 * Author: Sideways8 Interactive 9 9 * Author URI: http://sideways8.com/ … … 26 26 class s8_login_registration { 27 27 const ep_login = 'login'; 28 private $version = '0.8. 5',28 private $version = '0.8.6', 29 29 $title = '404 Not Found', 30 30 $content = 'Sorry, what you are looking for could not be found!'; … … 395 395 if(strpos($form_text[$action], '%FORM%') !== false) { 396 396 $output = explode('%FORM%', $this->prepare_content($form_text[$action]), 2); 397 echo ( $output[0])?$output[0]:'';398 s8_clr_get_form($action, $args); 399 echo ( $output[1])?$output[1]:'';397 echo ( $output[0] ) ? $output[0] : ''; 398 s8_clr_get_form($action, $args); 399 echo ( $output[1] ) ? $output[1] : ''; 400 400 } 401 401 else { … … 438 438 if(!is_array($form_text)) $form_text = array(); 439 439 if($form_text[$action]) { 440 ob_start(); 440 441 if(strpos($form_text[$action], '%FORM%') !== false) { 441 $output = explode( '%FORM%', $this->prepare_content($form_text[$action]), 2);442 echo $output[0];443 s8_clr_get_form($action, $args); 444 echo $output[1];442 $output = explode( '%FORM%', $this->prepare_content( $form_text[$action] ), 2 ); 443 echo ( $output[0] ) ? $output[0] : ''; 444 s8_clr_get_form($action, $args); 445 echo ( $output[1] ) ? $output[1] : ''; 445 446 } 446 447 else { 447 echo $this->prepare_content( $form_text[$action]);448 s8_clr_get_form($action, $args); 449 } 450 return true;448 echo $this->prepare_content( $form_text[$action] ); 449 s8_clr_get_form($action, $args); 450 } 451 return ob_get_clean(); 451 452 } 452 453 } … … 483 484 if(!is_array($form_text)) $form_text = array(); 484 485 if($form_text[$action]) { 486 ob_start(); 485 487 if(strpos($form_text[$action], '%FORM%') !== false) { 486 488 $output = explode('%FORM%', $this->prepare_content($form_text[$action]), 2); 487 echo $output[0];488 s8_clr_get_form($action, $args); 489 echo $output[1];489 echo ( $output[0] ) ? $output[0] : ''; 490 s8_clr_get_form($action, $args); 491 echo ( $output[1] ) ? $output[1] : ''; 490 492 } 491 493 else { … … 493 495 s8_clr_get_form($action, $args); 494 496 } 495 return true;497 return ob_get_clean(); 496 498 } 497 499 } … … 528 530 if(!is_array($form_text)) $form_text = array(); 529 531 if($form_text[$action]) { 532 ob_start(); 530 533 if(strpos($form_text[$action], '%FORM%') !== false) { 531 534 $output = explode('%FORM%', $this->prepare_content($form_text[$action]), 2); 532 echo $output[0];533 s8_clr_get_form($action, $args); 534 echo $output[1];535 echo ( $output[0] ) ? $output[0] : ''; 536 s8_clr_get_form($action, $args); 537 echo ( $output[1] ) ? $output[1] : ''; 535 538 } 536 539 else { … … 538 541 s8_clr_get_form($action, $args); 539 542 } 540 return true;543 return ob_get_clean(); 541 544 } 542 545 }
Note: See TracChangeset
for help on using the changeset viewer.