Commit Graph

19846 Commits

Author SHA1 Message Date
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
Lance Willett
61174d8cdf Twenty Twelve: consistently call sidebar areas with just the ID value, props obenland. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:32:06 +00:00
Bot (Translations)
810869a520 POT, generated from r21617
git-svn-id: http://core.svn.wordpress.org/trunk@21619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:18:53 +00:00
Lance Willett
70ffe26854 Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:16:56 +00:00
Lance Willett
3ec703a6d1 Twenty Twelve: review and clarify code commenting and documentation. Props jorbin and obenland. See #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:53:32 +00:00
Lance Willett
8932111b07 Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:50:05 +00:00
Bot (Translations)
9519b9d000 POT, generated from r21613
git-svn-id: http://core.svn.wordpress.org/trunk@21614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 00:19:05 +00:00
Lance Willett
6bf7377138 Twenty Twelve: bump theme version to .9
git-svn-id: http://core.svn.wordpress.org/trunk@21613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 23:41:25 +00:00
Lance Willett
b4fb1aaf21 Twenty Twelve: remove typo in r21611. No 13 fo' you.
git-svn-id: http://core.svn.wordpress.org/trunk@21612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:08:35 +00:00
Lance Willett
a1d39f1e1e Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:07:19 +00:00
Andrew Nacin
d1b5eca1a5 Add 'order' to wp_get_archives(). props tar.gz. fixes #18832.
git-svn-id: http://core.svn.wordpress.org/trunk@21610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 20:50:22 +00:00
Andrew Nacin
e225c12704 Basic support for the mysql_connect() new_link and client_flags arguments. props Otto42, fixes #19324.
git-svn-id: http://core.svn.wordpress.org/trunk@21609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 17:44:21 +00:00
Andrew Nacin
1d46178afd Remove the @return for WP_Admin_Bar::remove_node(). props scribu. fixes #20906.
git-svn-id: http://core.svn.wordpress.org/trunk@21608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 17:34:52 +00:00
Bot (Translations)
dc3801d2ac POT, generated from r21605
git-svn-id: http://core.svn.wordpress.org/trunk@21607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 16:18:56 +00:00
Bot (Translations)
aef278a516 POT, generated from r21605
git-svn-id: http://core.svn.wordpress.org/trunk@21606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 16:18:49 +00:00