Andrew Ozz
cd0552a810
TinyMCE: remove box-shadow from the "more" and "nextpage" placeholder images, props avryl, see #24067
...
Built from https://develop.svn.wordpress.org/trunk@27345
git-svn-id: http://core.svn.wordpress.org/trunk@27197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 22:36:14 +00:00
Andrew Nacin
580b05ae5d
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 .
Built from https://develop.svn.wordpress.org/trunk@27344
git-svn-id: http://core.svn.wordpress.org/trunk@27196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 21:45:15 +00:00
Andrew Nacin
482856e2e1
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 .
Built from https://develop.svn.wordpress.org/trunk@27343
git-svn-id: http://core.svn.wordpress.org/trunk@27195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 21:34:17 +00:00
Drew Jaynes
15068e1cd4
Inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
...
Props leewillis77.
Fixes #26203 .
Built from https://develop.svn.wordpress.org/trunk@27342
git-svn-id: http://core.svn.wordpress.org/trunk@27194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 15:00:15 +00:00
Drew Jaynes
df8be5ee43
Inline documentation for hooks in wp-includes/rewrite.php.
...
Props mboynes for the initial patch.
Fixes #26095 .
Built from https://develop.svn.wordpress.org/trunk@27341
git-svn-id: http://core.svn.wordpress.org/trunk@27193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 09:31:15 +00:00
Andrew Ozz
8d670f0862
Plupload: remove the (old) plupload.silverlight.xap, remove the "executable" prop from Moxie.xap, see #25663
...
Built from https://develop.svn.wordpress.org/trunk@27340
git-svn-id: http://core.svn.wordpress.org/trunk@27192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 07:37:13 +00:00
Dion Hulse
d5775c8b6c
Upgrader: Remove more debug from r27336. See #25860
...
Built from https://develop.svn.wordpress.org/trunk@27339
git-svn-id: http://core.svn.wordpress.org/trunk@27191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:06:14 +00:00
Dion Hulse
487efa7957
Upgrader: Remove some debug from r27336. See #25860
...
Built from https://develop.svn.wordpress.org/trunk@27338
git-svn-id: http://core.svn.wordpress.org/trunk@27190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:04:14 +00:00
Dion Hulse
6b280a820e
Upgrader: Remove two stray spaces. See #25860
...
Built from https://develop.svn.wordpress.org/trunk@27337
git-svn-id: http://core.svn.wordpress.org/trunk@27189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:02:15 +00:00
Dion Hulse
c94a32b0ad
Upgrader: Copy wp-includes/version.php over last, to avoid an installation failing with the new version.php in place. Fixes #25860
...
Built from https://develop.svn.wordpress.org/trunk@27336
git-svn-id: http://core.svn.wordpress.org/trunk@27188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:01:16 +00:00
Drew Jaynes
c01c33a6aa
Inline documentation fixes for timer_stop()
.
...
See #26874 .
Built from https://develop.svn.wordpress.org/trunk@27335
git-svn-id: http://core.svn.wordpress.org/trunk@27187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 02:42:14 +00:00
John Blackbourn
be967880e2
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 .
...
Built from https://develop.svn.wordpress.org/trunk@27334
git-svn-id: http://core.svn.wordpress.org/trunk@27186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 23:29:14 +00:00
John Blackbourn
9166734ff5
Enable previews for all pages of multi-page posts. Fixes #17157 . Props solarissmoke, chrisscott
...
Built from https://develop.svn.wordpress.org/trunk@27333
git-svn-id: http://core.svn.wordpress.org/trunk@27185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 23:08:13 +00:00
John Blackbourn
50c240d4d0
Correct the inline docs for timer_stop()
. Fixes #26874 . Props jackreichert
...
Built from https://develop.svn.wordpress.org/trunk@27332
git-svn-id: http://core.svn.wordpress.org/trunk@27184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 22:18:14 +00:00
Scott Taylor
8dd1261904
In TwentyTwelve and TwentyThirteen, don't print the featurd image when viewing an attachment.
...
See #27243 .
Built from https://develop.svn.wordpress.org/trunk@27331
git-svn-id: http://core.svn.wordpress.org/trunk@27183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 22:09:18 +00:00
Scott Taylor
6df629fb02
in TwentyFourteen: don't add the has-post-thumbnail
class or print the featured image when viewing an attachment.
...
See #27243 .
Built from https://develop.svn.wordpress.org/trunk@27330
git-svn-id: http://core.svn.wordpress.org/trunk@27182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:57:13 +00:00
John Blackbourn
412ea898c0
Add some missing number i18n in Walker_Category
and Walker_CategoryDropdown
. Fixes #22745 .
...
Built from https://develop.svn.wordpress.org/trunk@27329
git-svn-id: http://core.svn.wordpress.org/trunk@27181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:48:13 +00:00
Scott Taylor
e92770ba93
* 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 .
Built from https://develop.svn.wordpress.org/trunk@27328
git-svn-id: http://core.svn.wordpress.org/trunk@27180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:28:14 +00:00
John Blackbourn
2739d652ef
Allow rewrite endpoints to specify a query variable name. Fixes #20905 .
...
Built from https://develop.svn.wordpress.org/trunk@27327
git-svn-id: http://core.svn.wordpress.org/trunk@27179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 20:55:14 +00:00
John Blackbourn
44e34f826b
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
...
Built from https://develop.svn.wordpress.org/trunk@27326
git-svn-id: http://core.svn.wordpress.org/trunk@27178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 20:22:14 +00:00
Sergey Biryukov
5f0f676199
Use a consistent format for translator comments.
...
props GaryJ.
fixes #27228 .
Built from https://develop.svn.wordpress.org/trunk@27325
git-svn-id: http://core.svn.wordpress.org/trunk@27177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 08:09:13 +00:00
Sergey Biryukov
e7467f9b44
Remove temporary hooks added in [26865].
...
fixes #26661 .
Built from https://develop.svn.wordpress.org/trunk@27324
git-svn-id: http://core.svn.wordpress.org/trunk@27176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 00:45:16 +00:00
Sergey Biryukov
f291730aec
Avoid an undefined index notice in wp_doc_link_parse().
...
props pross for initial patch.
fixes #27214 .
Built from https://develop.svn.wordpress.org/trunk@27323
git-svn-id: http://core.svn.wordpress.org/trunk@27175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 23:16:13 +00:00
Scott Taylor
3dc901a92a
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 .
Built from https://develop.svn.wordpress.org/trunk@27322
git-svn-id: http://core.svn.wordpress.org/trunk@27174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 23:04:13 +00:00
Scott Taylor
2ea01e110b
Restore / re-tools some docs after [27313].
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27321
git-svn-id: http://core.svn.wordpress.org/trunk@27173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 21:51:14 +00:00
Scott Taylor
db1a8785b5
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 .
Built from https://develop.svn.wordpress.org/trunk@27320
git-svn-id: http://core.svn.wordpress.org/trunk@27172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 21:38:17 +00:00
Sergey Biryukov
bc036d0843
Avoid an undefined index notice in wp_handle_upload().
...
props tivnet.
fixes #27225 .
Built from https://develop.svn.wordpress.org/trunk@27319
git-svn-id: http://core.svn.wordpress.org/trunk@27171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 21:16:15 +00:00
Andrew Ozz
21b74a037d
Remove debugging cruft, see #25663
...
Built from https://develop.svn.wordpress.org/trunk@27318
git-svn-id: http://core.svn.wordpress.org/trunk@27170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 20:15:16 +00:00
Scott Taylor
cf1d899cc8
In media-editor.js
, use _.isUndefined()
when available.
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27317
git-svn-id: http://core.svn.wordpress.org/trunk@27169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 20:11:14 +00:00
Andrew Ozz
d896fa2487
Upgrade Plupload to 2.1.1, props kovshenin, see #25663
...
Built from https://develop.svn.wordpress.org/trunk@27316
git-svn-id: http://core.svn.wordpress.org/trunk@27168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 20:01:16 +00:00
Scott Taylor
baeecbe763
This comment was pasted and does not apply to specified code block.
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27315
git-svn-id: http://core.svn.wordpress.org/trunk@27167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 19:51:14 +00:00
Scott Taylor
45e748e57e
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 .
Built from https://develop.svn.wordpress.org/trunk@27313
git-svn-id: http://core.svn.wordpress.org/trunk@27166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 19:22:14 +00:00
Scott Taylor
f931929905
In the tracklist for playlist, fall back to title
if there is no caption
.
...
Props bassgang.
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27312
git-svn-id: http://core.svn.wordpress.org/trunk@27165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 15:22:13 +00:00
Scott Taylor
7d57ca6c2c
Add some security hardening to passed playlist attributes.
...
Props xknown.
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27311
git-svn-id: http://core.svn.wordpress.org/trunk@27164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 15:20:14 +00:00
Sergey Biryukov
af4f68b410
Use wp_dropdown_roles() in wp-admin/network/site-users.php.
...
props jeremyfelt.
fixes #27215 .
Built from https://develop.svn.wordpress.org/trunk@27310
git-svn-id: http://core.svn.wordpress.org/trunk@27163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 10:22:14 +00:00
Scott Taylor
abebb1fde2
Correct a misspelled property name in a media-views.js
annotation.
...
Props kovshenin.
See #26870 .
Built from https://develop.svn.wordpress.org/trunk@27309
git-svn-id: http://core.svn.wordpress.org/trunk@27162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 03:07:14 +00:00
Scott Taylor
8a4ef32f7a
Populate playlist setting values with their default value if they don't exist while parsing shortcode attributes.
...
Props kovshenin.
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27308
git-svn-id: http://core.svn.wordpress.org/trunk@27161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 02:55:13 +00:00
Dion Hulse
d55eb3901c
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
Built from https://develop.svn.wordpress.org/trunk@27307
git-svn-id: http://core.svn.wordpress.org/trunk@27160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 02:33:14 +00:00
Andrew Nacin
7481fd46d0
Themes screen: Clicking back through history should properly close the overlay.
...
props gcorne.
fixes #27198 .
Built from https://develop.svn.wordpress.org/trunk@27306
git-svn-id: http://core.svn.wordpress.org/trunk@27159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 00:18:13 +00:00
Andrew Nacin
bee73edb62
Unslash in the time-format and date-format ajax endpoints.
...
props GregLone.
fixes #27216 .
Built from https://develop.svn.wordpress.org/trunk@27305
git-svn-id: http://core.svn.wordpress.org/trunk@27158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 00:05:14 +00:00
Andrew Nacin
1d06679518
Add a $default argument to get_query_var() and WP_Query::get(). fixes #16471 .
...
Built from https://develop.svn.wordpress.org/trunk@27304
git-svn-id: http://core.svn.wordpress.org/trunk@27157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 23:58:14 +00:00
Andrew Nacin
edb9364df1
Move comment-reply.js to the footer.
...
While it can function before the page is loaded, it works by moving the comment form, which is usually toward the bottom of the page. Please report any contraindications on the ticket.
props obenland.
fixes #12641 .
Built from https://develop.svn.wordpress.org/trunk@27303
git-svn-id: http://core.svn.wordpress.org/trunk@27156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 22:27:15 +00:00
Andrew Nacin
e8819fc636
Introduce HTML5 gallery support.
...
When a theme supports HTML5 galleries via add_theme_support( 'html5', 'gallery' ), figure and figcaption will be used instead of definition list markup.
props obenland.
fixes #26697 .
Built from https://develop.svn.wordpress.org/trunk@27302
git-svn-id: http://core.svn.wordpress.org/trunk@27155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 22:20:31 +00:00
Drew Jaynes
8dc5888cfa
Improve inline documentation for WP_Users_List_Table
.
...
Props leewillis77 for the initial patch.
Fixes #26564 .
Built from https://develop.svn.wordpress.org/trunk@27301
git-svn-id: http://core.svn.wordpress.org/trunk@27154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 22:20:17 +00:00
Andrew Nacin
d24a109288
Revert [27115] and let cache backends handle the stripping of spaces in cache keys as necessary.
...
microtime() returns greater precision than microtime(true).
see #27000 , #23448 , #26903 , #14485 .
Built from https://develop.svn.wordpress.org/trunk@27300
git-svn-id: http://core.svn.wordpress.org/trunk@27153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 22:05:13 +00:00
Andrew Nacin
044ab93430
Add a filter to remove or rename page templates for a theme. This does not yet handle adding page templates. see #13265 .
...
Built from https://develop.svn.wordpress.org/trunk@27297
git-svn-id: http://core.svn.wordpress.org/trunk@27152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 20:31:15 +00:00
Andrew Nacin
e41374d13d
Set the taxonomy property in the WP_Adjacent_Post class. fixes #26937 .
...
Built from https://develop.svn.wordpress.org/trunk@27296
git-svn-id: http://core.svn.wordpress.org/trunk@27151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 18:46:14 +00:00
Andrew Nacin
076077383d
Introduce doing_filter() and doing_action() to identify hooks in progress.
...
did_action() returns true the moment a hook is initially run, leaving you no way to tell if the hook is still in progress. Hooks can be nested and this checks the entire stack, versus current_filter() which only identifies the final hook in the stack. This commit also introduces current_action() for parity.
To tell if a hook has completed, one can use did_action() and ! doing_action() together.
The functions do not require an argument. In that situation, they indicate whether the stack is empty.
props ericmann for the initial unit tests.
fixes #14994 .
Built from https://develop.svn.wordpress.org/trunk@27294
git-svn-id: http://core.svn.wordpress.org/trunk@27150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 18:44:14 +00:00
Drew Jaynes
22b4567550
Document the $taxonomy
property in WP_Adjacent_Post
.
...
See #26937 .
Built from https://develop.svn.wordpress.org/trunk@27293
git-svn-id: http://core.svn.wordpress.org/trunk@27149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 18:21:13 +00:00
Drew Jaynes
c78763a761
Remove now-moot vanity spacing for WP_Adjacent_Post
property definitions.
...
See #26937 .
Built from https://develop.svn.wordpress.org/trunk@27292
git-svn-id: http://core.svn.wordpress.org/trunk@27148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 18:18:14 +00:00