Lance Willett
1bb58f28e7
Twenty Twelve: use `get_the_date()` rather than `the_date()` in content templates to ensure a date is always output and a post permalink is visible to site visitors. Props obenland and ocean90, fixes #21721 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 17:23:22 +00:00
Bot (Translations)
2fd9f64928
POT, generated from r21668
...
git-svn-id: http://core.svn.wordpress.org/trunk@21669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 17:18:55 +00:00
Lance Willett
0c8e14a3ad
Twenty Twelve: move Open Sans custom font loading to a body class to allow easier overriding, fixes #21694 .
...
* Use wp_style_is() to check for the enqueued CSS file before adding the body class value.
* Add a sample dequeue method in the comments as documentation for child themers and their ilk.
Props viniciusmassuchetto, nacin, and obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:59:22 +00:00
Lance Willett
6231725926
Twenty Twelve: remove aggressive text-align rule, set to inherit instead to allow editor-added styles to justify per author's desire. Props obenland, fixes #21739 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:39:49 +00:00
Lance Willett
02f05196bf
Twenty Twelve: move text treatment for footer anchor element up to its parent container, to allow styling any text in the footer.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:25:31 +00:00
Lance Willett
07671eaa88
Twenty Twelve: remove unneeded float rule from nav list items, there is nothing to override here.
...
Also allows authors to assign CSS classes and float menu items with something like `alignright`.
git-svn-id: http://core.svn.wordpress.org/trunk@21665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:24:29 +00:00
Ryan Boren
c55cf716da
Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759
...
git-svn-id: http://core.svn.wordpress.org/trunk@21664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 13:33:00 +00:00
Bot (Assets)
e0835b5fc4
Compress scripts/styles: 3.5-alpha-21663.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 04:09:57 +00:00
Andrew Nacin
47572e8305
Fix copy-paste error in get_term_feed_link() that caused the category_feed_link filter to run for tags, rather than tag_feed_link. props andrea.r, SergeyBiryukov. fixes #21589 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 03:49:44 +00:00
Andrew Nacin
5f8add5ad2
Fix typo in CSS. props SergeyBiryukov. fixes #20587 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 03:04:10 +00:00
Andrew Nacin
9a07332682
Update old files array:
...
* Remove old names for jQuery UI Effects files. see #21736 .
* Remove un-minified version of Jcrop and jQuery Color. see #21692 , #20728 .
* Remove .dev.css and .dev.js. see #21633 .
git-svn-id: http://core.svn.wordpress.org/trunk@21660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 02:35:30 +00:00
Andrew Nacin
3331a345bc
Update some code comments from .dev.js to .js. props georgestephanis. see #21633 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 02:15:57 +00:00
Andrew Nacin
f0b3d7c66b
jQuery 1.8.1-not-quite-final. fixes #21736 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 02:05:08 +00:00
Andrew Nacin
939b818bf9
jQuery UI 1.9 RC.
...
Adds Tooltip, Menu, and Spinner.
Autocomplete depends on Menu.
Renames Effects files.
1.9 final is expected next week.
see #21736 .
git-svn-id: http://core.svn.wordpress.org/trunk@21657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 01:49:47 +00:00
Daryl Koopersmith
c2e9648620
Improve consistency in wp.Uploader callbacks; pass file objects to all handlers. see #21390 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-29 19:56:42 +00:00
Ryan Boren
16b01d701e
Simplify return from WP_Post::__get() now that references are no longer returned. see #21309
...
git-svn-id: http://core.svn.wordpress.org/trunk@21655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-29 13:42:11 +00:00
Ryan Boren
a43222bfaf
Lose return ref from WP_Post::__get(). see #21309
...
git-svn-id: http://core.svn.wordpress.org/trunk@21654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-29 13:23:54 +00:00
Andrew Nacin
f7cff2fd4d
Remove reference to blog_charset option in Settings > Reading help. fixes #21507 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-29 05:50:10 +00:00
Andrew Nacin
f1aaf6d359
Stabilize how WordPress hooks into SimplePie to implement transient caching.
...
Since a plugin can load a previous (< 1.3) version of SimplePie before we do,
we need to be compatible with our old method of overriding SimplePie_Cache::create().
SimplePie_Cache::create() was converted to static in 1.3 (as it was called),
requiring that we create two different definitions of WP_Feed_Cache (extends
SimplePie_Cache). Instead, we can use 1.3's new object registry, and leave
the old WP_Feed_Cache to SimplePie 1.2 versions.
see #21183 .
git-svn-id: http://core.svn.wordpress.org/trunk@21652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-29 00:25:52 +00:00
Ryan Boren
52b3f498e6
Add tags_input, page_template, and post_category get magic to WP_Post.
...
Deprecate get_post_to_edit() and wp_get_single_post().
Props scribu
see #21309
git-svn-id: http://core.svn.wordpress.org/trunk@21651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 19:08:28 +00:00
Andrew Nacin
bdec91100c
Remove paths to where theme files are located from theme details on themes.php. props lessbloat, see #17944 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 18:48:50 +00:00
Bot (Translations)
ab7fb3d244
POT, generated from r21648
...
git-svn-id: http://core.svn.wordpress.org/trunk@21649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 18:18:47 +00:00
Andrew Nacin
25f8e61ddb
Remove Jcrop non-minified files. see #20728 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 18:03:52 +00:00
Ryan Boren
9267d41910
Initialize to avoid 'Creating default object from empty value' warning in PHP 5.4.4.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 18:03:12 +00:00
Andrew Nacin
e5848ee150
Set jQuery Color to be a dependency for wp-lists, rather than enqueueing it everywhere.
...
Any plugin wishing to use jQuery color animations must set jquery-color as a dependency
(or enqueue it).
Remove the un-minified version of jQuery Color.
props scribu.
fixes #21692 .
git-svn-id: http://core.svn.wordpress.org/trunk@21646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:51:35 +00:00
Andrew Nacin
1c0611a1df
Use ABSPATH . WPINC rather than dynamically building the include path. see #21183 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:27:18 +00:00
Andrew Nacin
405a995659
Update to SimplePie 1.3. props rmccue.
...
Uses individual files for each class. We now conditionally load only the pieces
we need, resulting in less memory usage. Also easier to maintain now that it is
not a single 387KB file.
fixes #21183 .
git-svn-id: http://core.svn.wordpress.org/trunk@21644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:24:33 +00:00
Lance Willett
8602864577
Twenty Twelve: use sidebar ID string value for sidebar checks instead of hard-coded integer, props nacin. See #21685 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:16:18 +00:00
Lance Willett
3922fe7686
Twenty Twelve: rename custom page templates and place in sub-directory. Closes #21715 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:12:10 +00:00
Andrew Ozz
3980c183a1
More visible :focus style for form elements, props lessbloat, see #21324
...
git-svn-id: http://core.svn.wordpress.org/trunk@21641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 05:48:58 +00:00
Bot (Translations)
b6c5242bad
POT, generated from r21639
...
git-svn-id: http://core.svn.wordpress.org/trunk@21640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 03:19:03 +00:00
Lance Willett
5beee34612
Twenty Twelve: simplify custom font loading behavior, see #21694 .
...
* Remove theme options code and support from theme.
* Keep Open Sans font first in the stack and make it always loaded.
* Move Customizer pieces from Theme Options out of class structure and into functions.php.
git-svn-id: http://core.svn.wordpress.org/trunk@21639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 02:18:43 +00:00
Bot (Translations)
bacb749629
POT, generated from r21637
...
git-svn-id: http://core.svn.wordpress.org/trunk@21638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 02:18:23 +00:00
Lance Willett
0f515e20f9
Twenty Twelve: add rule to force override the fixed width for Twitter embeds. Props kovshenin, see #21680 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:29:16 +00:00
Lance Willett
197fa28922
Twenty Twelve: improve line-height and font-size for text widget output without added paragraph wrappers. Props leogermani, fixes #21693 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:23:13 +00:00
Lance Willett
1b66f93bb0
Twenty Twelve: add back more specific selector to wp-smiley class, forces removing image shadows from smileys. Props obenland, fixes #21696 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:18:12 +00:00
Lance Willett
f4116da75a
Twenty Twelve: add missing period in meta section of the 'image.php' template. Props viniciusmassuchetto, fixes #21695 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:15:13 +00:00
Andrew Nacin
7ec559fe8a
Update Jcrop to 0.9.10. Includes touch support. fixes #20728 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 23:37:03 +00:00
Andrew Nacin
1af0737e0f
Update jQuery Color Animations plugin to 2.1.0. Props gnarf. fixes #21692 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 23:27:14 +00:00
Andrew Ozz
b2e4e665be
Fix admin menu glitch with pending count bubbles, props SergeyBiryukov, fixes #20502
...
git-svn-id: http://core.svn.wordpress.org/trunk@21631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 22:39:01 +00:00
Daryl Koopersmith
0015503c26
Allow elements within a wp.Uploader dropzone to be repositioned when the drag-over class is added. fixes #21705 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 22:20:23 +00:00
Ryan Boren
446be3ee40
Use set_url_scheme() in _custom_background_cb() to properly set the scheme for the background image when is_ssl(). Props jkudish. fixes #18005
...
git-svn-id: http://core.svn.wordpress.org/trunk@21629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 20:25:53 +00:00
Ryan Boren
2ea0626e5d
Use switch_to_blog()/restore_current_blog() in get_blog_post() and get_blog_permalink(). Eliminate the duplicate caching in these functions. Return WP_Post from get_blog_post(). Update phpdoc. Remove global-posts cache invalidation. Props jondavidjohn fixes #21595
...
git-svn-id: http://core.svn.wordpress.org/trunk@21628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 16:22:45 +00:00
Ryan Boren
af91b41af3
Return WP_Post from get_adjacent_post(). see #21309
...
git-svn-id: http://core.svn.wordpress.org/trunk@21627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 13:13:40 +00:00
Lance Willett
afd493abe9
Twenty Twelve: style email and url input types, and minor stylesheet cleanup.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 23:27:04 +00:00
Bot (Translations)
25aa794f46
POT, generated from r21624
...
git-svn-id: http://core.svn.wordpress.org/trunk@21625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 18:18:46 +00:00
Lance Willett
30ba6ef778
Twenty Twelve: pinking your trailing spaces, see #21675 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:57:42 +00:00
Lance Willett
719e80e8cd
Twenty Twelve: theme-options.php fixes from obenland, see #21685 .
...
* Capability is already set to 'edit_theme_options' by default
* Simplify logic for form input validation
git-svn-id: http://core.svn.wordpress.org/trunk@21623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:51:21 +00:00
Lance Willett
fe87773446
Twenty Twelve: JavaScript fix props obenland; no need to put the selector in a variable as it will be called only once anyway. See #21685 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:47:34 +00:00
Lance Willett
b3711fba97
Twenty Twelve: comments.php, cleanup and better indentation. Props obenland, see #21685 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:41:32 +00:00