I’m almost sure there is no way to do that (server side) without hacking core files, bu luckly i know a little jQuery and i’ve come up with this hackish function that does the job just fine:
function widget_logic_hack(){
global $pagenow;
if ($pagenow == 'widgets.php'){
?>
<script>
function hack_logic(){
jQuery('input[id$="widget_logic"]').each(function()
{
if (jQuery(this).val().length === 0){}else{
var id = this.id;
var value = jQuery(this).val();
//alert(value);
id = id.replace('-widget_logic','');
var currenttitle = jQuery("[id$='"+ id +"']").find('h4').html();
if (currenttitle.indexOf('Displayed on:') !=-1 ){
var ncurrenttitle = currenttitle.substring(0,(currenttitle.indexOf('Displayed on:')));
//alert(ncurrenttitle);
jQuery("[id$='"+ id +"']").find('h4').html(ncurrenttitle + 'Displayed on: <span class="in-widget-title">' + value + '</span>');
}else{
jQuery("[id$='"+ id +"']").find('h4').html(currenttitle + '<br /> Displayed on: <span class="in-widget-title">' + value + '</span>');
}
}
});
}
jQuery(document).ready(function(){
setTimeout("hack_logic()",500);
jQuery('#savewidget').live('click', function() {
setTimeout("hack_logic()",5500);
return true;
});
});
</script>
<style>.widget .widget-top {height: 40px !important;}</style>
<?php
}
}
add_action('admin_footer','widget_logic_hack');