[wp-hackers] front-page.php always overrides home.php?
Mike Schinkel
mikeschinkel at newclarity.net
Sun Apr 24 17:07:59 UTC 2011
On Apr 24, 2011, at 12:53 PM, Otto wrote:
> On Sun, Apr 24, 2011 at 8:05 AM, Jeremy Clarke <jer at simianuprising.com> wrote:
>> is_home should have been changed to is_posts or is_posts_index as soon as
>> front_page was added
>
> It's called backward compatibility. Home was redefined to mean the
> blog posts page of the site.
>
> Just because you don't like the naming system is not a good enough
> reason to just break everything willy-nilly.
Adding is_post_index() to do the same thing that is_home() currently does and then deprecating is_home() in the documentation doesn't break anything willy-nilly.
Just sayin'...
-Mike
More information about the wp-hackers
mailing list