WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
Bug? Can't set correct pages on General Settings (4 posts)

  1. sandman.jp
    Member
    Posted 2 years ago #

    I couldn't set 'Purchase Page' and 'Success Page' on admin's General Settings page.

    Because, there HTML source are like below..

    <select id="edd_settings_general[success_page]" name="edd_settings_general[success_page]">
    <option value="0"></option>
    <option value="1" selected="selected">Purchase History</option>
    <option value="2">お会計</option>
    <option value="3">プラグイン利用許諾書</option>
    <option value="4">会社概要</option>
    <option value="5">購入確認画面</option></select>

    All values of option are not page ID.

    Then, I changed some lines (27-33) on 'register-settings.php'.
    [Before:]

    $pages_options = array();
    	if($pages) {
    		foreach ( $pages as $page ) {
    		  	$pages_options[$page->ID] = $page->post_title;
    		}
    	}
    	array_unshift($pages_options, ''); // blank option

    [After:]

    $pages_options = array('');
    	if($pages) {
    		foreach ( $pages as $page ) {
    		  	$pages_options[$page->ID] = $page->post_title;
    		}
    	}
    	//array_unshift($pages_options, ''); // blank option

    That changing is correct?

    Thanks

    http://wordpress.org/extend/plugins/easy-digital-downloads/

  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    You're not the only one. There is a forum thread going with several other user's facing the same problem: http://easydigitaldownloads.com/support/topic/possible-bug-with-checkout-button/

    I'm going to have the problem fixed and an update out sometime today.

    Your change should fix the issue, yes.

  3. sandman.jp
    Member
    Posted 2 years ago #

    Thanks for your kindly reply.
    I'm looking forwerd to your update.

    Thanks.

  4. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    The update has been released.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.