Skip to:
Content

bbPress.org

Ticket #2186: metaboxes.php.patch

File metaboxes.php.patch, 959 bytes (added by alex-ye, 9 years ago)

Remove post_parent arg from bbp_dropdown() on includes/admin/metaboxes.php

  • metaboxes.php

    # This patch file was generated by NetBeans IDE
    # Following Index: paths are relative to: bbpress\includes\admin
    # It uses platform neutral UTF-8 encoding and \n newlines.
    # Above lines and this line are ignored by the patching process.
     
    359359                <?php bbp_dropdown( array(
    360360                        'post_type'          => bbp_get_forum_post_type(),
    361361                        'selected'           => bbp_get_topic_forum_id( $post_id ),
    362                         'post_parent'        => 0,
    363362                        'numberposts'        => -1,
    364363                        'orderby'            => 'title',
    365364                        'order'              => 'ASC',
     
    412411                        <?php bbp_dropdown( array(
    413412                                'post_type'          => bbp_get_forum_post_type(),
    414413                                'selected'           => $reply_forum_id,
    415                                 'post_parent'        => 0,
    416414                                'numberposts'        => -1,
    417415                                'orderby'            => 'title',
    418416                                'order'              => 'ASC',