Anyway, I posted the part that pertains, IMO, to scummy Risen and the NY Slimes and that they are not immune from prosecution as Freeper angkor was saying. "Publishes" seems pretty clear to me.
A violation depends on what is published. Publication of classified information other than the four points listed would not be a violation of the section.
In the NSA case, it appears that the NYT may have published classified information concerning the communication intelligence activities of the United States, where The term ''communication intelligence'' means all procedures and methods used in the interception of communications and the obtaining of information from such communications by other than the intended recipients.
Section 798 also has a mandatory asset forfeiture provision.