Commit Graph

419 Commits

Author SHA1 Message Date
potbot 8ef6c001b4 POT, generated from r13932
git-svn-id: http://svn.automattic.com/wordpress/trunk@13933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:21:11 +00:00
dd32 0c8fda014c Restore pluggable for twentyten_setup(). Its impossible for child themes to override without using a callback to remove the filter at a higher priority. Props jorbin. Fixes #12806
git-svn-id: http://svn.automattic.com/wordpress/trunk@13923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 00:54:48 +00:00
nbachiyski e7116c1a51 POT, generated from r13891
git-svn-id: http://svn.automattic.com/wordpress/trunk@13892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 15:51:09 +00:00
nacin b35eb435a3 Use $paged global instead of get_query_var('paged') in Twenty Ten. see #12748
git-svn-id: http://svn.automattic.com/wordpress/trunk@13889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 13:12:36 +00:00
nacin 523b8a0846 Clarify order of operations for a child theme removing a filter of a parent theme. see #12695, see #12748
git-svn-id: http://svn.automattic.com/wordpress/trunk@13888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 12:55:08 +00:00
nacin fab0607ee4 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: http://svn.automattic.com/wordpress/trunk@13886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 00:05:17 +00:00
nacin a4c7fb5869 Rough cut of Twenty Ten inline documentation. see #12695. props jorbin, demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 22:03:15 +00:00
iammattthomas e8eb2634eb Remove print.css from twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 04:16:03 +00:00
iammattthomas 0fe0c542ec Merge twentyten print style into style.css. Fixes #12733. Props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 00:48:03 +00:00
iammattthomas 45b1a1fe24 A compromise approach for #12542 -- Treat site-title as H1 on front page, unless it's a static page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 21:50:39 +00:00
iammattthomas 209d4a7a2e 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: http://svn.automattic.com/wordpress/trunk@13836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 01:59:46 +00:00
nacin 40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
iammattthomas 8babcc5d7c Replace query strings with arras in Twenty Ten, see #12698. Props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 05:37:55 +00:00
westi 1111996fe1 Switch to get_template_part Fixes #12371. Try on some narrative comments for size see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:04:27 +00:00
nacin 1e019112b8 Add delimiter to tag listing on twentyten/single.php. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:45:08 +00:00
iammattthomas fb2328191e Fix missing domain translation, see #9015. Props momo360modena.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 23:11:30 +00:00
iammattthomas a70633cedc Coding standards cleanup in twentyten, see #9015. Props sivel
git-svn-id: http://svn.automattic.com/wordpress/trunk@13720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 20:17:22 +00:00
ryan f635d99754 Menus rework. Props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 16:26:46 +00:00
nbachiyski e2bee8f908 Add POT file and languages dir for twentyten. Louis, I think this is the beginning of a beautiful friendship.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 14:29:11 +00:00
iammattthomas f1961ae08d Moving mobile webkit styles to style.css; adjusting widget_search label and site-description sizes. See #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 00:38:00 +00:00
iammattthomas 2d85143b5e Use a short HTML5-style charset declaration in twentyten, props demetris. See #12483
git-svn-id: http://svn.automattic.com/wordpress/trunk@13565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 00:19:18 +00:00
iammattthomas 55cf746265 Add a bit of padding to form inputs in twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 19:17:43 +00:00
iammattthomas 9c8ad3b226 Tweaks to mobile-webkit styles; see #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:59:08 +00:00
nacin 750448871a Cleaner and ideally future-proof detection of mobile Safari browsers. see #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:48:31 +00:00
iammattthomas 03e8e13e3d Add mobile webkit styles for twentyten. See #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:43:22 +00:00
nacin a17a92274b Remove only gallery CSS in twentyten, leaving the gallery div classes and id intact. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:08:14 +00:00
ryan 25a2a06a9e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:00:49 +00:00
dd32 7b2c083769 Better internationalisation for TwentyTen. Props filosofo. Fixes #12384
git-svn-id: http://svn.automattic.com/wordpress/trunk@13498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 11:43:04 +00:00
nacin 45748141c0 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 20:12:06 +00:00
ryan a3ae373902 Note theme support for custom background, header, and menus. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:04:59 +00:00
ryan a8a6d742e1 Default header selector, first pass. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:18:44 +00:00
dd32 f51247ef50 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:56:19 +00:00
ryan 091d1150d3 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: http://svn.automattic.com/wordpress/trunk@13368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:45:26 +00:00
iammattthomas b92bce7e7f Tag editor-style support, adjust site-info font size in twentyten. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 19:08:46 +00:00
iammattthomas b2f3ed656b Move headers to images directory, remove old header in twentyten. See #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 18:23:26 +00:00
iammattthomas 80532efbf4 New screenshot for twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 02:23:53 +00:00
ryan 8ddc80ff70 Add a selection of headers to twentyten. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 01:46:25 +00:00
nacin 5d4bb4cd7a Set svn eol-style native on new files
git-svn-id: http://svn.automattic.com/wordpress/trunk@13255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:00:19 +00:00
dd32 c402ed54bb Remove Unneeded the_post/rewind_posts() calls, Add a "No posts for this archive" type message to the loop. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:41:15 +00:00
dd32 9ed7cba3e7 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: http://svn.automattic.com/wordpress/trunk@13214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:00:00 +00:00
iammattthomas b004b13b2b Fix meta-sep divider on gallery items in twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:32:11 +00:00
ryan a48e17cca1 Comment form output tweaks. Props beaulebens. see #10910
git-svn-id: http://svn.automattic.com/wordpress/trunk@13180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:28:03 +00:00
iammattthomas 252bd08b8c Adding single-column, no sidebar page template to twentyten. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 19:05:39 +00:00
iammattthomas c26e30894e Give the visual editor a max-width that matches the content width in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 18:50:48 +00:00
markjaquith 0744c77fbf revert function rename from r13129 which broke the comments form. props beaulebens. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 00:21:06 +00:00
dd32 f626e31e00 Twentyten whitespace cleanup, Wrap functions in function_exists() call to allow child themes to override them. Props sivel. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 21:39:20 +00:00
nacin 9141add802 Use $wp_query->get_queried_object(). Also move wp_head() to end of <head>, see #9015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 11:52:27 +00:00
dd32 8902f273ce 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: http://svn.automattic.com/wordpress/trunk@13147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 10:02:38 +00:00
westi 067e66c8f6 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: http://svn.automattic.com/wordpress/trunk@13146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 09:32:23 +00:00
nacin 8e48c44de4 Use automatic_feed_links() in twentyten, see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 08:07:55 +00:00
dd32 38a77b72cb Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 07:13:34 +00:00
nacin ea5e854684 home_url() returns a value, needs to be echoed in twentyten header and footer. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 06:12:12 +00:00
dd32 93b372f1f8 Comments.php PHP cleanup. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 01:16:58 +00:00
dd32 20c0e6c2ef Fix comment listing, Correct Indentations. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 01:12:51 +00:00
dd32 f2799cb2e9 Formatting, Translations & Whitespace. Props ptahdunbar. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 01:00:22 +00:00
dd32 df2a293967 Whitespace cleanup, TwentyTen <title> standardisation & gettext. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 13:35:03 +00:00
dd32 392ee06071 s/the_time()/get_the_date/ for dates. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 11:20:56 +00:00
dd32 cba1eb5db4 Remove extra get_option() calls (the functions default to that), Use the Media API for attachment image HTML, Replace deprecated function use(1.2~2.9 deprecated). See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 11:09:51 +00:00
dd32 b4c55aa60b Remove Direct SQL, Use new esc_html() function, Correct the case of the ID keys. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 09:59:16 +00:00
iammattthomas db84efc3b0 Make the RSS widget title match other widgets in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 06:11:46 +00:00
iammattthomas a71e477b6f Fix typo in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 06:03:20 +00:00
iammattthomas 05220e3748 Close profile link tag in twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@13059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 04:48:24 +00:00
ryan 61859c5f5e First pass at custom background support. Needs UI love. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 20:37:12 +00:00
ryan 152304f1e1 Use comment_form(). Props beaulebens. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 21:02:08 +00:00
ryan b235937bcc Escape some attributes. Fix search form action. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 20:28:13 +00:00
ryan 1e4d04ee6b Use post_password_required(). see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:24:01 +00:00
ryan c9d92fc859 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
ryan 0ad559106d gettext for twentyten. see #12170
git-svn-id: http://svn.automattic.com/wordpress/trunk@13024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 17:59:08 +00:00
ryan 1fb181a4eb Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 16:16:26 +00:00