Andrew Nacin
|
d0b71fc766
|
Fix potential notice. props hakre, see #12283
git-svn-id: https://develop.svn.wordpress.org/trunk@13225 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-19 15:04:46 +00:00 |
|
Peter Westwood
|
6c53a37d5b
|
Move more references from default to WP_FALLBACK_THEME. To make 'default' theme transition smoother in the future.
git-svn-id: https://develop.svn.wordpress.org/trunk@13202 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 22:09:06 +00:00 |
|
Andrew Nacin
|
13584938e1
|
Use background-position, as background-position-x has incomplete browser support (Webkit and IE6+ only, no Firefox or Opera). See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13190 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 04:46:40 +00:00 |
|
Ryan Boren
|
f1eb009074
|
Add defaults for background option radios. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13189 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 03:12:05 +00:00 |
|
Ryan Boren
|
1cd2f4c113
|
Use background-position-x. Props iammattthomas. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13188 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 03:01:45 +00:00 |
|
Ryan Boren
|
5d1cb7981a
|
Add some options to custom background admin. Needs styling. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13186 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 00:14:56 +00:00 |
|
Ryan Boren
|
8bc11462e3
|
First pass at custom background support. Needs UI love. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13041 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-09 20:37:12 +00:00 |
|
Ryan Boren
|
712c98007d
|
Look for single-.php templates. Add single- class to get_body_class(). Props ptahdunbar. see #12105
git-svn-id: https://develop.svn.wordpress.org/trunk@13032 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-08 22:05:05 +00:00 |
|
Ryan Boren
|
2c1ee29143
|
Slightly more informative error message for themes missing their parent theme. Need to offer to install the parent if it is in the themes directory.
git-svn-id: https://develop.svn.wordpress.org/trunk@13020 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-07 23:19:39 +00:00 |
|
Peter Westwood
|
9fbea38820
|
Switch to a constant for the fallback theme. See #9015.
git-svn-id: https://develop.svn.wordpress.org/trunk@13019 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-07 22:36:37 +00:00 |
|
Ryan Boren
|
ee112fbd12
|
Make twentyten the fallback theme. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13018 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-07 22:27:51 +00:00 |
|
Peter Westwood
|
085e0c3487
|
Ensure we are PHP4 compat. Fixes #12167 props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@13014 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-07 21:07:35 +00:00 |
|
Peter Westwood
|
3a5f8c0ead
|
Support specific author templates by id or user_nicename. Fixes #12064 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12915 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-31 21:32:39 +00:00 |
|
Ryan Boren
|
93fc30b2a0
|
Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
git-svn-id: https://develop.svn.wordpress.org/trunk@12890 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-28 19:00:16 +00:00 |
|
Ryan Boren
|
8ef8b7bad5
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-15 22:11:12 +00:00 |
|
Ryan Boren
|
974b6c1ce4
|
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-04 17:23:29 +00:00 |
|
Ryan Boren
|
d117c4918b
|
Make sure dir() returned a dir object.
git-svn-id: https://develop.svn.wordpress.org/trunk@12434 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-17 19:56:05 +00:00 |
|
Mark Jaquith
|
ab97039f96
|
Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-10 06:14:36 +00:00 |
|
Ryan Boren
|
3d6a741305
|
Allow registering post image support per post type. fixes #11364
git-svn-id: https://develop.svn.wordpress.org/trunk@12350 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-09 15:39:20 +00:00 |
|
Mark Jaquith
|
aeb4be8d81
|
Revision 12345. Nothing but whitespace fixes. That's how I roll.
git-svn-id: https://develop.svn.wordpress.org/trunk@12345 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-08 21:29:12 +00:00 |
|
Mark Jaquith
|
51e25872a6
|
Standardize around "post image" instead of "post thumbnail"
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-08 16:34:04 +00:00 |
|
Peter Westwood
|
fffae7eb1f
|
Reduce the size of the data returned by get_themes() by ~30% by reducing duplication.
git-svn-id: https://develop.svn.wordpress.org/trunk@12226 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-19 20:45:37 +00:00 |
|
Ryan Boren
|
e6be89ee0a
|
Avoid warning when parent template does not exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@12216 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-19 16:35:17 +00:00 |
|
Peter Westwood
|
2c459fea5e
|
Improve get_page_template() to search based on slug and id as well. Fixes #11055 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@12135 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-01 10:18:34 +00:00 |
|
Peter Westwood
|
20bd817385
|
Introduce require_if_theme_supports(), move post thumbnails functions to there own include and only included them if the theme supports them. See #10928 and [12132]
git-svn-id: https://develop.svn.wordpress.org/trunk@12134 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-01 10:10:06 +00:00 |
|
Mark Jaquith
|
cde0b909e4
|
Introducing add_theme_support(feature) and current_theme_supports(feature) for announcing and checking theme support for various features. Implement it for post/page thumbanils, hiding UI if not supported.
git-svn-id: https://develop.svn.wordpress.org/trunk@12132 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-01 05:27:39 +00:00 |
|
Ryan Boren
|
dfaf38749c
|
get_themes() and theme root fixes. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12129 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-30 00:18:15 +00:00 |
|
Ryan Boren
|
944dad2c59
|
Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12128 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-29 21:53:57 +00:00 |
|
Ryan Boren
|
049955e49b
|
Theme roots are prefixed with a slash. No need to add another. Props hakre. fixes #11036
git-svn-id: https://develop.svn.wordpress.org/trunk@12124 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-28 21:58:15 +00:00 |
|
Ryan Boren
|
a96b4a4e18
|
Theme subdirs that contain themes are not broken if missing a stylesheet. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12119 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-27 17:32:12 +00:00 |
|
Ryan Boren
|
ef9260219a
|
More theme subdir fixes. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12118 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-27 17:17:23 +00:00 |
|
Ryan Boren
|
a0f9bea8cb
|
Partial fix for theme subdir support. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12117 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-27 16:45:30 +00:00 |
|
Peter Westwood
|
df21977652
|
Display better information about broken themes when there is no stylesheet. Fixes #10999 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@12091 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-22 20:15:54 +00:00 |
|
Peter Westwood
|
9510a36835
|
Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@12044 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 21:07:00 +00:00 |
|
Peter Westwood
|
097a918639
|
Restore the functionality of the theme_root filter. See #10467.
git-svn-id: https://develop.svn.wordpress.org/trunk@12043 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 20:45:32 +00:00 |
|
Ryan Boren
|
a4789b3cc1
|
Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 20:26:21 +00:00 |
|
Mark Jaquith
|
1a00881a37
|
Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12025 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-13 19:06:35 +00:00 |
|
Peter Westwood
|
44fc49bb90
|
Allow for tag templates to be linked by tag id as well as name. Fixes #10868.
git-svn-id: https://develop.svn.wordpress.org/trunk@12010 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-08 17:27:51 +00:00 |
|
Ryan Boren
|
bb43e36418
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-24 17:19:13 +00:00 |
|
Peter Westwood
|
64adda80db
|
Updated phpdoc for the theme preview code.
git-svn-id: https://develop.svn.wordpress.org/trunk@11959 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-22 07:16:19 +00:00 |
|
Peter Westwood
|
2838a1c85d
|
Move theme preview away from using create_function and to predefined functions. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11957 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-21 21:43:41 +00:00 |
|
Ryan Boren
|
43c201d458
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 14:03:32 +00:00 |
|
Peter Westwood
|
9e32cf358c
|
Support location of category templates based on category slug as well as id. Fixes #10614 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11814 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-14 16:56:51 +00:00 |
|
Peter Westwood
|
b3144dd383
|
Remove theme_basename() for now as the changeset that introduced it was reverted and nothing uses it. See #10067.
git-svn-id: https://develop.svn.wordpress.org/trunk@11545 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-10 16:36:46 +00:00 |
|
Ryan Boren
|
e12c642c54
|
Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-24 23:47:49 +00:00 |
|
Mark Jaquith
|
ba1c3bdd5b
|
Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-18 16:00:33 +00:00 |
|
Mark Jaquith
|
c638e8d8de
|
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-05 19:43:53 +00:00 |
|
Peter Westwood
|
5db0851318
|
Support single line Template Name comment blocks for theme Templates and apply same cleanup to all header lines. Fixes #8497 props DD32 and Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11168 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-04 09:12:12 +00:00 |
|
Ryan Boren
|
fe7c34b6fd
|
s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-28 05:58:45 +00:00 |
|
Ryan Boren
|
c43d9ccbdc
|
Always display the default header when previewing a theme. Props Viper007Bond. fixes #9152
git-svn-id: https://develop.svn.wordpress.org/trunk@11061 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-22 22:32:35 +00:00 |
|