Nothing can be squeezed out of a wart. However, warts elsewhere, like the fingers, are common in children and are not transmitted sexually. These may occasionally be planted on the scrotum or penis by scratching. Genital herpes usually appears as a cluster of small bumps on a red base, which quickly lose their tops and become a cluster of small ulcers. They are usually stinging or painful.
Sebaceous glands are never painful unless they have become infected, or have been squeezed too hard.
Molluscum contagiosum are small bumps, pink to yellow in color, which may occur around the pubic region, although I have not seen them out near the end of the penis. They have a typical flat dimpled top, not rough like a wart, not smooth and rounded like a sebaceous gland. They are very common in children. Obviously if our writer or other young men are worried about the bumps they have, the only way to be sure that they are sebaceous glands as opposed to warts is to have them looked at by their doctor. But if they are not sexually active, the risk of their developing warts or herpes is very small.