Doesn't happen here. I visit cnn.com in landscape mode, then hit the Sleep button - screen turns off. Then I turn the phone to portrait, hit the sleep button again - screen turns on. I swipe the button across the screen, and the iPhone is still in landscape mode - but it immediately readjusts.
Running 1.1.1.