Commit Graph

789 Commits

Author SHA1 Message Date
potbot
4727ef8477 POT, generated from r18132
git-svn-id: http://svn.automattic.com/wordpress/trunk@18133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 21:29:23 +00:00
iandstewart
08fb0d4133 Twenty Eleven: Add border styles to images so we can better style linked images on :focus; includes updates to editor styles and improvements to Image Post styles; See #17524
git-svn-id: http://svn.automattic.com/wordpress/trunk@18132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 21:11:41 +00:00
iandstewart
a7e5e2034f Twenty Eleven: show expected formatting for em, strong, and a in editor styles; Props greuben; Fixes #17417
git-svn-id: http://svn.automattic.com/wordpress/trunk@18127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 14:33:11 +00:00
ryan
209f213f56 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: http://svn.automattic.com/wordpress/trunk@18125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:19:58 +00:00
ryan
8a937b9c09 Retain screen-reader-text for pages shown in the admin. see #17524
git-svn-id: http://svn.automattic.com/wordpress/trunk@18123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 21:59:11 +00:00
iandstewart
50b5874f41 Twenty Eleven: editor-style should have max-width; Props bi0xid; Fixes #17393 #17649; See #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 21:03:50 +00:00
iandstewart
8a7dd1e31c Twenty Eleven: accessibility improvements and minor style fixes for galleries; See #17524
* Improved color contrast for light and dark color schemes
* Skip link for skipping directly to sidebar content
* Skip links visible on :focus
* Using a more semantic, general class name of .assistive-text instead of .section-heading and .screen-reader-text
* Focus styles for password inputs (and a minor style fix)


git-svn-id: http://svn.automattic.com/wordpress/trunk@18117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 19:30:07 +00:00
ryan
55f6b637f3 Contextual help for twentyeleven's theme options screen. Props sbressler, dougwrites, jane. fixes #17357
git-svn-id: http://svn.automattic.com/wordpress/trunk@18101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:28:42 +00:00
iandstewart
e2a2e5edf8 Twenty Eleven: Style the comments off message in the Ephemera widget; Props knutsp; Fixes #17583
git-svn-id: http://svn.automattic.com/wordpress/trunk@18099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 18:36:22 +00:00
iandstewart
cd9146ed3d Twenty Eleven: Correct the broken 404 layout; Fixes #17606
git-svn-id: http://svn.automattic.com/wordpress/trunk@18077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 21:46:36 +00:00
iandstewart
66beb266a1 Twenty Eleven: bug fixes and enhancements ...
* Improvements to the dark color scheme; Props matveb
* Remove link colors from the dark color scheme and let the default link color cascade
* Check for multiple authors before showing author information on single posts
* Remove the span before the edit link on the image template
* Add a comment icon; Props hugobaeta
* Replace the default reply text with an icon to prevent i18n issues with the design; Props matveb
* Don't output sidebar on the no sidebar layout
* Use the search form styling from the header for all search forms
* Style fixes for no search results page
* Fixes for fancy blockquote styles
* Style fixes for the showcase slider
* Margin for galleries
* Only showing the top post navigation on paged results
* Remove floats from images for the smallest screen sizes


git-svn-id: http://svn.automattic.com/wordpress/trunk@18072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 01:29:55 +00:00
potbot
6f1b7a455c POT, generated from r18060
git-svn-id: http://svn.automattic.com/wordpress/trunk@18061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-27 03:29:06 +00:00
iandstewart
7e3f9578ac Twenty Eleven: Improvements to the responsive layout
git-svn-id: http://svn.automattic.com/wordpress/trunk@18060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-27 01:04:05 +00:00
iandstewart
46daad4d6d Twenty Eleven: Add the Ephemera title to the theme textdomain; Props knutsp; Fixes #17572
git-svn-id: http://svn.automattic.com/wordpress/trunk@18059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 20:50:53 +00:00
iandstewart
7fe55a3443 Twenty Eleven: Show tag descriptions on tag archive pages if they exist; Props zeo; Fixes #17438
git-svn-id: http://svn.automattic.com/wordpress/trunk@18058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 19:10:30 +00:00
iandstewart
7692708e25 Twenty Eleven: focus styles for all links; Fixes #17410
git-svn-id: http://svn.automattic.com/wordpress/trunk@18057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 18:41:35 +00:00
iandstewart
128c61411a Twenty Eleven: Style fixes and showcase improvements; Props matveb
* Remove bottom border from last post
* Improve featured posts on the showcase: move slider navigation to the top right; make sure the bottom border shows; make the reading more link thicker
* Positioning fix for image post format meta
* Dark stylesheet improvements
* Ensure search input text is centred vertically


git-svn-id: http://svn.automattic.com/wordpress/trunk@18050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 21:19:52 +00:00
iandstewart
5b84f25408 Twenty Eleven: make sure title-less widgets don't float into content for small screens; Props devinreams; Fixes #17423
git-svn-id: http://svn.automattic.com/wordpress/trunk@18048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 20:24:21 +00:00
iandstewart
24ca5b0064 Twenty Eleven: correct syntax for CSS transition property; Props Jayjdk; Fixes #17426
git-svn-id: http://svn.automattic.com/wordpress/trunk@18046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 19:36:32 +00:00
iandstewart
9eb1e34847 Twenty Eleven: prevent overflow on the pre element; Props devinreams; Fixes #17432
git-svn-id: http://svn.automattic.com/wordpress/trunk@18042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 17:46:19 +00:00
iandstewart
a44378eafd Twenty Eleven: Fix a typo in PHPdoc; Props tenpura; Fixes #17434
git-svn-id: http://svn.automattic.com/wordpress/trunk@18040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 17:18:23 +00:00
iandstewart
a3b8833e2f Twenty Eleven: consistent styles for .nopassword and .nocomments; Props zeo; Fixes #17437
git-svn-id: http://svn.automattic.com/wordpress/trunk@18039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 17:13:02 +00:00
iandstewart
405223f7cf Twenty Eleven: better visibility for comment form text in the dark color scheme; Props greuben; Fixes #17468
git-svn-id: http://svn.automattic.com/wordpress/trunk@18037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:28:51 +00:00
iandstewart
dd538986fa Twenty Eleven: correcting mis-floated sidebar in IE9 on the showcase page; Props rosshanney; Fixes #17486
git-svn-id: http://svn.automattic.com/wordpress/trunk@18033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 15:55:22 +00:00
iandstewart
0a2bb27386 Twenty Eleven: using the cite element to markup a name doesn't conform to the HTML spec; Props holizz and aaroncampbell; See #17520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 15:29:26 +00:00
iandstewart
ef03662627 Twenty Eleven: make categories and tags i18n friendly; Props dimadin; Fixes #17531
git-svn-id: http://svn.automattic.com/wordpress/trunk@18029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 15:19:33 +00:00
ryan
8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
nacin
97e8bd742d Leverage option_page_capability_* filter in Twenty Eleven. fixes #14365.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:32:44 +00:00
nacin
7ab14c5ae3 echo. props ocean90, fixes #17535.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:25:42 +00:00
nacin
0b0f3304e3 Fix twentyeleven_url_grabber(). props duck_, see #17267.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 08:31:01 +00:00
nacin
7f98b9beaf Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 19:06:09 +00:00
nacin
c21defc596 s/twentyten/twentyeleven/. props zeo, fixes #17493.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:38:42 +00:00
nacin
2819fd04c6 Update the Twenty Eleven footer. Remove 'Theme:', translate 'powered by' and add a title per Twenty Ten, add twentyeleven_credits action. props zeo for initial patch. fixes #17493.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:32:22 +00:00
nacin
7f16795c70 the_excerpt() doesn't take an argument. props coffee2code. fixes #17489. see #13883.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:26:40 +00:00
potbot
6d50ac2f38 POT, generated from r17937
git-svn-id: http://svn.automattic.com/wordpress/trunk@17938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 12:30:20 +00:00
lancewillett
6b26de11a4 Twenty Eleven: run twentyeleven_url_grabber once in widgets.php, props duck_ -- closes #17279
git-svn-id: http://svn.automattic.com/wordpress/trunk@17917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 16:25:53 +00:00
lancewillett
033b47c5d3 Twenty Eleven footer style fixes, props matveb
* Improve footer credits, add WordPress PNG
 * Add hover color to footer links

git-svn-id: http://svn.automattic.com/wordpress/trunk@17908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 23:13:56 +00:00
lancewillett
6f3711844c Twenty Eleven: updated screenshot, props matveb
git-svn-id: http://svn.automattic.com/wordpress/trunk@17906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 18:45:43 +00:00
lancewillett
e94b17390b Twenty Eleven: fix changes in r17846, props nacin - see #17198
* Simplify WP_Query call to pass args directly
 * Don't use Yoda Conditions for <, >, <=, >= as they can be hard to read (ref: http://codex.wordpress.org/WordPress_Coding_Standards#Yoda_Conditions)
 * Fix typo in query args

git-svn-id: http://svn.automattic.com/wordpress/trunk@17847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 23:15:38 +00:00
lancewillett
aee2fce01f Twenty Eleven: showcase template improvements - see #17198 (props kawauso for patches)
* Only show "featured-posts" area if there are published sticky posts.
 * If there is only one sticky, hide the slider and just display the single featured post.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 22:54:55 +00:00
lancewillett
c5b106de63 Twenty Eleven fixes, props matveb - see #17198
- Add padding to the menu when the search input is in menu bar
- Improve search input behavior when located in menu bar (also props ocean90)
- i18n for post formats headings (also props nickbohle)
- Small style fix for images

git-svn-id: http://svn.automattic.com/wordpress/trunk@17845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 22:08:05 +00:00
lancewillett
9471474740 Twenty Eleven: adding RTL editor styles and tighter header height - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 00:31:27 +00:00
iandstewart
427a92a0d4 Twenty Eleven: correct typo in inline documentation props markmcwilliams; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 17:58:41 +00:00
iandstewart
d9171ff64a Twenty Eleven: first pass at visual editor styles with RTL editor styles to come; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 22:46:37 +00:00
potbot
94c19a9f57 POT, generated from r17808
git-svn-id: http://svn.automattic.com/wordpress/trunk@17809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 17:29:17 +00:00
lancewillett
ddd64941f9 Twenty Eleven: update description and tag list - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 23:26:18 +00:00
lancewillett
ac33e2df00 Twenty Eleven updates and fixes, see #17198
* Add explanatory comments in all templates, following Twenty Ten's example
 * Stick with twentyeleven_ for prefixing filter names
 * Use post format content templates in search results
 * First pass at adding a template for adding a sidebar to pages
 * Add a featured post header to standard sticky posts
 * Style fixes: print media, comment styles for pages with sidebars, color of meta links on image post format

git-svn-id: http://svn.automattic.com/wordpress/trunk@17802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 22:54:50 +00:00
potbot
24bdfe55bb POT, generated from r17791
git-svn-id: http://svn.automattic.com/wordpress/trunk@17792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 09:58:41 +00:00
lancewillett
32fd5672a4 Twenty Eleven fixes - see #17198
* RTL tweaks and fixes
* Misc style fixes
* Fix tags output, comment links, and remove trailing spaces from translatable strings


git-svn-id: http://svn.automattic.com/wordpress/trunk@17791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 00:45:50 +00:00
lancewillett
b89437791b Twenty Eleven: style improvements, RTL, and more header images - see #17198
* Add two more default header images (see r17729)
* Change the featured posts limit from 4 to ten in front page slider
* First pass at robust RTL styles
* Pingback style fixes
* Wider comment form for the one column layout
* Add CSS comment with instructions on how to remove the post format headings


git-svn-id: http://svn.automattic.com/wordpress/trunk@17790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-03 20:16:34 +00:00
iandstewart
c3d51112c2 Twenty Eleven: Post Format headings and CSS cleanup; See #17198 props matveb
git-svn-id: http://svn.automattic.com/wordpress/trunk@17788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 21:11:32 +00:00
iandstewart
ff4d0e5249 Twenty Eleven: updated DocBlock comments following Twenty Ten's example; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 21:04:44 +00:00
lancewillett
ee4df1fc1e Twenty Eleven: introduce image post format and miscellaneous style fixes, props matveb and iandstewart - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 22:33:04 +00:00
lancewillett
62edbb753b Twenty Eleven: improve calls to get_header_image() - see #17240 and #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 22:22:19 +00:00
iandstewart
54d958ddbd Twenty Eleven: Simplified post author highlighting and comment arrow images for the dark color scheme comments; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 21:00:06 +00:00
lancewillett
372e5fd8de Twenty Eleven: style.css cleanup and Showcase template improvements, props matveb - see #17198
* Add full support for the featured slider powered by JS (except auto-slide)
 * Change the title hover state of large stickies to white
 * Prevent plain text posts from being displayed transparently over images
 * Update slider featured image size to 500x300
 * Add comment blocks to showcase.php

git-svn-id: http://svn.automattic.com/wordpress/trunk@17761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:19:02 +00:00
lancewillett
65cbcea31c Twenty Eleven: update background color of comment arrows so they're visible, props iandstewart - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:11:10 +00:00
nacin
03104c5cfd Escape urls in the Epherma widget. see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 23:59:08 +00:00
iandstewart
1c054a6169 Twenty Eleven: First pass at dark color scheme w/ simplification of borders above and below the menu; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 22:15:36 +00:00
iandstewart
262a27b5cf Twenty Eleven: make sure that link color options set in theme-options.php will override showcase.php recent posts and ephemera widget link colors; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 22:04:39 +00:00
lancewillett
a87ba1d261 Twenty Eleven: theme options - see #17198
* Make color swatch clickable to open palette
 * Change color picker link to a submit button to match existing UI

git-svn-id: http://svn.automattic.com/wordpress/trunk@17754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 19:01:51 +00:00
iandstewart
e8f22e3175 Twenty Eleven: First pass at styles to support the theme option for alternate layouts; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 18:14:48 +00:00
nacin
58aa6a124a Rename twentyeleven_color_schemes hook to twentyeleven_enqueue_color_scheme, so its purpose is clear. Also rename twentyeleven_color_styles() to twentyeleven_enqueue_color_scheme(), and twentyeleven_link_color() (which sounds like a getter) to twentyeleven_print_link_color_style(). Some tidying in twentyeleven_layout_classes(). see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:05:53 +00:00
nacin
bb306c3442 More Twenty Eleven cleanup and add the comment-awaiting-moderation class. see #17198. see #15206 for history on the CSS class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 10:13:38 +00:00
nacin
2b71bba9c2 In Twenty Eleven: Register the widget from functions.php. Kill create_function. Attach twentyeleven_widgets_init() to widgets_init, rather than init. Eliminate use of the $post global in the widget. see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:47:30 +00:00
nacin
4964598cea Twenty Eleven: Fix up the color picker JS. Use a separate color swatch rather than the input background. While cool, it doesn't have suffficient contrast. Also set farbtastic as a JS dependency. see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:32:34 +00:00
nacin
e43ec9377d Move files in inc/theme-options up one level. see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 08:59:42 +00:00
nacin
836354fd7a Twenty Eleven:
* Use add_option(), rather than get_option() with defaults, to prevent notoption queries.
 * Add twentyeleven_theme_options_validate filter, that way one doesn't need to add a filter to sanitize_option_\$option to allow more options in.
 * Some inline doc modifications and additions.
see #17198.



git-svn-id: http://svn.automattic.com/wordpress/trunk@17734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 08:52:37 +00:00
nacin
9db8f895a0 Rewrite of Twenty Eleven theme-options.php. Including:
* Full inline documentation.
 * Enqueue scripts/styles on admin_enqueue_scripts and use hook_suffix rather than GET[page]
 * Add filters to twentyeleven_color_schemes(), twentyeleven_layouts(), which necessitates adding a thumbnail URL value here, rather than generating them in the form.
 * Add a twentyeleven_default_theme_options filter.
 * Remove manual check for REQUEST[settings-updated], instead using settings_errors(), since we're using options.php.
 * Abstract out the default link color, rather than hardcoding it in certain places.
 * Use checked().
 * Rename some variables and functions for clarity.
 * Remove unnecessary functions twentyeleven_current_layout() and twentyeleven_current_color_scheme(), as we already have twentyeleven_get_theme_options().
 * Add a twentyeleven_color_schemes action to allow for enqueueing custom color schemes.
 * Add a twentyeleven_layout_classes filter, to allow filtering what gets sent back to body_class().
 * Hook into wp_enqueue_scripts rather than wp_print_styles for enqueueing the color stylesheet.
 * Rewrite the register_setting() callback to start from scratch with an empty array. Improve the link_color logic.
 * Use submit_button().
 * Use esc_attr() rather than esc_attr_e() for non-translations.

TODO:
 * Implement settings sections/fields logic to allow extension of the options page.
 * Consider re-doing this in a class. It'll be cleaner.
 * Store a DB version so we can do an add_option(), rather than calling get_option() with defaults.

see #17198.



git-svn-id: http://svn.automattic.com/wordpress/trunk@17733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 08:06:57 +00:00
lancewillett
e5425ba17a Twenty Eleven: theme options - see #17198
* First pass at Link Color CSS rules
 * Add new function to return default values
 * Implement better validation for hex color value
 * Fix missing esc_attr()

git-svn-id: http://svn.automattic.com/wordpress/trunk@17732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 23:03:27 +00:00
lancewillett
5628ced76f Twenty Eleven: add first batch of new header images, courtesy of the immeasurable photomatt archives - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:44:09 +00:00
iandstewart
c491c77f1d Twenty Eleven: first pass at print styles; See ##17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:03:58 +00:00
lancewillett
5daf376821 Twenty Eleven: fix spacing and add a few missing esc_attr() calls in widgets.php - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 04:45:11 +00:00
lancewillett
963d908223 Twenty Eleven: set default case for switch statement in the twentyeleven_comment(), props greenshady - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 04:38:36 +00:00
iandstewart
90451d9052 Twenty Eleven: functions.php cleanup and introduction of theme options; see #17198
* Cleanup functions.php, adding comments and function_exists() checks following Twenty Ten's example
* Theme option for choosing an alternate (dark) color scheme. It currently only loads a placeholder CSS file with dark styles to follow.
* Theme option for selecting a link color that loads an internal style block for resetting link colors. An updated style.css will follow to take advantage of this.
* Theme options for selecting an alternate layout. Adds a class to the body element. An updated style.css will follow to take advantage of this.


git-svn-id: http://svn.automattic.com/wordpress/trunk@17721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 22:52:18 +00:00
lancewillett
2bcbcf31ec Twenty Eleven: move widgets.php into /inc - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 21:05:43 +00:00
lancewillett
36742c0032 Twenty Eleven: minor style fixes (overflow) for international blogs and replacing em dash with the proper CSS value for the entity. Props matveb, see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:59:32 +00:00
lancewillett
34cdfcdd41 Twenty Eleven: add additional conditional IDs for the html element, props iandstewart - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:54:03 +00:00
lancewillett
89bad03498 Twenty Eleven: add support for Status and Quote formats, props iandstewart - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:46:31 +00:00
lancewillett
972a41501e Twenty Eleven: strip trailing spaces, props kawauso - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:34:52 +00:00
westi
9a003fc529 Provide more arguments to the widgets on the 404 page so as to avoid notices. See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 07:43:25 +00:00
westi
bfbc63f7a2 Fix html5 js link. See #17198 props Jayjdk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 07:28:08 +00:00
matt
7d581043df Importing Duster theme, first pass at a candidate for twentyeleven theme.
Nice to have, but optional, improvements it'd be nice to have:

* Ability to have random rotating headers. (Core improvement to custom header functionality.)
* Color and layout options.
* More post formats. (Currently supporst  Asides, Links, and Galleries.)
* CMS-style slider home page option.

Welcome, TwentyEleven née Duster. :) Track at #17198.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 21:46:33 +00:00
potbot
e8d109baaf POT, generated from r17478
git-svn-id: http://svn.automattic.com/wordpress/trunk@17479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 08:27:30 +00:00
nacin
1687dd21b2 Back compat with the gallery_style filter in Twenty Ten. fixes #16610 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 08:23:30 +00:00
ryan
b4173bbc4e 3.0 compat for twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@17469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 18:35:37 +00:00
nacin
266b772e9c Clear floats before page links in Twenty Ten. props chipbennett, fixes #16178.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 19:56:54 +00:00
potbot
477b1c3056 POT, generated from r17305
git-svn-id: http://svn.automattic.com/wordpress/trunk@17306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 01:27:02 +00:00
nacin
73b17f9ef0 Add twentyten_attachment_height filter. props lancewillett, fixes #14402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 01:12:00 +00:00
nacin
82f597e296 Check for theme support before calling has_post_thumbnail for child theme compatibility. see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 19:16:21 +00:00
nacin
50d3a36764 Add post format CSS to Twenty Ten. props iandstewart, fixes #16141.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 17:07:34 +00:00
nacin
4066dde395 Correct docs for TT version number. props Jayjdk, fixes #16087.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 22:47:05 +00:00
potbot
01aed94fd0 POT, generated from r17164
git-svn-id: http://svn.automattic.com/wordpress/trunk@17165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 23:26:59 +00:00
nacin
7b3d6d03ee We'll release Twenty Ten 1.2 with 3.1. fixes #15990.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 22:57:37 +00:00
potbot
ec8e5fe129 POT, generated from r17111
git-svn-id: http://svn.automattic.com/wordpress/trunk@17112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 18:27:03 +00:00
nacin
cf52befe03 Revert [16614] and [16614]. Deal with plural form issues in early 3.2 and remove the hacks from Twenty Ten. see #13651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 18:06:56 +00:00
potbot
5f4e34a4a9 POT, generated from r17092
git-svn-id: http://svn.automattic.com/wordpress/trunk@17093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 22:21:43 +00:00
nacin
be21df74ee Handle 'This gallery contains X photos' properly in Twenty Ten. fixes #15858.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:34:58 +00:00
markjaquith
68e8654875 Mark Twenty Ten as GPL per new theme directory guidelines. props pross. fixes #15632
git-svn-id: http://svn.automattic.com/wordpress/trunk@16883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 07:02:18 +00:00
nacin
8f96817661 Utilize gallery-columns-# classes in Twenty Ten. props ianstewart, lancewillett. fixes #15103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 04:05:32 +00:00
potbot
6634bd0314 POT, generated from r16866
git-svn-id: http://svn.automattic.com/wordpress/trunk@16867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 20:21:45 +00:00
nacin
d1cc06bac1 Deprecate twentyten_remove_gallery_css in favor of the use_default_gallery_style filter. see #15103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 19:27:12 +00:00
potbot
76ca7a8301 POT, generated from r16782
git-svn-id: http://svn.automattic.com/wordpress/trunk@16783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:21:45 +00:00
nacin
7c2e6f8c90 Add 'View Galleries' link for post formats. fixes #15506.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:31:35 +00:00
potbot
e291e5010d POT, generated from r16729
git-svn-id: http://svn.automattic.com/wordpress/trunk@16730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 04:21:31 +00:00
nacin
2955ecbc55 Fix typo in TT loop.php. props wpcanyon, markmcwilliams. fixes #15537.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 02:18:07 +00:00
nacin
0e29723f63 Fix comment number in Twenty Ten when there is one comment. Due to how these values are then passed to comments_popup_link(). We need to fix this. see #13651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 02:15:51 +00:00
potbot
0c82da160e POT, generated from r16675
git-svn-id: http://svn.automattic.com/wordpress/trunk@16676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:21:46 +00:00
nacin
56264e107b Allow the various header constants to be redefined in Twenty Ten. see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:17:12 +00:00
potbot
3030c278ba POT, generated from r16617
git-svn-id: http://svn.automattic.com/wordpress/trunk@16618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:21:41 +00:00
nbachiyski
d43b3a704c Make comments_popup_link() calls in Twenty Ten respect languages with multiple plural forms until we add such support in comments_number(). See #13651, props zeo
git-svn-id: http://svn.automattic.com/wordpress/trunk@16614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 18:42:31 +00:00
potbot
3ea1ae7f4f POT, generated from r16590
git-svn-id: http://svn.automattic.com/wordpress/trunk@16591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 20:21:41 +00:00
nacin
41c46efc24 Only link to the Gallery category if the post is in the category. (It may be a format.) see #15506, see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 18:59:19 +00:00
potbot
5618d1a644 POT, generated from r16540
git-svn-id: http://svn.automattic.com/wordpress/trunk@16541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:22:47 +00:00
nacin
72a354331b Add a simple filter to allow removing the recent comments default widget styles. fixes #15493, see #14876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:55:11 +00:00
potbot
1baed284ed POT, generated from r16480
git-svn-id: http://svn.automattic.com/wordpress/trunk@16481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 08:21:40 +00:00
nacin
27cb70434a Twenty Ten code cleanups. props lancewillett, fixes #15476.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:37:47 +00:00
nacin
1e161cfe48 Don't pass optional argument with its default value. props hakre, fixes #15450.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:33:08 +00:00
westi
435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu
98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
nacin
e0c3676423 Hello Dolly 1.6. fixes typo, props sbressler, fixes #15229. Removes absolute from positioning, props kapeels, fixes #15228. Add some whitespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 12:43:04 +00:00
potbot
9451fa0d1b POT, generated from r16218
git-svn-id: http://svn.automattic.com/wordpress/trunk@16219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 00:21:40 +00:00
nacin
a3bcec29fe Twenty Ten bump to 1.3-alpha in trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:33:37 +00:00
potbot
4793578fb1 POT, generated from r16198
git-svn-id: http://svn.automattic.com/wordpress/trunk@16199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 04:21:43 +00:00
markjaquith
7616a6cafb Add Post Format support to TwentyTen. Can now use this to designate an Aside or a Gallery! see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 02:25:41 +00:00
potbot
f0f43d9eb0 POT, generated from r16175
git-svn-id: http://svn.automattic.com/wordpress/trunk@16176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:21:52 +00:00
markjaquith
17fbb0e123 add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 07:41:07 +00:00
nacin
a07ec69bce Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 03:58:51 +00:00
nacin
9f9f5205b0 Fix some encoding issues. props hakre, fixes #14735.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 09:54:17 +00:00
nacin
a613fa5d92 Wasn't me.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 02:23:57 +00:00
nacin
e58da4ac0a Add 'Check Again' button and timestamp to update-core. Also return the same error message for themes as we do for plugins when no checkboxes are checked. fixes #14764.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 02:21:49 +00:00
nacin
2db650cc3b Don't let widget select boxes get cut off by the sidebar in Twenty Ten. props iandstewart, fixes #15114 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 21:45:35 +00:00
nacin
3d8ae9d042 Fix long taglines hidden under the header image lte IE7. props iandstewart, fixes #15113 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 21:40:17 +00:00
potbot
b23b3a40af POT, generated from r15788
git-svn-id: http://svn.automattic.com/wordpress/trunk@15789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 12:29:42 +00:00
nacin
8731365a57 svn add attachment.php. see #15078, r15762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 09:19:37 +00:00
nacin
e4d81b8e9a Use get_template_part() for single.php, attachment.php, page.php, and our page template in Twenty Ten. Introduces loop-page/single/attachment.php. props koopersmith, fixes #15078.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 09:17:42 +00:00
ryan
526e939001 Fix header positioning in IE9. Props iandstewart. fixes #14883
git-svn-id: http://svn.automattic.com/wordpress/trunk@15658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 19:56:56 +00:00
potbot
8bdad118fe POT, generated from r15609
git-svn-id: http://svn.automattic.com/wordpress/trunk@15610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-12 16:21:34 +00:00
nacin
b85b71ee83 Fix image size handling in Twenty Ten. props lancewillett, iandstewart, see #14303 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-12 15:21:29 +00:00
nbachiyski
eae6e01a0b Set IE6 incompatible CSS rule in a different selector, because it causes all headings to be set in Georgia instead of Helvetica & co. Fixes #14688. Props iammattthomas
git-svn-id: http://svn.automattic.com/wordpress/trunk@15532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 19:12:01 +00:00
nacin
a92dc7abaf Check for header image before showing it, in Twenty Ten. props koopersmith, see #14486 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 05:58:55 +00:00
nacin
8a80f80b22 Clear #main in Twenty Ten to fix rendering in old Gecko browsers. props demetris, fixes #13991 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 20:44:03 +00:00
potbot
9f10f4fe56 POT, generated from r15430
git-svn-id: http://svn.automattic.com/wordpress/trunk@15431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-14 16:21:33 +00:00
nacin
e4faf559a4 s/TwentyTen/Twenty Ten/ so we don't wipe theme mods and the current theme cache. for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-14 14:16:14 +00:00
nacin
d071270447 Twenty Ten minor image style edits. props iandstewart, fixes #14303 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-14 01:16:08 +00:00
potbot
5e0fe52822 POT, generated from r15418
git-svn-id: http://svn.automattic.com/wordpress/trunk@15419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-14 00:21:42 +00:00
nacin
c1029b0e44 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 22:27:20 +00:00
nacin
cbe5a9a103 style.css cleanup. props lancewillett, see #14298 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 22:20:26 +00:00
nacin
810fae16d3 Twenty Ten: Rename to appease the theme directory gods, version bump, and new description from lancewillett and iandstewart. fixes #14298.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 22:09:36 +00:00
nacin
0fc06ad48b It's called WordPress. props zeo, fixes #14293.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 03:00:08 +00:00