Probing modifications of general relativity using current cosmological observations