Andrew Nacin
e5e40644b7
TinyMCE: Propagate the dragover event outside the editor so drag-and-drop uploads can catch it.
...
props kovshenin.
see #19845 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27372 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-03 15:53:52 +00:00
Sergey Biryukov
7f3c71eff3
Add missing word. props bassgang. fixes #27259 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27371 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-03 09:46:36 +00:00
Drew Jaynes
cc6836dc55
Convert argument array documentation to the hash-notation style for WP_Admin_Bar::add_node()
and WP_Admin_Bar::add_group()
.
...
Fixes #27258 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27370 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-03 06:10:22 +00:00
Andrew Nacin
f3a23fb43f
Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc.
...
props Ipstenu, markjaquith.
see #27115 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27369 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-03 02:33:24 +00:00
Andrew Ozz
957beec4de
Editor: throttle scrolling of the main window when the editor is active and is being scrolled with the mouse wheel or a trackpad, see #27013
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27368 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-03 02:33:22 +00:00
Andrew Nacin
1a91bee772
Accept rel attributes in the toolbar's add_node() method.
...
props stephcook22.
fixes #27234 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27367 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-03 02:13:07 +00:00
Andrew Ozz
e1028cfc7b
Editor: when TinyMCE is used, add autocomplete="off"
to the textarea to prevent problems with missing <p> tags when the user reloads the page or uses Go Back/Go Forward buttons, and when editing the same post from two different windows. The autocomplete can be removed with the the_editor
filter. Part props xsonic, fixes #27251 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27366 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-03 01:14:27 +00:00
Drew Jaynes
a05f04683e
Inline documentation for hooks in wp-includes/option.php.
...
Props siobhyb for the initial patch. Props DrewAPicture, kpdesign.
Fixes #25905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27365 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 23:34:08 +00:00
Andrew Ozz
8cae5c7ab7
Editor: look at the class of the wrapper element instead of getUserSetting('editor')
to determine the default editor, fixes #27257
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27364 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 23:25:25 +00:00
Scott Taylor
cfd319d576
Adjust the priority of the separator in the Edit Playlist and Edit Video Playlist menus to match the structure of the Edit Gallery menu.
...
Props gcorne.
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27363 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 23:12:36 +00:00
Scott Taylor
1f0dad18d4
Make CollectionEdit
and CollectionAdd
less dynamically quirky. Rename some instance properties for disambiguation. Pass some properties from options
when creating instances in wp.media.view.MediaFrame.Post
.
...
See #26631 .
Props gcorne.
git-svn-id: https://develop.svn.wordpress.org/trunk@27362 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 23:10:47 +00:00
Scott Taylor
9629e97d38
Add some braces for jshint
in media-views.js
.
...
See #26631 .
Props gcorne.
git-svn-id: https://develop.svn.wordpress.org/trunk@27361 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 23:06:12 +00:00
Sergey Biryukov
9c9aa55274
Display empty-titled pages properly in Walker_PageDropdown, like we do in Walker_Page.
...
fixes #27218 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27360 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 22:33:25 +00:00
Andrew Nacin
6869d203d0
Introduce get_site_by_path() and further rewrite the site detection process for multisite.
...
This is the first big step to supporting arbitrary domains and paths. In this new approach, sites are detected first where possible, then the network is inferred. Allows filtering for arbitrary path segments, smooths out some weirdness, and removes various restrictions. A sunrise plugin could do much of its work by adding filters, if those are even needed.
see #27003 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27359 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 22:24:50 +00:00
Sergey Biryukov
3038bdc80f
Restore $content_width global value after changing it in test_constrain_size_for_editor_*().
...
props ericlewis, georgestephanis, salcode, jorbin.
fixes #27256 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27358 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 22:22:41 +00:00
Drew Jaynes
94c6c6a213
Inline documentation for hooks in wp-admin/includes/image-edit.php.
...
Props theorboman. Props kpdesign for the cleanup.
Fixes #26149 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27357 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 20:55:10 +00:00
Drew Jaynes
4346d63207
Inline documentation for hooks in wp-admin/includes/class-wp-plugins-list-table.php.
...
Props nicolealleyinteractivecom, kpdesign.
Fixes #26957 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27356 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 20:47:31 +00:00
Drew Jaynes
90033f46bc
Tweak inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
...
Props kpdesign.
Fixes #26203 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27355 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 20:31:15 +00:00
Sergey Biryukov
235faf6363
Additional clarification for wp_authenticate_cookie() parameters.
...
fixes #26148 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27354 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 19:50:29 +00:00
Drew Jaynes
f204ca5932
Inline documentation improvements for wp-includes/user.php.
...
Props morganestes, SergeyBiryukov.
Fixes #26148 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27353 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 19:39:38 +00:00
Sergey Biryukov
a98f93e186
Remove extra comma. props jorbin. see #19845 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27352 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 19:00:50 +00:00
Sergey Biryukov
8cc1d4e7ae
Remove redundant add_filter() call. see [24848]. fixes #27255 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27351 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 18:20:06 +00:00
Sergey Biryukov
3299e358d2
Default value for $credentials parameter in wp_signon() should be an array, not a string.
...
props tivnet.
fixes #27130 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27350 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 18:04:07 +00:00
Sergey Biryukov
f213decc7e
Skip import tests if WordPress Importer plugin is missing.
...
props mattheu.
fixes #27250 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27349 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 10:34:58 +00:00
Sergey Biryukov
8ac662c73b
Display site deletion confirmation as a regular admin page.
...
props jeremyfelt.
fixes #27223 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27348 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 08:38:47 +00:00
DrewAPicture
bfce74bcb1
Fix the return description for switch_to_blog()
to reflect that it always returns true.
...
Props jeremyfelt.
Fixes #25328 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27347 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 04:40:02 +00:00
Drew Jaynes
3c5db72715
Fix a typo in the author_rewrite_rules
hook doc.
...
Props kpdesign.
See #26095 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27346 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-02 02:49:21 +00:00
Andrew Ozz
0a1afaf38d
TinyMCE: remove box-shadow from the "more" and "nextpage" placeholder images, props avryl, see #24067
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27345 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 22:35:42 +00:00
Andrew Nacin
8a617607a7
Strip backslashes, not just forward slashes, from untrailingslashit().
...
trailingslashit() will now remove any forward or backslashes from the end of a string before appending a forward slash.
props knutsp, willmot.
fixes #22267 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27344 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 21:44:43 +00:00
Andrew Nacin
2b03ef73ae
Add the ability to drag and drop files directly onto the editor.
...
The file will then begin to upload and the media manager will open.
props kovshenin.
see #19845 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27343 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 21:33:36 +00:00
Drew Jaynes
34cdf7f7e1
Inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
...
Props leewillis77.
Fixes #26203 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27342 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 14:59:53 +00:00
Drew Jaynes
ac57fea48a
Inline documentation for hooks in wp-includes/rewrite.php.
...
Props mboynes for the initial patch.
Fixes #26095 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27341 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 09:30:55 +00:00
Andrew Ozz
7c98b86d65
Plupload: remove the (old) plupload.silverlight.xap, remove the "executable" prop from Moxie.xap, see #25663
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27340 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 07:36:42 +00:00
Dion Hulse
db9eb328e3
Upgrader: Remove more debug from r27336. See #25860
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27339 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 06:05:02 +00:00
Dion Hulse
e98848a3c6
Upgrader: Remove some debug from r27336. See #25860
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27338 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 06:03:55 +00:00
Dion Hulse
18364c9625
Upgrader: Remove two stray spaces. See #25860
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27337 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 06:01:28 +00:00
Dion Hulse
14b4579d98
Upgrader: Copy wp-includes/version.php over last, to avoid an installation failing with the new version.php in place. Fixes #25860
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27336 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 06:00:47 +00:00
Drew Jaynes
1276f69288
Inline documentation fixes for timer_stop()
.
...
See #26874 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27335 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 02:41:45 +00:00
John Blackbourn
54a8eff27a
Pass along preview query args only if they are already present. Avoids sloppily appending a preview nonce when there should not be one. See #17157 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27334 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 23:28:44 +00:00
John Blackbourn
85079f08b7
Enable previews for all pages of multi-page posts. Fixes #17157 . Props solarissmoke, chrisscott
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27333 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 23:07:59 +00:00
John Blackbourn
fdfbca6ca6
Correct the inline docs for timer_stop()
. Fixes #26874 . Props jackreichert
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27332 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 22:17:06 +00:00
Scott Taylor
f60a3a1255
In TwentyTwelve and TwentyThirteen, don't print the featurd image when viewing an attachment.
...
See #27243 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27331 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 22:08:55 +00:00
Scott Taylor
0b139765c1
in TwentyFourteen: don't add the has-post-thumbnail
class or print the featured image when viewing an attachment.
...
See #27243 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27330 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 21:56:23 +00:00
John Blackbourn
6def67ad04
Add some missing number i18n in Walker_Category
and Walker_CategoryDropdown
. Fixes #22745 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27329 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 21:47:53 +00:00
Scott Taylor
07f14d6434
* Videos should always render at the same aspect ratio.
...
* Don't force a pseudo-mime-type for `.m4v` files
* Uniformly adapt to `$content_width` when setting video dimensions on the front end
* Add the `height` attribute to the initial `<video>` in the video playlist JS template
* Add some defensive/responsive CSS for a/v on the Edit Media page
See #27243 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27328 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 21:27:40 +00:00
John Blackbourn
c76c9738b7
Allow rewrite endpoints to specify a query variable name. Fixes #20905 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27327 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 20:54:05 +00:00
John Blackbourn
6950f1bcd6
Don't filter out network-only plugins from the Plugins screen if they're individually active on the current site. Add some code comments for clarity. Props mordauk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27326 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 20:21:52 +00:00
Sergey Biryukov
ecbe4f0909
Use a consistent format for translator comments.
...
props GaryJ.
fixes #27228 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27325 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 08:08:50 +00:00
Sergey Biryukov
ef8de539b9
Remove temporary hooks added in [26865].
...
fixes #26661 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27324 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 00:44:38 +00:00
Sergey Biryukov
612b605c80
Avoid an undefined index notice in wp_doc_link_parse().
...
props pross for initial patch.
fixes #27214 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27323 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 23:15:29 +00:00