WordPress.org

Ready to get started?Download WordPress

Forums

Last Modified (5 posts)

  1. Nick Momrik
    Member
    Posted 9 years ago #

    I wrote a quick little plugin to display the date/time that a post was last modified.
    Last Modified

  2. planetphillip
    Member
    Posted 9 years ago #

    Hi,
    I placed the file in the correct folder, activated it, then inserted the code into my index page, unfortunately this is what I receive:

    Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id = 245' at line 1]
    SELECT post_modified FROM WHERE id = 245

    This occurs on every post.
    Is it something I've done? I've tried deleting it and trying again but no luck.
    Running WP 1.2 with only the search hilite plugin running (which I've tried deactivating but that made no difference).
    TIA
    Phillip

  3. Nick Momrik
    Member
    Posted 9 years ago #

    Whoops,
    I always forget that I'm using some of the code from the nightlies so I have to fix the query. I'll get that taken care of and post back when it is.
    Sorry!

  4. Nick Momrik
    Member
    Posted 9 years ago #

    Should be fixed now.

  5. planetphillip
    Member
    Posted 9 years ago #

    Thanks.
    Everything is tickety boo.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.