Commit Graph

650 Commits

Author SHA1 Message Date
Andrew Nacin
fbd8700da1 Move files in inc/theme-options up one level. see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17735 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 08:59:42 +00:00
Andrew Nacin
e4f3593e5d 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: https://develop.svn.wordpress.org/trunk@17734 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 08:52:37 +00:00
Andrew Nacin
7b1ee2dd6f 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: https://develop.svn.wordpress.org/trunk@17733 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 08:06:57 +00:00
Lance Willett
e2a1502510 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: https://develop.svn.wordpress.org/trunk@17732 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 23:03:27 +00:00
Lance Willett
311e42024c Twenty Eleven: add first batch of new header images, courtesy of the immeasurable photomatt archives - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17729 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 21:44:09 +00:00
Ian Stewart
5ff6ec04cb Twenty Eleven: first pass at print styles; See ##17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17726 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 21:03:58 +00:00
Lance Willett
fa229e3871 Twenty Eleven: fix spacing and add a few missing esc_attr() calls in widgets.php - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17723 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 04:45:11 +00:00
Lance Willett
785060ffe1 Twenty Eleven: set default case for switch statement in the twentyeleven_comment(), props greenshady - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17722 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 04:38:36 +00:00
Ian Stewart
b6894e1703 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: https://develop.svn.wordpress.org/trunk@17721 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 22:52:18 +00:00
Lance Willett
d59e482e59 Twenty Eleven: move widgets.php into /inc - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17720 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 21:05:43 +00:00
Lance Willett
27b9bdaba4 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: https://develop.svn.wordpress.org/trunk@17719 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 18:59:32 +00:00
Lance Willett
30fac1abcb Twenty Eleven: add additional conditional IDs for the html element, props iandstewart - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17718 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 18:54:03 +00:00
Lance Willett
f63ee143f3 Twenty Eleven: add support for Status and Quote formats, props iandstewart - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17717 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 18:46:31 +00:00
Lance Willett
f5756c89cf Twenty Eleven: strip trailing spaces, props kawauso - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17714 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 18:34:52 +00:00
Peter Westwood
527965ab24 Provide more arguments to the widgets on the 404 page so as to avoid notices. See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17672 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 07:43:25 +00:00
Peter Westwood
1b008323df Fix html5 js link. See #17198 props Jayjdk
git-svn-id: https://develop.svn.wordpress.org/trunk@17671 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 07:28:08 +00:00
Matt Mullenweg
d7266c0c00 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: https://develop.svn.wordpress.org/trunk@17669 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-20 21:46:33 +00:00
potbot
77ccb220a4 POT, generated from r17478
git-svn-id: https://develop.svn.wordpress.org/trunk@17479 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 08:27:30 +00:00
Andrew Nacin
e63f2549db Back compat with the gallery_style filter in Twenty Ten. fixes #16610 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17478 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 08:23:30 +00:00
Ryan Boren
f7f96d2f1f 3.0 compat for twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@17469 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-21 18:35:37 +00:00
Andrew Nacin
e08ea2a111 Clear floats before page links in Twenty Ten. props chipbennett, fixes #16178.
git-svn-id: https://develop.svn.wordpress.org/trunk@17331 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 19:56:54 +00:00
potbot
bea3157e88 POT, generated from r17305
git-svn-id: https://develop.svn.wordpress.org/trunk@17306 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 01:27:02 +00:00
Andrew Nacin
211ed39112 Add twentyten_attachment_height filter. props lancewillett, fixes #14402.
git-svn-id: https://develop.svn.wordpress.org/trunk@17305 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 01:12:00 +00:00
Andrew Nacin
5670ad00c6 Check for theme support before calling has_post_thumbnail for child theme compatibility. see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@17300 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 19:16:21 +00:00
Andrew Nacin
26e7626463 Add post format CSS to Twenty Ten. props iandstewart, fixes #16141.
git-svn-id: https://develop.svn.wordpress.org/trunk@17236 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 17:07:34 +00:00
Andrew Nacin
61161d86ba Correct docs for TT version number. props Jayjdk, fixes #16087.
git-svn-id: https://develop.svn.wordpress.org/trunk@17212 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-03 22:47:05 +00:00
potbot
cd7212fd83 POT, generated from r17164
git-svn-id: https://develop.svn.wordpress.org/trunk@17165 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 23:26:59 +00:00
Andrew Nacin
ca57ff7d68 We'll release Twenty Ten 1.2 with 3.1. fixes #15990.
git-svn-id: https://develop.svn.wordpress.org/trunk@17164 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 22:57:37 +00:00
potbot
84dfe07aa9 POT, generated from r17111
git-svn-id: https://develop.svn.wordpress.org/trunk@17112 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 18:27:03 +00:00
Andrew Nacin
d99ae62140 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: https://develop.svn.wordpress.org/trunk@17111 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 18:06:56 +00:00
potbot
a316d3ec29 POT, generated from r17092
git-svn-id: https://develop.svn.wordpress.org/trunk@17093 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 22:21:43 +00:00
Andrew Nacin
21ea69a1d7 Handle 'This gallery contains X photos' properly in Twenty Ten. fixes #15858.
git-svn-id: https://develop.svn.wordpress.org/trunk@17072 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:34:58 +00:00
Mark Jaquith
589ccc5ac7 Mark Twenty Ten as GPL per new theme directory guidelines. props pross. fixes #15632
git-svn-id: https://develop.svn.wordpress.org/trunk@16883 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 07:02:18 +00:00
Andrew Nacin
82c7adaec6 Utilize gallery-columns-# classes in Twenty Ten. props ianstewart, lancewillett. fixes #15103.
git-svn-id: https://develop.svn.wordpress.org/trunk@16869 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 04:05:32 +00:00
potbot
aa21762023 POT, generated from r16866
git-svn-id: https://develop.svn.wordpress.org/trunk@16867 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 20:21:45 +00:00
Andrew Nacin
468bab05a7 Deprecate twentyten_remove_gallery_css in favor of the use_default_gallery_style filter. see #15103.
git-svn-id: https://develop.svn.wordpress.org/trunk@16866 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:27:12 +00:00
potbot
2fcbcdad76 POT, generated from r16782
git-svn-id: https://develop.svn.wordpress.org/trunk@16783 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 00:21:45 +00:00
Andrew Nacin
52c8599189 Add 'View Galleries' link for post formats. fixes #15506.
git-svn-id: https://develop.svn.wordpress.org/trunk@16782 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 23:31:35 +00:00
potbot
7e29ed550e POT, generated from r16729
git-svn-id: https://develop.svn.wordpress.org/trunk@16730 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 04:21:31 +00:00
Andrew Nacin
d61f1f5ce2 Fix typo in TT loop.php. props wpcanyon, markmcwilliams. fixes #15537.
git-svn-id: https://develop.svn.wordpress.org/trunk@16727 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 02:18:07 +00:00
Andrew Nacin
9071bdef45 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: https://develop.svn.wordpress.org/trunk@16726 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 02:15:51 +00:00
potbot
bc10d6fb59 POT, generated from r16675
git-svn-id: https://develop.svn.wordpress.org/trunk@16676 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 00:21:46 +00:00
Andrew Nacin
4c0ef1e0ba Allow the various header constants to be redefined in Twenty Ten. see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16675 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 00:17:12 +00:00
potbot
0829265944 POT, generated from r16617
git-svn-id: https://develop.svn.wordpress.org/trunk@16618 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:21:41 +00:00
Nikolay Bachiyski
ca368c129f 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: https://develop.svn.wordpress.org/trunk@16614 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 18:42:31 +00:00
potbot
bb266c9801 POT, generated from r16590
git-svn-id: https://develop.svn.wordpress.org/trunk@16591 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 20:21:41 +00:00
Andrew Nacin
af99a5e368 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: https://develop.svn.wordpress.org/trunk@16589 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 18:59:19 +00:00
potbot
c05b55b066 POT, generated from r16540
git-svn-id: https://develop.svn.wordpress.org/trunk@16541 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:22:47 +00:00
Andrew Nacin
f82118f579 Add a simple filter to allow removing the recent comments default widget styles. fixes #15493, see #14876.
git-svn-id: https://develop.svn.wordpress.org/trunk@16522 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:55:11 +00:00
potbot
794e39317a POT, generated from r16480
git-svn-id: https://develop.svn.wordpress.org/trunk@16481 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 08:21:40 +00:00
Andrew Nacin
c5665d8ed2 Twenty Ten code cleanups. props lancewillett, fixes #15476.
git-svn-id: https://develop.svn.wordpress.org/trunk@16480 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:37:47 +00:00
Andrew Nacin
81200f91c7 Don't pass optional argument with its default value. props hakre, fixes #15450.
git-svn-id: https://develop.svn.wordpress.org/trunk@16434 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:33:08 +00:00
Peter Westwood
b08df21c26 Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 21:53:15 +00:00
scribu
11f20d737c Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:05:37 +00:00
potbot
d9d6469f13 POT, generated from r16218
git-svn-id: https://develop.svn.wordpress.org/trunk@16219 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 00:21:40 +00:00
Andrew Nacin
a5385f31bb Twenty Ten bump to 1.3-alpha in trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@16216 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:33:37 +00:00
potbot
c27b273bd0 POT, generated from r16198
git-svn-id: https://develop.svn.wordpress.org/trunk@16199 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 04:21:43 +00:00
Mark Jaquith
2cc7354154 Add Post Format support to TwentyTen. Can now use this to designate an Aside or a Gallery! see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16197 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:25:41 +00:00
potbot
0ec9f6ff0b POT, generated from r16175
git-svn-id: https://develop.svn.wordpress.org/trunk@16176 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:21:52 +00:00
Mark Jaquith
ef54c47f7a 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: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
Andrew Nacin
7b6f24eeeb Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206.
git-svn-id: https://develop.svn.wordpress.org/trunk@16028 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 03:58:51 +00:00
Andrew Nacin
8e7e99047e Fix some encoding issues. props hakre, fixes #14735.
git-svn-id: https://develop.svn.wordpress.org/trunk@16005 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 09:54:17 +00:00
Andrew Nacin
ded564abf0 Wasn't me.
git-svn-id: https://develop.svn.wordpress.org/trunk@15997 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 02:23:57 +00:00
Andrew Nacin
c1bbe2983f 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: https://develop.svn.wordpress.org/trunk@15996 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 02:21:49 +00:00
Andrew Nacin
4169c12b8a Don't let widget select boxes get cut off by the sidebar in Twenty Ten. props iandstewart, fixes #15114 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15953 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 21:45:35 +00:00
Andrew Nacin
a3f3e3f21c Fix long taglines hidden under the header image lte IE7. props iandstewart, fixes #15113 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15950 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 21:40:17 +00:00
potbot
eba5529573 POT, generated from r15788
git-svn-id: https://develop.svn.wordpress.org/trunk@15789 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 12:29:42 +00:00
Andrew Nacin
70d68a8cb7 svn add attachment.php. see #15078, r15762.
git-svn-id: https://develop.svn.wordpress.org/trunk@15763 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:19:37 +00:00
Andrew Nacin
099000c367 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: https://develop.svn.wordpress.org/trunk@15762 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:17:42 +00:00
Ryan Boren
0f59f34cc0 Fix header positioning in IE9. Props iandstewart. fixes #14883
git-svn-id: https://develop.svn.wordpress.org/trunk@15658 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 19:56:56 +00:00
potbot
6a594b3d11 POT, generated from r15609
git-svn-id: https://develop.svn.wordpress.org/trunk@15610 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-12 16:21:34 +00:00
Andrew Nacin
63247d6dc3 Fix image size handling in Twenty Ten. props lancewillett, iandstewart, see #14303 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15609 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-12 15:21:29 +00:00
Nikolay Bachiyski
4f540111ff 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: https://develop.svn.wordpress.org/trunk@15532 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 19:12:01 +00:00
Andrew Nacin
11c84be979 Check for header image before showing it, in Twenty Ten. props koopersmith, see #14486 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15520 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 05:58:55 +00:00
Andrew Nacin
04e5e859d8 Clear #main in Twenty Ten to fix rendering in old Gecko browsers. props demetris, fixes #13991 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15464 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 20:44:03 +00:00
potbot
666b031fdb POT, generated from r15430
git-svn-id: https://develop.svn.wordpress.org/trunk@15431 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 16:21:33 +00:00
Andrew Nacin
21ee162f34 s/TwentyTen/Twenty Ten/ so we don't wipe theme mods and the current theme cache. for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15428 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 14:16:14 +00:00
Andrew Nacin
44bc91eedd Twenty Ten minor image style edits. props iandstewart, fixes #14303 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15421 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 01:16:08 +00:00
potbot
d8fd779ffc POT, generated from r15418
git-svn-id: https://develop.svn.wordpress.org/trunk@15419 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 00:21:42 +00:00
Andrew Nacin
1a826a4506 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@15417 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 22:27:20 +00:00
Andrew Nacin
51f14ccbc4 style.css cleanup. props lancewillett, see #14298 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15416 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 22:20:26 +00:00
Andrew Nacin
9fa8ec9493 Twenty Ten: Rename to appease the theme directory gods, version bump, and new description from lancewillett and iandstewart. fixes #14298.
git-svn-id: https://develop.svn.wordpress.org/trunk@15413 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 22:09:36 +00:00
Andrew Nacin
11d4c3287c It's called WordPress. props zeo, fixes #14293.
git-svn-id: https://develop.svn.wordpress.org/trunk@15400 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 03:00:08 +00:00
potbot
88df62bfe0 POT, generated from r15397
git-svn-id: https://develop.svn.wordpress.org/trunk@15398 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 20:21:38 +00:00
Andrew Nacin
8c40edd236 style.css updates for theme repo sync. see #14284.
git-svn-id: https://develop.svn.wordpress.org/trunk@15397 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 20:00:35 +00:00
Andrew Nacin
56489b6404 Center images on attachment pages in Twenty Ten. props lancewillett. see #14284.
git-svn-id: https://develop.svn.wordpress.org/trunk@15393 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 19:45:09 +00:00
Andrew Nacin
2e19f3d22e Update to Twenty Ten 1.0.3 from theme dir. see #14284.
git-svn-id: https://develop.svn.wordpress.org/trunk@15392 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 19:40:21 +00:00
potbot
5d435fd623 POT, generated from r15261
git-svn-id: https://develop.svn.wordpress.org/trunk@15262 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 16:21:22 +00:00
Andrew Nacin
eded964f75 In Twenty Ten, don't use the filter on wp_title in feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@15261 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 12:27:07 +00:00
potbot
d6c01251c0 POT, generated from r15250
git-svn-id: https://develop.svn.wordpress.org/trunk@15251 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 12:22:00 +00:00
Andrew Nacin
b266cf37cb Don't pass bogus argument to the_excerpt. props zeo, fixes #13883.
git-svn-id: https://develop.svn.wordpress.org/trunk@15247 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:24:34 +00:00
potbot
f86cd27d77 POT, generated from r15235
git-svn-id: https://develop.svn.wordpress.org/trunk@15236 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 20:22:22 +00:00
Andrew Nacin
63389cff50 Make sure no output is sent in Twenty Ten before get_header(). fixes #13851.
git-svn-id: https://develop.svn.wordpress.org/trunk@15226 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:55:41 +00:00
potbot
bad0912739 POT, generated from r15222
git-svn-id: https://develop.svn.wordpress.org/trunk@15223 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:22:17 +00:00
Ron Rennick
c49bbc943f arrange twentyten strings for easier translation, props zeo, fixes #13824
git-svn-id: https://develop.svn.wordpress.org/trunk@15222 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:15:25 +00:00
potbot
7e6f8cd657 POT, generated from r15212
git-svn-id: https://develop.svn.wordpress.org/trunk@15213 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 04:21:39 +00:00
Andrew Nacin
c4bda60979 Use a switch. props jdub, see #13812.
git-svn-id: https://develop.svn.wordpress.org/trunk@15212 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:34:52 +00:00
Matt Thomas
b4966db02b Avoid displaying custom comment types as pingbacks/trackbacks in Twenty Ten. Fixes #13812. Props jdub.
git-svn-id: https://develop.svn.wordpress.org/trunk@15209 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 02:17:26 +00:00
Matt Thomas
1eaf1b9d00 In Twenty ten, make last gallery image link back to the first. Props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@15208 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 02:01:56 +00:00
Matt Thomas
44517b3df8 Updating Twenty Ten's screenshot to not show the search form label
git-svn-id: https://develop.svn.wordpress.org/trunk@15207 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 01:55:32 +00:00
potbot
f5560656fb POT, generated from r15197
git-svn-id: https://develop.svn.wordpress.org/trunk@15198 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:21:20 +00:00
Andrew Nacin
c1104aaed6 Use wp_title() proper in Twenty Ten, and move the janky stuff to a filter. see #13751.
git-svn-id: https://develop.svn.wordpress.org/trunk@15195 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 18:26:53 +00:00
Andrew Nacin
2cee587e18 Don't reveal gallery content in Twenty Ten when the post is password protected. fixes #13770, props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15194 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 18:23:08 +00:00
Andrew Nacin
a53e7e3018 Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15193 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:57:30 +00:00
Matt Thomas
fb4ee611e9 In Twenty Ten, removing the color declaration from the strong tag so we don't interfere with the user's color choices. Slightly darkening body text for better readability.
git-svn-id: https://develop.svn.wordpress.org/trunk@15164 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 01:48:33 +00:00
Matt Thomas
431e4a8b27 Twenty Ten CSS cleanup, margin fix. Props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15163 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 01:24:46 +00:00
Matt Thomas
7c6cbce36a Fixing drop shadow bug in Safari for Twenty Ten dropdowns. Props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@15162 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 01:20:38 +00:00
Matt Thomas
16236db4fa Adjusting caption text style in the Twenty Ten theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@15155 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 20:40:44 +00:00
Matt Thomas
ec63079ab7 Better padding for photo captions in the Twenty Ten theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@15154 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 20:27:37 +00:00
Matt Thomas
5790295d13 Specify a line height for entry-title in the Twenty Ten theme
git-svn-id: https://develop.svn.wordpress.org/trunk@15153 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 20:19:23 +00:00
Ryan Boren
c92dba8fdf Check if comment paging is on. Props iandstewart. fixes #13739
git-svn-id: https://develop.svn.wordpress.org/trunk@15145 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-05 14:55:18 +00:00
Andrew Nacin
7d2b87f9c3 Hide 'no password' text for comments. It's already being shown for the_content; aligns it with .nocomments; fixes #13692.
git-svn-id: https://develop.svn.wordpress.org/trunk@15125 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 05:23:21 +00:00
Andrew Nacin
37ac9a5ce2 Use p.nopassword instead of div.nopassword in Twenty Ten. props zeo, fixes #13692.
git-svn-id: https://develop.svn.wordpress.org/trunk@15121 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 22:45:21 +00:00
Andrew Nacin
b49f04cea3 Don't show 'Continue reading' in Twenty Ten on attachment pages. props iandstewart, fixes #13361.
git-svn-id: https://develop.svn.wordpress.org/trunk@15120 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 22:41:14 +00:00
Matt Thomas
d0bd5ba875 In Twenty Ten, move the top margin from the header to the wrapper div. Fixes #13636. Props markjaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@15092 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 17:16:07 +00:00
Ryan Boren
bfa26cba69 Clear content. Props ocean90 iandstewart. fixes #13642
git-svn-id: https://develop.svn.wordpress.org/trunk@15089 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 15:32:15 +00:00
Andrew Nacin
817064457b Remove old Twenty Ten code. props iandstewart, fixes #13646.
git-svn-id: https://develop.svn.wordpress.org/trunk@15083 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 21:17:19 +00:00
Andrew Nacin
b030dda0dc Use default wp_nav_menu sorting in Twenty Ten. props iandstewart, fixes #13660.
git-svn-id: https://develop.svn.wordpress.org/trunk@15082 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 21:13:24 +00:00
potbot
e733aa5b96 POT, generated from r15042
git-svn-id: https://develop.svn.wordpress.org/trunk@15043 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:21:07 +00:00
Ron Rennick
88e05ab89f continue reading link on custom excerpt in TwentyTen, props iandstewart, fixes #13361
git-svn-id: https://develop.svn.wordpress.org/trunk@15040 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 17:01:27 +00:00
Ryan Boren
1a853e7512 Remove theme-options tag and allow wide attachments on pages. Props lancewillett. fixes #13595
git-svn-id: https://develop.svn.wordpress.org/trunk@15035 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 16:35:31 +00:00
potbot
cf4216af5b POT, generated from r15017
git-svn-id: https://develop.svn.wordpress.org/trunk@15018 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 00:21:14 +00:00
Ryan Boren
47b08b88ea Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@15012 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 23:12:54 +00:00
Ryan Boren
565acf886d Add custom-background to twentyten tags
git-svn-id: https://develop.svn.wordpress.org/trunk@15009 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 22:34:59 +00:00
potbot
cd98aa57a7 POT, generated from r14956
git-svn-id: https://develop.svn.wordpress.org/trunk@14957 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:21:06 +00:00
Mark Jaquith
fc7bcd0e63 Do not display category blurb for post types that do not support that taxonomy.
git-svn-id: https://develop.svn.wordpress.org/trunk@14955 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:06:54 +00:00
Ryan Boren
5391057c8f Child menu stlying fixes. Props filosofo. fixes #13552
git-svn-id: https://develop.svn.wordpress.org/trunk@14946 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 16:32:36 +00:00
Ryan Boren
c28268ccc0 RTL updates for twentyten. Props yoavf. fixes #13233
git-svn-id: https://develop.svn.wordpress.org/trunk@14941 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:15:27 +00:00
potbot
2d2ad40b9e POT, generated from r14938
git-svn-id: https://develop.svn.wordpress.org/trunk@14939 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 08:21:07 +00:00
Andrew Nacin
49578a78f2 Add textdomain. see #13198.
git-svn-id: https://develop.svn.wordpress.org/trunk@14936 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 05:37:34 +00:00
Andrew Nacin
c83a2e895e In Twenty Ten, make classes on larr/rarr consistent, and make sure those are translated. props zeo, see #13198.
git-svn-id: https://develop.svn.wordpress.org/trunk@14935 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 05:35:14 +00:00
Andrew Nacin
7ed0e6596e Use a more generic HTML comment. props zeo, fixes #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14932 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:36:42 +00:00
Andrew Nacin
2b72813903 In Twenty Ten, fix IE6 hover state on top-level menu item. props filosofo, fixes #13545.
git-svn-id: https://develop.svn.wordpress.org/trunk@14925 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:46:43 +00:00
Andrew Nacin
dbfecf9e65 In Twenty Ten, fix display of 2nd-level submenus in Opera (Win/Mac). props iandstewart, fixes #13511.
git-svn-id: https://develop.svn.wordpress.org/trunk@14921 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:27:37 +00:00
potbot
0d25ff9852 POT, generated from r14915
git-svn-id: https://develop.svn.wordpress.org/trunk@14916 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 00:21:12 +00:00
Ryan Boren
065c7382e4 Custom header fixes and rework. Props ocean90. fixes #13231
git-svn-id: https://develop.svn.wordpress.org/trunk@14907 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 22:05:51 +00:00
Ryan Boren
7ba92c31a4 Menu notice and stlying fixes. Props filosofo. fixes #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@14905 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 21:44:34 +00:00
potbot
e964603b5e POT, generated from r14889
git-svn-id: https://develop.svn.wordpress.org/trunk@14890 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 16:21:16 +00:00
Andrew Nacin
fc470dfaeb Always show 'Continue reading' link when dealing with excerpts in Twenty Ten. props iandstewart, fixes #13361.
git-svn-id: https://develop.svn.wordpress.org/trunk@14889 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 16:08:44 +00:00
Ryan Boren
83bee6eb2c Active menu styling. Props ianddtewart. see #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@14882 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 14:37:36 +00:00
Matt Thomas
bae29da10f In Twenty Ten, adjust padding and margin for the site-generator image
git-svn-id: https://develop.svn.wordpress.org/trunk@14865 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 23:00:54 +00:00
Matt Thomas
cb4a804d81 Reduce the font size when widgets use the entry-meta class in the sidebar
git-svn-id: https://develop.svn.wordpress.org/trunk@14864 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 22:43:03 +00:00
Matt Thomas
d31fbcf5f1 Twenty Ten editor-style CSS cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@14863 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 22:20:37 +00:00
Matt Thomas
e1a44ff3e4 In Twenty Ten, make dropdown menus slightly wider to accommodate long words. Minor cleanup of style.css
git-svn-id: https://develop.svn.wordpress.org/trunk@14862 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 22:18:40 +00:00
potbot
8c64ab49a9 POT, generated from r14834
git-svn-id: https://develop.svn.wordpress.org/trunk@14835 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 12:22:10 +00:00
Andrew Nacin
b30c9c252e Some menu string improvements. props JohnONolan. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14832 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 09:26:41 +00:00
Peter Westwood
aeca45f369 Check to see we have posts before calling the_post().
git-svn-id: https://develop.svn.wordpress.org/trunk@14830 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 08:40:02 +00:00
Peter Westwood
d83e614ab5 Check to see we have posts before calling the_post(). Fixes #13510 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@14829 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 08:33:51 +00:00
Matt Thomas
f7b7608131 In twenty ten, make the dropdown menu's shadow fit to the width of the dropdown. Props wds-chris and ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14823 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 22:01:03 +00:00
potbot
13bd107367 POT, generated from r14791
git-svn-id: https://develop.svn.wordpress.org/trunk@14792 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 20:22:02 +00:00