Commit Graph

251 Commits

Author SHA1 Message Date
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
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren a1037e9954 Show template files in subdirs. Props DD32. fixes #4131
git-svn-id: https://develop.svn.wordpress.org/trunk@10835 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 16:51:08 +00:00
Andrew Ozz 28db896510 Fix notice in wp-includes/theme.php, props filosofo, fixes #9336
git-svn-id: https://develop.svn.wordpress.org/trunk@10825 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-20 00:52:42 +00:00
Andrew Ozz f5942a0a73 Less confusing regex, props filosofo, fixes #9244
git-svn-id: https://develop.svn.wordpress.org/trunk@10824 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-20 00:30:32 +00:00
Ryan Boren 7a11e84775 Escape hyphen in regex. Props chrisbliss18. fixes #8548 #9244
git-svn-id: https://develop.svn.wordpress.org/trunk@10676 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-01 19:57:37 +00:00
Ryan Boren 73746940d9 Fix previewing of themes in subdirs. Props zedlander. fixes #8548
git-svn-id: https://develop.svn.wordpress.org/trunk@10483 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-02 19:17:14 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren fab4e5a68e Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 18:10:35 +00:00
Andrew Ozz 3c71d6a1c1 Strip "onclick" when previewing themes, props DD32, fixes #7303
git-svn-id: https://develop.svn.wordpress.org/trunk@9707 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 02:20:26 +00:00
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
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