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
Daryl Koopersmith
063c4c5ae2
Add a class to the TinyMCE view end marker.
...
Certain TinyMCE plugins scan for all spans in the document and remove any that do not have classes (or a handful of other attributes). This is quite aggressive, and breaks the regex used to scan for MCE views when transforming them back to plain text. Adding a class ensures that any plugins that do so will not break MCE views.
see #21812 , #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22162 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 10:52:14 +00:00
Daryl Koopersmith
72ab49062f
Media JS: More default Attachments view template values. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22161 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 10:45:01 +00:00
Daryl Koopersmith
344d0ad7c1
Media JS: Ensure the subtype key has a default set.
...
Prevents undefined JS errors in the attachments view template.
see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22160 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 10:08:43 +00:00
Daryl Koopersmith
14de8ad04a
Show filenames for non-image attachments in the new media modal.
...
Also passes all attachment model attributes to the attachment view template by default (instead of selecting specific values).
see #21390 , #21836 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22159 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 09:55:47 +00:00
Daryl Koopersmith
d4f1bc45ac
Media JS: Improve markup and CSS of the modal view's title.
...
Also improves the accuracy of closing the modal when the backdrop is clicked (which became error-prone around the title bar in [22144]).
see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22158 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 09:40:22 +00:00
Daryl Koopersmith
04143f286a
When editing a gallery, images can now be added from the media library.
...
Enables the "Add images from media library" button when editing. The UX has room for improvement, but it's a start.
see #21390 , #21809 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22157 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 09:30:22 +00:00
Daryl Koopersmith
a04930b340
Reset the media modal to the library view after inserting a gallery. fixes #22151 , see #21390 , #21809 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22156 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 08:47:15 +00:00
Daryl Koopersmith
db21ce7189
Gallery editing in the media modal.
...
The edit button on gallery MCE views will open a new instance of the media modal. Images can be removed, uploaded, and reordered. However, the "Add images from media library" button is not yet functional.
see #21390 , #21809 , #21815 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22155 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 08:31:12 +00:00
Daryl Koopersmith
6500957bcd
Improve styling and markup for gallery and attachment MCE views.
...
Attachment views can now inherit from the theme's `editor-style.css` — just have any rules that apply to the `img` tag apply to `.editor-attachment` as well.
Adds a non-functional edit button to gallery views.
see #21390 , #21813 , #21815 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22154 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 06:47:22 +00:00
potbot
6c4e60c1b0
POT, generated from r22152
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22153 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 00:18:33 +00:00
Andrew Nacin
0485636388
Improve pingback text extraction by stopping at a closing block-level tag. props Otto42. see #21914 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22152 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 23:56:32 +00:00
Andrew Nacin
2a4e10733e
Add author URI and complete theme URI to Twenty Ten. props DrewAPicture, fixes #22012 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22151 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 23:45:47 +00:00
bumpbot
eeddc579d5
Compress scripts/styles: 3.5-beta1-22150.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22150 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 22:58:33 +00:00
Jon Cave
a2a8f675da
Remove allowed query args before checking isEmpty() in Query model. See #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22149 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 22:55:49 +00:00
Andrew Nacin
17f3cff4f5
Make sure the default webkit validation tooltips are not hidden in the Screen Options tab. prop SergeyBiryukov, fixes #21904 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22148 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 22:07:18 +00:00
Andrew Nacin
ffe9f28dc6
Restore a CSS declaration accidentally changed in [22019]. props ocean90, fixes #22036 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22147 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 19:08:43 +00:00
Andrew Nacin
76750e3883
Align QuickPress fields. props lessbloat. fixes #21754 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22146 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 19:07:09 +00:00
Daryl Koopersmith
58fb98ff26
Media modal search box style updates. props helenyhou, see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22145 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 03:14:18 +00:00
Daryl Koopersmith
561c3b7837
Improve media modal title bar styling. props helenyhou, see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22144 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 02:56:39 +00:00
Daryl Koopersmith
ed281a6f6a
Improve JavaScript object formatting. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22143 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 02:07:09 +00:00
Daryl Koopersmith
adbb1b623a
Increase the delay on the attachment zooming in the media modal. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22142 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-09 01:57:34 +00:00