Again that statute can be used against whoever leaked the information to the reporter, but the Times didn't break the law by printing the information that had been leaked to them. That's why the administration is complaining but nobody is talking about prosecuting anyone.
You did not read it very carefully then. It is NOT just about the leakers. It is also regarding the publishing.