Permalink
Browse files

Deprecate independent_publisher_pings()

independent_publisher_pings() was replaced by
independent_publisher_mentions() in Independent Publisher v1.7.
  • Loading branch information...
raamdev committed May 10, 2017
1 parent 4f23664 commit 59709196f701832feb23db225ffeabb83a1cb768
Showing with 4 additions and 1 deletion.
  1. +1 −1 README.md
  2. +3 −0 inc/template-tags.php
@@ -418,7 +418,7 @@ WordPress Filters and Actions allow you to modify the theme without actually mod
- `independent_publisher_content_nav()` - Display navigation to next/previous pages when applicable
- `independent_publisher_comment()` - Template for comments and pingbacks.
- `independent_publisher_pings()` - Creates a custom query for pingbacks/trackbacks (i.e., 'pings') and displays them. Using this custom query instead of `wp_list_comments()` allows us to always show all pings, even when we're showing paginated comments.
- `independent_publisher_mentions()` - Creates a custom query for webmentions, pings, and trackbacks and displays them. Using this custom query instead of `wp_list_comments()` allows us to always show all mentions, even when we're showing paginated comments.
- `independent_publisher_posted_author()` - Prints HTML with meta information for the current author.
- `independent_publisher_posted_author_cats()` - Prints HTML with meta information for the current author and post categories. Only prints author name when Multi-Author Mode is enabled.
- `independent_publisher_posted_on_date()` - Prints HTML with meta information for the current post-date/time.
@@ -137,6 +137,9 @@ function independent_publisher_comment( $comment, $args, $depth ) {
* even when we're showing paginated comments.
*
* @since Independent Publisher 1.0
*
* @deprecated 1.7 No longer used in code; replaced by independent_publisher_mentions()
* @see independent_publisher_mentions()
*/
function independent_publisher_pings() {
$args = array(

0 comments on commit 5970919

Please sign in to comment.