Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #4575, comment 18


Ignore:
Timestamp:
04/22/2015 04:43:57 PM (9 years ago)
Author:
stevenkword
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4575, comment 18

    initial v1  
    11@MikeNGarrett -- After having put some more thought towards it, I agree that creating a new hash would be messy so I've revised my approach.
    22
    3 4575.diff adds a new methods specifically for returning the most recently modified post or comment from any given feed.  It uses the default WP_Query object to obtain a list of post object IDs displayed in the feed and then leverages `$wpdb->get_col()` to retrieve the most recently modified post/comment.
     34575.diff adds a new methods specifically for returning the most recently modified post or comment from any given feed.  It uses the default WP_Query object to obtain a list of post object IDs displayed in the feed and then leverages `$wpdb->get_var()` to retrieve the most recently modified post/comment.