Daryl Koopersmith
990d50661c
Add a nonce to wp_ajax_save_attachment. see #21390 , #21807 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22212 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:02:45 +00:00
Lance Willett
678b2e0695
Style <small> element in default themes a bit smaller than normal text, props obenland. Fixes #22109 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22211 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 15:24:23 +00:00
Daryl Koopersmith
60a44a0865
MCE Views: First pass at keystroke and insertion handling.
...
* When a MCE view is selected, normal keystrokes (those without command/control) are blocked.
* Backspace/delete will successfully remove the view.
* Arrow handling will be added at a later point.
* When a MCE view is selected and content is pasted or injected (e.g. when an attachment is added), the content is added to the first text node after the view. If the view is at the end of the document or the next element is another view, a text node is injected into the DOM immediately after the selected view.
see #21390 , #21812 , #21813 , #21815 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22210 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 03:28:22 +00:00
potbot
1a57c4623c
POT, generated from r22208
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22209 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 00:19:09 +00:00
Daryl Koopersmith
4af634578a
MCE Views: Add selection/deselection when a view is clicked.
...
These methods should be expanded to prevent content from being inserted into the view by blocking and rerouting keystrokes as appropriate as well as repositioning the caret before content is inserted.
see #21390 , #21812 , #21813 , #21815 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22208 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 23:52:09 +00:00
Lance Willett
ab72140469
Twenty Twelve: remove invalid rel attribute generator
from footer markup, see #22095 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22207 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 23:40:23 +00:00
Lance Willett
96c3ade4b5
Twenty Twelve: remove invalid pubdate
value from time elements. See #22095 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22206 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 23:39:24 +00:00
potbot
5ed25cf4a8
POT, generated from r22204
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22205 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 23:19:52 +00:00
bumpbot
936cf22c7a
Compress scripts/styles: 3.5-beta1-22204.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22204 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 22:58:47 +00:00
Lance Willett
e775e06c24
Twenty Twelve: add missing reply link to post format templates, props obenland. Fixes #22169 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22203 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 22:26:06 +00:00
potbot
205501dac7
POT, generated from r22201
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22202 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 22:19:14 +00:00
Lance Willett
093fd9bb1d
Twenty Twelve: implement better support for IE7 and IE8 (don't use mobile menu). See #22044 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22201 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 22:07:06 +00:00
Daryl Koopersmith
c2f4afe37e
Media Modal: Check for empty keys when saving attachment captions. see #21390 , #21807 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22200 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 21:37:44 +00:00
Lance Willett
1a766217d9
Twenty Eleven: escape i18n attributes as late as possible, props mfields. See #21756 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22199 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 21:30:42 +00:00
potbot
d6ef68fdc6
POT, generated from r22196
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22198 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:19:00 +00:00
Lance Willett
c77c6ae9cb
Twenty Ten: escape i18n attributes as late as possible, fixes cases in loop.php -- props mfields. See #21756 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22197 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:12:40 +00:00
Lance Willett
9653d6f7ef
Twenty Eleven: add rule to force override the fixed width for Twitter embeds. Props kovshenin, fixes #21680 ; see also r21637.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22196 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:10:47 +00:00
Lance Willett
23e63d1cbc
Twenty Ten and Eleven: more elegant fix for long word overflow in sidebars. Also improves image resizing for images in widgets in Twenty Ten. Props obenland, fixes #21151 ; see #21503 also.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22195 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 20:02:33 +00:00
Lance Willett
b35e7c1b03
Twenty Ten: allow page ancestors to have a visual "on" state, props mfields. Fixes #21647 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22194 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 19:57:10 +00:00
Lance Willett
51a14e8247
Twenty Eleven: show categories and tags only when supported by post type, using is_object_in_taxonomy()
instead of only checking for 'post' post types. Props obenland, fixes #20922 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22193 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 19:53:35 +00:00
Ryan Boren
167cc00a84
Check for WP_Error return from WP_Image_Editor::get_instance().
...
Props markoheijnen
see #6821
git-svn-id: https://develop.svn.wordpress.org/trunk@22192 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 18:59:41 +00:00
Lance Willett
b70d912fe8
Twenty Twelve: set width for search input in widget context, to avoid dropping the submit button to a new line. Occurs in cases of localized installs where the submit text is wider than English, and seen in various Windows browsers. Fixes #22054 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22191 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 18:20:53 +00:00
Andrew Nacin
da1fac02ad
Trailing slash the URL for the 'Visit' link in network/sites.php.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22190 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 17:48:42 +00:00
Andrew Nacin
000f9e6140
Use wp_update_post() rather than wp_insert_post() in wp_publish_post() to avoid stomping of values like categories. props ericmann, fixes #22167 . see #21963 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22189 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 17:36:59 +00:00
Lance Willett
b7a3d32f3d
Twenty Twelve: put back screen-reader-text selector, but just for site content (allows toolbar text to work correctly). See r22186 and #22025 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22188 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 17:36:46 +00:00
Lance Willett
f58fb6ec19
Twenty Twelve: fix duplicate print CSS rules, props obenland. Fixes #22108 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22187 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 17:28:16 +00:00
Lance Willett
80ffc60d40
Twenty Twelve: improve skip link visibility, mimicing the core toolbar skiplink. Closes #22025 , see #22087 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22186 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 17:17:55 +00:00
Ryan Boren
bcbfb2c8e9
Sync actions between update_blog_details() and update_blog_status(). Add make_delete_blog and make_undelete_blog actions.
...
Props Kyrylo, wonderboymusic
fixes #20305
git-svn-id: https://develop.svn.wordpress.org/trunk@22185 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 12:37:46 +00:00
Daryl Koopersmith
a5fc058f89
Media Modal: Improve attachment remove button styles. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22184 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 04:11:47 +00:00
Daryl Koopersmith
37fe9438dd
Media Modal: Attachments on the gallery page now inherit general events with the exception of click-to-select. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22183 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 04:04:12 +00:00
Andrew Nacin
a6b7bda12f
jQuery 1.9.0 final. see #21736 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22182 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 03:34:19 +00:00
Andrew Nacin
d275546925
Bump jQuery version in the script loader. see #21957 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22181 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 03:29:02 +00:00
Daryl Koopersmith
7dbf364156
Media Modal: Remove the outline from the modal's close button. props lessbloat, see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22180 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 02:54:19 +00:00
Daryl Koopersmith
ce6ac7d7aa
Media Modal: Increase delay of attachment zoom. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22179 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 01:28:41 +00:00
Daryl Koopersmith
2f6ad44bfd
Media Modal: Reduce height on the attachment captions from three lines to two. see #21390 , #21807 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22178 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 00:55:38 +00:00
Daryl Koopersmith
c32509dcf3
Media Modal: Remove unused CSS. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22177 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 00:37:23 +00:00
Daryl Koopersmith
b0d215a771
Media Modal: Show progress bars for uploading images, and adjust progress bar styles to compensate for the darker attachment background. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22176 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 00:36:42 +00:00
Daryl Koopersmith
56829be438
Media Modal: Only automatically select uploading attachments when in a workflow that supports multiple images.
...
Fixes a bug in featured images where uploading an image would force you to reopen the modal (as the modal would close on upload).
see #21390 , #21776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22175 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 00:28:01 +00:00
Daryl Koopersmith
75160e6b3d
Add caption and title default values for the attachment view template. see #21390 , #21807 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22174 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 23:55:45 +00:00
Daryl Koopersmith
d27568e703
Caption editing in the media modal library.
...
* Adds a `describe` option to the workflow controller to support inline caption editing.
* For images, descriptions are mapped to the `caption` attribute.
* For other media items, descriptions are mapped to the `title` attribute.
* Descriptions are saved when the textarea's `change` event fires (i.e. when the textarea is blurred).
fixes #21807 , see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22173 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 23:32:48 +00:00
bumpbot
2a0622aaba
Compress scripts/styles: 3.5-beta1-22172.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22172 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 22:58:38 +00:00
Andrew Nacin
1215e5e066
Reference xmlrpc.php with the 'rpc' site_url() argument to ensure a proper scheme is applied. see #18731 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22171 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 21:55:36 +00:00
Daryl Koopersmith
a830567a92
Correctly insert non-image attachments as links.
...
* Adds `wp.media.string.link( attachment )` for printing attachment links.
* Adds the `link` attribute to `Attachment` models that corresponds to the link to the attachment post.
see #21390 , #21836 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22170 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 21:54:21 +00:00
Andrew Nacin
ecc9b897d8
Fix fatal error in SimplePie. see #22158 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22169 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 21:38:10 +00:00
Lance Willett
03e616cc7c
Twenty Twelve: remove a duplicate/misplaced condition in theme-customizer.js, props DrewAPicture. Closes #21685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22168 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 20:47:07 +00:00
Andrew Nacin
f2b148799a
Retina/span spinner cleanup. Restores CSS classes no longer used by core. props lessbloat. fixes #21456 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22167 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 20:34:19 +00:00
Andrew Nacin
b4f8bc836e
Force the user to explicitly choose between content deletion and reassignment when deleting users. props Dan Rivera, Ben Brooks, GhostToast. fixes #20045 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22166 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 14:07:59 +00:00
Andrew Nacin
77892ba183
Fix the Press This bookmarklet's active style. props ocean90, fixes #21850 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22165 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 13:52:01 +00:00
Andrew Nacin
caa32ba980
Add post_type_labels_{$post_type} filter. props scribu. fixes #21948 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22164 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 13:50:42 +00:00
Ryan Boren
594ef24dca
Make sure cache bucket is an array to avoid warning. see #21309
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22163 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 12:29:51 +00:00