Attack Power

I can't remember how "Attack Power" on items functioned pre-TBC.
Some sources are saying that "Attack Power" on items was actually "Melee Attack Power" and that it was or wasn't later changed in Vanilla to include "Ranged Attack Power".
Other sources are saying that "Attack Power" was always "Melee Attack Power" and "Ranged Attack Power".
Can anyone clarify which it is?
Some sources are saying that "Attack Power" on items was actually "Melee Attack Power" and that it was or wasn't later changed in Vanilla to include "Ranged Attack Power".
Other sources are saying that "Attack Power" was always "Melee Attack Power" and "Ranged Attack Power".
Can anyone clarify which it is?