I\'m not sure if this is a cleaner way of writing this, but I think I don\'t have problems here:
If you really want to output PHP code:
">
=htmlspecialchars( $data[ $meta_box[ \'name\' ] ] ) ?'.'>
';
break;
default:
echo '';
?>
Otherwise this makes more sense to me:
">'.
htmlspecialchars( $data[ $meta_box['name'] ] ).
'';
break;
default:
echo '';
}
?>
But I guess that $data[$meta_box['name']]
array index isn't correct either.