nacin
|
373a66db0f
|
Introduce remove_custom_background(). see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-04 09:59:35 +00:00 |
nacin
|
72958d1c53
|
Make sure get_themes() returns the proper template and stylesheet directory paths. Use the correct variables. fixes #15671.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-03 22:53:01 +00:00 |
markjaquith
|
74f17e9850
|
Fix typo in PHPdoc. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 22:56:55 +00:00 |
nacin
|
831ffc5483
|
Return true if not is_admin. Tidy. see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 00:50:23 +00:00 |
nacin
|
efe850aa42
|
Introduce remove_custom_image_header(). see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 00:16:35 +00:00 |
ryan
|
3f72e340d6
|
Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-01 19:24:38 +00:00 |
ryan
|
a6cdc2dea4
|
Register the default theme dir in wp-settings.php so that it is registered even when get_themes() doesn't run. Fix counting of theme dirs. Add option to get_raw_theme_root() to disregard the current theme root cache. see #14911
git-svn-id: http://svn.automattic.com/wordpress/trunk@16424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-17 16:11:44 +00:00 |
nacin
|
81a8f2d3ce
|
Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 09:53:55 +00:00 |
markjaquith
|
17fbb0e123
|
add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-04 07:41:07 +00:00 |
scribu
|
b890848aaa
|
Use get_queried_object() in more get_*_template() functions. Fixes #15263
git-svn-id: http://svn.automattic.com/wordpress/trunk@16115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-31 11:23:10 +00:00 |
scribu
|
e2efa78154
|
use get_queried_object() wrappers throughout. See #14015
git-svn-id: http://svn.automattic.com/wordpress/trunk@16114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-31 11:02:17 +00:00 |
nacin
|
16d0878544
|
Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-28 05:22:45 +00:00 |
nacin
|
d91842f870
|
Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-17 07:12:34 +00:00 |
nacin
|
eb8762d626
|
Custom post type archives. see #13818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-14 10:39:47 +00:00 |
scribu
|
f0d8d094e2
|
Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
git-svn-id: http://svn.automattic.com/wordpress/trunk@15771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-10 22:10:36 +00:00 |
nacin
|
5f0bc55c0b
|
Some doc updates. see #15048.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-07 05:59:50 +00:00 |
nacin
|
50120d23da
|
Shift theme mods to be reliant on the theme slug instead of name. fixes #15048.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-06 21:00:17 +00:00 |
nacin
|
7ee6aecd1b
|
Account for Twenty Ten in theme name collisions and properly fall back to TT in get_current_theme(). fixes #15719, props tonyf12.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 19:50:13 +00:00 |
ryan
|
f3d45472d2
|
Don't fetch theme_roots transient on every page load. Avoid it altogether if there is only one theme dir. fixes #14911
git-svn-id: http://svn.automattic.com/wordpress/trunk@15641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-21 19:41:35 +00:00 |
scribu
|
2030231f66
|
Clean up taxonomy queries in WP_Query. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-13 16:44:14 +00:00 |
scribu
|
4c7deb41e7
|
Apply filters consistently in get_*_template() functions. Fixes #14310
git-svn-id: http://svn.automattic.com/wordpress/trunk@15611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-12 18:46:18 +00:00 |
nacin
|
5a20c05d27
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 11:21:11 +00:00 |
westi
|
4a037313e3
|
Remove debug cruft. See #14315 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-07-17 11:13:35 +00:00 |
westi
|
64100e8783
|
Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for trunk props dougal.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-07-16 09:40:09 +00:00 |
nacin
|
194181c6e5
|
Blacklist remove_theme_support('menus'), used internally. fixes #13935 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-18 05:37:45 +00:00 |
ryan
|
5ecd1f31f2
|
Trim trailing whitespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-11 20:19:35 +00:00 |
nacin
|
69164abe07
|
Improve the custom background front-end callback. Also, background-attachment should default to scroll, not fixed. fixes #13751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-10 18:28:25 +00:00 |
dd32
|
ebe57d5b69
|
Use the correct variable name. See #13778
git-svn-id: http://svn.automattic.com/wordpress/trunk@15167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-08 11:04:51 +00:00 |
dd32
|
a0729014b8
|
Use the correct variable name. Props ScottMac. Fixes #13778
git-svn-id: http://svn.automattic.com/wordpress/trunk@15166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-08 11:02:17 +00:00 |
ryan
|
1a552dd029
|
Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-26 02:42:15 +00:00 |
westi
|
b5820d2934
|
phpDoc updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-24 21:26:49 +00:00 |
nacin
|
64601e97ae
|
Invalidate header/background images for the current theme when the attachment is deleted. props ocean90, fixes #12467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-24 19:42:43 +00:00 |
nacin
|
d6e2ef4dbf
|
Custom background UI updates. props ocean90 for initial patch, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 05:17:57 +00:00 |
nacin
|
a2a0b6041b
|
Also return raw author name and URI from get_theme_data and get_themes. props blepoxp, fixes #12275.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 06:28:35 +00:00 |
westi
|
83ae6a51ea
|
Introduce __return_empty_array() and use it instead of create_function in the theme preview.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 16:55:26 +00:00 |
nacin
|
b38af2d56d
|
Check if HEADER_ constants are defined before continuing. props ocean90, fixes #13367.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 21:44:37 +00:00 |
nacin
|
e88d9914de
|
Remove unused global var. props filosofo, fixes #13316.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 06:06:37 +00:00 |
nacin
|
fa23d1edf0
|
Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 19:53:40 +00:00 |
westi
|
1afa45d117
|
Add is_child_theme(). Fixes #12998 props ptahdunbar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 20:56:57 +00:00 |
ryan
|
7b7243d94a
|
Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 20:26:11 +00:00 |
westi
|
ae468d52ac
|
First pass of compatibility code for old themes which relied on using templates from the default theme without expressly identifying it as the parent theme.
Fixes #12425 and #13009.
The fallback to these template files is now depreceated and will be removed in a future version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 09:57:24 +00:00 |
nacin
|
4d7c88f4a4
|
Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 05:49:19 +00:00 |
westi
|
033aac697c
|
Introduce a template file for the Front Page of a site. Has priority over every other template which applies and falls back to the standard template flow for the page / list of posts.
Fixes #6801
git-svn-id: http://svn.automattic.com/wordpress/trunk@14276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-28 07:48:09 +00:00 |
ryan
|
0d703dc2c0
|
Add RTL support to add_editor_style(). Props yoavf. fixes #13120
git-svn-id: http://svn.automattic.com/wordpress/trunk@14240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-26 14:56:57 +00:00 |
westi
|
8ce9670189
|
Improve documentation of validate_current_theme()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-21 17:14:25 +00:00 |
dd32
|
66a9d58336
|
Fix page-<pageslug>.php templates for static front pages. See #12907
git-svn-id: http://svn.automattic.com/wordpress/trunk@14152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-18 11:50:48 +00:00 |
nacin
|
3c5115f15f
|
Don't use require_once for get_template_part(). fixes #12958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-11 17:26:03 +00:00 |
nacin
|
1c9c709e8a
|
Child theme support for theme header registrations. Second call to register_theme_headers() should add more headers, not replace existing headers. add unregister_theme_headers(). props jorbin. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-02 03:15:18 +00:00 |
markjaquith
|
9817fca789
|
Fix PHP notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@13908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-01 07:43:04 +00:00 |
nacin
|
370f6a43b9
|
Add blacklist to remove_theme_support(). fixes #12739.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-31 09:06:11 +00:00 |