Commit Graph

280 Commits

Author SHA1 Message Date
ryan e531ad04c4 Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
git-svn-id: http://svn.automattic.com/wordpress/trunk@6334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-13 05:07:44 +00:00
markjaquith 791aec14b2 Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: http://svn.automattic.com/wordpress/trunk@6099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:19:26 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan dc1c54a35c Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: http://svn.automattic.com/wordpress/trunk@5867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:58:33 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n c927ae3f37 Keep greedy regex's in control. fixes #4165
git-svn-id: http://svn.automattic.com/wordpress/trunk@5630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:02:06 +00:00
markjaquith fcf640dd6b declare $user_ID global in load_template(). fixes #4354.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 21:32:35 +00:00
ryan aeb569d93d Fix theme template field. fixes #4310 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 20:11:53 +00:00
ryan a291731ed3 Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-14 23:30:17 +00:00
rob1n b354bc3813 Filter get_theme_data() data through KSES to get rid of evil XSS things. fixes #4236
git-svn-id: http://svn.automattic.com/wordpress/trunk@5447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:44:03 +00:00
matt 14f1c622ff All the query stuff we need for tag= URLs to work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 06:16:12 +00:00
matt 7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
markjaquith df9b4188da [5006] didn't take. props Nazgul for the spot. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 08:59:15 +00:00
matt a8327cbd0d Add filters to theme_mods
git-svn-id: http://svn.automattic.com/wordpress/trunk@5026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 00:07:54 +00:00
ryan 0cd477441e Return theme uri in theme data. Props nazgul. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:15:17 +00:00
markjaquith d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan a7da7fc027 Make sure is_array before extract. Props idle. fixes #3626
git-svn-id: http://svn.automattic.com/wordpress/trunk@4778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-21 20:03:02 +00:00
ryan 26fff7a52e Custom Image Header. fixes #3465
git-svn-id: http://svn.automattic.com/wordpress/trunk@4673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-03 23:49:34 +00:00
matt 67bc138cfd Normalization of newlines fixes #1020, also did some minor reformatting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-29 23:18:35 +00:00
ryan 7684ebbeac Set extract type and rename car to avoid overwrites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-15 00:25:44 +00:00
ryan fa133a0fce Fix handling of stylesheet only themes that live two-levels deep.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-18 20:24:59 +00:00
matt fb64ee90ef Some helper functions for themes and images
git-svn-id: http://svn.automattic.com/wordpress/trunk@4401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-16 06:06:18 +00:00
matt 61aa085018 Allow themes in subdirectories.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-16 05:57:33 +00:00
markjaquith cd5cb736ec Code cleanup: wp-includes/theme.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@4392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 10:33:44 +00:00
ryan 5dc154c1e2 Fix logo link in wp_die(). Props Sewar. fixes #3138
git-svn-id: http://svn.automattic.com/wordpress/trunk@4194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-18 23:40:19 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan cacf5e345f Trim theme and plugin data. fixes #2943
git-svn-id: http://svn.automattic.com/wordpress/trunk@4035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-23 19:20:11 +00:00
ryan f423760531 Don't validate theme during install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-21 19:00:04 +00:00
ryan 978fc182da Tweak theme validation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-11 22:44:56 +00:00
ryan 40b2e610cf Move theme functions to theme.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-18 04:44:33 +00:00