[Bb-trac] [bbPress] #720: template post.php needs an action for the "poststuff" info line

bbPress bb-trac at lists.bbpress.org
Sun Aug 5 06:06:36 GMT 2007


#720: template post.php needs an action for the "poststuff" info line
-------------------------+--------------------------------------------------
 Reporter:  _ck_         |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:     
Component:  Back-end     |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
 It would be very helpful for plugin authors if the post.php template had a
 hook on the same line that the "edit" and "delete" links are placed on
 every post.

 This way end users would not have to edit their templates if it had the
 hook.

 example:

 {{{
 <div class="poststuff"><?php printf( __('Posted %s ago'),
 bb_get_post_time() ); ?> <a href="<?php post_anchor_link(); ?>">#</a>
 <?php post_ip_link(); ?> <?php post_edit_link(); ?>  <?php
 post_delete_link(); ?> <? do_action("poststuff"); ?></div>
 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/720>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list