potbot
dfe0b007f7
POT, generated from r22061
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22062 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 16:19:18 +00:00
Lance Willett
8d045bd12f
Twenty Twelve: consolidate "Apologies" strings, see #22016 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22061 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 15:43:44 +00:00
Ryan Boren
48484428a2
Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22060 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 15:33:19 +00:00
Lance Willett
bd9a91c240
Twenty Twelve: fix comments in two files, for accuracy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22059 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 15:23:15 +00:00
Lance Willett
4f4bdde377
Twenty Twelve: consistent indentation for content-* template files.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22058 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 15:20:52 +00:00
Lance Willett
983bcaef18
Twenty Twelve: clean up tag.php extra newline, see r22048 and #21951 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22057 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 15:20:01 +00:00
Ryan Boren
9d798e26d4
Add publish_post meta cap. Props nacin. fixes #21288
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22056 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 12:48:59 +00:00
Dion Hulse
a9f469870d
Avoid a warning in wp_remote_post() when using arrays or objects in the body param by using a more verbose check, introduced with [22047]. See #14184
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22055 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 10:09:43 +00:00
Andrew Nacin
6a54459a18
Make Twenty Twelve the default theme for new installs. props markoheijnen, SergeyBiryukov. see #21789 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22054 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:47:51 +00:00
Daryl Koopersmith
7354809132
Add quick insert buttons to attachment views in the library and remove buttons to attachment views in the gallery editor. see #21390 , #21809 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22053 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:45:26 +00:00
Andrew Nacin
71c3fc4e5b
Make a string not empty to it ends up in the POT file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22052 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:38:16 +00:00
potbot
b8b71f9049
POT, generated from r22050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22051 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:34:20 +00:00
Andrew Nacin
f944e28a76
Twenty Twelve 1.0, barring any last-minute tweaks. see #21789 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22050 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:32:33 +00:00
Andrew Nacin
30816ade4e
Simplify the Open Sans translator voodoo. see #21751 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22049 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:30:27 +00:00
Andrew Nacin
34d41e32ba
Add tag.php and category.php to Twenty Twelve. While by no means required, it pulls some extra logic out of archive.php, instead leveraging the template hierarchy so it is hopefully more understandable to users tweaking their themes. Use alternative control structure syntax in all templates. fixes #21951 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22048 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:01:16 +00:00
Dion Hulse
93ba84c528
Allow wp_remote_post to send a body consisting of entirely '0', which may be used when PUT'ing or POST'ing data to a API which accepts a raw chunk of data rather than key=value pairs (Such as some REST API's). Fixes #14184
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22047 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 06:54:17 +00:00
Daryl Koopersmith
22b3981229
Media JS: Use a custom Attachment views for both the media library and gallery screens.
...
To do so, the Attachment view code had to be shifted above the Workspace view code to ensure the subview is defined (preventing errors).
Also corrects an error in `wp.media.view.Attachments.add` where it was still using the default Attachment view.
see #21390 , #21809 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22046 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 06:53:54 +00:00
Daryl Koopersmith
3324270681
Media JS: Give the master Workspace view control over which Attachment view it uses. see #21390 , #21807 , #21809 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22045 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 06:39:12 +00:00
Daryl Koopersmith
6fff91f4d1
Media JS: Move the modal box's title from being stored in the modal view to being stored as an attribute on the workflow. Update modal titles for both the post media and featured image workflows. see #21390 , #21776 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22044 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 06:20:22 +00:00
Daryl Koopersmith
d2b6d050f4
Use the attachment id to look up the mime type icon instead of the raw mime type string, as wp_mime_type_icon() runs a broader search when using an id. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22043 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 06:07:56 +00:00
Mark Jaquith
52801db5fc
Make Multisite work when WordPress is installed in a subdirectory. You can now have WordPress Multisite as an SVN external or a Git submodule! props johnjamesjacoby, evansolomon, duck_, jakemgold, nacin, markjaquith. see #19796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22042 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 06:07:21 +00:00
Daryl Koopersmith
424f5b21e6
When uploading files through the Plupload bridge, attempt to detect images on upload. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22041 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 05:52:42 +00:00
Daryl Koopersmith
c6b63ec34d
Automatically add any uploading media files to the group of selected files.
...
This also automatically adds any files uploaded on the gallery screen to that gallery.
see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22040 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 05:28:37 +00:00
Andrew Nacin
513cacb398
Don't give a 'Beta Media' string to the translators that is only temporary.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22039 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 05:19:34 +00:00
Andrew Nacin
53cbfca362
If a pre-3.0 (MU era) network disables ms-files manually, they don't need /sites/ in their wp-content/uploads directory. see #19235 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22038 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 04:56:58 +00:00
Andrew Nacin
c7d5ae4bed
XML-RPC: Introduce wp.getRevisions and wp.restoreRevision.
...
props brandondove, koke, markoheijnen, JustinSainton, maxcutler.
fixes #21397 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22037 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 04:17:15 +00:00
Daryl Koopersmith
692d806fff
BUTTON.
...
Add a "Beta Media" button to the post editor. Currently, it is only capable of inserting images. Other attachment types and galleries need not apply... yet.
* Added `wp.media.string.image( attachment, props )` for generating an image as a string from an attachment and relevant attachment display properties.
* Properly localized the gallery workflow.
* Added `Workflow.update()`, which closes the modal, triggers an `update` event, and resets the selection.
* Added `wp.mce.media` to manage the various media workflows for editors.
see #21813 , #21814 , #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22036 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 04:09:43 +00:00
Lance Willett
d849e65a30
Twenty Twelve: better i18n for next and previous post arrow entities in single.php, props SergeyBiryukov. Fixes #22008 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22035 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 03:47:21 +00:00
Andrew Nacin
8ba137b739
XML-RPC: Add an if_not_modified_since argument to wp.editPost.
...
Accepts a GMT date, which is used to compare to the current post_modified_gmt
value for the post being edited. If the post has since been edited (as in, too
old of a date was passed), the edit is rejected as overwriting a newer version.
It is rejected with a HTTP 409 Conflict status code. (Fancy.)
props koke, markoheinjen.
Tests: [UT1049]
see #21397 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22034 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 03:39:40 +00:00
Andrew Nacin
23d545224c
Update underlying color picker library. props mattwiebe. see #21206 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22033 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 02:18:55 +00:00
Andrew Ozz
47b31ecf22
Fix image button in DFW, props ocean90, see #21019
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22032 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 02:17:04 +00:00
Andrew Ozz
421a70cb77
Consolidated patch for retina support, props taylorde, props empireoflight, fixes #21019
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22031 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 02:12:54 +00:00
Andrew Nacin
4e9d8d363e
New color picker, props mattwiebe. see #21206 .
...
Replaces Farbtastic. May change further in response to user testing.
git-svn-id: https://develop.svn.wordpress.org/trunk@22030 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 01:57:38 +00:00
Daryl Koopersmith
2fea9cef7e
Apply localized strings to media modal. see #21390 , #21808 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22029 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 01:11:04 +00:00
Andrew Ozz
a5c8c8fa75
Too much z-index on the admin submenus, see #21368
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22028 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 01:09:38 +00:00
Daryl Koopersmith
419a03862e
Media JS: Improve UX for which buttons show when inserting media into a post.
...
'Insert into post' is the primary action when either one item is selected, or any number of non-image items are selected. If multiple images are selected, 'Insert into post' becomes secondary, and 'Create a new gallery' takes the primary spot.
Adds a method to `get` Button views from the Toolbar. Adds a model for certain button attributes to allow size, style, and text to be easily changed.
see #21390 , #21808 , #21809 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22027 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 00:59:04 +00:00
Andrew Nacin
8803a95bc3
Browse and install your wordpress.org plugin favorites from the plugin installer. props Otto42, Japh, DrewAPicture. fixes #22002 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22026 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 00:47:01 +00:00
Andrew Ozz
8b575394a5
Fix background on split buttons, remove redundant !important, remove spacers, a little css cleanup, see #18141
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22025 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 00:41:49 +00:00
bumpbot
04889ca5f0
Compress scripts/styles: 3.5-alpha-22024.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22024 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 22:58:46 +00:00
Daryl Koopersmith
fd3a6616c0
Remove internal TinyMCE attributes when generating the HTML for attachment views.
...
Moves the HTML utility functions to the top of `mce-views.js`. Also adds `wp.mce.view.removeInternalAttrs( attrs )` and `wp.mce.view.attrs( content )`.
see #21390 , #21812 , #21813 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22023 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 22:20:15 +00:00
Daryl Koopersmith
749fcf84f9
Limit the featured image workflow to images only.
...
Adds the ability to set the values used to instantiate both the Workflow's library and selection.
Renames the Workflows internal `_pending` variable to prevent conflicts with a similarly named internal `Backbone.Model` variable.
see #21390 , #21776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22022 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 21:40:02 +00:00
Daryl Koopersmith
4a90e0541a
Media JS: Add support for filtering Attachment collections by mime type. see #21390 , #21776 , #21809 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22021 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 20:50:13 +00:00
Lance Willett
5453d7d84d
Twenty Twelve: allow translators to load extra character subsets for Open Sans font, props obenland. See #21751 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22020 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 20:05:12 +00:00
Andrew Nacin
e82d5080b8
New HiDPI spinner. Uses clean <span class="spinner"></span> markup.
...
Be on the lookout for weirdness.
props lessbloat. see #21456 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22019 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 19:57:44 +00:00
Andrew Nacin
119bd9f50a
New design and content for the welcome panel. First pass.
...
props lessbloat, helenyhou, georgestephanis, sabreuse, ryelle.
see #21368 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22018 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 19:44:43 +00:00
Andrew Ozz
6238b3140f
Make sure TinyMCE is not disabled before adding the size saving functions, see #21718
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22017 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 19:35:36 +00:00
Andrew Nacin
b6b9eef8bd
A calmer, less distracting style for the TinyMCE toolbar.
...
props helenyhou, lessbloat, trepmal, fadingdust.
fixes #18141 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22016 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 18:24:02 +00:00
Ryan Boren
8628f13d69
Don't read from the switched global. Instead use _wp_switched_stack. switched is retained for back compat and should not be directly read since it is prone to stompage by plugins. see #21459
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22015 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 17:02:44 +00:00
Lance Willett
5a03a885f3
Twenty Twelve: header image should be wrapped in a link to home. Fixes #22004 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22014 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 16:59:57 +00:00
Daryl Koopersmith
af4607a11e
Media JS: Use correct reference to search term in the Attachments model search filter. see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22013 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 15:13:22 +00:00