Commit Graph

376 Commits

Author SHA1 Message Date
Andrew Nacin
e6e9ad218d Second pass on twentyten/functions.php inline documentation. see #12695. Also:
rename twentyten_init() to twentyten_setup(), to reflect the hook it is run on (init would be too late, it must be after_setup_theme). Remove unnecessary twentyten_get_page_number() and transfer functionality to twentyten_the_page_number(). Remove the function_exists() wrappers from functions that are simply tied to a hook, as a better practice would be to remove the hook instead of plugging the function. For architecture changes, see #12748.

git-svn-id: https://develop.svn.wordpress.org/trunk@13886 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 00:05:17 +00:00
Andrew Nacin
f15366a78c Rough cut of Twenty Ten inline documentation. see #12695. props jorbin, demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13885 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 22:03:15 +00:00
Ryan Boren
2af7bc317c Remove classic and default themes. see #10654
git-svn-id: https://develop.svn.wordpress.org/trunk@13879 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 17:07:58 +00:00
Matt Thomas
15153c6db3 Remove print.css from twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@13873 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 04:16:03 +00:00
Matt Thomas
21e08209ca Merge twentyten print style into style.css. Fixes #12733. Props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13872 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 00:48:03 +00:00
Matt Thomas
f654e1a2e6 A compromise approach for #12542 -- Treat site-title as H1 on front page, unless it's a static page.
git-svn-id: https://develop.svn.wordpress.org/trunk@13846 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 21:50:39 +00:00
Matt Thomas
904064f000 Twenty Ten: Don't use post thumbnail as the custom header if it's smaller than the header size. See #12661. Props iandstewart
git-svn-id: https://develop.svn.wordpress.org/trunk@13836 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 01:59:46 +00:00
Andrew Nacin
4f5a2095a8 Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:36:49 +00:00
Matt Thomas
645f20b3fa Replace query strings with arras in Twenty Ten, see #12698. Props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13818 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 05:37:55 +00:00
Peter Westwood
a28f0f27cf Switch to get_template_part Fixes #12371. Try on some narrative comments for size see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@13816 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:04:27 +00:00
Andrew Nacin
dd306def81 Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Andrew Nacin
13073782f9 Add delimiter to tag listing on twentyten/single.php. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13757 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 21:45:08 +00:00
Matt Thomas
6db5b5d145 Fix missing domain translation, see #9015. Props momo360modena.
git-svn-id: https://develop.svn.wordpress.org/trunk@13724 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 23:11:30 +00:00
Matt Thomas
d504e9c257 Coding standards cleanup in twentyten, see #9015. Props sivel
git-svn-id: https://develop.svn.wordpress.org/trunk@13720 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 20:17:22 +00:00
Ryan Boren
d710af9830 Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Nikolay Bachiyski
6a0c16eab3 Add POT file and languages dir for twentyten. Louis, I think this is the beginning of a beautiful friendship.
git-svn-id: https://develop.svn.wordpress.org/trunk@13703 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 14:29:11 +00:00
Matt Thomas
983e4de293 Moving mobile webkit styles to style.css; adjusting widget_search label and site-description sizes. See #12303
git-svn-id: https://develop.svn.wordpress.org/trunk@13566 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 00:38:00 +00:00
Matt Thomas
43b89c9db5 Use a short HTML5-style charset declaration in twentyten, props demetris. See #12483
git-svn-id: https://develop.svn.wordpress.org/trunk@13565 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 00:19:18 +00:00
Matt Thomas
0440049a58 Add a bit of padding to form inputs in twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13558 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 19:17:43 +00:00
Matt Thomas
be0e181e96 Tweaks to mobile-webkit styles; see #12303
git-svn-id: https://develop.svn.wordpress.org/trunk@13556 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:59:08 +00:00
Andrew Nacin
e451b71f9c Cleaner and ideally future-proof detection of mobile Safari browsers. see #12303
git-svn-id: https://develop.svn.wordpress.org/trunk@13555 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:48:31 +00:00
Matt Thomas
c3622bd0f4 Add mobile webkit styles for twentyten. See #12303
git-svn-id: https://develop.svn.wordpress.org/trunk@13554 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:43:22 +00:00
Andrew Nacin
49de79c941 Remove only gallery CSS in twentyten, leaving the gallery div classes and id intact. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13552 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:08:14 +00:00
Andrew Nacin
13d3a5bb5b Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13514 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:29:24 +00:00
Ryan Boren
2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Dion Hulse
40e684d779 Better internationalisation for TwentyTen. Props filosofo. Fixes #12384
git-svn-id: https://develop.svn.wordpress.org/trunk@13498 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 11:43:04 +00:00
Andrew Nacin
33798863d4 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13441 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:12:06 +00:00
Ryan Boren
61ffa682c1 Note theme support for custom background, header, and menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13417 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:04:59 +00:00
Ryan Boren
4ee18ae484 Default header selector, first pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13403 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:18:44 +00:00
Dion Hulse
49dce31f70 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Andrew Nacin
c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Ryan Boren
66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Ryan Boren
ed332ce2bd Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13368 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:45:26 +00:00
Matt Thomas
249203d869 Tag editor-style support, adjust site-info font size in twentyten. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13335 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 19:08:46 +00:00
Matt Thomas
30eafc7ecd Move headers to images directory, remove old header in twentyten. See #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13333 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 18:23:26 +00:00
Matt Thomas
3493c7a2eb New screenshot for twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13320 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 02:23:53 +00:00
Ryan Boren
fd1587c61f Add a selection of headers to twentyten. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13319 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 01:46:25 +00:00
Mark Jaquith
fc77a1d879 Whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:12:48 +00:00
Andrew Nacin
b7308ebe6c Set svn eol-style native on new files
git-svn-id: https://develop.svn.wordpress.org/trunk@13255 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:00:19 +00:00
Dion Hulse
ec9ee88c2d Remove Unneeded the_post/rewind_posts() calls, Add a "No posts for this archive" type message to the loop. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13218 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:41:15 +00:00
Dion Hulse
9760997180 Rename the new 'themes_loaded' hook to 'after_setup_theme' to prevent confusion as to what it actually does & where its fired from. Fixes #12231
git-svn-id: https://develop.svn.wordpress.org/trunk@13214 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:00:00 +00:00
Matt Thomas
ce56f13f5e Fix meta-sep divider on gallery items in twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13181 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:32:11 +00:00
Ryan Boren
163919a4d8 Comment form output tweaks. Props beaulebens. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@13180 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:28:03 +00:00
Matt Thomas
ae57a8a0a9 Adding single-column, no sidebar page template to twentyten. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13179 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:05:39 +00:00
Matt Thomas
b67384850d Give the visual editor a max-width that matches the content width in twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@13178 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 18:50:48 +00:00
Mark Jaquith
37e62c69f5 revert function rename from r13129 which broke the comments form. props beaulebens. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13166 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 00:21:06 +00:00
Dion Hulse
cc6a0a5d41 Twentyten whitespace cleanup, Wrap functions in function_exists() call to allow child themes to override them. Props sivel. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13157 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 21:39:20 +00:00
Andrew Nacin
f67f4d7405 Use $wp_query->get_queried_object(). Also move wp_head() to end of <head>, see #9015.
git-svn-id: https://develop.svn.wordpress.org/trunk@13152 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 11:52:27 +00:00
Dion Hulse
2bfeae67c6 Replace $authordata usage with API, Restore "Also posted in.."/"Also tagged..." on taxonomy archives, Handle Excerpts for Asides correctly on Archives. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13147 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:02:38 +00:00
Peter Westwood
e7d1e80302 Introduce new get_generic_template() function for themes to use to bring in pieces of template.
Use in twentyten for loop.php including. See #9015.

git-svn-id: https://develop.svn.wordpress.org/trunk@13146 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 09:32:23 +00:00