I have a hard time believing that this explains why a speaker sounds better 2' from a wall than 6†from a wall.
Not all speakers are ported, and sealed speakers are also compromised when placed too close to surrounding objects.