D. Todd Christofferson teaches that not every statement by a Church leader, past or present, necessarily constitutes the doctrine of the Church; a prophet is only a prophet when acting as such.
D. Todd Christofferson, "The Doctrine of Christ," General Conference, April 2012, accessed November 1, 2023
At the same time it should be remembered that not every statement made by a Church leader past or present necessarily constitutes doctrine. It is commonly understood in the church that a statement made by one leader on a single occasion often represents a personal, though well considered, opinion not meant to be official or binding for the whole Church. The Prophet Joseph Smith taught that a prophet is a prophet only when he is acting as such.