Lance Willett
4f8d3b5b61
Twenty Eleven: use new URL extraction function, get_the_url()
for link post formats in the Ephemera widget. Props obenland, fixes #23618 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 22:42:37 +00:00
Lance Willett
0c69e9f00d
Twenty Eleven and Twenty Twelve: use .text()
instead of .html()
for blogname
and blogdescription
in Theme Customizer JavaScript handlers. Fixes #23435 , props mfields.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-15 16:53:58 +00:00
Helen Hou-Sandí
b1f1579604
its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-20 15:55:32 +00:00
Mark Jaquith
2ec9c4acc2
Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381 . props waldojaquith
...
git-svn-id: http://core.svn.wordpress.org/trunk@22425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-07 18:49:10 +00:00
Lance Willett
5834e1228f
Twenty Eleven image optimization, compress PNG files a bit more.
...
git-svn-id: http://core.svn.wordpress.org/trunk@22217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-12 16:41:15 +00:00
Lance Willett
9886963778
Twenty Eleven: escape i18n attributes as late as possible, props mfields. See #21756 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@22199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 21:30:42 +00:00
koopersmith
0df3218cc2
Theme Customizer: Ensure that JS color controls always use real color values, even if the server-side value is a hex value without a hash. fixes #20448 , see #19910 .
...
Adds WP_Customize_Setting->sanitize_js_callback and 'customize_sanitize_js_$settingID' filter, to filter values before they're passed to JS using WP_Customize_Setting->js_value().
Adds support for regular hex colors to the color picker.
Changes color methods:
* sanitize_hex_color() accepts 3 and 6 digit hex colors (with hashes) and the empty string.
* sanitize_hex_color_no_hash() accepts 3 and 6 digit hex colors (without hashes) and the empty string.
* maybe_hash_hex_color() ensures that a hex color has a hash, and otherwise leaves the value untouched.
git-svn-id: http://core.svn.wordpress.org/trunk@20936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 18:44:31 +00:00
koopersmith
01f8df5b80
Twenty Eleven theme customizer integration. props lancewillett, Otto42. fixes #20448 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 21:50:01 +00:00
markjaquith
5a1279320a
Remove some dead add_option() code in Twenty Eleven. props Mamaduka, emhr. fixes #19743
...
git-svn-id: http://core.svn.wordpress.org/trunk@20875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:38:13 +00:00
nacin
00ab660e01
Check for wp_get_theme() in Twenty Eleven before using it, for compatibility down to WP 3.2 when Twenty Eleven was first released. see #20103 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 17:32:53 +00:00
nacin
bf97881f98
(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: http://svn.automattic.com/wordpress/trunk@20039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 19:27:54 +00:00
ryan
f70f569825
Contextual help back compat for twentyeleven. Props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-10 18:31:44 +00:00
nacin
15ceab2647
Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 04:31:01 +00:00
nacin
26867ec70a
Switch to 'Overview' for Twenty Eleven. Use the theme's textdomain. props SergeyBiryukov, see [19493], #19020 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:33:09 +00:00
nacin
869e0ace47
Indent code within an inside Twenty Eleven's ephemera widget. props lloydbudd, fixes #18751 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 00:08:29 +00:00
ryan
af1982e70a
Contextual help for Twenty Eleven theme options page. see #19020
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 14:01:46 +00:00
ryan
b051ece339
phpdoc fix. Props Jayjdk. fixes #18965
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 15:58:16 +00:00
nacin
50dd290502
Fix @sinces in Twenty Eleven. see #18045 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:44:47 +00:00
nacin
93560c8612
Use the Settings fields/sections API in Twenty Eleven. props chipbennett for initial patch. see #18045 . for 3.3.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:37:31 +00:00
nacin
01060c0689
Twenty Eleven: Prefix theme_options_render_page(). props chipbennett, see #18045 . for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 20:15:37 +00:00
ryan
fdc7409251
twentyeleven code tidy up. Props dd32, lancewillett. fixes #17748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 21:57:50 +00:00
azaozz
bad6d5e3f3
Twenty Eleven RTL update, props yoavf, fixes #17882
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-25 20:24:07 +00:00
ryan
46f63a6b1e
Pinking shears
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:44:06 +00:00
dd32
27ec6b7e00
Remove debug comments & more housecleaning. See #17748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:44:42 +00:00
nacin
bf4e70ba7a
New comment bubble styling! props matveb, iandstewart, fixes #17741 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:10:23 +00:00
azaozz
3a29a3d893
Twenty Eleven code review and cleanup, props dd32, fixes #17748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:16 +00:00
ryan
a6e286b3bd
Use no_found_rows for some queries. Props pavelevap. fixes #17745
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 20:14:59 +00:00
ryan
a5dc19aa31
Add missing textdomain to twentyeleven contextual help. Props pavelevap. see #17744
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 17:13:23 +00:00
dd32
40a3ce969a
* Don't clear link colour when switching layouts
...
* Update "default colour" link when a custom colour has been selected
Fixes #17746
git-svn-id: http://svn.automattic.com/wordpress/trunk@18229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 13:41:51 +00:00
nacin
e68bd9e42e
Twenty Eleven: Properly handle the default link color for the dark theme. props dcowgill for the patch refresh. fixes #17351 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 17:39:12 +00:00
iandstewart
af7b7c70ab
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: http://svn.automattic.com/wordpress/trunk@18181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-07 21:28:56 +00:00
nacin
ec46700dd4
Use default argument for get_option(). props dcowgill, westi. fixes #17686 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 19:53:31 +00:00
nacin
e5090f3113
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: http://svn.automattic.com/wordpress/trunk@18141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 22:05:29 +00:00
ryan
6f3fdf244e
Check result of add_theme_page(). Return if false. Props greuben. fixes #17677
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 22:37:13 +00:00
ryan
209f213f56
Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:19:58 +00:00
ryan
8a937b9c09
Retain screen-reader-text for pages shown in the admin. see #17524
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 21:59:11 +00:00
iandstewart
8a7dd1e31c
Twenty Eleven: accessibility improvements and minor style fixes for galleries; See #17524
...
* Improved color contrast for light and dark color schemes
* Skip link for skipping directly to sidebar content
* Skip links visible on :focus
* Using a more semantic, general class name of .assistive-text instead of .section-heading and .screen-reader-text
* Focus styles for password inputs (and a minor style fix)
git-svn-id: http://svn.automattic.com/wordpress/trunk@18117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 19:30:07 +00:00
ryan
55f6b637f3
Contextual help for twentyeleven's theme options screen. Props sbressler, dougwrites, jane. fixes #17357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:28:42 +00:00
iandstewart
66beb266a1
Twenty Eleven: bug fixes and enhancements ...
...
* Improvements to the dark color scheme; Props matveb
* Remove link colors from the dark color scheme and let the default link color cascade
* Check for multiple authors before showing author information on single posts
* Remove the span before the edit link on the image template
* Add a comment icon; Props hugobaeta
* Replace the default reply text with an icon to prevent i18n issues with the design; Props matveb
* Don't output sidebar on the no sidebar layout
* Use the search form styling from the header for all search forms
* Style fixes for no search results page
* Fixes for fancy blockquote styles
* Style fixes for the showcase slider
* Margin for galleries
* Only showing the top post navigation on paged results
* Remove floats from images for the smallest screen sizes
git-svn-id: http://svn.automattic.com/wordpress/trunk@18072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 01:29:55 +00:00
iandstewart
46daad4d6d
Twenty Eleven: Add the Ephemera title to the theme textdomain; Props knutsp; Fixes #17572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 20:50:53 +00:00
iandstewart
7692708e25
Twenty Eleven: focus styles for all links; Fixes #17410
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 18:41:35 +00:00
iandstewart
128c61411a
Twenty Eleven: Style fixes and showcase improvements; Props matveb
...
* Remove bottom border from last post
* Improve featured posts on the showcase: move slider navigation to the top right; make sure the bottom border shows; make the reading more link thicker
* Positioning fix for image post format meta
* Dark stylesheet improvements
* Ensure search input text is centred vertically
git-svn-id: http://svn.automattic.com/wordpress/trunk@18050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 21:19:52 +00:00
ryan
8192d0dae8
Validation fixes. Props ocean90, peaceablewhale. see #17364
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
nacin
97e8bd742d
Leverage option_page_capability_* filter in Twenty Eleven. fixes #14365 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:32:44 +00:00
nacin
7f98b9beaf
Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 19:06:09 +00:00
lancewillett
6b26de11a4
Twenty Eleven: run twentyeleven_url_grabber once in widgets.php, props duck_ -- closes #17279
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 16:25:53 +00:00
lancewillett
033b47c5d3
Twenty Eleven footer style fixes, props matveb
...
* Improve footer credits, add WordPress PNG
* Add hover color to footer links
git-svn-id: http://svn.automattic.com/wordpress/trunk@17908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 23:13:56 +00:00
lancewillett
ac33e2df00
Twenty Eleven updates and fixes, see #17198
...
* Add explanatory comments in all templates, following Twenty Ten's example
* Stick with twentyeleven_ for prefixing filter names
* Use post format content templates in search results
* First pass at adding a template for adding a sidebar to pages
* Add a featured post header to standard sticky posts
* Style fixes: print media, comment styles for pages with sidebars, color of meta links on image post format
git-svn-id: http://svn.automattic.com/wordpress/trunk@17802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 22:54:50 +00:00
iandstewart
ff4d0e5249
Twenty Eleven: updated DocBlock comments following Twenty Ten's example; See #17198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 21:04:44 +00:00
nacin
03104c5cfd
Escape urls in the Epherma widget. see #17198 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 23:59:08 +00:00