Pregunta

How can i change those editing inputs to title from caption? wp3.5 gallery edit

Some sources i found about new upload system:

Basically looking for a proper solution like this:

// http://wordpress.org/support/topic/wp-35-any-way-to-default-add-media-to-upload-files#post-3709109
// If you want to have the editor default to the Upload Files tab in the admin editor
add_action( 'admin_footer-post-new.php', 'idealien_mediaDefault_script' );
add_action( 'admin_footer-post.php', 'idealien_mediaDefault_script' );
function idealien_mediaDefault_script()
{
    ?>
<script type="text/javascript">
jQuery(document).ready(function($){
    wp.media.controller.Library.prototype.defaults.contentUserSetting = false; // making editor default to the Upload Files

});
</script>
<?php } 

No hay solución correcta

Licenciado bajo: CC-BY-SA con atribución
scroll top