“This has been widely attributed to Whitman, and no one else, but without definite source. It has sometimes been cited as being from the Brooklyn Daily Eagle (sometimes with a date of 23 July 1846), where Whitman had been an editor, but its presence on that date is not apparent in the online historical archives of that publication.”
Source: Wikiquote