Gary Pendergast
0b868edb8e
When deleting suspicious comments, do so permanently.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32310 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 16:10:50 +00:00
Gary Pendergast
ae1f6413c9
[32308] was for 4.3, not 4.2.1.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32309 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 16:07:20 +00:00
Gary Pendergast
0224286861
When upgrading to 4.2.1, delete suspicious comments.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32308 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 16:03:48 +00:00
Gary Pendergast
0152b8f49b
In [32299], we should be using mb_strlen()
for our string size checks.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32306 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 14:41:48 +00:00
Gary Pendergast
45b0abbef1
WPDB: Sanity check that any strings being stored in the DB are not too long to store correctly.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32299 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 14:02:45 +00:00
Andrew Nacin
ca8d6fb60f
Escape the $s global.
...
fixes #32142 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32298 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 05:09:24 +00:00
Sergey Biryukov
fdd254b5d8
Add missing word to wp_insert_term()
error strings.
...
props dipesh.kakadiya.
fixes #32031 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32297 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-26 11:49:36 +00:00
Sergey Biryukov
04ef03636e
Check if SCRIPT_DEBUG
is defined before using it in print_emoji_detection_script()
.
...
props Craig Ralston.
fixes #32118 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@32296 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-26 10:35:53 +00:00
Andrew Nacin
29718f1c28
Fix keyboard shortcut for save from the visual editor.
...
props iseulde.
see #32122 , for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@32295 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-26 04:50:41 +00:00
Boone Gorges
c3ea088948
When priming the cache for taxonomy term nav items, don't fetch term descendants.
...
Descending the term tree causes unnecessary database queries when priming the
cache for a term with many descendants.
Fixes #31724 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32294 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-24 18:57:07 +00:00
Boone Gorges
7add279793
Allow rewrite endpoints to be registered without also registering query vars.
...
Passing `false` to `add_rewrite_endpoint()` will now allow you to take
advantage of the rewrite API without thereby modifying the way that WP sets up
the main query from the request URI.
This new functionality allows developers to work around certain edge-case bugs,
such as when a proper endpoint request (such as `/test/1/`) would short-
circuit `is_home()` calculation when a static front page is set.
Props mordauk, boonebgorges.
Fixes #25143 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32293 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-24 16:37:12 +00:00
Boone Gorges
000f4f98b4
In wp_list_categories()
, 'All' link should point to post type archive if taxonomy is not registered for 'post' or 'page'.
...
Instead, we point to the post type archive of the first registered
object_type that supports archives.
Props stevegrunwell, hrishiv90, boonebgorges.
Fixes #21881 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32292 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-24 14:56:37 +00:00
Helen Hou-Sandi
f8140ca961
Trunk is now 4.3-alpha.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32280 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-23 17:59:53 +00:00
Helen Hou-Sandi
ffe23d2f93
About page: Finalize media for 4.2.
...
props ocean90, Nao.
fixes #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32277 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-23 15:42:24 +00:00
Dominik Schilling (ocean90)
1ebc8a2867
Bundled Themes: Bump version numbers and update POT files.
...
fixes #32032 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32276 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-23 15:15:37 +00:00
Drew Jaynes
387b6a9087
Post 4.2-RC4 bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32271 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 20:29:15 +00:00
Drew Jaynes
66b48f847a
WordPress 4.2-RC4
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32270 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 20:21:00 +00:00
Helen Hou-Sandi
09f830dca5
Customizer theme details modal: Repair the layout for IE8.
...
props obenland.
fixes #32066 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32269 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 18:56:01 +00:00
Helen Hou-Sandi
eaba93ed33
Admin menu: prevent (most) lock outs caused by plugins or IE7.
...
fixes #30900 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32268 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 18:37:13 +00:00
Dominik Schilling (ocean90)
5e371ea458
Don't try to focus disabled input fields in the request filesystem credentials form.
...
fixes #32064 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32267 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 16:56:36 +00:00
Dominik Schilling (ocean90)
2abf4c39ef
Don't focus input fields outside of the request filesystem credentials form.
...
props valendesigns.
fixes #32055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32266 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 16:23:57 +00:00
Dominik Schilling (ocean90)
f029572866
Theme Switcher: Provide an easier way to reset back to the current active theme.
...
* Add control for the active theme when doing a theme preview
* Highlight an active theme and move it to the top
props valendesigns, ocean90.
fixes #32002 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32265 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 16:15:01 +00:00
Dominik Schilling (ocean90)
ca11d4c876
Don't return empty themes in wp_prepare_themes_for_js()
.
...
see #32002 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32264 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 16:10:40 +00:00
Gary Pendergast
cc8a9824c5
WPDB: When sanity checking a string by sending it to MySQL for conversion checks, the incorrect data structure was being returned from wpdb::strip_invalid_text()
, causing all write queries to fail for some character sets when the query contained non-ASCII characters.
...
See #32051 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32261 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 15:01:25 +00:00
Sergey Biryukov
4e067b0354
About page design for 4.2.
...
props melchoyce, ryelle.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32260 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 06:03:03 +00:00
Helen Hou-Sandi
3fb766782d
Don't add a class for comment authors who are members of the current site.
...
Reverts [32245] and [31518]. We'll keep the whitespace and comment clarification, though.
see #24054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32259 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 23:35:55 +00:00
Andrew Ozz
925682e2d1
Revert editing of video embed parameters in the media modal, [31620] and [31626] for now. Plan on revisiting in 4.3.
...
Props iseulde. Fixes #31139 , fixes #32006 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32258 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 22:40:23 +00:00
Andrew Ozz
312edcbc9d
TinyMCE wpView: properly deselect views when hiding the editor. Do not remove selected
on PreProcess.
...
Fixes #32045 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32257 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 21:31:26 +00:00
Helen Hou-Sandi
19c0b3f469
Shiny Updates: Prevent the post-update success message from jumping.
...
props pareshradadiya, afercia.
fixes #31984 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32256 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 20:40:55 +00:00
Andrew Ozz
89dee9f379
TinyMCE wpView: ensure contentNode
is passed to all callbacks.
...
Props iseulde. Fixes #31669 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32255 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 18:35:50 +00:00
Gary Pendergast
7bfffc9b18
Bump version number for nightly builds.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32249 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 15:24:29 +00:00
Gary Pendergast
48a9127a87
Trunk is now 4.2-RC3.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32248 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 14:42:12 +00:00
Helen Hou-Sandi
345397aafb
Avoid a PHP notice when adding an embed via Insert from URL.
...
props iseulde.
see #32006 , #29476 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32247 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 14:35:40 +00:00
Helen Hou-Sandi
b7d25c00e2
Rename the pre_wp_prepare_themes_for_js
filter to pre_prepare_themes_for_js
.
...
props DrewAPicture.
fixes #31789 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32246 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 14:22:15 +00:00
Helen Hou-Sandi
10640611f6
Comment: rename the comment-author-is-site-member
class to bysiteuser
for consistency.
...
Final decision on keeping the class yet to be made.
props DrewAPicture.
see #24054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32245 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 14:19:58 +00:00
Helen Hou-Sandi
8ae79e3d33
Customizer: Better experience for widget filtering in desktop and iOS Safari.
...
Previously, the search field did not appear at all in desktop Safari, and the auto-focus keyboard fly-up in iOS rendered widget adding frustrating at best.
props dsmart, ocean90.
fixes #31987 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32243 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 14:14:27 +00:00
Helen Hou-Sandi
5ff0ea1fcf
wpLink: Make the text editor experience the same as in the visual editor.
...
props azaozz.
fixes #31890 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32242 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 13:58:09 +00:00
Gary Pendergast
afe046a84c
WPDB: When deciding if a query needs extra sanity checking based on collation, we can quickly return if the query is entirely ASCII characters.
...
See #32029 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32233 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 05:23:44 +00:00
Gary Pendergast
0fe5a64e56
WPDB: When deciding if a query needs extra sanity checking based on collation, we can quickly return if it's a query that will never return user data.
...
Fixes #32029 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32232 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 05:10:11 +00:00
Andrew Ozz
9a4b6405bc
Twenty Fifteen: remove a img { display: block; }
from editor-style.css. Matches previous changes to style.css and fixes extra space when displaying captions in Firefox.
...
Fixes #32007 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32231 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 23:46:02 +00:00
Helen Hou-Sandi
38ee7ae7eb
Press This: Prevent bottom buttons from wrapping on narrow screens.
...
props Michael Arestad.
fixes #32022 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32230 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 21:02:07 +00:00
Andrew Ozz
10bf8967d2
TinyMCE: fix creating a preview when pasting an embeddable URL in Firefox.
...
Part prop iseulde. Fixes #31988 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32229 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 20:56:10 +00:00
Helen Hou-Sandi
f846003ea7
Media: Date filtering does not need to be on for all contexts.
...
Affected areas include customizer upload controls and video playlist editing.
props ocean90.
fixes #32004 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32228 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 19:48:08 +00:00
Drew Jaynes
e1c4ed6e32
Post 4.2-RC2 bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32227 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 19:43:39 +00:00
Gary Pendergast
e08fe200ec
Bump trunk to 4.2-RC2.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32222 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 17:40:43 +00:00
Sergey Biryukov
617b9a62c7
Make translator comments for the strings added in [31982] more accurate. Add some new comments.
...
props pavelevap.
fixes #32000 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32211 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 15:43:53 +00:00
Sergey Biryukov
408cca2c54
Merge two different translator comments for the same string.
...
props pavelevap.
fixes #31999 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32210 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 15:35:31 +00:00
Sergey Biryukov
e71959fc57
Remove duplicate string with a typo, merge it with an existing string.
...
props pavelevap.
fixes #32020 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32209 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 15:26:04 +00:00
Boone Gorges
1a38d95e83
Ensure that 'who' param is respected when generating meta_query in WP_User_Query
.
...
Since [31669], the 'who' param had been parsed after meta_query was generated,
so that 'who' was effectively ignored.
Props imath.
Fixes #32019 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32207 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 15:15:14 +00:00
Gary Pendergast
05710aaa41
Ensure post titles are correctly escaped on the Dashboard.
...
Props helen, ocean90, dd32, pento.
git-svn-id: https://develop.svn.wordpress.org/trunk@32175 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 07:38:29 +00:00
Gary Pendergast
94f02ef8b1
In Multisite, prevent plugins from unintentionally switching sites.
...
Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@32173 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 07:26:05 +00:00
Gary Pendergast
332750a40d
Revert [30640], as it was incorrectly checking some filenames.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32171 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 06:38:08 +00:00
Gary Pendergast
98da14ab75
Correctly escape theme version numbers when displaying them.
...
Props collinsinternet.
git-svn-id: https://develop.svn.wordpress.org/trunk@32170 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 06:26:35 +00:00
Gary Pendergast
99927c319e
Update the Plupload Flash file to the latest version.
...
Props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@32168 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 06:12:11 +00:00
Gary Pendergast
28de93d269
Remove some old backwards compatilibity code from TinyMCE.
...
Props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@32166 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 05:49:16 +00:00
Gary Pendergast
96f12cc588
Clean up some edge cases in sanitize_sql_orderby()
.
...
Props vortfu, dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@32164 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 05:41:37 +00:00
Gary Pendergast
faa66d8145
WPDB: When sanity checking read queries, there are some collations we can skip, for improved performance.
...
Props pento, nacin.
See #21212 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32162 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 04:45:12 +00:00
Andrew Nacin
62b51d8c0b
Clean up wp_staticize_emoji() and friends.
...
* DOMDocument was removed in [31752] but not the check.
* wp_staticize_emoji() has never accepted a second arg; remove it from calls.
* Remove wp_staticize_emoji_for_feeds(), no need for it.
* Remove _ and @ignore from wp_staticize_emoji_for_email(), no need for it.
see #31242 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32161 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 04:14:32 +00:00
Andrew Nacin
17d6534bb1
Update wp_die() calls modified in [31658] to use shorthand calling style.
...
see #31422 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32152 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 03:26:24 +00:00
Sergey Biryukov
3c28d7b1f6
Press This: Update documentation for press_this_save_redirect
filter after [31992].
...
props kraftbj.
fixes #31996 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32143 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-19 01:34:01 +00:00
Andrew Ozz
b7817247c5
TinyMCE: use window.twemoji directly in the wpemoji
plugin. Gives a chance to the browser to lazy load twemoji.js when reloading the page.
...
Fixes #31901 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32142 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-18 23:28:11 +00:00
Andrew Ozz
ab5685e6ad
TinyMCE: remove the empty paragraph that sometimes is left over after adding an image caption.
...
Fixes #32003 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32141 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-18 21:55:45 +00:00
Andrew Ozz
9781cdb9a3
TinyMCE wpView:
...
- Remove selected views when inserting content but not when loading all content.
- Remove the ref. to the selected view node on resetting the views.
Fixes #31998 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32140 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-18 20:47:04 +00:00
Drew Jaynes
41b1d73c03
Post 4.2-RC1 bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32138 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 19:05:00 +00:00
Drew Jaynes
9e3ce091fe
WordPress 4.2-RC1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32137 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 18:52:08 +00:00
Dominik Schilling (ocean90)
6e6e1f45ed
About page: All strings are available for translation.
...
* Remove AJAX call added in [30840].
* Remove `<code>` tags out of localized strings.
props johnbillion, ocean90.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32136 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 18:18:53 +00:00
Helen Hou-Sandi
a71a815a0c
About page: A last round of text updates.
...
props DrewAPicture, johnbillion, afercia, helen.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32135 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 17:33:11 +00:00
Dominik Schilling (ocean90)
7fba67e4b7
Customizer: Escape theme preview URLs.
...
props johnbillion, ocean90.
see #31896 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32134 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 16:32:03 +00:00
Aaron Jorbin
686b4af44d
Move wp-plugin-update-success event to after lock is released
...
Fixes #31978
See #31819
Props DavidAnderson
git-svn-id: https://develop.svn.wordpress.org/trunk@32133 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 14:36:04 +00:00
Sergey Biryukov
7b0dbe06fd
About page: Two more string tweaks.
...
props DrewAPicture, pento.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32132 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 01:23:07 +00:00
Sergey Biryukov
99abb0cf3a
About page updates.
...
* Change the subhead strings on credits.php and freedoms.php to match about.php.
* Link the Emoji Codex article in the emoji blurb.
* Add a second sentence to the JavaScript Accessibility blurb.
* Switch positions for the JavaScript Accessibility and Complex Query Ordering sections for balance.
props DrewAPicture, ocean90, pavelevap.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32131 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 00:38:00 +00:00
Dominik Schilling (ocean90)
cf9908ef31
Update about page for 4.2.
...
props siobhan, DrewAPicture.
see #31929
git-svn-id: https://develop.svn.wordpress.org/trunk@32130 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:52:19 +00:00
Dominik Schilling (ocean90)
f00aa86644
Force default avatar for HiDPI avatars on Discussion Settings.
...
props SergeyBiryukov.
fixes #31972 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32129 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:08:15 +00:00
Dominik Schilling (ocean90)
be2e1d9937
Reset padding for buttons in theme details modal.
...
props awbauer.
fixes #31963 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32128 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:03:59 +00:00
Dominik Schilling (ocean90)
a0fbde9fdc
Customizer Theme Switcher: Use text input for the search field to prevent double tap issues for Preview and Customize buttons on iOS.
...
see #31794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32127 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 17:44:28 +00:00
Aaron Jorbin
73479254bc
Use named function instead of anonymous function
...
The named function is testable and replaceable.
Fixes #31964
Props DavidAnderson, adamsilverstein, jorbin
git-svn-id: https://develop.svn.wordpress.org/trunk@32126 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 16:41:24 +00:00
Scott Taylor
91143924cd
Move the built media JS files up a directory to their previous location and naming convention. This fidgets with part of [31373] and will maintain BC for those who were loading those files directly (not using the enqueue system).
...
Props iseulde, ocean90.
Fixes #31912 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32125 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 15:30:16 +00:00
Scott Taylor
fbdbba9e01
Revert [31030] and [31033]. Incidentally, there is no lazy-loading happening here anyway.
...
Pushing #26111 to future.
git-svn-id: https://develop.svn.wordpress.org/trunk@32124 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 15:12:49 +00:00
Sergey Biryukov
a8c4455adc
Fix typo on About page.
...
props jamescollins.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32123 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 06:53:25 +00:00
Andrew Ozz
f3033a9f5a
Press This: do not show the bookmarklet upgrade notice when accessing directly press-this.php.
...
Props kraftbj. Fixes #31968 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32122 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 05:44:08 +00:00
Andrew Ozz
deaa16216d
Fix the media modal Insert into post button on narrow screens by limiting the width of .media-toolbar-primary and .media-toolbar-secondary only inside .attachments-browser (the top toolbar).
...
Props iseulde, DrewAPicture. Fixes #31908 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32121 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 01:20:39 +00:00
Andrew Ozz
17e3e168d3
Make sure the spinner in the media modal is visible on narrow screens (without affecting the media grid).
...
Fixes #30725 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32120 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 00:53:34 +00:00
Dominik Schilling (ocean90)
5c1eb9f4f8
Customizer Theme Switcher: Don't re-render a theme control if it has already been rendered.
...
Move initialization of `$customizeSidebar` to `api.ThemesSection.initialize()` to prevent cases where the result can be undefined.
props westonruter, ocean90.
fixes #31793 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32119 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 22:09:35 +00:00
Dominik Schilling (ocean90)
17cc95573f
4.2 about page text, rough cut.
...
props helen, siobhan, DrewAPicture, samuelsidler, markjaquith, nacin.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32118 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 15:38:19 +00:00
Sergey Biryukov
3b6ff03136
wp_update_term()
should check if get_term()
returned null.
...
props dlh.
fixes #31954 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32117 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 01:20:57 +00:00
Dominik Schilling (ocean90)
b0d6757918
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-12 21:28:58 +00:00
Sergey Biryukov
3c4b4ea0cc
Fix a copy/paste error in a comment.
...
see #31951 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32115 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 23:19:39 +00:00
azaozz
2160e1ac95
Add mb_strlen()
compatibility function. Works the same way as the existing mb_substr()
compatibility function.
...
Props SergeyBiryukov. Fixes #31951 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32114 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 23:13:01 +00:00
Dominik Schilling (ocean90)
9cddb0f012
Rename get_media_embedded_in_content_allowed
filter to media_embedded_in_content_allowed_types
.
...
The new name fits better with some other `_allowed_` filters.
props DrewAPicture.
fixes #26675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32113 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:48:22 +00:00
Sergey Biryukov
9706b074c8
Translator comment should just reference placeholder numbers, not the actual placeholders.
...
see #31675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32112 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:45:14 +00:00
Sergey Biryukov
d36c454684
Explain all placeholders in translator comment, not just the first one.
...
see [32110], #31675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32111 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:39:36 +00:00
Mark Jaquith
0188ec7f1c
Tell developers how to correctly silence register_sidebar()
notices.
...
* If we just tell them they they should set an `id` parameter, they might set an arbitrary one on an existing (i.e. not in-development) theme, causing widgets to be lost.
* This way, we tell them to set it to the auto-generated `id` that the sidebar already has.
* Widget content is not lost, and now their sidebar has a concrete handle.
fixes #31675
git-svn-id: https://develop.svn.wordpress.org/trunk@32110 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:33:14 +00:00
Dominik Schilling (ocean90)
cfb7d2965e
Remove executable bit from smilies.
...
see #31709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32109 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 18:16:24 +00:00
Gary Pendergast
b806e118c6
When dbDelta()
is checking whether an index is defined in a CREATE TABLE
statement, don't worry if MySQL has a subpart defined on an index, but the CREATE TABLE
doesn't.
...
Fixes #31869 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32108 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 10:39:49 +00:00
Gary Pendergast
b007147ab4
Smilies: One more tweak to matching smilies with emoji.
...
Props iseulde.
See #31709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32107 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 02:16:34 +00:00
Andrew Ozz
301bb0b9da
Press This: check the bookmarklet version and add the update notice from PHP.
...
Fixes #31942 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32106 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 21:07:42 +00:00
Gary Pendergast
1de9bc1670
Smilies: Tweak which smiley matches which emoji.
...
Props iseulde.
See #31709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32105 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 06:29:49 +00:00
Gary Pendergast
3bd66eff61
Smilies: Update our few remaining smilies to better align with Twemoji, and add frownie.png until Twemoji provide a build containing it.
...
Props joen.
See #31709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32104 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 06:19:39 +00:00
Helen Hou-Sandi
3019ddf457
Customizer theme switcher: Fix some esoteric breakage in iOS Safari.
...
This manifested in only being able to switch your theme once in the customizer before the "Change" button would appear to stop responding, though a switch to "Preview" and back to "Customize" would reveal the theme switcher after all. Animated positioning appears to be the problem here. The animations are not critical to the experience, particularly on touch+smaller screen devices.
props iseulde.
see #31794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32103 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 02:43:20 +00:00
Andrew Ozz
6cf43dfc06
Press This: add ARIA attributes to the alerts
container.
...
Props afercia. Fixes #31942 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32102 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 23:44:50 +00:00
Helen Hou-Sandi
84c5474197
Media: Bring back spinners, now without bouncing select elements.
...
props afercia for the initial patch.
see #22839 , #30725 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32101 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 20:34:10 +00:00
Andrew Ozz
02a5d32641
Revert [32099] per discussion in #core: https://wordpress.slack.com/archives/core/p1428608303003309 .
...
See #30900 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32100 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 19:55:54 +00:00
Andrew Ozz
5eb6128f8e
Remove z-index from #adminmenuback
.
...
Fixes #30900 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32099 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 19:25:27 +00:00
Andrew Ozz
fd6c5e6cbd
Press This:
...
- Fix focusing the Standard Editor link after saving draft, if the user has not focused another element.
- Reset the Save Draft button on node change in the editor.
See #31923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32098 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 19:06:41 +00:00
pento
cd9374f061
Emoji: The emoji JS files should be run through the script_loader_src
filter, as they would be if they were registered scripts.
...
Props peterwilsoncc.
Fixes #31938 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32097 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 11:06:03 +00:00
Gary Pendergast
dcfb3532c1
Emoji: Tidy up the wp_encode_emoji()
regex, and clarify the function comment on Unicode 8 support.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32096 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 04:36:57 +00:00
Andrew Ozz
01da3522f6
TinyMCE: disable the wp-autoresize plugin in iOS. All iframes there are already expanded to the height of the content document.
...
Fixes #31937 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32095 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 00:10:23 +00:00
Lance Willett
a00cfeb4f6
Twenty Fourteen: update editor styles to better account for adaptive images in small screens.
...
Fixes #31934 , props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@32094 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 23:28:55 +00:00
Andrew Ozz
47754dfc55
Press This: change the link text to Standard Editor.
...
Props Michael-Arestad. See #31923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32093 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 23:27:04 +00:00
Andrew Ozz
bd8cb111ed
Press This:
...
- When saving a draft change the text of the Save Draft button to Saving...
- On success, hide the button and show Edit Post link in its place. If the user focuses the title or the editor, hide the link and show the button again.
Fixes #31923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32092 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 23:13:35 +00:00
Dominik Schilling (ocean90)
0dee3a771a
Customize Headers: Improve handling of the initial header model.
...
Headers are currently keyed by the basename of the image, see #31786 . When two images have the same key only one image will be listed and the current image can be empty in the header control.
To prevent this we now fall back to the raw current header image if the image isn't in `_wpCustomizeHeader.uploads`.
props sirbrillig.
fixes #31742 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32091 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 22:27:57 +00:00
Lance Willett
bc3e4176a0
Twenty Fifteen: update editor styles to better account for adaptive images in small screens.
...
See #31934 , props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@32090 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 22:00:14 +00:00
Andrew Ozz
543a9d052e
Fix flickering of the admin menu on over-scrolling.
...
Props joemcgill, mindrun. Fixes #30900 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32089 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 21:38:16 +00:00
Dominik Schilling (ocean90)
e9196a321a
Customizer Theme Switcher: Lazy load theme screenshots.
...
props westonruter, ocean90.
fixes #31793 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32088 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 20:51:39 +00:00
Dominik Schilling (ocean90)
c3143d4bd0
Customizer Theme Switcher: Fix tabbing order if section is open.
...
see #31289 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32087 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 19:02:57 +00:00
Dominik Schilling (ocean90)
379393651b
Customizer Theme Switcher: Fix preview URL for subfolder installs.
...
Use `$_SERVER['HTTP_HOST']` and `$_SERVER['REQUEST_URI']` instead of `site_url()` and `$_SERVER['REQUEST_URI']`.
fixes #31896 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32086 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 18:58:08 +00:00
Drew Jaynes
30f14afe10
Post-beta4 bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32085 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 18:48:33 +00:00
Dominik Schilling (ocean90)
2445c10ab2
Theme Compat: Make string translatable and add translator comments. Added in [31941].
...
props dimadin.
see #28502 .
fixes #31921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32084 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 18:14:31 +00:00
Dominik Schilling (ocean90)
b74982a479
Customizer Theme Switcher: Don't deactivate section on empty search results.
...
props westonruter.
fixes #31889 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32083 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 17:52:18 +00:00
Aaron Jorbin
583a13344c
Disable shiny updates from modal based on parent window
...
The QS method added in [32067] and modified in [32080] doesn't work when the user changes the tab inside the modal. Instead, let's use the parent window's location.
Fixes #31739
git-svn-id: https://develop.svn.wordpress.org/trunk@32082 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 17:37:38 +00:00
Dominik Schilling (ocean90)
af4f52bf40
Don't print the custom-background
class in body_class()
when a default color is in use.
...
`.custom-background` should only be added if a background color or an image divert from their defaults. This behavior exists already in `_custom_background_cb()`.
props slobodanmanic, nitkr, valendesigns, obenland.
see [21054], [21001].
fixes #28687 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32081 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 17:28:23 +00:00
Aaron Jorbin
7e4fa157a7
Fix logic for details based shiny updates.
...
This fixes two problems. TB seems to sometimes strip window.location.search variables after tb ones, so we need to move it forward. Also fixes logic error.
See #31739
git-svn-id: https://develop.svn.wordpress.org/trunk@32080 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 17:26:05 +00:00
Boone Gorges
7d18785497
Don't allow whitespace-only image captions from the Media modal.
...
Captions containing only whitespace trick `image_add_caption()` into thinking
a caption is required, but the empty caption text confuses wpeditimage into
stripping the 'align' class specified by the user.
Fixes #21848 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32079 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 17:10:53 +00:00
Dominik Schilling (ocean90)
1ad5acb6a1
Merge strings that describe the same command.
...
props iseulde.
fixes #31776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32078 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 16:58:13 +00:00
Aaron Jorbin
852937d006
Update placeholder for FTP credentials
...
Two changes:
* Remove superfluous __ function call
* Update domain used
Fixes #31922
Props Tmeister
git-svn-id: https://develop.svn.wordpress.org/trunk@32077 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 16:49:22 +00:00
Helen Hou-Sandi
7e87edf5c2
Dashboard: Ensure images other than avatars (such as emoji replacements) in recent comments are not incorrectly positioned.
...
props SergeyBiryukov.
fixes #31919 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32076 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 16:48:48 +00:00
Helen Hou-Sandi
aa24b6d94f
Admin menu: fix colors for focus state and in IE8.
...
props afercia.
fixes #31345 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32075 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 16:37:13 +00:00
Helen Hou-Sandi
34ebf98f36
Toolbar: Search item consistency for focus state and IE8.
...
props afercia.
fixes #31322 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32074 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 16:07:51 +00:00
Helen Hou-Sandi
1ad6f40e53
Modals: Significantly improve the touch scrolling experience.
...
This particularly fixes the attachment and plugin details modals, but also improves other modals such as wpLink and interim login.
props iseulde.
fixes #31609 , #31611 . see #31610 , #31612 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32073 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 03:18:58 +00:00
Helen Hou-Sandi
c316465e03
Media: Fix focus and selected state for the selected attachments set.
...
props iseulde.
fixes #31898 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32072 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 21:28:15 +00:00
helen
e7adde0551
Ensure post title input is not shortened for non-public post types.
...
props tyxla.
fixes #30968 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32071 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 20:43:01 +00:00
Boone Gorges
bffb632183
Improve handling of incomplete From and Content-Type headers in wp_mail()
.
...
When an incomplete header is provided (eg, 'From' with an email address but no
name), ensure that the WP defaults are filled in properly.
Props valendesigns.
Fixes #30266 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32070 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 20:09:46 +00:00
Helen Hou-Sandi
5606e42df4
Pointers: Make the dismiss icon a consistent size.
...
fixes #31915 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32069 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 19:13:45 +00:00
Helen Hou-Sandi
96bd504d60
Dismissible notices: more precise positioning across browsers.
...
props valendesigns.
fixes #31233 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32068 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 18:43:11 +00:00
Aaron Jorbin
6078d22a0a
Disable modal initiated shiny updates on wp-admin/update-core.php
...
We don't have links to update a single plugin on wp-admin/update-core.php so we can't initiate a shiny update there.
Fixes #31739
git-svn-id: https://develop.svn.wordpress.org/trunk@32067 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 04:47:59 +00:00
Aaron Jorbin
5f56394da3
Don't reference underscore.js source map
...
We don't bundle the source map, so we shouldn't reference it. This prevents a 404.
Props ocean90
See #31477
git-svn-id: https://develop.svn.wordpress.org/trunk@32065 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 04:34:44 +00:00
Jeremy Felt
babd623e15
Avoid an unexpected object error when syncing global terms
...
Pass the expected single value, rather than object, when recursively calling `global_terms()`.
Props hauvong.
See #31914 , Fixes #31149 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32064 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 04:13:04 +00:00
Aaron Jorbin
38f0420e12
Use dashes instead of dots as separator for jQuery events in shiny updates
...
`.` is used for namespaces, so better to use dashes.
see #31819
props iseulde
git-svn-id: https://develop.svn.wordpress.org/trunk@32063 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 03:12:01 +00:00
Aaron Jorbin
43623c464c
Enable users to initiate a shiny update from plugin detail modal
...
The plugin detail modal can contain a link to update a plugin. When it does, we should initiate a shiny update.
This relies upon postMessage which isn't available in all browsers, specifically it isn't in IE versions below 8 so this is going to be a progressive enhancement that some small percentage of users will miss out on. These are the same users that can't use the customizer.
Fixes #31739
git-svn-id: https://develop.svn.wordpress.org/trunk@32062 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 03:08:38 +00:00
Aaron Jorbin
c7956dcae0
Trigger events upon the completion of a shiny update
...
Plugins need to be able to do actions when a shiny update completes. While we don't have complete javascript actions and filters, we do have jQuery events that we can fire to assist plugin authors.
See #31819
git-svn-id: https://develop.svn.wordpress.org/trunk@32061 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 02:31:43 +00:00
Andrew Ozz
9c92833a1c
TinyMCE: update the "Keyboard Shortcuts" modal.
...
Fixes #29558 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32060 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 23:16:59 +00:00
Andrew Ozz
d9fe0232fb
TinyMCE: fix our shortcuts on Mac, use Ctrl + Opt + letter.
...
Props iseulde. See #29558 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32059 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 22:50:28 +00:00
Andrew Ozz
2edb7aace9
TinyMCE: update to 4.1.9+. Changes:
...
- Fixed bug where extra empty paragraphs would get deleted in WebKit/Blink due to recent Quriks fix.
- Fixed bug where the editor wouldn't work properly on IE 12 due to some required browser sniffing.
- Fixed bug where formatting shortcut keys where interfering with Mac OS X screenshot keys.
Fixes #31895 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32058 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 20:37:38 +00:00
Drew Jaynes
e0fe25d49d
Post-beta4 bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32057 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 19:06:25 +00:00
Andrew Ozz
e28afd4f46
TinyMCE wpView: resize sandbox iframes on load. Fixes a problem with resizing after all images are loaded.
...
Props iseulde, mattheu. Fixes #31480 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32056 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 18:54:22 +00:00
Helen Hou-Sandi
2f368bf396
Insert from URL: Make sure the link text is actually used.
...
Turns out there were more pieces to renaming the field.
props iseulde.
fixes #29476 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32055 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 18:24:53 +00:00
Dominik Schilling (ocean90)
d8f439c335
Customizer: Refresh nonces when a session expires and the user logs in again.
...
This was broken since 4.0 and the introduction of user session tokens. The nonces are now tied to session tokens as opposed to user IDs, and thus they change with each re-login.
Custom nonces can be added through the `customize_refresh_nonces` filter. On a successful refresh request the JavaScript API will trigger a `nonce-refresh` event. See widget's update nonce as an example.
props westonruter for initial patch.
fixes #31294 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32054 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 15:09:21 +00:00
Aaron Jorbin
f78df13277
Remove Shiny Bulk Updates
...
Bulk updates don't need to be ajaxified so let's revert.
See #31770 , #29820 ,
git-svn-id: https://develop.svn.wordpress.org/trunk@32053 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 01:20:23 +00:00
Aaron Jorbin
91518f0070
Conditionally add AYS to leaving shiny updates
...
When a shiny update is happening or pending, we should make sure users don't accidentally leave the page. This simple notification should help prevent users from accidentally not updating when they want to update.
See #31769
Props ericlewis and adamsilverstein for initial patch
git-svn-id: https://develop.svn.wordpress.org/trunk@32052 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 00:59:16 +00:00
Helen Hou-Sandi
f64bf71719
Update more instances of default admin blues and grays.
...
props hugobaeta.
fixes #31234 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32051 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 21:19:54 +00:00