Commit Graph

46 Commits

Author SHA1 Message Date
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
Ryan Boren d88ed56d55 Fix logo link in wp_die(). Props Sewar. fixes #3138
git-svn-id: https://develop.svn.wordpress.org/trunk@4194 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-18 23:40:19 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren 7180b478e1 Trim theme and plugin data. fixes #2943
git-svn-id: https://develop.svn.wordpress.org/trunk@4035 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-23 19:20:11 +00:00
Ryan Boren a1cce20e0a Don't validate theme during install.
git-svn-id: https://develop.svn.wordpress.org/trunk@4024 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-21 19:00:04 +00:00
Ryan Boren e69d028988 Tweak theme validation.
git-svn-id: https://develop.svn.wordpress.org/trunk@4017 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 22:44:56 +00:00
Ryan Boren 85ed7859d1 Move theme functions to theme.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3711 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:44:33 +00:00