Skip to content

Commit

Permalink
Update docs to correct object type. (#10574)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraftbj committed Nov 8, 2018
1 parent 6aede34 commit 07df822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/sitemaps/sitemap-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,8 @@ private function post_to_sitemap_item( $post ) {
*
* @since 3.9.0
*
* @param bool $skip Current boolean. False by default, so no post is skipped.
* @param WP_POST $post Current post object.
* @param bool $skip Current boolean. False by default, so no post is skipped.
* @param object $post Current post in the form of a $wpdb result object. Not WP_Post.
*/
if ( true === apply_filters( 'jetpack_sitemap_skip_post', false, $post ) ) {
return array(
Expand Down

0 comments on commit 07df822

Please sign in to comment.