potbot
8239a17df0
POT, generated from r20226
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20227 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 22:16:07 +00:00
Andrew Nacin
928e6b012b
Remove unused variable. see #20265 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20226 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:38:22 +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
potbot
56a2ee069e
POT, generated from r20223
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20224 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:17:55 +00:00
Andrew Nacin
ad7eb88a49
Remove use of HEADER_IMAGE_WIDTH and HEADER_IMAGE_HEIGHT from twentyeleven/header.php. see #20265 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20223 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 20:46:46 +00:00
Andrew Nacin
48598e8b18
Update twentyeleven/functions.php to use the new add_theme_support() calls for backgrounds and headers. props sabreuse for initial patch. see #20265 . see #20249 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20222 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 20:37:53 +00:00
Andrew Nacin
50bf8dfaef
Remove Twenty Twelve from 3.4. see #19978 . see http://wp.me/pbNCB-yA .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20219 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 18:41:54 +00:00
Andrew Nacin
43913e382c
(string) WP_Theme is now the theme name, translated. Good replacement for get_current_theme(); better than wp_get_theme()->display('Name'). see #20103 , see #20138 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20039 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 19:27:54 +00:00
Lance Willett
981992f8fb
Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20017 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 19:17:04 +00:00
potbot
ffa265cebd
POT, generated from r20011
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20012 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 06:18:04 +00:00
Lance Willett
c41874b4d7
Twenty Twelve: remove an unneeded, presentational class value, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20011 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:28:08 +00:00
Lance Willett
e6282c7f0d
Twenty Twelve: better comment markup and styles, props drewstrojny. See #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20010 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:24:57 +00:00
Lance Willett
90df91666c
Twenty Twelve: correctly enqueue the fonts CSS file, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20009 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:19:50 +00:00
potbot
326b2db4fa
POT, generated from r20007
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20008 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 04:17:41 +00:00
Lance Willett
91511b6a18
Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978 .
...
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.
Props iandstewart for the original JS file and concept.
git-svn-id: https://develop.svn.wordpress.org/trunk@20007 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:59:47 +00:00
Lance Willett
2a1dff3136
Twenty Twelve: better "no posts found" message and action for index view. If a logged-in user can edit posts, show an appropriate message. Otherwise, show the normal "no posts found" message. See #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20006 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:48:34 +00:00
potbot
fc85a24fea
POT, generated from r20003
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20005 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:17:50 +00:00
Lance Willett
4709676a6f
Twenty Twelve: remove test lines from r20003
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20004 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:14:00 +00:00
Lance Willett
28592c377a
Twenty Twelve: use the time element for image attachment views, and esc_html()
for get_the_date()
in the element's output. Props iandstewart, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20003 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:10:53 +00:00
Andrew Nacin
7c0a450920
Add template names to theme pots. see #6007 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19968 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 16:37:01 +00:00
potbot
c82d0d0b72
POT, generated from r19963
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19964 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:18:15 +00:00
Andrew Nacin
0bd00272c5
Revert [19959]. The footer generator URL should be translated (think pt.wordpress.org). see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19963 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 14:49:38 +00:00
potbot
91e62fb960
POT, generated from r19961
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19962 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 07:18:03 +00:00
Lance Willett
df599d08f0
Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19961 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:41:20 +00:00
Lance Willett
c3e0e18f8a
Twenty Twelve: add ARIA role of "navigation" to the all nav elements. Props iandstewart, see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19960 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:34:36 +00:00
Lance Willett
e8635f412d
Twenty Twelve: no need to translate the footer generator URL. See #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19959 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:24:49 +00:00
Lance Willett
deb5f6f182
Twenty Twelve style updates, props drewstrojny. See #19978 .
...
And, use a simpler and more consistent `site-header` class value. Props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@19958 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:14:51 +00:00
Lance Willett
5a39eb1696
Twenty Eleven and Twenty Twelve: fix incorrect end HTML comment left over from Twenty Ten.
...
See #19978 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19957 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 05:44:31 +00:00
potbot
305c67e6ac
POT, generated from r19915
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19916 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 04:17:55 +00:00
Lance Willett
a6951d77f3
Twenty Twelve template changes and fixes ... see #19978 .
...
* Add custom header support
* header.php: use `get_stylesheet_uri()` to load stylesheet, props Mamaduka
* Add full-width template, including adding relevant body_class value as a CSS hook
* Hide sidebar on all views if no active widgets exist
* Fix site title output (was missing site title)
* Remove "featured" title for sticky posts
* Add content template files for aside, image, link, and quote post formats
* Indent content-single.php to match content.php
* Remove sample JPG since Twenty Twelve ships with no default header images
... and style updates, props drewstrojny
* Better footer styles
* Styling for full-width layouts
* Add basic styles for archive views
* Refine post header/footer styles a bit
git-svn-id: https://develop.svn.wordpress.org/trunk@19915 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 03:54:46 +00:00
Andrew Nacin
917a954113
Update POT files. Reflects a change in the makepot script to ensure consistency when files are generated. Remove duplicate header comments.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19901 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 16:38:48 +00:00
Andrew Nacin
bd5c1f88e9
Move the wp_enqueue_style() to header.php. see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19845 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:07:41 +00:00
Andrew Nacin
2746fd144a
Freshen up the docs in functions.php. Remove is_admin() check from twentytwelve_enqueue_scripts(). Remove function_exists() wrappers from functions that are hooked in. Kill locale.php handling. see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19844 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:04:56 +00:00
Andrew Nacin
7349d46c0e
Synchronize archive.php docs with Twenty Eleven. Go easy on the PHP/HTML context switching. see #19978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19843 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:37:45 +00:00
Matt Mullenweg
94729a8a40
Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we're trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19842 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:23:41 +00:00
potbot
85beeacfc7
POT, generated from r19767
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19768 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 14:48:16 +00:00
potbot
2c2b4b0c07
POT, generated from r19762
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19763 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 14:28:54 +00:00
Ryan Boren
2b186b0c45
Lose EOF ?>. Clean up EOF newlines. fixes #12307
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren
63fc9195a5
Use one space, not two, after trailing punctuation. Prop Zeo. fixes #19537
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19599 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-16 17:13:16 +00:00
potbot
3297d19e90
POT, generated from r19584
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19585 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:47:15 +00:00
Ryan Boren
16c0545aa3
Back compat for twentyeleven. Props duck_. fixes #19504
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19584 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:43:49 +00:00
potbot
f12a285154
POT, generated from r19582
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19583 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:27:25 +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
potbot
a97b67ef03
POT, generated from r19580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19581 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:47:17 +00:00
Ryan Boren
6aeab508e9
Contextual help back compat for twentyeleven. Props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19580 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:31:44 +00:00
Andrew Nacin
56c34ed7b2
Give a min-height to posts of the status post format in Twenty Eleven. props devinreams, fixes #19325 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19543 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 17:22:46 +00:00
potbot
07dd43aad2
POT, generated from r19538
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19539 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 04:48:00 +00:00
Andrew Nacin
030e0764b5
Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19538 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 04:31:01 +00:00
potbot
0a3517a96a
POT, generated from r19505
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19506 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:47:08 +00:00
Andrew Nacin
ce22f02ff7
Switch to 'Overview' for Twenty Eleven. Use the theme's textdomain. props SergeyBiryukov, see [19493], #19020 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19502 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:33:09 +00:00
potbot
18ffbf0f7d
POT, generated from r19379
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19380 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 16:47:34 +00:00
Peter Westwood
2e8ea2cdab
TwentyEleven: Always call the loop properly in all template files rather than just calling the_post(). Fixes #18794 props mfields.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19379 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 16:20:49 +00:00
potbot
9a87bf6753
POT, generated from r19376
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19378 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:47:49 +00:00
Peter Westwood
5ca42be36c
TwentyEleven: Improve RTL css to better match LTR experience. Fixes #18911 props SergeyBiryukov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19377 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:47:48 +00:00
Andrew Nacin
74567278af
Revert other stuffs from [19374].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19376 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:43:57 +00:00
Peter Westwood
c322df0e46
TwentyEleven: Standardise on "Leave a reply". Fixes #18156 props SergeyBiryukov and pavelevap.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19375 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:40:13 +00:00
Andrew Nacin
7c181a42bf
Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19374 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:35:57 +00:00
Andrew Ozz
77e331046b
TwentyEleven: prevent #nav-single from blocking clicks, props SergeyBiryukov, fixes #18884
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19369 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 02:59:23 +00:00
potbot
8da8a36e89
POT, generated from r19351
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19352 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:48:00 +00:00
Andrew Ozz
b62a5ac879
Twenty Eleven: footer widgets shouldn't appear on the 404 page, props iandstewart, fixes #18933
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19348 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:16:39 +00:00
Andrew Ozz
74006f881c
Twenty Eleven: Custom shadows for comment avatars in the dark color scheme, props iandstewart, fixes #18930
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19347 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:07:54 +00:00
potbot
193c29c022
POT, generated from r19308
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19309 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 00:48:06 +00:00
Andrew Nacin
94d5ab637c
Indent code within an inside Twenty Eleven's ephemera widget. props lloydbudd, fixes #18751 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19308 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 00:08:29 +00:00
Andrew Nacin
11fb1f6b78
Properly adjust margins for ordered lists in RTL in Twenty Eleven. props wpweaver. fixes #19072 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19303 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:20:43 +00:00
Andrew Nacin
e327ae9f74
Higher z-index for #branding in Twenty Eleven. props matveb. fixes #18938 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19302 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:18:22 +00:00
Andrew Nacin
2283d108e5
Highlight current-menu-item and current-menu-ancestor in Twenty Eleven. props Viper007Bond, fixes #18643 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19301 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:16:56 +00:00
Andrew Nacin
0f56c7a48e
overflow:auto for pre tags in Twenty Ten. props SergeyBiryukov, fixes #16317 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19300 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:15:05 +00:00
Andrew Nacin
74d1d7012f
Better fluid/responsive image styles in Twenty Eleven. props iandstewart, lancewillett, fixes #18940 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19292 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:20:44 +00:00
Andrew Nacin
2ad89eb3ce
Make sure embeds and iframes fit their containers in Twenty Eleven. props matveb, fixes #18941 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19291 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:16:58 +00:00
Andrew Nacin
c71fea0654
Use get_template_directory() for include paths in Twenty Eleven, rather than FILE magic constant. Won't go stale when twentyeleven_setup() is overridden. props TomAuger, fixes #18985 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19289 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 00:37:50 +00:00
potbot
002ceaf932
POT, generated from r19244
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19245 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 19:29:33 +00:00
potbot
5eaef48e58
POT, generated from r19242
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19243 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:47:54 +00:00
Andrew Nacin
c69fd63823
Make twentyeleven_content_nav() pluggable. props adeptris, SergeyBiryukov. fixes #18585 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19242 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:41:05 +00:00
Ryan Boren
00d6cc1e1b
Make date formats for transation. Props SergeyBiryukov, settle. fixes #16441
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19241 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:37:20 +00:00
potbot
f070af72a5
POT, generated from r19237
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19238 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 14:47:40 +00:00
Ryan Boren
a9e58170af
Contextual help for Twenty Eleven theme options page. see #19020
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19237 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 14:01:46 +00:00
Andrew Ozz
c8c19d8591
Fix alignment buttons when there is no content in editor under RTL, props SergeyBiryukov, fixes 18247
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19085 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 00:17:37 +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
Ryan Boren
f14c0a52b4
phpdoc fix. Props Jayjdk. fixes #18965
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18978 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 15:58:16 +00:00
Andrew Ozz
15381afe70
Fix UL, OL in Twenty Ten editor-style.css, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18800 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 15:16:30 +00:00
potbot
e5a2801c6b
POT, generated from r18458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18459 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:48:02 +00:00
Andrew Nacin
f376d654b8
Fix @sinces in Twenty Eleven. see #18045 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18458 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:44:47 +00:00
Andrew Nacin
f4ca2f5b82
Use the Settings fields/sections API in Twenty Eleven. props chipbennett for initial patch. see #18045 . for 3.3.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18455 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:37:31 +00:00
potbot
1d6dd7deb1
POT, generated from r18439
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18440 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-13 11:47:58 +00:00
Ryan Boren
b1f4e9a13f
1.2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18438 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-12 18:30:26 +00:00
Andrew Nacin
56e834a8c2
Twenty Eleven: Don't set color in the * selector in editor styles. props MattyRob, fixes #18011 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18433 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:32:24 +00:00
Andrew Nacin
3cd6df39aa
Twenty Eleven: Prefix theme_options_render_page(). props chipbennett, see #18045 . for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18430 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:15:37 +00:00
Andrew Nacin
61f04c15cc
Twenty Eleven: Don't call comments_popup_link() if post_password_required(). That'll result in double password messages. props helenyhou, fixes #17962 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18422 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 17:58:43 +00:00
Andrew Nacin
5c7ed5305c
Twenty Eleven: Update screenshot, use png. props iandstewart, fixes #18054 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18418 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:41:19 +00:00
Andrew Nacin
f7b63919c2
Twenty Eleven: Update editor style for blockquotes and images. props iandstewart, fixes #18008 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18410 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:29:14 +00:00
Andrew Nacin
56b52fb9f1
Twenty Eleven: Fix search form width in IE7. props iandstewart, fixes #18004 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18408 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:27:53 +00:00
Andrew Ozz
4e43ac83bd
Fix typo in 2011, props AndrewFrazier, fixes #17989 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18403 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 21:59:43 +00:00
Andrew Nacin
8e62c8d66f
Twenty Eleven bump. see #17759 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18394 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-04 20:02:05 +00:00
Andrew Ozz
b83f30c052
Twenty Eleven: Fix missing comma in transition-property (accidentally reverted), props Jayjdk, fixes #17426
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18389 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-03 18:09:49 +00:00
potbot
658bbe9dcc
POT, generated from r18387
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18388 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 22:47:23 +00:00
Ryan Boren
76e5ba0e53
twentyeleven code tidy up. Props dd32, lancewillett. fixes #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18385 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 21:57:50 +00:00
Andrew Nacin
e77af39da7
RTL for [18383]. props yoavf, fixes #17949 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18384 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 20:57:29 +00:00
Andrew Nacin
c8b4955abb
Twenty Eleven without header text: Prevent the nav from overlapping the search box. props iandstewart, fixes #17949 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18383 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 20:46:21 +00:00
Andrew Ozz
18620b9c9b
Twenty Eleven: limit textarea resizing to vertical only, props iandstewart, fixes #17947
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18382 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:49:47 +00:00
potbot
361e227711
POT, generated from r18360
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18361 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 22:47:41 +00:00
Andrew Ozz
eb542e898a
More fixes for 2011, props iandstewart, see #17809
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18360 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 22:17:19 +00:00
Andrew Ozz
455c017fc8
Fix arrows in 2011, props iandstewart, fixes #17809
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18359 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 22:02:29 +00:00
potbot
b1e42524ab
POT, generated from r18349
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18351 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:47:38 +00:00
Andrew Ozz
5110d7f3a3
Simplify some Twenty-Eleven strings for i18n, props nbachiyski, fixes #17777
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18348 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:24:23 +00:00
potbot
c3f3ade632
POT, generated from r18342
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18343 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-25 20:47:36 +00:00
Andrew Ozz
f40eb65b33
Twenty Eleven RTL update, props yoavf, fixes #17882
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18342 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-25 20:24:07 +00:00
potbot
4bf3adc029
POT, generated from r18337
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18338 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 14:47:44 +00:00
Andrew Ozz
edd21e5eb0
Twenty Eleven: Tweaking the tiny bubbles, again. fixes #17741
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18336 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-24 01:28:43 +00:00
Andrew Ozz
7bbb50f2c9
TwentyEleven Theme H1 Priority, props iandstewart, fixes #17611
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18335 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 23:03:46 +00:00
Andrew Ozz
6e4d77b711
Make 2011 search box wider, props demetris, fixes #17707
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18334 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 22:56:40 +00:00
Ryan Boren
b1e314fbf7
Add theme support option for turning on random default headers. fixes #17832
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18325 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:09:23 +00:00
Ian Stewart
349cc891b5
Twenty Eleven: Visual bug fixes
...
* Better targeting of fluid images and image hover/focus/active styles
* Less fragile comment list structure; Props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@18317 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-16 19:28:13 +00:00
potbot
f4e1c17bf8
POT, generated from r18312
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18313 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 15:47:34 +00:00
Dion Hulse
fee8819790
Consistently wrap the "Pages:" text in <span> tags, Combine the 2 identical translations for the Pages text (one with, and one without, span tags). See #17744
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18312 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 15:14:24 +00:00
potbot
a8af47a5e5
POT, generated from r18304
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18305 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 15:47:34 +00:00
Nikolay Bachiyski
ae474053f7
Add forgotten spaces. See #17777
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18304 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 14:54:14 +00:00
Nikolay Bachiyski
b7a32f3bcb
Split the comment date and time string into two and add translator comments. See #17777
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18303 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 14:50:35 +00:00
potbot
9ea45db38f
POT, generated from r18301
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18302 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 13:47:35 +00:00
potbot
1132a1c80b
POT, generated from r18298
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18299 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 13:27:43 +00:00
potbot
08b6904f3e
POT, generated from r18291
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18292 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 17:47:43 +00:00
Ryan Boren
d933c3e48b
Add no posts found message to templates. Props sorich87. fixes #17735
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18291 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 17:43:03 +00:00
Dion Hulse
9834c93ce3
Add Opera variants of linear-gradient & transition alongside moz and webkit variants. Se #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18286 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 03:34:15 +00:00
Dion Hulse
a795c0f277
Highlight the current menu item and ancestors, not current menu item and children. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18285 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 03:18:17 +00:00
Ryan Boren
feaf2597bf
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18276 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 15:44:06 +00:00
potbot
5e08a751a4
POT, generated from r18274
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18275 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 07:47:26 +00:00
Dion Hulse
ea61020466
Remove the few post_type == post checks on Post Format templates, Post formats only apply to posts. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18274 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 07:14:59 +00:00
potbot
ad7ad72b1f
POT, generated from r18272
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18273 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 06:47:35 +00:00
Dion Hulse
36ca3bf3ab
Twenty Eleven Functions.php comments cleanup, merge the 2 body class functions. Props jorbin. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18272 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 06:30:59 +00:00
potbot
3c0ae00a04
POT, generated from r18270
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18271 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 05:47:28 +00:00
Dion Hulse
165ded49f7
Remove Comments/Trackbacks are closed text from image.php template, rely upon the comments closed text within comments.php. Remove duplicated Edit link. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18270 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 05:15:50 +00:00
Dion Hulse
c41dfd9a90
Showcase template cleanup. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18269 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 05:07:18 +00:00
potbot
96acb1089d
POT, generated from r18266
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18267 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:47:31 +00:00
Dion Hulse
b7798052e9
Remove debug comments & more housecleaning. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18266 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:44:42 +00:00
potbot
64b6104534
POT, generated from r18257
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18259 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:47:30 +00:00
Andrew Nacin
3b651a8ca2
Remove extra </a>. props aaroncampbell. see #17385 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18257 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:29:56 +00:00
Andrew Nacin
b5b775f852
New comment bubble styling! props matveb, iandstewart, fixes #17741 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18255 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:10:23 +00:00
Andrew Ozz
9a7f69f2aa
Twenty Eleven code review and cleanup, props dd32, fixes #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18253 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:16 +00:00
potbot
04fe291b90
POT, generated from r18250
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18251 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:47:37 +00:00
Ian Stewart
b2d3b28d80
Twenty Eleven: compressed header thumbnails and theme screenshot; Props demetris; Fixes #17641
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18245 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:59:10 +00:00
Andrew Nacin
2995cd59c9
Twenty Eleven: escaping frenzy, hide authors if a single author blog. props DH-Shredder, props iandstewart, see #17385 , fixes #17563 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18244 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:57:18 +00:00
potbot
2682009d26
POT, generated from r18239
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18240 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 20:47:36 +00:00
Ryan Boren
69b5356889
Use no_found_rows for some queries. Props pavelevap. fixes #17745
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18239 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 20:14:59 +00:00
Ryan Boren
f2af00cb68
Add missing textdomain to twentyeleven contextual help. Props pavelevap. see #17744
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18235 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 17:13:23 +00:00
Dion Hulse
b1cfb86661
* Don't clear link colour when switching layouts
...
* Update "default colour" link when a custom colour has been selected
Fixes #17746
git-svn-id: https://develop.svn.wordpress.org/trunk@18229 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 13:41:51 +00:00
potbot
54e5055ec3
POT, generated from r18218
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18219 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 17:47:32 +00:00
Ian Stewart
b1f4cb3788
Twenty Eleven: check for published posts on the showcase page to prevent trashed sticky posts from appearing in the featured post loop; Props kawauso
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18218 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 16:53:01 +00:00
potbot
96f37320b1
POT, generated from r18216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18217 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 16:47:40 +00:00
Ian Stewart
4fcb4098fe
Twenty Eleven: make sure we're checking for sticky posts at the correct time in showcase.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18216 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 16:39:40 +00:00
Ian Stewart
e43bef6cc4
Twenty Eleven: reduce image sizes; Props demetris; Fixes #17641
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18215 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 14:30:57 +00:00
potbot
c21327f538
POT, generated from r18213
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18214 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 11:47:38 +00:00
Dion Hulse
2db8673288
Remove the psd's from Twenty Eleven. See #17641
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18212 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 11:14:06 +00:00
Peter Westwood
29a53e3eb0
Only show Comments are Closed when they are supported.
...
Tidy up the logic to be clearer.
Mark attachements as supporting comments.
Fixes #17568 props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@18211 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 11:12:39 +00:00
potbot
564d43a7c3
POT, generated from r18209
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18210 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 10:47:45 +00:00
Ian Stewart
210a9e68d4
Twenty Eleven: updated featured slider border color for the dark color scheme
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18204 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 21:35:57 +00:00
Andrew Nacin
6b27776490
Twenty Eleven: Properly handle the default link color for the dark theme. props dcowgill for the patch refresh. fixes #17351 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18198 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 17:39:12 +00:00
potbot
15f0c9a2f0
POT, generated from r18190
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18191 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 14:29:39 +00:00
Ian Stewart
08e9fd3fac
Twenty Eleven: reset content margins for 404
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18190 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 02:15:56 +00:00
Andrew Ozz
0ea87b527d
Implement rel="author" in Twenty Eleven and Twenty Ten, props joostdevalk, fixes #17722
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18189 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 02:02:09 +00:00
Ian Stewart
9d14e8d969
Twenty Eleven: submenu line-height was too cramped; Props mitchoyoshitaka; Fixes #17695
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18188 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 01:55:48 +00:00
Ian Stewart
c079d224e7
Twenty Eleven: prevent notices in taxonomy archives using custom post types; Props mfields; Fixes #17566
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18186 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 01:30:18 +00:00
Ian Stewart
c7fa3ddaba
Twenty Eleven: make sure all user-added images are fluid with auto height correction only on images that WordPress adds attributes to
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18184 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 23:29:06 +00:00
Ian Stewart
29673fa970
Twenty Eleven: restore max-width for full-size images
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18183 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 22:36:16 +00:00
Ian Stewart
7f333ad540
Twenty Eleven: updating editor styles to match main stylesheet
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18182 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 21:45:34 +00:00
Ian Stewart
5830f73e7d
Twenty Eleven: miscellaneous bug fixes and improvements
...
* Only style images uploaded to the WordPress media library with border styles (and not placeholder images for content added by plugins)
* Prevent content added by plugins and long custom excerpts from overflowing the featured post slider
* Make sure small thumbnails will never appear in the Custom Header area
* Better indicate the current featured post with custom link color and cursor
* Add a class for text-only featured posts
* Style improvements for small screens
git-svn-id: https://develop.svn.wordpress.org/trunk@18181 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 21:28:56 +00:00
potbot
6025531032
POT, generated from r18176
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18177 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 10:46:31 +00:00
Ian Stewart
71a2b33796
Twenty Eleven: we need to be really specific about resetting the layout for smaller screen sizes
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18175 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 00:40:33 +00:00
Andrew Nacin
56a3ed4539
Use correct textdomain. props knutsp, fixes #17712 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18174 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 00:08:01 +00:00
Ian Stewart
f12b34ea48
Twenty Eleven: make sure the featured post title link is visible in the dark color scheme
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18172 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 21:33:12 +00:00
Ian Stewart
809cdf944d
Twenty Eleven: visual fixes
...
* Prevent the sidebar-content layout from breaking singular post and page views
* Prevent smileys from inheriting borders and padding
git-svn-id: https://develop.svn.wordpress.org/trunk@18171 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 19:41:25 +00:00
Ian Stewart
13286b28ad
Twenty Eleven: correct layout bug with showcase template and alt layout option; Props ocean90; Fixes #17415
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18168 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 14:58:16 +00:00
Ian Stewart
d87c00948b
Twenty Eleven: focus styles for sidebar links; Fixes #17410
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18167 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 14:46:40 +00:00
Ian Stewart
7ef9c84f9a
Twenty Eleven: Add a hidden label for search forms; See #17524
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18166 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 14:35:30 +00:00
Ian Stewart
d0181f27d8
Twenty Eleven: prevent stretching of full-size images reduced in size with CSS in IE8; Props rosshanney and nickbohle; Fixes #17650
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18165 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 14:26:12 +00:00
Andrew Nacin
aba7c4e9ce
Use default argument for get_option(). props dcowgill, westi. fixes #17686 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18152 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 19:53:31 +00:00
Andrew Nacin
3e27653486
Sanity check in twentyeleven_get_theme_options() -- if the option doesn't exist, return the default options instead. We already instantiate the option on admin_init. fixes #17686 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18141 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 22:05:29 +00:00
Ian Stewart
7840df6b57
Twenty Eleven: correct typos in PHP comments
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18140 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 15:54:47 +00:00
Ian Stewart
7ded48ef83
Twenty Eleven: restore Image Post margin resetting
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18139 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 15:49:32 +00:00
Ryan Boren
e1e318b9ff
Check result of add_theme_page(). Return if false. Props greuben. fixes #17677
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18135 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 22:37:13 +00:00
Ian Stewart
954c298392
Twenty Eleven: style 4-column galleries -- Props mfields -- and remove unneeded !important rules; Fixes #17564
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18134 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:38:47 +00:00
potbot
8aa54bec5f
POT, generated from r18132
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18133 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:29:23 +00:00
Ian Stewart
331588a441
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: https://develop.svn.wordpress.org/trunk@18132 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:11:41 +00:00
Ian Stewart
ef01a94b3f
Twenty Eleven: show expected formatting for em, strong, and a in editor styles; Props greuben; Fixes #17417
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18127 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 14:33:11 +00:00
Ryan Boren
f786d16ed3
Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18125 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 22:19:58 +00:00
Ryan Boren
0c893945ba
Retain screen-reader-text for pages shown in the admin. see #17524
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18123 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:59:11 +00:00
Ian Stewart
68ed6937db
Twenty Eleven: editor-style should have max-width; Props bi0xid; Fixes #17393 #17649 ; See #17644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18121 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:03:50 +00:00
Ian Stewart
e6a591e5a8
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: https://develop.svn.wordpress.org/trunk@18117 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 19:30:07 +00:00
Ryan Boren
b41246fa30
Contextual help for twentyeleven's theme options screen. Props sbressler, dougwrites, jane. fixes #17357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18101 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 19:28:42 +00:00
Ian Stewart
8077ca5c00
Twenty Eleven: Style the comments off message in the Ephemera widget; Props knutsp; Fixes #17583
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18099 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 18:36:22 +00:00
Ian Stewart
2ce443d5c9
Twenty Eleven: Correct the broken 404 layout; Fixes #17606
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18077 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 21:46:36 +00:00
Ian Stewart
f313a881e8
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: https://develop.svn.wordpress.org/trunk@18072 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 01:29:55 +00:00
potbot
27273e2b1f
POT, generated from r18060
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18061 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-27 03:29:06 +00:00
Ian Stewart
4beb8573c1
Twenty Eleven: Improvements to the responsive layout
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18060 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-27 01:04:05 +00:00
Ian Stewart
e606e90f44
Twenty Eleven: Add the Ephemera title to the theme textdomain; Props knutsp; Fixes #17572
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18059 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 20:50:53 +00:00
Ian Stewart
dcee686373
Twenty Eleven: Show tag descriptions on tag archive pages if they exist; Props zeo; Fixes #17438
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18058 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 19:10:30 +00:00
Ian Stewart
064786d47c
Twenty Eleven: focus styles for all links; Fixes #17410
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18057 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 18:41:35 +00:00
Ian Stewart
7d65cc5e09
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: https://develop.svn.wordpress.org/trunk@18050 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 21:19:52 +00:00
Ian Stewart
75e4ab2cae
Twenty Eleven: make sure title-less widgets don't float into content for small screens; Props devinreams; Fixes #17423
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18048 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 20:24:21 +00:00
Ian Stewart
8d75a9a12c
Twenty Eleven: correct syntax for CSS transition property; Props Jayjdk; Fixes #17426
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18046 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 19:36:32 +00:00
Ian Stewart
66f5e4bb1c
Twenty Eleven: prevent overflow on the pre element; Props devinreams; Fixes #17432
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18042 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:46:19 +00:00
Ian Stewart
2633e960d0
Twenty Eleven: Fix a typo in PHPdoc; Props tenpura; Fixes #17434
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18040 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:18:23 +00:00
Ian Stewart
0b8804ef6e
Twenty Eleven: consistent styles for .nopassword and .nocomments; Props zeo; Fixes #17437
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18039 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:13:02 +00:00
Ian Stewart
c28266caae
Twenty Eleven: better visibility for comment form text in the dark color scheme; Props greuben; Fixes #17468
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18037 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:28:51 +00:00
Ian Stewart
b01f5d1b74
Twenty Eleven: correcting mis-floated sidebar in IE9 on the showcase page; Props rosshanney; Fixes #17486
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18033 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:55:22 +00:00
Ian Stewart
f48fe743ad
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: https://develop.svn.wordpress.org/trunk@18030 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:29:26 +00:00
Ian Stewart
2c40d3edea
Twenty Eleven: make categories and tags i18n friendly; Props dimadin; Fixes #17531
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18029 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:19:33 +00:00
Ryan Boren
ccba8dfbf3
Validation fixes. Props ocean90, peaceablewhale. see #17364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Andrew Nacin
0aae52702f
Leverage option_page_capability_* filter in Twenty Eleven. fixes #14365 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17987 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:32:44 +00:00
Andrew Nacin
43d52dea87
echo. props ocean90, fixes #17535 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17985 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:25:42 +00:00
Andrew Nacin
afb960a480
Fix twentyeleven_url_grabber(). props duck_, see #17267 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17968 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 08:31:01 +00:00
Andrew Nacin
5c6a5a0045
Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17959 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 19:06:09 +00:00
Andrew Nacin
b929276a81
s/twentyten/twentyeleven/. props zeo, fixes #17493 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17955 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:38:42 +00:00
Andrew Nacin
46c1bd35dd
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: https://develop.svn.wordpress.org/trunk@17954 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:32:22 +00:00
Andrew Nacin
90a0d6cfdc
the_excerpt() doesn't take an argument. props coffee2code. fixes #17489 . see #13883 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17953 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:26:40 +00:00
potbot
f69b353866
POT, generated from r17937
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17938 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-16 12:30:20 +00:00
Lance Willett
cfdfbac9e9
Twenty Eleven: run twentyeleven_url_grabber once in widgets.php, props duck_ -- closes #17279
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17917 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 16:25:53 +00:00
Lance Willett
563f488c69
Twenty Eleven footer style fixes, props matveb
...
* Improve footer credits, add WordPress PNG
* Add hover color to footer links
git-svn-id: https://develop.svn.wordpress.org/trunk@17908 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 23:13:56 +00:00
Lance Willett
d86ba78c51
Twenty Eleven: updated screenshot, props matveb
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17906 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 18:45:43 +00:00
Lance Willett
3bda471af7
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: https://develop.svn.wordpress.org/trunk@17847 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 23:15:38 +00:00
Lance Willett
9554d20f7a
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: https://develop.svn.wordpress.org/trunk@17846 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 22:54:55 +00:00
Lance Willett
da61f07b48
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: https://develop.svn.wordpress.org/trunk@17845 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 22:08:05 +00:00
Lance Willett
e19b314639
Twenty Eleven: adding RTL editor styles and tighter header height - see #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17830 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 00:31:27 +00:00
Ian Stewart
42239aa382
Twenty Eleven: correct typo in inline documentation props markmcwilliams; See #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17819 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 17:58:41 +00:00
Ian Stewart
fa73730d37
Twenty Eleven: first pass at visual editor styles with RTL editor styles to come; See #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17816 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 22:46:37 +00:00
potbot
279df65037
POT, generated from r17808
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17809 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 17:29:17 +00:00
Lance Willett
b5ad7c99ae
Twenty Eleven: update description and tag list - see #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17803 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 23:26:18 +00:00
Lance Willett
21c7b3c8d3
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: https://develop.svn.wordpress.org/trunk@17802 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 22:54:50 +00:00
potbot
74a7f268ba
POT, generated from r17791
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17792 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 09:58:41 +00:00
Lance Willett
2681c5dee8
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: https://develop.svn.wordpress.org/trunk@17791 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 00:45:50 +00:00
Lance Willett
177f91d76e
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: https://develop.svn.wordpress.org/trunk@17790 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-03 20:16:34 +00:00
Ian Stewart
0d5c2bd393
Twenty Eleven: Post Format headings and CSS cleanup; See #17198 props matveb
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17788 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 21:11:32 +00:00
Ian Stewart
9af6ba3236
Twenty Eleven: updated DocBlock comments following Twenty Ten's example; See #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17787 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 21:04:44 +00:00
Lance Willett
23490246d8
Twenty Eleven: introduce image post format and miscellaneous style fixes, props matveb and iandstewart - see #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17776 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 22:33:04 +00:00
Lance Willett
23113b69bc
Twenty Eleven: improve calls to get_header_image() - see #17240 and #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17775 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 22:22:19 +00:00
Ian Stewart
a2e6825307
Twenty Eleven: Simplified post author highlighting and comment arrow images for the dark color scheme comments; See #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17772 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 21:00:06 +00:00
Lance Willett
9f5ed64d81
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: https://develop.svn.wordpress.org/trunk@17761 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 00:19:02 +00:00
Lance Willett
4a4c691ebb
Twenty Eleven: update background color of comment arrows so they're visible, props iandstewart - see #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17760 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 00:11:10 +00:00
Andrew Nacin
d23b2f19f5
Escape urls in the Epherma widget. see #17198 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17759 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 23:59:08 +00:00
Ian Stewart
964d12362a
Twenty Eleven: First pass at dark color scheme w/ simplification of borders above and below the menu; See #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17756 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 22:15:36 +00:00
Ian Stewart
11ceee4a24
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: https://develop.svn.wordpress.org/trunk@17755 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 22:04:39 +00:00
Lance Willett
7e151d5953
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: https://develop.svn.wordpress.org/trunk@17754 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 19:01:51 +00:00
Ian Stewart
0f642fc528
Twenty Eleven: First pass at styles to support the theme option for alternate layouts; See #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17752 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 18:14:48 +00:00
Andrew Nacin
81755c790e
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: https://develop.svn.wordpress.org/trunk@17740 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 11:05:53 +00:00
Andrew Nacin
0c6ee1dca4
More Twenty Eleven cleanup and add the comment-awaiting-moderation class. see #17198 . see #15206 for history on the CSS class.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17739 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 10:13:38 +00:00
Andrew Nacin
f8a460675c
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: https://develop.svn.wordpress.org/trunk@17738 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 09:47:30 +00:00
Andrew Nacin
45677c6e26
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: https://develop.svn.wordpress.org/trunk@17737 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 09:32:34 +00:00
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