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
Scott Taylor
8402d9c745
Rather than extending media.controller.CollectionAdd
3 times, make it a constructor that dynamically extends media.controller.Library
and use instances of it instead.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27322 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 23:03:02 +00:00
Scott Taylor
01fb070621
Restore / re-tools some docs after [27313].
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27321 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 21:50:40 +00:00
Scott Taylor
6736936a43
Some playlist cleanup:
...
* Check properties against the `window` object when using `_.isUndefined()` on globals
* Fix a typo for `$safe_type` introduced in [27311]
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27320 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 21:37:36 +00:00
Sergey Biryukov
a53fab8750
Avoid an undefined index notice in wp_handle_upload().
...
props tivnet.
fixes #27225 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27319 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 21:15:31 +00:00
Andrew Ozz
2dd4f585aa
Remove debugging cruft, see #25663
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27318 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 20:14:35 +00:00
Scott Taylor
a8c8ed3b94
In media-editor.js
, use _.isUndefined()
when available.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27317 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 20:10:32 +00:00
Andrew Ozz
11586e8ebe
Upgrade Plupload to 2.1.1, props kovshenin, see #25663
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27316 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 20:00:55 +00:00
Scott Taylor
84a00ad5f1
This comment was pasted and does not apply to specified code block.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27315 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 19:50:53 +00:00
Andrew Nacin
aa7a03d5ca
JSHint: Generically blacklist all minified files. fixes #25351 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27314 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 19:38:51 +00:00
Scott Taylor
7092b31e2f
wp.media.collection
should be its own civilized instantiable class, not a wrapper/factory. The class shall contain no reference to specific instances, and shall not try to grab static properties of itself. self
, meet this
.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27313 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 19:21:04 +00:00
Scott Taylor
1a78a56e98
In the tracklist for playlist, fall back to title
if there is no caption
.
...
Props bassgang.
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27312 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 15:21:37 +00:00
Scott Taylor
ad0751a29c
Add some security hardening to passed playlist attributes.
...
Props xknown.
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27311 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 15:19:53 +00:00
Sergey Biryukov
9bcb738064
Use wp_dropdown_roles() in wp-admin/network/site-users.php.
...
props jeremyfelt.
fixes #27215 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27310 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 10:21:13 +00:00
Scott Taylor
d43fcdb10b
Correct a misspelled property name in a media-views.js
annotation.
...
Props kovshenin.
See #26870 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27309 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 03:06:37 +00:00
Scott Taylor
1481b6a07c
Populate playlist setting values with their default value if they don't exist while parsing shortcode attributes.
...
Props kovshenin.
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27308 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 02:54:58 +00:00
Dion Hulse
6cc978fed7
WP_HTTP: Update the Root Certificate bundle used for SSL communication by WP_HTTP.
...
This file has been generated from the latest mozilla release NSS.
Fixes #27017
git-svn-id: https://develop.svn.wordpress.org/trunk@27307 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 02:32:57 +00:00
Andrew Nacin
c1c57d5bcc
Themes screen: Clicking back through history should properly close the overlay.
...
props gcorne.
fixes #27198 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27306 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 00:17:38 +00:00
Andrew Nacin
3d8a61bc79
Unslash in the time-format and date-format ajax endpoints.
...
props GregLone.
fixes #27216 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27305 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 00:04:45 +00:00
Andrew Nacin
88f1b6e7ec
Add a $default argument to get_query_var() and WP_Query::get(). fixes #16471 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27304 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 23:57:10 +00:00