Commit Graph

591 Commits

Author SHA1 Message Date
westi
32b4cbe0da Use the attachment metadata to get the size infomation rather than making an HTTP request for the image in the attachment template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 21:02:34 +00:00
nacin
c40e204b6c Twenty Ten documentation and functions.php improvements. see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 20:53:36 +00:00
nacin
ff66f09ec9 @subpackage cannot have spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 17:10:21 +00:00
nacin
249a6cdd18 Use p instead of definition list for allowed tags in comment_form(). props demetris. Style the new markup in Twenty Ten. see #10910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 06:38:58 +00:00
nacin
61725ced93 Remove unnecessary and out-of-place Twenty Ten filter. Also, tabs not spaces. see #13198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 06:26:18 +00:00
potbot
3934cd678b POT, generated from r14661
git-svn-id: http://svn.automattic.com/wordpress/trunk@14662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 12:21:45 +00:00
markjaquith
4ab768959d Do not show dummy default category output when calling the_category on a post_type that does not support the category taxonomy (like pages). Fix TwentyTen theme to not display wrapping text if there are no categories. fixes #10333
git-svn-id: http://svn.automattic.com/wordpress/trunk@14660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 09:59:15 +00:00
potbot
0f2f5f276b POT, generated from r14627
git-svn-id: http://svn.automattic.com/wordpress/trunk@14629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 08:21:12 +00:00
nacin
a743de0788 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:20:30 +00:00
potbot
f06b9dbcf6 POT, generated from r14612
git-svn-id: http://svn.automattic.com/wordpress/trunk@14613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:21:45 +00:00
wpmuguru
21bef33fc6 add menu slots/theme_menus, props ryan, see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 22:14:54 +00:00
potbot
5ea7e3a144 POT, generated from r14554
git-svn-id: http://svn.automattic.com/wordpress/trunk@14555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 00:22:05 +00:00
nbachiyski
e27f57e1b6 Do not cut the Tagged <tags> phrase in half. Fixes #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:24:32 +00:00
westi
5bcf419601 Add ARIA landmark roles to TwentyTen. Fixes #13055 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:10:12 +00:00
nbachiyski
41d8837397 Various twentyten i18n fixes. Props zeo, dimadin. Fixes #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:30:58 +00:00
potbot
c05b99ed95 POT, generated from r14542
git-svn-id: http://svn.automattic.com/wordpress/trunk@14543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:22:01 +00:00
nbachiyski
75b3a4ea29 Clean up loop i18n. Props zeo, see #13198
* Take out tags from strings
 * Extract two common and complicatd strings into functions
 * Whitespace


git-svn-id: http://svn.automattic.com/wordpress/trunk@14541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 19:06:22 +00:00
potbot
57e51b0463 POT, generated from r14536
git-svn-id: http://svn.automattic.com/wordpress/trunk@14537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 08:21:46 +00:00
nbachiyski
d4e3352f1e I18n fixes for header.php in Twentyten. Props zeo. See #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 06:04:14 +00:00
nbachiyski
25e4c70b5d I18n and whitespace fixes for functions.php in TwentyTen
git-svn-id: http://svn.automattic.com/wordpress/trunk@14534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 05:58:24 +00:00
nbachiyski
2f7d83c22e Move vcard span out of the translatable string. See #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 05:28:01 +00:00
nbachiyski
8b03f80b29 Twentyten attachment.php copy and i18n fixes. Props dimadin and zeo. See #13198
* Removed the Post a comment link, since it's not present on any other single post page
 * The text and link to the full-size image weren't clear and hard to i18n. Changed to Full size is 3872 × 2592 pixel, where the size is the link
 * Whitespace fixes


git-svn-id: http://svn.automattic.com/wordpress/trunk@14532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 05:11:11 +00:00
potbot
e32f458230 POT, generated from r14524
git-svn-id: http://svn.automattic.com/wordpress/trunk@14525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 12:21:55 +00:00
nbachiyski
8c1e6b62e6 I18n fixes in Twentyten footer. Props zeo, see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-09 09:29:06 +00:00
iammattthomas
3b38c7671e In Twenty Ten, keep the search widget lable from clashing with the search widget title. Props iandstewart.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 06:57:38 +00:00
potbot
96a0afbc4a POT, generated from r14502
git-svn-id: http://svn.automattic.com/wordpress/trunk@14503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 20:21:45 +00:00
nacin
4340b23564 Make sure we're localizing the Gallery category in Twenty Ten. Use get_term_link because it can look up the category by the slug, instead of an extra get_cat_ID call. See [14350] for previous changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 18:13:20 +00:00
nacin
d06c6634ae Properly handle the wp_page_args filter in Twenty Ten. fixes #13293, props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-07 18:11:58 +00:00
nacin
7df4cd20a1 In Twenty Ten, give single.php a valid loop. fixes #13279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 17:34:17 +00:00
potbot
02d7ec59cc POT, generated from r14469
git-svn-id: http://svn.automattic.com/wordpress/trunk@14470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 04:21:21 +00:00
iammattthomas
9c378e8e27 Add a home link to the navigation in twenty ten. Props iandstewart.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 03:04:22 +00:00
nacin
81773b5ce1 Add editor-style-rtl.css. props yoavf, fixes #13121.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:38:42 +00:00
potbot
b6557a8347 POT, generated from r14434
git-svn-id: http://svn.automattic.com/wordpress/trunk@14435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:21:35 +00:00
nacin
3e035809a1 Twenty Ten spacing and string cleanups. props zeo, markmcwilliams. see #13198. Add a twentyten_credits filter, props nathanrice, fixes #12804. Also clean up the generator/credits string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:01:09 +00:00
potbot
ebff7d7c0f POT, generated from r14401
git-svn-id: http://svn.automattic.com/wordpress/trunk@14403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:21:30 +00:00
ryan
97c448ed14 Coding standard cleanups. Props zeo. see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:30:02 +00:00
ryan
d20d059440 Typo fixes. Props zeo. see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:28:44 +00:00
ryan
a35bf04b19 Use get_search_query(). Props zeo. see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:28:04 +00:00
nacin
a42ee2366e Twenty Ten RTL fixes. props yoavf. fixes #13121.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:17:27 +00:00
iammattthomas
941da09fa7 In Twenty Ten:
* removed custom functions for listing tags, cats, or other custom taxonomy terms.
* fixed up a couple of span tags meant to catch the text before tag and cat listings (for child themes)
* made attachment pages full width with a filterable size for the image, 'twentyten_attachment_size' (for child themes)
* removed "RSS for this post" in single.php.
clicking on attachment images in a gallery takes you to the next image, unless it's the last image in a gallery, in which case it points you back to the parent post.
* added a link to the full-size image in the post meta

Props iandstewart.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:16:47 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
potbot
2764e19bc5 POT, generated from r14358
git-svn-id: http://svn.automattic.com/wordpress/trunk@14359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 04:21:35 +00:00
nbachiyski
855ac9ef4a Use _n() instead of comments_number() in twentyten, because it doesn't handle plurals properly. Props zeo and dimadin. Fixes #13187
git-svn-id: http://svn.automattic.com/wordpress/trunk@14358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 01:07:49 +00:00
potbot
667481ba03 POT, generated from r14353
git-svn-id: http://svn.automattic.com/wordpress/trunk@14354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 00:21:25 +00:00
ryan
b4e14fb299 Mark Asides and Gallery category slugs for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:32:59 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin
1f94349afb Check thread_comments before loading the comment-reply script. props ptahdunbar, fixes #12932
git-svn-id: http://svn.automattic.com/wordpress/trunk@14339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 20:51:30 +00:00
potbot
dd854880b3 POT, generated from r14337
git-svn-id: http://svn.automattic.com/wordpress/trunk@14338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 20:21:34 +00:00
nacin
bbe76ccd6e Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053
git-svn-id: http://svn.automattic.com/wordpress/trunk@14331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:10:42 +00:00
potbot
521bac0450 POT, generated from r14324
git-svn-id: http://svn.automattic.com/wordpress/trunk@14325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-01 00:21:36 +00:00
nacin
2c26a7b63c Remove unnecessary space in 2010 comments.php. props zeo, fixes #13196.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 22:39:37 +00:00
nacin
9fa3246d6e Translate name of sidebars in twentyten. props zeo, fixes #13189.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 22:34:41 +00:00
iammattthomas
01b2401d91 In twenty ten, removing some unnecessary styles for images
git-svn-id: http://svn.automattic.com/wordpress/trunk@14300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 17:32:56 +00:00
potbot
8dbbe467dc POT, generated from r14295
git-svn-id: http://svn.automattic.com/wordpress/trunk@14296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 08:21:39 +00:00
nacin
caa6f219dd In Twenty Ten, i18n for prev/next post link arrows. props yoavf, fixes #13123.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:27:53 +00:00
potbot
e94bc6979e POT, generated from r14283
git-svn-id: http://svn.automattic.com/wordpress/trunk@14284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:21:06 +00:00
iammattthomas
f0b91458e4 In Twenty Ten, fix the ordering of items in the title tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 17:17:42 +00:00
iammattthomas
6dfe0a43ac In Twenty Ten, remove the pipe separator from the title when there is no blog description. Props noel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 17:11:18 +00:00
iammattthomas
6636a27c38 In Twenty Ten, fix aligned image styles
git-svn-id: http://svn.automattic.com/wordpress/trunk@14272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 05:20:48 +00:00
iammattthomas
b42b1502e9 In Twenty Ten, remove margins from normal inline images, set vertical alignment of inline images, and apply bottom margin to alignnone class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:46:10 +00:00
iammattthomas
d74a32fb0d In Twenty Ten, give header img a bottom border so it looks right when there's no menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 21:23:08 +00:00
iammattthomas
d630354913 In twentyten, use path.jpg as the default header image
git-svn-id: http://svn.automattic.com/wordpress/trunk@14227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 01:02:51 +00:00
iammattthomas
8f63ab9743 In twentyten, equalize border size on header and footer for print
git-svn-id: http://svn.automattic.com/wordpress/trunk@14225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 18:27:08 +00:00
iammattthomas
6948c5f0fa In twentyten, fix print stylesheet for single column page template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 18:20:17 +00:00
iammattthomas
18f95b7dd5 In twentyten, apply last-child stylings to pingbacks as well as comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 18:08:46 +00:00
potbot
59589f6dc4 POT, generated from r14204
git-svn-id: http://svn.automattic.com/wordpress/trunk@14205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 20:21:09 +00:00
iammattthomas
e0190cbf73 In twentyten, CSS code cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@14204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 19:09:02 +00:00
iammattthomas
7a7eae1200 In twentyten, remove border from last child of commentlist, add border to top of respond div
git-svn-id: http://svn.automattic.com/wordpress/trunk@14202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 18:59:36 +00:00
iammattthomas
9ff0fe865e In twentyten, fix Firefox print style, make print styles use full page width, and style form inputs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 18:49:58 +00:00
nacin
e01a4333cd Twentyten: Prevent right edge of the comment textarea from being hidden from view in Firefox. see #12994
git-svn-id: http://svn.automattic.com/wordpress/trunk@14115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 19:07:00 +00:00
potbot
66dc4fe476 POT, generated from r14084
git-svn-id: http://svn.automattic.com/wordpress/trunk@14085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 00:21:06 +00:00
iammattthomas
207a41d5a5 Links on dates in Twenty Ten back by popular demand. Fixes #12925.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 23:41:13 +00:00
iammattthomas
607a8c4fbf Remove the permalink from dates in Twenty Ten, fixes #12925
git-svn-id: http://svn.automattic.com/wordpress/trunk@14083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 23:05:37 +00:00
iammattthomas
183e194de4 Make entry-meta on single posts match entry-meta in the loop in Twenty Ten
git-svn-id: http://svn.automattic.com/wordpress/trunk@14082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 22:43:52 +00:00
nacin
cfee8704b2 Remove unnecessary quote escaping and \n\t indentation in twentyten. see #12902
git-svn-id: http://svn.automattic.com/wordpress/trunk@14037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 03:13:48 +00:00
ryan
96bc63439a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
potbot
a08b7ff487 POT, generated from r14005
git-svn-id: http://svn.automattic.com/wordpress/trunk@14006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 04:21:01 +00:00
dd32
b22d2ea457 Move all Feature Images => header image integration into a is_singular() check. Prevents a PHP notice when $post is not set (For example, a 404 page). Fixes #12661
git-svn-id: http://svn.automattic.com/wordpress/trunk@14002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 02:58:39 +00:00
nacin
686baae7cc Cast away the default styling of the recent comments widget in twentyten. fixes #12703
git-svn-id: http://svn.automattic.com/wordpress/trunk@13977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:33:52 +00:00
potbot
8e0fab0d43 POT, generated from r13944
git-svn-id: http://svn.automattic.com/wordpress/trunk@13945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 08:21:08 +00:00
nacin
40a8e989e1 Update obsolete docs in Twentyten.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:45:22 +00:00
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
ryan
81d796ab5f Remove classic and default themes. see #10654
git-svn-id: http://svn.automattic.com/wordpress/trunk@13879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 17:07:58 +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
30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +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
nacin
8bcc5969dc Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:13:23 +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
westi
f05ee1844f Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:34:39 +00:00
ryan
ec8e347792 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@12598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 17:23:29 +00:00
westi
00df0c3f5f Don't pass deprecated argument to get_bloginfo() in the classic theme. See #11652 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:19:27 +00:00
azaozz
4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
matt
cff2ea75c7 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: http://svn.automattic.com/wordpress/trunk@12341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 19:59:34 +00:00
markjaquith
d716198fb7 Revert [12133] — remove post image support from Default theme. Too hokey.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 21:54:12 +00:00
markjaquith
22ae6f36c0 Add basic post thumbnail support to Default theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 08:12:21 +00:00
markjaquith
83364a9737 Revert errant local theme modifications in [12036]. Note to self: svn status is your friend.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 14:20:35 +00:00
markjaquith
af407e7e3f Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:57:16 +00:00
westi
c6a7824592 Fix display of header on default theme custom header page. Fixes #9929 props jmulley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 20:52:06 +00:00
westi
83f02363e1 Define in the default theme. Fixes #10682 props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-27 21:27:45 +00:00
westi
fc507c466e Comments for default theme Pages. Fixes #3753.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-27 21:23:52 +00:00
westi
904530f12a Make the default and classic themes comment textareas valid XHTML. Fixes #8971 props vladimir_kolesnikov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 17:26:31 +00:00
westi
99d17449f1 Correct comments and remove unecessary echos from the default themes sidebar templete file. Fixes #10335 props JeremyVisser.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-08 14:26:49 +00:00
ryan
fe55cd7da6 Add missing semicolons. Props mrgtb. fixes #9885
git-svn-id: http://svn.automattic.com/wordpress/trunk@11413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 21:06:47 +00:00
markjaquith
bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
azaozz
5f6574acbf Correct footer background colour for default theme, props jdub, fixes #9733
git-svn-id: http://svn.automattic.com/wordpress/trunk@11297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 06:04:47 +00:00
ryan
1c8d588d18 Add invisible class to bundled themes. Props hakre. fixes #9755
git-svn-id: http://svn.automattic.com/wordpress/trunk@11277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 20:18:57 +00:00
markjaquith
d7b015645d esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
markjaquith
6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
33831c90cd Use is_user_logged_in(), have_comments in bundled themes. Props zeo. fixes #9626
git-svn-id: http://svn.automattic.com/wordpress/trunk@11067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 07:11:31 +00:00
ryan
a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan
a1aeb4a1f2 Use comments_open() and pings_open() in packaged themes. Props coffee2code. fixes #9556
git-svn-id: http://svn.automattic.com/wordpress/trunk@10978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 05:30:09 +00:00
ryan
96c0d6faa1 Fix logic inversion. Props christmasboy81. fixes #7121
git-svn-id: http://svn.automattic.com/wordpress/trunk@10949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 18:12:41 +00:00
ryan
08ae2f5ee2 Add WAI-ARIA landmark roles to default theme. Props peterkz. fixes #9408
git-svn-id: http://svn.automattic.com/wordpress/trunk@10945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 16:42:32 +00:00
ryan
d8fc27682d Add index.php to plugins and themes dirs to prevent dir listings. fixes #8699
git-svn-id: http://svn.automattic.com/wordpress/trunk@10940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:57:04 +00:00
ryan
fe648c9e20 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: http://svn.automattic.com/wordpress/trunk@10931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 18:31:49 +00:00
ryan
2bfc2ac802 RTL fixes for default theme. Props yoavf. fixes #9520
git-svn-id: http://svn.automattic.com/wordpress/trunk@10914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-12 17:29:25 +00:00
azaozz
b4e1aab114 Add the sticky post grey background to the default theme, props Viper007Bond, fixes #9359
git-svn-id: http://svn.automattic.com/wordpress/trunk@10816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-19 08:26:38 +00:00
ryan
d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
westi
88cab327c9 The url for the time-since plugin has changed. Fixes #7250 props Paveo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 22:08:50 +00:00
ryan
a9e8073b30 Use "Custom Header" for menu text. see #9178
git-svn-id: http://svn.automattic.com/wordpress/trunk@10623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 07:43:15 +00:00
ryan
448ca8a0e0 set eol-style. fixes #9027
git-svn-id: http://svn.automattic.com/wordpress/trunk@10487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-03 06:09:07 +00:00
ryan
af5c60f83f body_class(). Props ionfish. fixes #7939
git-svn-id: http://svn.automattic.com/wordpress/trunk@10485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-02 19:21:38 +00:00
azaozz
3949fb7e90 Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 05:04:58 +00:00
azaozz
637d90aa96 Fix HTML issue with the single page comment form in the default theme, props vladimir_kolesnikov, fixes #8560
git-svn-id: http://svn.automattic.com/wordpress/trunk@10177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 19:45:44 +00:00
markjaquith
19177023c9 Move from generic "Save" to better "Update X", more consistent use of button-primary for major actions. fixes #8374. props azaozz, FFEMTcJ
git-svn-id: http://svn.automattic.com/wordpress/trunk@10137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:07:36 +00:00
ryan
9f56c8eba4 Add paging links above comments list. Props Viper007Bond. fixes #8219
git-svn-id: http://svn.automattic.com/wordpress/trunk@10097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 04:49:22 +00:00
westi
61fb6ea540 Give context to more translations to allow for differentiation between plural noun, verb and adjective translations. Fixes #8154 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 18:16:44 +00:00
ryan
e7db571b64 RTL tweak for classic theme from RanYanivHartstein. fixes #8009
git-svn-id: http://svn.automattic.com/wordpress/trunk@9692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 19:49:58 +00:00
ryan
544ea955d8 Eliminate chaining for php 4 compat. Props DD32. fixes #5324
git-svn-id: http://svn.automattic.com/wordpress/trunk@9577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 23:27:49 +00:00
westi
8fcc4c16ce RTL fix for avatars in classic theme. Props RanYanivHartstein.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 22:14:24 +00:00
markjaquith
acfecce577 Make wp_title() sort titles based on separator direction. Reverse the titles in bundled theme. Better SEO. fixes #7338
git-svn-id: http://svn.automattic.com/wordpress/trunk@9376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 04:53:52 +00:00
ryan
442858025e comments-popup template updates from DD32. fixes #6391
git-svn-id: http://svn.automattic.com/wordpress/trunk@9336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 21:06:30 +00:00
ryan
76c966b75a get_search_form from technosailor. fixes #7910
git-svn-id: http://svn.automattic.com/wordpress/trunk@9234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:39:56 +00:00
markjaquith
61f911c42e Bring back the H2s. Rough draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:02:03 +00:00
ryan
c921aa8b0d Better not found messages. Props caesarsgrunt. fixes #5324
git-svn-id: http://svn.automattic.com/wordpress/trunk@9226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 17:00:57 +00:00
ryan
461b32e12c comment_id_fields(). see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 19:06:18 +00:00
azaozz
2bd7d9960d No-JS mode for replying to comments and some improvements/cleanup of comment-reply.js, includes patch by Viper007Bond, see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 07:37:05 +00:00
ryan
ea0ce44d87 h2 removal per wireframes. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 22:06:23 +00:00
westi
f419d59754 Protect log out actions against CSRF. Props markjaquith and ionfish. Fixes #7790.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-28 21:05:37 +00:00
westi
a2df97240f phpdoc for the default and classic themes. See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 09:49:27 +00:00
ryan
afc5c225f3 Comment styling for default theme. Props noel. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 04:28:39 +00:00
ryan
04ce449e3c First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-23 21:11:27 +00:00
ryan
0889951393 Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@8938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-19 06:13:52 +00:00
ryan
3aad45d7e4 Add type argument to wp_list_comments(). Make comments arg optional. Introduce separate_comments(). see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 00:23:38 +00:00
ryan
5828310157 wp_list_comments() and threaded comment support. First cut. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 19:25:50 +00:00
ryan
cddfd974e0 post_password_required(). fixes #7679
git-svn-id: http://svn.automattic.com/wordpress/trunk@8800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 19:54:14 +00:00
ryan
594b715207 Add space. see #7560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 20:45:45 +00:00
ryan
9f9ef004db comment_class(). Props sandbox theme. see #7560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 23:48:09 +00:00
ryan
9e05ca767a Add more classes to post_class(). see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 21:58:06 +00:00
ryan
a9d35dafba Add post_class() template function for emitting standard classes for post div. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 19:09:08 +00:00
ryan
15440186be Add sticky_class() template tag. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 18:21:52 +00:00
westi
5506ddd8b5 Advertise Atom 1.0 Feed in default theme. Fixes #7341 for trunk props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 06:56:25 +00:00
ryan
482fcca10a Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@8340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-15 15:59:19 +00:00
matt
b9b2d4d557 We need to clear floats so images don't run into the next post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-12 17:53:23 +00:00
ryan
8a37dfa5b2 Use dash instead of underscore for CSS names. Props azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 23:37:56 +00:00
ryan
88ca7797d1 Image captions from azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 18:41:11 +00:00
westi
7759f1672f Add ARIA markup for required fields. Fixes #6914 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:28:12 +00:00
westi
3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan
4a19108aaf Classic theme navigation fix from Otto42. fixes #6513 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 21:35:57 +00:00
markjaquith
e0e2dedba5 Do not hyperlink the "Edit this entry" period. props phocks. fixes #6488
git-svn-id: http://svn.automattic.com/wordpress/trunk@7582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-31 17:02:41 +00:00
ryan
f37928e5e5 Updated RTL for default theme from mani_monaj. see #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 20:42:50 +00:00
matt
efef565261 Make calls in image.php template more explicit to allow for easier hacking and adaptation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 00:13:14 +00:00
matt
f43fba3559 .clear class was used, but undefined, which could cause funky image navigation at some sizes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 23:12:54 +00:00
ryan
e1b1845154 Taxonomy links and template tags from andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:37:19 +00:00
ryan
4f413d7437 W-P! rocks the CamelCase. Props lloydbudd. fixes #6335
git-svn-id: http://svn.automattic.com/wordpress/trunk@7450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 16:10:33 +00:00
ryan
c7d6a001d0 Avatar support for classic theme
git-svn-id: http://svn.automattic.com/wordpress/trunk@7361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 23:16:10 +00:00
ryan
d587b08c0b Add avatar support to default theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 23:12:17 +00:00
matt
3a6137e0ac Don't link to yourself on a permalink page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:46:58 +00:00
matt
77c8335821 Better media attachment template. See #5911. Hat tip: andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:09:14 +00:00
matt
b0cf57810e Better attachment template. Hat tip: Andy. Fixes #6150.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 00:02:15 +00:00
ryan
04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan
2c874f5189 Admin styling updates from mt. fixes #5940
git-svn-id: http://svn.automattic.com/wordpress/trunk@6950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:27:23 +00:00
ryan
d12642fc81 Remove useless is_tag() call. Props takayukister. fixes #5687
git-svn-id: http://svn.automattic.com/wordpress/trunk@6942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 17:57:53 +00:00
ryan
df65d131ab Theme editor font sizing and layout fixes from ionfish. see #5890
git-svn-id: http://svn.automattic.com/wordpress/trunk@6890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-17 22:23:04 +00:00
ryan
8263948a96 Some notice fixes from Nazgul. fixes #3155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
ryan
0483b98514 Use feed_link instead of rss_link functions. Props nazgul. fixes #5743
git-svn-id: http://svn.automattic.com/wordpress/trunk@6702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 22:15:49 +00:00
ryan
9cc169608f Use wp_list_bookmarks() in default theme. Props MichaelH. fixes #5724
git-svn-id: http://svn.automattic.com/wordpress/trunk@6673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 20:18:07 +00:00
ryan
d13d567b22 Theme tagging from andy. fixes #5545
git-svn-id: http://svn.automattic.com/wordpress/trunk@6530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-31 18:39:43 +00:00
westi
e2f66cbb1d Really making the default theme notice free.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 23:02:13 +00:00
westi
e2acb46b6c Making the default theme notice free.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 22:56:56 +00:00
ryan
596dc0ac87 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: http://svn.automattic.com/wordpress/trunk@6343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-26 21:40:00 +00:00
westi
99ae520d0d Fix atom version number in the classic theme. Relates #5213 props rubys
git-svn-id: http://svn.automattic.com/wordpress/trunk@6261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 19:37:21 +00:00
westi
e9cfb43133 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:55:24 +00:00