Add an action to allow plugins to add extra related links to the list. Fixes #6232.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b3709e1ddc
commit
fe5387bbbc
|
@ -167,6 +167,7 @@ if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) )
|
||||||
<li><a href="edit.php"><?php _e('Manage All Posts') ?></a></li>
|
<li><a href="edit.php"><?php _e('Manage All Posts') ?></a></li>
|
||||||
<li><a href="categories.php"><?php _e('Manage All Categories') ?></a></li>
|
<li><a href="categories.php"><?php _e('Manage All Categories') ?></a></li>
|
||||||
<li><a href="edit-tags.php"><?php _e('Manage All Tags') ?></a></li>
|
<li><a href="edit-tags.php"><?php _e('Manage All Tags') ?></a></li>
|
||||||
|
<?php do_action('post_relatedlinks_list'); ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -63,6 +63,7 @@ echo "<a href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
|
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
|
||||||
<li><a href="moderation.php"><?php _e('Moderate Comments') ?></a></li>
|
<li><a href="moderation.php"><?php _e('Moderate Comments') ?></a></li>
|
||||||
|
<?php do_action('comment_relatedlinks_list'); ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php do_action('submitcomment_box'); ?>
|
<?php do_action('submitcomment_box'); ?>
|
||||||
|
|
|
@ -66,6 +66,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<li><a href="link-manager.php"><?php _e('Manage All Links') ?></a></li>
|
<li><a href="link-manager.php"><?php _e('Manage All Links') ?></a></li>
|
||||||
<li><a href="edit-link-categories.php"><?php _e('Manage All Link Categories') ?></a></li>
|
<li><a href="edit-link-categories.php"><?php _e('Manage All Link Categories') ?></a></li>
|
||||||
<li><a href="link-import.php"><?php _e('Import Links') ?></a></li>
|
<li><a href="link-import.php"><?php _e('Import Links') ?></a></li>
|
||||||
|
<?php do_action('link_relatedlinks_list'); ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php do_action('submitlink_box'); ?>
|
<?php do_action('submitlink_box'); ?>
|
||||||
|
|
|
@ -143,6 +143,7 @@ if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
|
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
|
||||||
<li><a href="edit-pages.php"><?php _e('Manage All Pages') ?></a></li>
|
<li><a href="edit-pages.php"><?php _e('Manage All Pages') ?></a></li>
|
||||||
|
<?php do_action('page_relatedlinks_list'); ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php do_action('submitpage_box'); ?>
|
<?php do_action('submitpage_box'); ?>
|
||||||
|
|
Loading…
Reference in New Issue