The setting to transliterate file names (admin/config/media/file-system) is on by default. A good thing IMO, but the help text needs some love, plus we can be smarter than that. So...
The help text currently reads:
If you enable this setting later, you may want to retroactively transliterate existing file names.
..."later"?? ...later than what? Also "retroactively"?? How many non-English speaking users even know what this means? I think that it would be better worded like so:
If you enable this setting after files have been uploaded to your site, you may want to transliterate existing file names.
As for the "smarter" part: how about we hide this part of the help text entirely? ..then we can have a check run at cron or something (only if "Transliterate file names during upload" is enabled) and then display a site status report message like this:
There are currently files uploaded to your site that contain non-ASCII characters in their file names. You may want to transliterate them.
This warning can be merged with the existing "File system" section of the site status report.
Now, once this check has been done (only if "Transliterate file names during upload" is enabled) and there are files with non-ASCII characters, we can (additionally to the site status page) also update the help text of this setting by appending the "There are currently files uploaded..." text.
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE