Skip to content

Commit

Permalink
Deprecate independent_publisher_pings()
Browse files Browse the repository at this point in the history
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 5970919
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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_content_nav()` - Display navigation to next/previous pages when applicable
- `independent_publisher_comment()` - Template for comments and pingbacks. - `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()` - 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_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. - `independent_publisher_posted_on_date()` - Prints HTML with meta information for the current post-date/time.
Expand Down
3 changes: 3 additions & 0 deletions inc/template-tags.php
Expand Up @@ -137,6 +137,9 @@ function independent_publisher_comment( $comment, $args, $depth ) {
* even when we're showing paginated comments. * even when we're showing paginated comments.
* *
* @since Independent Publisher 1.0 * @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() { function independent_publisher_pings() {
$args = array( $args = array(
Expand Down

0 comments on commit 5970919

Please sign in to comment.