If I recall correctly, the endangering information was not originally published by Wikileaks, but by other journalists (the decryption key was written in a book or something, my memory is fuzzy on this); and Wikileaks only published the whole thing once the cat was already out of the bag.
To sum this up, they were putting the redaction work, but someone else failed to, and at that point it was too late.