Thomas Kräftner
Thomas Kräftner
I think what is really important here is to decouple things. [The example you showed](https://gist.github.com/Biont/8e6552f060ee519eb991) only works with an active Advanced Translator. (The relevant hooks aren't called without it being...
:+1: on merging/refactoring the Translator before adding new features on top of the non-ideal current codebase. (Offtopic: Thanks for the hint on the workaround)
I have done some more thinking about the whole issue of translating custom fields over the last days: Currently you can hook into the Advanced Translator to sync meta data....
@akincansenol Sorry, not really. Haven't gotten any further yet than the initial thinking above.
Actually neither. I started drafting an implementation but then the project I would have needed it for was put on hold. It will probably be picked up soonish, but don't...
I've just started to investigate syncing of post meta and I was hitting a wall with the deletion of post meta. Let me explain what I mean. Simply copying over...
That is what I expected, let's see if it is just me or common enough to mandate a change. Thanks for the quick response though!
The problem seems to be that when generating the attachment meta data https://github.com/wp-cli/media-command/blob/210cccf80f4faa38c0c608768089edf7acf2b319/src/Media_Command.php#L632 this always results in the creation of sub sizes https://github.com/WordPress/WordPress/blob/1dc3f878703ff788a5dc1b06efda6c665554dcb3/wp-admin/includes/image.php#L559-L560 Looking at the logic in [`wp_create_image_subsizes()` ](https://github.com/WordPress/WordPress/blob/1dc3f878703ff788a5dc1b06efda6c665554dcb3/wp-admin/includes/image.php#L240)...
@danielbachhuber Due to my current workload you probably shouldn't hold your breath for that. That is why I did my best to at least document it in case someone else...
This comes up again and again. As it stands this issue feels quite epic to me (and probably others) and hence feels intimidating. Since it's been some time without any...