• Hi, when I change image filename, the plugin also changes last modified date of all those articles that have embedded that image. Why is this happening? Moreover, some of the articles are also updating even they don’t have that image of which I am changing name. And I am sure it is due to this plugin. When I was changing names, I checked sitemap and during same time, dates were also changing. When I stopped working during the night, there was no date change for any post.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author crossi72

    (@crossi72)

    Hi @asjad492,
    the date is changed because the WordPress function that updates the posts set the new date when it is called, I’ll check if it is possible to update a post leaving the data unchanged.

    If some post that doesn’t contain the renamed image is updated, there is probably a bug in Phoenix Media Rename, I’ll check in which case unnecessary post are changed.

    Thank you for reporting
    C.

    Thread Starter Asjad Aamir

    (@asjad492)

    thanks. I am sure there is a bug. Coz I have tested it. Several posts are randomly updating even they don’t contain those images

    Plugin Author crossi72

    (@crossi72)

    Hi @asjad492,
    I’ve made a few tests to prevent the post date being updated, but wp_update_post changes the value of post_modified and post_modified_gmt internally and doesn’t seems to exist a way to prevent the update, event trying to force an explicit value for these fields doesn’t work.

    Feel free to suggest solutions if you have some idea 🙂

    Now I’m trying to address the issue of changing unnecessary posts, I’ll let you know as soon as it will be fixed.

    C.

    Plugin Author crossi72

    (@crossi72)

    Hi @asjad492,
    I just released version 3.11.7 that changes how the posts to be updated are selected, can you tell me if the issue with post that doesn’t contains renamed images persists?

    Thank you
    C.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.