Skip to content

Commit 5970919

Browse files
committed
Deprecate independent_publisher_pings()
independent_publisher_pings() was replaced by independent_publisher_mentions() in Independent Publisher v1.7.
1 parent 4f23664 commit 5970919

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ WordPress Filters and Actions allow you to modify the theme without actually mod
418418

419419
- `independent_publisher_content_nav()` - Display navigation to next/previous pages when applicable
420420
- `independent_publisher_comment()` - Template for comments and pingbacks.
421-
- `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.
421+
- `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.
422422
- `independent_publisher_posted_author()` - Prints HTML with meta information for the current author.
423423
- `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.
424424
- `independent_publisher_posted_on_date()` - Prints HTML with meta information for the current post-date/time.

inc/template-tags.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ function independent_publisher_comment( $comment, $args, $depth ) {
137137
* even when we're showing paginated comments.
138138
*
139139
* @since Independent Publisher 1.0
140+
*
141+
* @deprecated 1.7 No longer used in code; replaced by independent_publisher_mentions()
142+
* @see independent_publisher_mentions()
140143
*/
141144
function independent_publisher_pings() {
142145
$args = array(

0 commit comments

Comments
 (0)