Skip to:

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#720 closed enhancement (fixed)

template post.php needs an action for the "poststuff" info line

Reported by: _ck_ Owned by:
Milestone: 1.0 Priority: normal
Severity: normal Version:
Component: Back-end 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.


<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>

Change History (5)

#1 @mdawaffe
10 years ago

  • Milestone set to 0.8.4 & WP-Taxonomy
  • Version set to

The more hooks we have in templates, though, the harder it is to write new themes.

I think we have too many hooks in templates as it is.

#2 @sambauers
10 years ago

  • Milestone changed from 0.8.4 to 0.8.5 & XML-RPC

We should probably have a template function to generate these links. That way filters aren't a problem. Moving this to 0.8.5

#3 @sambauers
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1421]) Allow filtering of post and topic admin links, not to be applied to branches/0.9 - Fixes #720

#4 @anonymous
9 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

#5 @sambauers
9 years ago

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.