Riding a pig into a Nether portal will teleport neither the player nor the pig. Tried using bait to lure the pig with another player as well, rather than the rider, and that doesn't work either.
Related issues
Comments
Closing as duplicate of MC-150
Duplicate of https://mojang.atlassian.net/browse/MC-150