WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Shortcode Bug in latest version (3 posts)

  1. Blue Liquid Designs
    Member
    Posted 1 year ago #

    Hi,

    I just thought I'd point out a bug related to the shortcode routing. I had the problem where I created a custom registration page but the page was showing both login and registration forms.

    The problem turned out to be line 209 of wp-members-core.php:
    $page = ( 'user-profile' ) ? 'members-area' : $page;

    The above line always returns true and turns $page into members-area.

    The replacement line solved the problem:
    $page = ( $page == 'user-profile' ) ? 'members-area' : $page;

    Thought I'd let you know.

    Thanks for the great plugin!

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    DOH!

    Thanks for pointing that out.

    I put the correction in the download package and will release a patch announcement.

  3. Blue Liquid Designs
    Member
    Posted 1 year ago #

    No worries. It's always nice to get feedback about the product your working on (I develop my own WP plugin too).

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.