Commit Graph

19802 Commits

Author SHA1 Message Date
Andrew Nacin
c75298604f 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: https://develop.svn.wordpress.org/trunk@21662 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 03:49:44 +00:00
Andrew Nacin
b7705ada50 Fix typo in CSS. props SergeyBiryukov. fixes #20587.
git-svn-id: https://develop.svn.wordpress.org/trunk@21661 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 03:04:10 +00:00
Andrew Nacin
d17a70efde 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: https://develop.svn.wordpress.org/trunk@21660 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 02:35:30 +00:00
Andrew Nacin
0dbb4dfb27 Update some code comments from .dev.js to .js. props georgestephanis. see #21633.
git-svn-id: https://develop.svn.wordpress.org/trunk@21659 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 02:15:57 +00:00
Andrew Nacin
8b903f365f jQuery 1.8.1-not-quite-final. fixes #21736.
git-svn-id: https://develop.svn.wordpress.org/trunk@21658 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 02:05:08 +00:00
Andrew Nacin
7710b20d72 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: https://develop.svn.wordpress.org/trunk@21657 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 01:49:47 +00:00
Daryl Koopersmith
ff1dd048f4 Improve consistency in wp.Uploader callbacks; pass file objects to all handlers. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@21656 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-29 19:56:42 +00:00
Ryan Boren
31ae2c631a Simplify return from WP_Post::__get() now that references are no longer returned. see #21309
git-svn-id: https://develop.svn.wordpress.org/trunk@21655 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-29 13:42:11 +00:00
Ryan Boren
a8e913063a Lose return ref from WP_Post::__get(). see #21309
git-svn-id: https://develop.svn.wordpress.org/trunk@21654 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-29 13:23:54 +00:00
Andrew Nacin
5986fef232 Remove reference to blog_charset option in Settings > Reading help. fixes #21507.
git-svn-id: https://develop.svn.wordpress.org/trunk@21653 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-29 05:50:10 +00:00
Andrew Nacin
3064c6d713 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: https://develop.svn.wordpress.org/trunk@21652 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-29 00:25:52 +00:00
Ryan Boren
01527025c9 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: https://develop.svn.wordpress.org/trunk@21651 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 19:08:28 +00:00
Andrew Nacin
b502460093 Remove paths to where theme files are located from theme details on themes.php. props lessbloat, see #17944.
git-svn-id: https://develop.svn.wordpress.org/trunk@21650 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 18:48:50 +00:00
potbot
331b063910 POT, generated from r21648
git-svn-id: https://develop.svn.wordpress.org/trunk@21649 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 18:18:47 +00:00
Andrew Nacin
f20a84795e Remove Jcrop non-minified files. see #20728.
git-svn-id: https://develop.svn.wordpress.org/trunk@21648 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 18:03:52 +00:00
Ryan Boren
5b6667c43e Initialize to avoid 'Creating default object from empty value' warning in PHP 5.4.4.
git-svn-id: https://develop.svn.wordpress.org/trunk@21647 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 18:03:12 +00:00
Andrew Nacin
48a3353f5e 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: https://develop.svn.wordpress.org/trunk@21646 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:51:35 +00:00
Andrew Nacin
96167530ce Use ABSPATH . WPINC rather than dynamically building the include path. see #21183.
git-svn-id: https://develop.svn.wordpress.org/trunk@21645 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:27:18 +00:00
Andrew Nacin
d80e23bf88 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: https://develop.svn.wordpress.org/trunk@21644 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:24:33 +00:00
Lance Willett
01b8de2e0e Twenty Twelve: use sidebar ID string value for sidebar checks instead of hard-coded integer, props nacin. See #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21643 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:16:18 +00:00
Lance Willett
0dae6cb745 Twenty Twelve: rename custom page templates and place in sub-directory. Closes #21715.
git-svn-id: https://develop.svn.wordpress.org/trunk@21642 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:12:10 +00:00
Andrew Ozz
575e541b27 More visible :focus style for form elements, props lessbloat, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21641 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 05:48:58 +00:00
potbot
e1817f66d2 POT, generated from r21639
git-svn-id: https://develop.svn.wordpress.org/trunk@21640 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 03:19:03 +00:00
Lance Willett
6165bfd311 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: https://develop.svn.wordpress.org/trunk@21639 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 02:18:43 +00:00
potbot
5aafc923cd POT, generated from r21637
git-svn-id: https://develop.svn.wordpress.org/trunk@21638 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 02:18:23 +00:00
Lance Willett
c93e79d25a Twenty Twelve: add rule to force override the fixed width for Twitter embeds. Props kovshenin, see #21680.
git-svn-id: https://develop.svn.wordpress.org/trunk@21637 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:29:16 +00:00
Lance Willett
0e13c1d7d0 Twenty Twelve: improve line-height and font-size for text widget output without added paragraph wrappers. Props leogermani, fixes #21693.
git-svn-id: https://develop.svn.wordpress.org/trunk@21636 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:23:13 +00:00
Lance Willett
518e6bead2 Twenty Twelve: add back more specific selector to wp-smiley class, forces removing image shadows from smileys. Props obenland, fixes #21696.
git-svn-id: https://develop.svn.wordpress.org/trunk@21635 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:18:12 +00:00
Lance Willett
51008220e8 Twenty Twelve: add missing period in meta section of the 'image.php' template. Props viniciusmassuchetto, fixes #21695.
git-svn-id: https://develop.svn.wordpress.org/trunk@21634 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:15:13 +00:00
Andrew Nacin
ac2285f65e Update Jcrop to 0.9.10. Includes touch support. fixes #20728.
git-svn-id: https://develop.svn.wordpress.org/trunk@21633 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 23:37:03 +00:00
Andrew Nacin
e985e703a1 Update jQuery Color Animations plugin to 2.1.0. Props gnarf. fixes #21692.
git-svn-id: https://develop.svn.wordpress.org/trunk@21632 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 23:27:14 +00:00
Andrew Ozz
1c98a9a04f Fix admin menu glitch with pending count bubbles, props SergeyBiryukov, fixes #20502
git-svn-id: https://develop.svn.wordpress.org/trunk@21631 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 22:39:01 +00:00
Daryl Koopersmith
5d3e630f2b Allow elements within a wp.Uploader dropzone to be repositioned when the drag-over class is added. fixes #21705.
git-svn-id: https://develop.svn.wordpress.org/trunk@21630 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 22:20:23 +00:00
Ryan Boren
f149e8752d 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: https://develop.svn.wordpress.org/trunk@21629 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 20:25:53 +00:00
Ryan Boren
a94b94504a 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: https://develop.svn.wordpress.org/trunk@21628 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 16:22:45 +00:00
Ryan Boren
62f9874a23 Return WP_Post from get_adjacent_post(). see #21309
git-svn-id: https://develop.svn.wordpress.org/trunk@21627 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 13:13:40 +00:00
Lance Willett
58e0fdfd7b Twenty Twelve: style email and url input types, and minor stylesheet cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@21626 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 23:27:04 +00:00
potbot
4785be51e1 POT, generated from r21624
git-svn-id: https://develop.svn.wordpress.org/trunk@21625 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 18:18:46 +00:00
Lance Willett
a64990b266 Twenty Twelve: pinking your trailing spaces, see #21675.
git-svn-id: https://develop.svn.wordpress.org/trunk@21624 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:57:42 +00:00
Lance Willett
e28400718b 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: https://develop.svn.wordpress.org/trunk@21623 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:51:21 +00:00
Lance Willett
2f03315495 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: https://develop.svn.wordpress.org/trunk@21622 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:47:34 +00:00
Lance Willett
4e6d018d53 Twenty Twelve: comments.php, cleanup and better indentation. Props obenland, see #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21621 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:41:32 +00:00
Lance Willett
762134e6f6 Twenty Twelve: consistently call sidebar areas with just the ID value, props obenland. See #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21620 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:32:06 +00:00
potbot
05160bb1dc POT, generated from r21617
git-svn-id: https://develop.svn.wordpress.org/trunk@21619 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:18:53 +00:00
Lance Willett
b35b668041 Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675.
git-svn-id: https://develop.svn.wordpress.org/trunk@21618 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:16:56 +00:00
Lance Willett
9cbecf7a84 Twenty Twelve: review and clarify code commenting and documentation. Props jorbin and obenland. See #21675.
git-svn-id: https://develop.svn.wordpress.org/trunk@21617 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 16:53:32 +00:00
Lance Willett
e86e4fae4b Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21616 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 16:50:05 +00:00
potbot
351fa9cdea POT, generated from r21613
git-svn-id: https://develop.svn.wordpress.org/trunk@21614 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 00:19:05 +00:00
Lance Willett
29252a0121 Twenty Twelve: bump theme version to .9
git-svn-id: https://develop.svn.wordpress.org/trunk@21613 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 23:41:25 +00:00
Lance Willett
ed2c34c971 Twenty Twelve: remove typo in r21611. No 13 fo' you.
git-svn-id: https://develop.svn.wordpress.org/trunk@21612 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:08:35 +00:00