Andrew Nacin
|
a653754287
|
Add theme_mods option if is_admin. props MarkJaquith, fixes #14828.
git-svn-id: https://develop.svn.wordpress.org/trunk@16958 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 17:39:00 +00:00 |
|
Andrew Nacin
|
8b6cf91dc9
|
Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712, props greuben.
git-svn-id: https://develop.svn.wordpress.org/trunk@16925 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 19:19:47 +00:00 |
|
Andrew Nacin
|
70b6bbcfa8
|
Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712.
git-svn-id: https://develop.svn.wordpress.org/trunk@16924 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 19:17:49 +00:00 |
|
Ryan Boren
|
ccd108bd5e
|
Honor the page template when a page is the home page but not also the front page. Props filosofo. fixes #15513
git-svn-id: https://develop.svn.wordpress.org/trunk@16915 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 15:45:19 +00:00 |
|
Ryan Boren
|
6dc2d07bc4
|
Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 21:21:50 +00:00 |
|
Andrew Nacin
|
0979c21ab0
|
Make get_header_image() ssl-aware. fixes #14835.
git-svn-id: https://develop.svn.wordpress.org/trunk@16846 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 17:59:35 +00:00 |
|
Andrew Nacin
|
3a9829f9f1
|
Introduce remove_editor_styles(). fixes #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16721 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-04 10:09:00 +00:00 |
|
Andrew Nacin
|
136f212baa
|
Introduce remove_custom_background(). see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16720 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-04 09:59:35 +00:00 |
|
Andrew Nacin
|
368926d657
|
Make sure get_themes() returns the proper template and stylesheet directory paths. Use the correct variables. fixes #15671.
git-svn-id: https://develop.svn.wordpress.org/trunk@16711 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-03 22:53:01 +00:00 |
|
Mark Jaquith
|
74a8e25463
|
Fix typo in PHPdoc. props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16697 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-02 22:56:55 +00:00 |
|
Andrew Nacin
|
6297b3184b
|
Return true if not is_admin. Tidy. see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16677 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-02 00:50:23 +00:00 |
|
Andrew Nacin
|
8ca2300955
|
Introduce remove_custom_image_header(). see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16674 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-02 00:16:35 +00:00 |
|
Ryan Boren
|
36a4508140
|
Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-01 19:24:38 +00:00 |
|
Ryan Boren
|
81ae3cb21e
|
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: https://develop.svn.wordpress.org/trunk@16424 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-17 16:11:44 +00:00 |
|
Andrew Nacin
|
200eefec46
|
Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-13 09:53:55 +00:00 |
|
Mark Jaquith
|
ef54c47f7a
|
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: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-04 07:41:07 +00:00 |
|
scribu
|
58f4333233
|
Use get_queried_object() in more get_*_template() functions. Fixes #15263
git-svn-id: https://develop.svn.wordpress.org/trunk@16115 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-31 11:23:10 +00:00 |
|
scribu
|
b4988b968b
|
use get_queried_object() wrappers throughout. See #14015
git-svn-id: https://develop.svn.wordpress.org/trunk@16114 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-31 11:02:17 +00:00 |
|
Andrew Nacin
|
af1bafa67b
|
Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080.
git-svn-id: https://develop.svn.wordpress.org/trunk@16029 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-28 05:22:45 +00:00 |
|
Andrew Nacin
|
b7ffec08f8
|
Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837.
git-svn-id: https://develop.svn.wordpress.org/trunk@15828 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-17 07:12:34 +00:00 |
|
Andrew Nacin
|
86ab32a196
|
Custom post type archives. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15803 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-14 10:39:47 +00:00 |
|
scribu
|
e5354a9e00
|
Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
git-svn-id: https://develop.svn.wordpress.org/trunk@15771 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-10 22:10:36 +00:00 |
|
Andrew Nacin
|
07fca17d6d
|
Some doc updates. see #15048.
git-svn-id: https://develop.svn.wordpress.org/trunk@15739 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-07 05:59:50 +00:00 |
|
Andrew Nacin
|
202ec80a4d
|
Shift theme mods to be reliant on the theme slug instead of name. fixes #15048.
git-svn-id: https://develop.svn.wordpress.org/trunk@15736 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-06 21:00:17 +00:00 |
|
Andrew Nacin
|
24294c1c83
|
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: https://develop.svn.wordpress.org/trunk@15720 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 19:50:13 +00:00 |
|
Ryan Boren
|
6121bb1234
|
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: https://develop.svn.wordpress.org/trunk@15641 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-21 19:41:35 +00:00 |
|
scribu
|
5c95616ce8
|
Clean up taxonomy queries in WP_Query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15613 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-13 16:44:14 +00:00 |
|
scribu
|
0b09ec156f
|
Apply filters consistently in get_*_template() functions. Fixes #14310
git-svn-id: https://develop.svn.wordpress.org/trunk@15611 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-12 18:46:18 +00:00 |
|
Andrew Nacin
|
9494e4ce7e
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-07 11:21:11 +00:00 |
|
Peter Westwood
|
785c20b082
|
Remove debug cruft. See #14315 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@15435 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-07-17 11:13:35 +00:00 |
|
Peter Westwood
|
8d72c5172c
|
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: https://develop.svn.wordpress.org/trunk@15433 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-07-16 09:40:09 +00:00 |
|
Andrew Nacin
|
84ff7671a8
|
Blacklist remove_theme_support('menus'), used internally. fixes #13935 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15277 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-18 05:37:45 +00:00 |
|
Ryan Boren
|
82be9621ec
|
Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-11 20:19:35 +00:00 |
|
Andrew Nacin
|
2621ba04fe
|
Improve the custom background front-end callback. Also, background-attachment should default to scroll, not fixed. fixes #13751.
git-svn-id: https://develop.svn.wordpress.org/trunk@15196 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-10 18:28:25 +00:00 |
|
Dion Hulse
|
e4b69457fb
|
Use the correct variable name. See #13778
git-svn-id: https://develop.svn.wordpress.org/trunk@15167 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-08 11:04:51 +00:00 |
|
Dion Hulse
|
f178115189
|
Use the correct variable name. Props ScottMac. Fixes #13778
git-svn-id: https://develop.svn.wordpress.org/trunk@15166 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-08 11:02:17 +00:00 |
|
Ryan Boren
|
aec821c651
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 02:42:15 +00:00 |
|
Peter Westwood
|
545c432776
|
phpDoc updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@14858 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-24 21:26:49 +00:00 |
|
Andrew Nacin
|
b074c7be02
|
Invalidate header/background images for the current theme when the attachment is deleted. props ocean90, fixes #12467.
git-svn-id: https://develop.svn.wordpress.org/trunk@14850 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-24 19:42:43 +00:00 |
|
Andrew Nacin
|
ae5af53f10
|
Custom background UI updates. props ocean90 for initial patch, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14684 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-16 05:17:57 +00:00 |
|
Andrew Nacin
|
43c09c9587
|
Also return raw author name and URI from get_theme_data and get_themes. props blepoxp, fixes #12275.
git-svn-id: https://develop.svn.wordpress.org/trunk@14658 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 06:28:35 +00:00 |
|
Peter Westwood
|
4b3be4e693
|
Introduce __return_empty_array() and use it instead of create_function in the theme preview.
git-svn-id: https://develop.svn.wordpress.org/trunk@14641 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 16:55:26 +00:00 |
|
Andrew Nacin
|
98a20461dc
|
Check if HEADER_ constants are defined before continuing. props ocean90, fixes #13367.
git-svn-id: https://develop.svn.wordpress.org/trunk@14610 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 21:44:37 +00:00 |
|
Andrew Nacin
|
4b48de9c08
|
Remove unused global var. props filosofo, fixes #13316.
git-svn-id: https://develop.svn.wordpress.org/trunk@14536 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 06:06:37 +00:00 |
|
Andrew Nacin
|
910c8e8bc9
|
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: https://develop.svn.wordpress.org/trunk@14485 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 19:53:40 +00:00 |
|
Peter Westwood
|
c7e4d07d28
|
Add is_child_theme(). Fixes #12998 props ptahdunbar.
git-svn-id: https://develop.svn.wordpress.org/trunk@14409 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:56:57 +00:00 |
|
Ryan Boren
|
d783952469
|
Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:26:11 +00:00 |
|
Peter Westwood
|
473772f395
|
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: https://develop.svn.wordpress.org/trunk@14365 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 09:57:24 +00:00 |
|
Andrew Nacin
|
d5e5ccdd72
|
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: https://develop.svn.wordpress.org/trunk@14360 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 05:49:19 +00:00 |
|
Peter Westwood
|
6d490bcd88
|
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: https://develop.svn.wordpress.org/trunk@14276 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 07:48:09 +00:00 |
|