Commit Graph

19791 Commits

Author SHA1 Message Date
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
Lance Willett 6255e979f8 Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21611 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:07:19 +00:00
Andrew Nacin 9add97ebf9 Add 'order' to wp_get_archives(). props tar.gz. fixes #18832.
git-svn-id: https://develop.svn.wordpress.org/trunk@21610 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 20:50:22 +00:00
Andrew Nacin b15fec4e42 Basic support for the mysql_connect() new_link and client_flags arguments. props Otto42, fixes #19324.
git-svn-id: https://develop.svn.wordpress.org/trunk@21609 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 17:44:21 +00:00
Andrew Nacin a7111de3b5 Remove the @return for WP_Admin_Bar::remove_node(). props scribu. fixes #20906.
git-svn-id: https://develop.svn.wordpress.org/trunk@21608 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 17:34:52 +00:00
potbot 9826917f39 POT, generated from r21605
git-svn-id: https://develop.svn.wordpress.org/trunk@21607 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 16:18:56 +00:00
potbot 57e6d56ea4 POT, generated from r21605
git-svn-id: https://develop.svn.wordpress.org/trunk@21606 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 16:18:49 +00:00
Andrew Nacin 5a9dd669a2 Clean attachment cache after a manual update, not before. props mdawaffe. fixes #20786.
git-svn-id: https://develop.svn.wordpress.org/trunk@21605 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 15:32:23 +00:00
Andrew Nacin e1d2b7baa0 Add new 'flexible-header' tag for themes. Add it to Twenty Ten and Twenty Eleven. [21533] added it for Twenty Twelve.
props lancewillett. fixes #21065.



git-svn-id: https://develop.svn.wordpress.org/trunk@21604 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 15:22:14 +00:00
Lance Willett ad6704a632 Twenty Twelve: remove matchMedia JS polyfill now that older browsers are getting mobile-first navigation styles. Props Jayjdk, see #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21603 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 23:39:57 +00:00
potbot 2578ecfabd POT, generated from r21600
git-svn-id: https://develop.svn.wordpress.org/trunk@21602 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 21:18:27 +00:00
Ryan Boren 338d0a103a Remove typo in phpdoc. see #21309 Props TobiasBg
git-svn-id: https://develop.svn.wordpress.org/trunk@21601 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 21:15:40 +00:00