Andrew Nacin
aa543734b8
Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-07 15:49:20 +00:00
Mark Jaquith
a282823b17
use 'ids' parameter for explicit attachment ordering in [gallery] shortcodes. fixes #21816
...
git-svn-id: http://core.svn.wordpress.org/trunk@21778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 19:19:56 +00:00
Mark Jaquith
a0736b43ba
Add <small> to KSES, to hang out with its <big> brother. props SergeyBiryukov. fixes #18573
...
git-svn-id: http://core.svn.wordpress.org/trunk@21777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 19:08:42 +00:00
Mark Jaquith
de36de7a8e
Allow orderby=post__in, which uses the explicit order you provided in the post__in parameter. fixes #13729 . props jakemgold, Otto42.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 19:01:21 +00:00
Daryl Koopersmith
1e28b7c8cb
Media JS: Apply selection when Attachment models are initially rendered.
...
This allows us to automatically retain selections when the library context is changed (e.g. when searching. This changes the Attachment view's select() and deselect() methods so that they can be triggered directly.
see #21390 .
git-svn-id: http://core.svn.wordpress.org/trunk@21773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 13:35:33 +00:00
Daryl Koopersmith
8763c79698
Add checks for attachment metadata when formatting attachments for JS.
...
Prevents notices from causing malformed ajax responses.
see #21390 .
git-svn-id: http://core.svn.wordpress.org/trunk@21772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 09:50:41 +00:00
Daryl Koopersmith
2441d98446
Prevent JS events from being garbage collected when a media.view.Modal is re-rendered. see #21390 , #21776 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 09:19:03 +00:00
Daryl Koopersmith
12c21bf931
First pass at integrating featured images with the new media workflow.
...
Updates the featured image when the publish/update button is clicked (rather than instantly). Uses the existing post_thumbnail_meta_box() function. Does not remove the old featured image meta box JS, ajax handler, or CSS.
see #21776 , #21390 .
git-svn-id: http://core.svn.wordpress.org/trunk@21770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 08:49:35 +00:00
Daryl Koopersmith
43fc38330a
Adds UI for media modal toolbars, buttons, and the selected item(s) status.
...
Currently uses actions for inserting media into a post as an example (hence the raw text). To test a workflow that supports multiple selection, run the following in your browser's JavaScript console:
wp.media({ multiple: true });
see #21390 , #21808 .
git-svn-id: http://core.svn.wordpress.org/trunk@21769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 07:46:15 +00:00
Ryan Boren
fafbaa51e4
Change the number of themes shown per page in themes.php from 999 to 36 so that infinite scroll engages. 36 was chosen to match the per page limit for theme-install.php
...
git-svn-id: http://core.svn.wordpress.org/trunk@21768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 20:33:34 +00:00
Ryan Boren
d61f2d464c
Restore in get_the_excerpt(). Props c3mdigital. fixes #21797
...
git-svn-id: http://core.svn.wordpress.org/trunk@21767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 19:54:08 +00:00
Ryan Boren
2b47dd4afe
Return WP_Error if the db insert in wp_set_object_terms() fails. Props jndetlefsen. fixes #21800
...
git-svn-id: http://core.svn.wordpress.org/trunk@21766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 17:57:53 +00:00
Ryan Boren
bf9cff8bfc
Fix typo in phpdoc for wp_newPost(). Props alyssonweb. fixes #21798
...
git-svn-id: http://core.svn.wordpress.org/trunk@21765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 15:36:59 +00:00
Bot (Translations)
4f5bb5412e
POT, generated from r21763
...
git-svn-id: http://core.svn.wordpress.org/trunk@21764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 15:19:09 +00:00
Lance Willett
af986d95c9
Twenty Twelve: combine two "Nothing Found" strings for consistency and simpler translation, props SergeyBiryukov. Fixes #21802 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 15:04:34 +00:00
Bot (Translations)
4df9c57c50
POT, generated from r21761
...
git-svn-id: http://core.svn.wordpress.org/trunk@21762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 05:19:03 +00:00
Lance Willett
678847e6eb
Twenty Twelve: hide author name on single author blogs, using is_multi_author()
-- fixes #21759 , props iamtakashi.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 04:33:55 +00:00
Andrew Nacin
5a9193d6c9
Validate $order in wp_get_object_terms(). props duck_.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 01:23:53 +00:00
Andrew Ozz
a9dc9dc829
Add menu_order to fill_query_vars(), see #21618
...
git-svn-id: http://core.svn.wordpress.org/trunk@21756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 23:18:14 +00:00
Andrew Nacin
fb36abe6b7
Always URL-encode a stylesheet directory value before using it in a URL. These situations are saved by wp_nonce_url(), but we should not depend on that. see #21749 , for trunk only.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 22:35:12 +00:00
Andrew Nacin
d476c22aa1
Fix old-school Preview links when a theme directory contains spaces. Fix the theme-editor.php link from MS themes screens when a theme directory contains spaces. see #21749 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 22:25:25 +00:00
Bot (Assets)
51a2425fe8
Compress scripts/styles: -3.5-21751.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 21:59:25 +00:00
Ryan Boren
fd3b312310
Remove the filter setting when searching media. Props helenyhou. fixes #19452
...
git-svn-id: http://core.svn.wordpress.org/trunk@21750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 21:20:51 +00:00
Ryan Boren
36755f8b3b
Make the 'Download Export File' button primary. Props helenyhou. fixes #21781
...
git-svn-id: http://core.svn.wordpress.org/trunk@21749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 21:11:17 +00:00
Ryan Boren
dc8bbc5a59
Allow querying by menu_order. Props wonderboymusic. fixes #21618
...
git-svn-id: http://core.svn.wordpress.org/trunk@21748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 21:09:27 +00:00
Ryan Boren
38c261bc37
Update phpdoc for count_many_users_posts(). Props willmot. fixes #21640
...
git-svn-id: http://core.svn.wordpress.org/trunk@21747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 21:07:27 +00:00
Ryan Boren
fbfa90a2f1
Add labels for all inputs in options-discussion. Props SergeyBiryukov, lessbloat, Latz. fixes #21373
...
git-svn-id: http://core.svn.wordpress.org/trunk@21746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 21:05:06 +00:00
Andrew Nacin
37f9c1ca49
Improve API usage in wp-app.php for post operations and attachment deletion. Proper cap checks. Unregister put_file and delete_file as core itself doesn't provide for file replacement.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:57:36 +00:00
Ryan Boren
f7a8369422
Remove not so useful author column sorting. Props scribu. fixes #17141
...
git-svn-id: http://core.svn.wordpress.org/trunk@21743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:57:18 +00:00
Ryan Boren
999d31c237
Make the callback optional for add_settings_section(). Props lightningspirit. fixes #21630
...
git-svn-id: http://core.svn.wordpress.org/trunk@21742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:55:20 +00:00
Andrew Nacin
7e4d3d4136
Only allow operations on network plugins through the network admin. see #21187 , for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:51:33 +00:00
Andrew Nacin
daef59322c
Modify a few jQuery selectors to prevent overflows and lagging. Todo, rewrite wp-lists and improve all of these selectors.
...
props SergeyBiryukov. fixes #21106 for trunk. see #21152 .
git-svn-id: http://core.svn.wordpress.org/trunk@21737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:27:14 +00:00
Andrew Nacin
d31f7b3793
Restore global references that broke the media and comment list tables. Todo, make list tables rely far less on global state. see #21309 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 18:23:51 +00:00
Ryan Boren
cfb35a9d85
Use get_post() instead of global $post.
...
Make the $post argument to get_post() optional, defaulting to the current post in The Loop.
Props nacin
see #21309
git-svn-id: http://core.svn.wordpress.org/trunk@21735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 16:29:28 +00:00
Ryan Boren
c1d2f4770d
Use set_url_scheme() in the *_url() functions to keep things DRY. Props johnbillion. fixes #20759
...
git-svn-id: http://core.svn.wordpress.org/trunk@21734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 14:44:17 +00:00
Bot (Translations)
4c9e40f2bb
POT, generated from r21732
...
git-svn-id: http://core.svn.wordpress.org/trunk@21733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 06:18:25 +00:00
Lance Willett
2aeaa3d3dc
Twenty Twelve: remove executable bit from content-status.php, see r21726.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:53:14 +00:00
Bot (Translations)
8e7f7425e3
POT, generated from r21728
...
git-svn-id: http://core.svn.wordpress.org/trunk@21731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:18:55 +00:00
Lance Willett
1aef211307
Twenty Twelve: s/Show Menu/Menu/ for clarity and simplicity, and maybe more semantic and accessible. Fixes #21783 , props iandstewart.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:18:17 +00:00
Lance Willett
d9ef2c1e94
Twenty Twelve: better bottom spacing for blockquotes, making it easier for child themes to style blockquotes followed by paragraphs. Props markjaquith and obenland, fixes #21764 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:14:46 +00:00
Lance Willett
21c17778ae
Twenty Twelve: list items need larger left margins to avoid cutting off the left-side (digit in the case of ordered lists). Props sixhours and obenland, fixes #21750 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:08:32 +00:00
Bot (Assets)
c087b7dd77
Compress scripts/styles: 3.5-alpha-21727.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:07:20 +00:00
Lance Willett
cc42ab537a
Twenty Twelve: add support for Status post format. See #21743 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:00:19 +00:00
Lance Willett
3121d4dd6c
Twenty Twelve: review and remove unneeded overflow rules, and remove duplicate style block. Props obenland, fixes #21740 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 04:54:24 +00:00
Lance Willett
a10b65eb97
Twenty Twelve: fix edit_post_link() inconsistencies, props obenland. Fixes #21722 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 04:17:49 +00:00
Daryl Koopersmith
fefc19f7be
Do not instantiate a Plupload instance when the wp-plupload bridge has neither a browse button nor a dropzone. fixes #21707 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 04:10:00 +00:00
Lance Willett
21c4b2913c
Twenty Twelve: remove justified text alignment rules for small screens. Closes #21385 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 03:58:24 +00:00
Lance Willett
1c2910d8ad
Twenty Twelve: fix long word overflow in IE9 and FF15 by using word-wrap
instead of word-break
, fixes #21503 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 03:47:24 +00:00
Andrew Nacin
e75671452c
Properly delimit URLs by \r, \n, \t *or* a space in sanitize_trackback_urls(). Fixes multiple trackback URL usage. props SergeyBiryukov, fixes #21624 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 03:36:19 +00:00
Andrew Nacin
b1dcde1798
setup-config.php must be parseable by PHP4 so we can show a sane error message. wp-admin/index.php should ideally be as well. props SergeyBiryukov, see #21316 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 02:46:01 +00:00