<em>Rename "Publish immediately" and "Published on:" in post edit metabox</em>
I'm looking for a way to rename the text "Publish immediately" and "Published on:" in the post edit Publish metabox.
I'm using [[LINK href="https://wordpress.org/support/topic/replaces-publish-immediately-but-not-published-on?replies=1"]]this plugin[[/LINK]] to rename "Publish immediately" but it won't rename "Published on:"
Navjot Singh answers:
As Glenn already mentioned, you need to put the whole replacement text in your plugin settings box.
So instead of trying to replace just 'Published on:' put the following
Published on: <b>%1$s</b>
Also my suggestion would be to use https://wordpress.org/plugins/say-what/description/ plugin for your needs. Quick Localisation is pretty much outdated and is no longer supported. For the latest WordPress, it throws too many notices and can stop working at anytime.
Bingo! [[LINK href="https://wordpress.org/plugins/say-what/description/"]]https://wordpress.org/plugins/say-what/description/[[/LINK]] did the trick... thanks.
Glenn Tate answers:
I know it's taboo to edit core files but the line is 170 in wp-admin/includes/meta-boxes.php
I think you need to put the whole string in the plugin to change it.
$stamp = __('Published on: <b>%1$s</b>');
I don't want to change the core files
This might help... I couldn't get this to work, maybe you can?