Commit Graph

71 Commits

Author SHA1 Message Date
nacin 359ed454b7 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: http://svn.automattic.com/wordpress/trunk@20231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 03:36:17 +00:00
nacin 1a265e464c 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: http://svn.automattic.com/wordpress/trunk@20225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 21:32:42 +00:00
ryan dd64f17ab7 More consistent attribute escaping. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-10 19:18:51 +00:00
nacin 1154e4b468 Use get_template_directory() instead of TEMPLATEPATH in Twentys Ten and Eleven. props solarisssmoke, fixes #18071.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 04:42:16 +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
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
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
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
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
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
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
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 c43b5bc26b Update to Twenty Ten 1.0.3 from theme dir. see #14284.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-12 19:40:21 +00:00
nacin 0b6be7ff26 In Twenty Ten, don't use the filter on wp_title in feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-15 12:27:07 +00:00
wpmuguru b7432248ba arrange twentyten strings for easier translation, props zeo, fixes #13824
git-svn-id: http://svn.automattic.com/wordpress/trunk@15222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 16:15:25 +00:00
nacin 4e15eaa830 Use a switch. props jdub, see #13812.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 03:34:52 +00:00
iammattthomas 848d51b83a Avoid displaying custom comment types as pingbacks/trackbacks in Twenty Ten. Fixes #13812. Props jdub.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 02:17:26 +00:00
nacin 4c53975440 Use wp_title() proper in Twenty Ten, and move the janky stuff to a filter. see #13751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 18:26:53 +00:00
nacin e13e6254dc 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: http://svn.automattic.com/wordpress/trunk@15193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:57:30 +00:00
nacin 338a869b8f Don't show 'Continue reading' in Twenty Ten on attachment pages. props iandstewart, fixes #13361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 22:41:14 +00:00
wpmuguru 84739b1583 continue reading link on custom excerpt in TwentyTen, props iandstewart, fixes #13361
git-svn-id: http://svn.automattic.com/wordpress/trunk@15040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 17:01:27 +00:00
markjaquith e18c9ba08a Do not display category blurb for post types that do not support that taxonomy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 20:06:54 +00:00
ryan d017a8aa0e Custom header fixes and rework. Props ocean90. fixes #13231
git-svn-id: http://svn.automattic.com/wordpress/trunk@14907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 22:05:51 +00:00
nacin aefb552495 Always show 'Continue reading' link when dealing with excerpts in Twenty Ten. props iandstewart, fixes #13361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 16:08:44 +00:00
nacin c83e17c1ce Some menu string improvements. props JohnONolan. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 09:26:41 +00:00
nacin a35791a4ae In Twenty Ten, final pass on inline docs et al. props jorbin, zeo. fixes #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 18:56:27 +00:00
nacin fd31852e68 Refer to the right codex article. props MichaelH, see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 06:52:47 +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 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
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
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
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
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
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
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 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
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
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 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 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
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
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
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
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