>>96082749DC has never been allowed to put "Captain Marvel" on a cover or in ads and promotional material due to the way trademark laws work so what they did for decades was put "Shazam" on covers but properly call him "Captain Marvel" on the inside of the book.
Another example of this is in the game Mortal Kombat vs. DC Universe, he was called Captain Marvel, but if you went to the game's website, his bio called him Shazam, because that counts as advertising, same as a cover does.