Skip to:
Content

Opened 7 years ago

Closed 6 years ago

Last modified 5 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: 0.8.2.1
Component: Back-end Keywords:
Cc:

Description

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>

Change History (5)

comment:1 mdawaffe7 years ago

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

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.

comment:2 sambauers6 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

comment:3 sambauers6 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

comment:4 anonymous5 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

comment:5 sambauers5 years ago

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