<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:"
[[LINK href="http://snag.gy/ScHiX.jpg"]]http://snag.gy/ScHiX.jpg[[/LINK]]
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: %1$s
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.
pjeaje comments:
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: %1$s');
pjeaje comments:
I don't want to change the core files
pjeaje comments:
This might help... I couldn't get this to work, maybe you can?
[[LINK href="http://www.viper007bond.com/2011/07/13/changing-core-wordpress-strings/"]]http://www.viper007bond.com/2011/07/13/changing-core-wordpress-strings/[[/LINK]]