[wp-hackers] Blog "last_updated": Last updated what?

Andrew Nacin wp at andrewnacin.com
Fri Jun 7 22:05:16 UTC 2013


The value changes when a published post is created, updated, or deleted
(for any public post type); and when update_blog_status() or
update_blog_details() are called.


On Fri, Jun 7, 2013 at 5:56 PM, Micky Hulse <mickyhulse.lists at gmail.com>wrote:

> Hello,
>
> I've got several sites running on a WPMS install, and I'm making use
> of get_last_updated().
>
> On the default blog index page, I'm listing all blogs using
> get_last_updated(); it's a neat way to have a dynamic homepage with
> the most recent blog at the top of the page.
>
> http://codex.wordpress.org/WPMU_Functions/get_last_updated
> http://core.trac.wordpress.org/browser/trunk/wp-includes/ms-blogs.php#L733
>
> Description: "Get a list of most recently updated blogs."
>
> What exactly does "recently updated" mean?
>
> Is that only when a blog post has been created/updated/deleted? Are
> there other things that will update the last_updated value?
>
> Thanks!
> M
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list