Peter Westwood
7abc98a62d
Fix regression in get_tag_template(). Tag templates are referenced by tag name not id. Fixes #7865 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9125 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-12 08:19:56 +00:00
Mark Jaquith
ca2acfa831
Allow a filter to disable the validate_current_theme() functionality
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9087 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-06 15:29:47 +00:00
Andrew Ozz
a4d3e40949
Complete inline documentation for theme.php, props jacobsantos, fixes #7657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8974 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 14:12:58 +00:00
Ryan Boren
9b0f76898f
phpdoc for themes.php. Props jacobsantos. see #7657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8965 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-24 05:24:33 +00:00
Ryan Boren
719b42c024
Skeleton phpdoc patch for themes.php. Props jacobsantos. see #7657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8791 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-01 05:44:16 +00:00
Ryan Boren
935afabf92
Quote array indexes. Props wet. fixes #7502
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8629 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 21:13:25 +00:00
Peter Westwood
da46c93af9
Refactor template location code to reduce duplication.
...
Also make it easier for theme authors to pull in seperate files into templates while making theme overrideable. See #7492 .
git-svn-id: https://develop.svn.wordpress.org/trunk@8624 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 20:18:05 +00:00
Ryan Boren
2272a1a950
Trailing whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Peter Westwood
8b8928d5ac
Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8497 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:21:14 +00:00
Ryan Boren
3b56605062
Allow dots in theme dirs when previewing. fixes #7482 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8485 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 17:03:00 +00:00
Ryan Boren
0fba0a6d4a
Introduce content_url(). Don't prepend base url to content url in script loader. see #6938 #7001
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8301 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 17:24:36 +00:00
Ryan Boren
ac50ccc1a2
Allow underscore and dash in theme dirs when previewing. fixes #7236
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8252 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 23:10:28 +00:00
Ryan Boren
a099e4c12f
Use WP_CONTENT_DIR and URL when linking to theme screenshots. Props sambauers. see #6938
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8040 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 17:17:45 +00:00
Ryan Boren
6cc11cbf1e
Allow wp-content to exist outside of webroot. Props sambauers. see #6938
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren
58a9595df2
Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
Ryan Boren
9faab00411
Add some page template validation
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7921 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 23:51:54 +00:00
Mark Jaquith
15490b8df5
Sanitize "cat" query var and cast to int before looking for a category template
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7586 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 13:15:21 +00:00
Ryan Boren
cbfb5d78b5
Taxonomy queries and urls. Props andy. see #6357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 17:02:11 +00:00
Matt Mullenweg
e8eaeb4e43
Smaller regex.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7224 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 00:43:07 +00:00
Matt Mullenweg
c9f428abc1
Big regex for type.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7223 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 00:37:29 +00:00
Mark Jaquith
26c5a4f49d
Make sure the theme_dir is a dir before we attempt to closedir(). fixes #5768
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6744 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-06 23:17:13 +00:00
Peter Westwood
f1d41cb830
Add missing brace. Fixes #5643 props xknown.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6598 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-11 18:35:34 +00:00
Peter Westwood
90e193bdab
Notice fixing for wp-includes. See #5607 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6592 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 20:51:07 +00:00
Ryan Boren
00db74c820
Theme tagging from andy. fixes #5545
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6530 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-31 18:39:43 +00:00
Ryan Boren
8966b24e0b
Add a get_stylesheet_dir to sprintf in get_theme_mod. Props andy. fixes #5398
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6410 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 17:47:06 +00:00
Ryan Boren
3a8b2fcca3
Remove unused vars. Props DD32. see #5418
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren
31fc42f07b
Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6334 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-13 05:07:44 +00:00
Mark Jaquith
23eba5ca0a
Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6099 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 22:19:26 +00:00
Ryan Boren
7a43c01e08
Remove trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
3e5d2230d2
Use opendir instead of dir. Props nbachiyski. fixes #4450
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5867 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:58:33 +00:00
Ryan Boren
b046d67f41
Trim empty lines. Nothing but newline.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n
e2513b5643
Keep greedy regex's in control. fixes #4165
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5630 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:02:06 +00:00
Mark Jaquith
d7ed90532a
declare $user_ID global in load_template(). fixes #4354 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5581 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 21:32:35 +00:00
Ryan Boren
137da349c3
Fix theme template field. fixes #4310 for 2.3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5506 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 20:11:53 +00:00
Ryan Boren
2b002dfab6
Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5476 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 23:30:17 +00:00
rob1n
c9fc18c591
Filter get_theme_data() data through KSES to get rid of evil XSS things. fixes #4236
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5447 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:44:03 +00:00
Matt Mullenweg
570a74e818
All the query stuff we need for tag= URLs to work.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 06:16:12 +00:00
Matt Mullenweg
b1f6f9a6a8
(int)er the dragon.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Mark Jaquith
02f3720bfa
[5006] didn't take. props Nazgul for the spot. fixes #3866
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5028 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 08:59:15 +00:00
Matt Mullenweg
eb54f68261
Add filters to theme_mods
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5026 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 00:07:54 +00:00
Ryan Boren
b35406f1ad
Return theme uri in theme data. Props nazgul. fixes #3866
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5006 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:15:17 +00:00
Mark Jaquith
5acfcd9fea
trailing tabs and whitespace cleanup.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren
e8e964482d
Make sure is_array before extract. Props idle. fixes #3626
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4778 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-21 20:03:02 +00:00
Ryan Boren
bc8bc5bf09
Custom Image Header. fixes #3465
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4673 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-03 23:49:34 +00:00
Matt Mullenweg
69004cdf58
Normalization of newlines fixes #1020 , also did some minor reformatting.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4546 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-29 23:18:35 +00:00
Ryan Boren
e8f473002c
Set extract type and rename car to avoid overwrites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4469 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-15 00:25:44 +00:00
Ryan Boren
db4a834c82
Fix handling of stylesheet only themes that live two-levels deep.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4404 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-18 20:24:59 +00:00
Matt Mullenweg
e37451b79a
Some helper functions for themes and images
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4401 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-16 06:06:18 +00:00
Matt Mullenweg
51367ff351
Allow themes in subdirectories.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4400 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-16 05:57:33 +00:00
Mark Jaquith
852e96e733
Code cleanup: wp-includes/theme.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4392 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 10:33:44 +00:00