Hmm… nevermind. It was a function hook in pre-get-posts that was overwriting the sort order.
Haha. No dramas.
I wish I HAD saved you some work because your plugin sure has saved me heaps 🙂
Keep up the great work!
As a side note, you should also make note of the correct markup for ratings that don’t use a 5-point scale (on the same page).
https://support.google.com/webmasters/answer/172705?hl=en
🙂
Hi ChowKaiDeng,
It was a bit easier than that 🙂
Line 15 of the plugin file: (/wp-content/plugins/rename-media)
Change:
$new = wp_unique_filename( dirname( $old ), $attachment['post_title'].'.'.$ext );
To:
$new = wp_unique_filename( dirname( $old ), $post['post_title'].'.'.$ext );
Works a charm now 🙂