Commit Graph

77 Commits

Author SHA1 Message Date
Lance Willett
fc4fffaad5 Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@21490 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:21:58 +00:00
Lance Willett
56c4577fea Twenty Ten: code readability in twentyten_comment, props kovshenin, fixes #21474. (And minor pinking shears.)
git-svn-id: https://develop.svn.wordpress.org/trunk@21486 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 17:22:44 +00:00
Ryan Boren
8ed05fc6fd Back compat for bundled themes. Props nacin, SergeyBiryukov, kobenland. fixes #20768
git-svn-id: https://develop.svn.wordpress.org/trunk@20983 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 14:43:19 +00:00
Ryan Boren
b85e8d138c Custom background fixes:
* Specify default background colors for the bundled themes.
* Change the default custom background callback to only operate on saved values, rather than default values.
* Prevent an unsaved default value from overriding a manually modified style.css file.

Props nacin, kobenland
fixes #20448


git-svn-id: https://develop.svn.wordpress.org/trunk@20973 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 20:31:50 +00:00
Andrew Nacin
95c85ceeee Flexible heights for Twenty Ten's custom headers. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20474 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:51:24 +00:00
Andrew Nacin
91bb85bcff Twenty Ten: Remove $locale.php file support. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20473 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:46:09 +00:00
Andrew Nacin
67f21026b9 Callbacks for custom headers and custom backgrounds registered through add_theme_support() are now wp-head-callback, admin-head-callback, and admin-preview-callback. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20231 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 03:36:17 +00:00
Andrew Nacin
27656b6d3f Move Twenty Ten and the rest of Twenty Eleven to add_theme_support() for headers and backgrounds. props sabreuse for initial patch. fixes #20265. see #20249.
git-svn-id: https://develop.svn.wordpress.org/trunk@20225 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:32:42 +00:00
Ryan Boren
02a16905eb More consistent attribute escaping. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19582 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:18:51 +00:00
Andrew Nacin
51d0bd90f6 Use get_template_directory() instead of TEMPLATEPATH in Twentys Ten and Eleven. props solarisssmoke, fixes #18071.
git-svn-id: https://develop.svn.wordpress.org/trunk@19058 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 04:42:16 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Andrew Nacin
4a47793d2c In Twenty Ten, final pass on inline docs et al. props jorbin, zeo. fixes #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14786 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 18:56:27 +00:00
Andrew Nacin
9dcd604e6f Refer to the right codex article. props MichaelH, see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14709 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 06:52:47 +00:00
Andrew Nacin
baf3a2a41e Twenty Ten documentation and functions.php improvements. see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14698 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:53:36 +00:00
Andrew Nacin
719af15b71 @subpackage cannot have spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@14692 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 17:10:21 +00:00
Andrew Nacin
4db10bf0d7 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: https://develop.svn.wordpress.org/trunk@14620 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:20:30 +00:00
Ron Rennick
05b0578c06 add menu slots/theme_menus, props ryan, see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14611 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 22:14:54 +00:00
Nikolay Bachiyski
967ef93bc1 Do not cut the Tagged <tags> phrase in half. Fixes #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14552 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:24:32 +00:00
Nikolay Bachiyski
691bbab34d 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: https://develop.svn.wordpress.org/trunk@14541 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 19:06:22 +00:00
Nikolay Bachiyski
f7c2b55c6d I18n and whitespace fixes for functions.php in TwentyTen
git-svn-id: https://develop.svn.wordpress.org/trunk@14534 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 05:58:24 +00:00
Andrew Nacin
1fcb5f3a63 Properly handle the wp_page_args filter in Twenty Ten. fixes #13293, props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@14500 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 18:11:58 +00:00
Matt Thomas
624ab9b864 Add a home link to the navigation in twenty ten. Props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@14469 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 03:04:22 +00:00
Andrew Nacin
11e0a2e969 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: https://develop.svn.wordpress.org/trunk@14433 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 07:01:09 +00:00
Matt Thomas
95ca2ad069 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: https://develop.svn.wordpress.org/trunk@14384 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:16:47 +00:00
Ryan Boren
57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren
7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin
c7771375e3 Translate name of sidebars in twentyten. props zeo, fixes #13189.
git-svn-id: https://develop.svn.wordpress.org/trunk@14322 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 22:34:41 +00:00
Matt Thomas
24ee9c06c9 In twentyten, use path.jpg as the default header image
git-svn-id: https://develop.svn.wordpress.org/trunk@14227 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 01:02:51 +00:00