• I run several sites in which pages get heavy use, and I’ve been using Jerome’s pageupdate plugin for quite some time.

    For some reason, the plugin fails to update the database on SOME of the 2.0 blogs, while it works fine on others. In the testing I’ve done so far, it would _seem_ as though it works on blogs installed new as 2.0 blogs, but doesn’t work on any blog upgraded from 1.x revs to the 2.0 tree. Nothing I see in the very simple would give me any indication of what the problem might be. If I manually run virtually the same code against the sql database, the fields update fine.

    No error is generated that I see, but the post_date and post_date_gmt fields are not updated.

    Incidental to this issue, I’m wondering if there is a way in 2.0 to display the post_modified and/or post_modifed_gmt times in post meta rather than having the_time() return the post_date. I’ve searched the docs and while I know I can do a custom query, this seems like something that would be commonly needed, particularly for pages

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dherren

    (@dherren)

    Follow up:

    After doing some testing by inserting some die(“message”) lines in various places, it would appear that the variable $post_status is not being returned to Jerome’s plug-in though it is declared as global.

    Is this a 2.x change that $post_status is not available?

    Thread Starter dherren

    (@dherren)

    anyone?

    Is $post_status no longer a global in the 2.x versions of WP?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post_date, Jerome’s plugin, WordPress 2.x’ is closed to new replies.