Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/19/2012 12:50:06 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Topic and Reply Editing:

  • Fix issue with "Edit" admin links having 'view=all' argument incorrectly positioned.
  • Fix issue with post_status being set back to public when editing.
  • Conditionally set post_status to pending if needs moderation.
  • Fixes #1977.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbp-includes/replies/template-tags.php

    r4249 r4255  
    15721572            return;
    15731573
    1574         $reply_link = bbp_get_reply_permalink( $reply_id );
     1574        $reply_link = bbp_remove_view_all( bbp_get_reply_permalink( $reply_id ) );
    15751575
    15761576        // Pretty permalinks
     
    15831583            $url = add_query_arg( array( bbp_get_reply_post_type() => $reply->post_name, $bbp->edit_id => '1' ), $reply_link );
    15841584        }
     1585
     1586        // Maybe add view all
     1587        $url = bbp_add_view_all( $url );
    15851588
    15861589        return apply_filters( 'bbp_get_reply_edit_url', $url, $reply_id );
Note: See TracChangeset for help on using the changeset viewer.