Seriously I lost an day to this bug before I realised it was 3.4.2 causing the issue!
What the hell!!!
Anyway, thanks chris for your solution, however, am I missing something?
I put this code into functions…
function fix_custom_fields_in_wp342() {
global $wp_version, $hook_suffix;
if ( '3.4.2' == $wp_version && in_array( $hook_suffix, array( 'post.php', 'post-new.php' ) ) ) : ?>
<script type="text/javascript">
jQuery(document).delegate( '#addmetasub, #updatemeta', 'hover focus', function() {
jQuery(this).attr('id', 'meta-add-submit');
});
</script>
<?php
endif;
}
add_action( 'admin_print_footer_scripts', 'fix_custom_fields_in_wp342' );
…and although I can actually add multiple custom fields in one go (as oppose to the bug where you can only add one at a time and you need to hit post update in order to apply it)
I’m not seeing the freshly added custom post types appear before my eyes?
I have to refresh the page (without hitting post update) in order to see my recently added custom fields?
Is this correct? – as this is not an absolute fix for me, only a partial one.
Thanks