publish.php and unpublish.php cosmetic improvements