• Hey @tigroumeow!

    Here is Matthew, from Real Media Library and Real Physical Media. 🙂

    I just want to let you know that the newest version of your Media File Renamer does no longer update content in a (Gutenberg) post. I do not know if this is related to Gutenberg or the movement itself.

    Steps to reprocedure:

    1. Upload an image
    2. Embed the image in a Gutenberg block (e.g. image) -> https://i.imgur.com/Gg672Fh.png
    3. Move the file with the official API function mfrh_move() as follows: mfrh_move(551, 'new-folder')
    4. Check the post content, the reference to the new file did not get updated

    Here is the log of the movement: https://i.imgur.com/aHvC0Ll.png

    Regards,
    Matthew 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi Matthew!

    That would definitely be a bug! Thanks for the report 🙂 I am going to study this tomorrow, and if indeed there is a bug, I will release a new version right away.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Indeed, @mguenter, it wasn’t working at all! I pushed a new release which fixes other things as well. Please give it a try and let me know if it works for you (and for the others). Cheers 🙂

    Thread Starter Matthias Günter

    (@mguenter)

    Hey @tigroumeow !

    Thanks for your fast bugfix!

    I just gave it a try but unfortunately it is now moving the folder “twice”? I am doing this: mfrh_move(551, 'test6'), and the URL gets to wp-content/test6/test6/...: https://i.imgur.com/pHci9Kv.png

    Regards,
    Matthew 🙂

    Plugin Author Jordy Meow

    (@tigroumeow)

    There is something weird here, because it seems like it’s moving the file in wp-content, however the base for the plugin is to use the uploads folder.

    I can’t also reproduce the “double-named” directory; are you using Windows? Is there something special about the system or install you are using?

    Thread Starter Matthias Günter

    (@mguenter)

    Hi again @tigroumeow !

    There must be an issue on my end cause my customer just told me that the newest update works like a charm.

    Closed.

    Regards,
    Matthew 🙂

    Plugin Author Jordy Meow

    (@tigroumeow)

    Super! Let me know if anything 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Move to another folder does not update post references’ is closed to new replies.