Plugin Directory

Changeset 721340


Ignore:
Timestamp:
06/01/2013 03:39:37 PM (13 years ago)
Author:
sideways8
Message:

Bugfix update, version 0.8.6

Location:
s8-custom-login-and-registration
Files:
1 added
2 deleted
2 edited
16 copied

Legend:

Unmodified
Added
Removed
  • s8-custom-login-and-registration/tags/0.8.6/readme.txt

    r721036 r721340  
    44Requires at least: 3.3
    55Tested up to: 3.5.1
    6 Stable tag: 0.8.5
     6Stable tag: 0.8.6
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5656
    5757== Upgrade Notice ==
     58= 0.8.6 =
     59Minor bug fix related to the number 1 appearing on some forms
    5860= 0.8.5 =
    5961Several major and minor bug fixes with some code improvements
     
    7072
    7173== Changelog ==
     74= 0.8.6 =
     75* Fixed a bug where the number "1" could appear at the bottom of some forms.
    7276= 0.8.5 =
    7377* 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  
    55 * 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.
    66 * 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.5
     7 * Version: 0.8.6
    88 * Author: Sideways8 Interactive
    99 * Author URI: http://sideways8.com/
     
    2626class s8_login_registration {
    2727    const ep_login = 'login';
    28     private $version = '0.8.5',
     28    private $version = '0.8.6',
    2929            $title = '404 Not Found',
    3030            $content = 'Sorry, what you are looking for could not be found!';
     
    395395                if(strpos($form_text[$action], '%FORM%') !== false) {
    396396                    $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] : '';
    400400                }
    401401                else {
     
    438438            if(!is_array($form_text)) $form_text = array();
    439439            if($form_text[$action]) {
     440                ob_start();
    440441                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] : '';
    445446                }
    446447                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();
    451452            }
    452453        }
     
    483484            if(!is_array($form_text)) $form_text = array();
    484485            if($form_text[$action]) {
     486                ob_start();
    485487                if(strpos($form_text[$action], '%FORM%') !== false) {
    486488                    $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] : '';
    490492                }
    491493                else {
     
    493495                    s8_clr_get_form($action, $args);
    494496                }
    495                 return true;
     497                return ob_get_clean();
    496498            }
    497499        }
     
    528530            if(!is_array($form_text)) $form_text = array();
    529531            if($form_text[$action]) {
     532                ob_start();
    530533                if(strpos($form_text[$action], '%FORM%') !== false) {
    531534                    $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] : '';
    535538                }
    536539                else {
     
    538541                    s8_clr_get_form($action, $args);
    539542                }
    540                 return true;
     543                return ob_get_clean();
    541544            }
    542545        }
  • s8-custom-login-and-registration/trunk/readme.txt

    r721036 r721340  
    44Requires at least: 3.3
    55Tested up to: 3.5.1
    6 Stable tag: 0.8.5
     6Stable tag: 0.8.6
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5656
    5757== Upgrade Notice ==
     58= 0.8.6 =
     59Minor bug fix related to the number 1 appearing on some forms
    5860= 0.8.5 =
    5961Several major and minor bug fixes with some code improvements
     
    7072
    7173== Changelog ==
     74= 0.8.6 =
     75* Fixed a bug where the number "1" could appear at the bottom of some forms.
    7276= 0.8.5 =
    7377* 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  
    55 * 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.
    66 * 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.5
     7 * Version: 0.8.6
    88 * Author: Sideways8 Interactive
    99 * Author URI: http://sideways8.com/
     
    2626class s8_login_registration {
    2727    const ep_login = 'login';
    28     private $version = '0.8.5',
     28    private $version = '0.8.6',
    2929            $title = '404 Not Found',
    3030            $content = 'Sorry, what you are looking for could not be found!';
     
    395395                if(strpos($form_text[$action], '%FORM%') !== false) {
    396396                    $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] : '';
    400400                }
    401401                else {
     
    438438            if(!is_array($form_text)) $form_text = array();
    439439            if($form_text[$action]) {
     440                ob_start();
    440441                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] : '';
    445446                }
    446447                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();
    451452            }
    452453        }
     
    483484            if(!is_array($form_text)) $form_text = array();
    484485            if($form_text[$action]) {
     486                ob_start();
    485487                if(strpos($form_text[$action], '%FORM%') !== false) {
    486488                    $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] : '';
    490492                }
    491493                else {
     
    493495                    s8_clr_get_form($action, $args);
    494496                }
    495                 return true;
     497                return ob_get_clean();
    496498            }
    497499        }
     
    528530            if(!is_array($form_text)) $form_text = array();
    529531            if($form_text[$action]) {
     532                ob_start();
    530533                if(strpos($form_text[$action], '%FORM%') !== false) {
    531534                    $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] : '';
    535538                }
    536539                else {
     
    538541                    s8_clr_get_form($action, $args);
    539542                }
    540                 return true;
     543                return ob_get_clean();
    541544            }
    542545        }
Note: See TracChangeset for help on using the changeset viewer.