[wp-hackers] Some Theme Changes

Chris Davis chrisdmitri at gmail.com
Tue Feb 15 13:11:13 GMT 2005


So wait, we have to actually open up index.php and set that?  Why is
this not set via a control panel/area in the admin?

Or am I misunderstanding something?


On Mon, 14 Feb 2005 17:58:59 -0600, Ryan Boren <ryan at boren.nu> wrote:
> When upgrading from previous releases, themes are turned off by default.
> This is done to help ease people into the theme system and avoid
> possible site breakage.  New installs will still use themes by default.
> A new constant, WP_USE_THEMES must be defined in your root/home
> index.php for themes to be enabled.  Take a look at the default
> index.php for usage.
> 
> http://cvs.sourceforge.net/viewcvs.py/cafelog/wordpress/index.php?rev=1.86&view=auto
> 
> If you are already running 1.5 and have different WordPress and Blog
> directories, you'll need to add WP_USE_THEMES to the index.php residing
> in your blog directory.
> 
> Those upgrading from 1.2.2 will not be able to use themes until they set
> WP_USE_THEMES.  Once they have have ported their templates into the
> theme system, they can turn this on.  WP still attempts to convert their
> current templates into a site theme during upgrade, but this theme will
> not be used until WP_USE_THEMES is set.
> 
> Another change involves popup comments.  Previously, the
> comments-popup.php template was accessed directly in the theme
> directory.  This resulted in URIs of the form
> http://blogmeupblogmedown.com/wp-content/themes/default/comments-popup.php?p=xxx&c=1.  Ugly.  So, comments-popup.php is now loaded through the index like other theme templates.  The URI is:  http://blogmeupblogmedown.com/?comments_popup=xxx
> 
> What does this mean to you, the theme author?  comments-popup.php should
> no longer include the blog header. If you have a require of the form
> "../../../wp-blog-header.php"  in your popup comments template, please
> remove it.
> 
> Ryan
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers
>


More information about the hackers mailing list