Gary Pendergast
fae5374051
Bump 4.1 branch to version 4.1.6.
...
Built from https://develop.svn.wordpress.org/branches/4.1@33396
git-svn-id: http://core.svn.wordpress.org/branches/4.1@33364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 11:05:21 +00:00
Gary Pendergast
a9e97c7ad5
Capabilities: When creating an auto-draft, ensure that the current user still has permission to do so.
...
Merge of [33357] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@33375
git-svn-id: http://core.svn.wordpress.org/branches/4.1@33346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 03:54:21 +00:00
Michael Adams
3989e1f450
Upgrade: `$wpdb->get_col_length()` sanity check: bail on unexpected return value.
...
Merges [32429] for the 4.1 branch.
See #32165 .
Built from https://develop.svn.wordpress.org/branches/4.1@32431
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 23:13:22 +00:00
Dominik Schilling
3e3300395a
Add closing paragraph tag for the 4.1.5 changelog entry.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32428
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 23:04:23 +00:00
Dominik Schilling
3aa108639d
4.1.5 version bumps.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32425
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 22:18:23 +00:00
Michael Adams
2b8283ed89
Upgrade: Ensure unintelligible DB schemas don't result in content loss.
...
Merge of [32417] to the 4.1 branch.
See #32165 .
Props ocean90.
Built from https://develop.svn.wordpress.org/branches/4.1@32419
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 21:51:24 +00:00
Aaron Jorbin
26563868af
When upgrading WordPress remove genericons example.html files
...
[32385] for 4.1 branch
Props @dd32, @boonebgorges, @johnjamesjacoby, @drewapicture, @jorbin
Built from https://develop.svn.wordpress.org/branches/4.1@32401
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:58:22 +00:00
Michael Adams
bb96e5b686
WPDB: When checking that a string can be sent to MySQL, we shouldn't use `mb_convert_encoding()`, as it behaves differently to MySQL's character encoding conversion.
...
Merge of [32364] to the 4.1 branch.
Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt.
See #32165 .
Built from https://develop.svn.wordpress.org/branches/4.1@32387
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:07:25 +00:00
Gary Pendergast
9037f65f7a
4.1: When upgrading, remove any suspicious comments.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32312
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-27 17:13:24 +00:00
Helen Hou-Sandí
5f82891015
The 4.1 branch is now 4.1.3.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32281
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-23 19:57:25 +00:00
Gary Pendergast
40fd7427e5
4.1: Update about.php.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32220
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 17:41:23 +00:00
Gary Pendergast
9d3a4d67c2
Ensure post titles are correctly escaped on the Dashboard. Merge of [32175] to the 4.1 branch.
...
Props helen, ocean90, dd32, pento.
Built from https://develop.svn.wordpress.org/branches/4.1@32176
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 07:42:23 +00:00
Dion Hulse
ae731c8312
Upgrades: Specifically pass the 'version' and 'locale' POST vars through the Core Update FTP credentials form.
...
This bug was introduced with [30384] / #30245 .
Merges [31527] to the 4.1 branch.
Fixes #31378 .
Built from https://develop.svn.wordpress.org/branches/4.1@31528
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-24 03:24:25 +00:00
Andrew Nacin
67990a8e87
Remove errant string.
...
Built from https://develop.svn.wordpress.org/branches/4.1@31475
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-18 21:46:22 +00:00
Dominik Schilling
49ec4553c3
About: Add changelog for 4.1.1.
...
Built from https://develop.svn.wordpress.org/branches/4.1@31474
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-18 20:25:23 +00:00
Dion Hulse
0c28c25442
Revert [31080] from the 4.1 branch and replace it with a small function in an already changed file.
...
By doing this, we avoid shipping 400KB of changed CSS for such a minor css addition.
See https://build.trac.wordpress.org/changeset/31061 for the full size of [31080] in build.
See #30895 .
Built from https://develop.svn.wordpress.org/branches/4.1@31435
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 05:37:22 +00:00
Dion Hulse
f7eb6f17e3
Move the (recently added) `.notice` admin notices below the first H2, same as the `.updated` and `.error` notices.
...
Props sippis.
Merges [31023] to the 4.1 branch.
Fixes #30885 .
Built from https://develop.svn.wordpress.org/branches/4.1@31434
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 05:21:22 +00:00
Dion Hulse
281b8022e1
Prevent IE9 and lower displaying the download file dialogue when attempting
...
to upload using the `html4` Plupload handler.
The HTML4 Plupload handler uses a hidden iframe to POST the upload form, and
unfortunately Internet Explorer 9 doesn't support the `application/json`
content-type which `wp_send_json_success()` and requires `text/html` instead.
This partially reverts [30354], keeping the better error messages.
Merges [31429] to the 4.1 branch.
Fixes #31037 .
Built from https://develop.svn.wordpress.org/branches/4.1@31430
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 01:33:24 +00:00
Dion Hulse
14fb3b11d6
Customizer: Improve IE 8 compatibility.
...
* Use square bracket notation for `default` keywords.
* Use Underscores `indexOf` for arrays.
Props westonruter, ocean90.
Merges [30991] to the 4.1 branch.
Fixes #30781 .
Built from https://develop.svn.wordpress.org/branches/4.1@31397
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 01:41:24 +00:00
Dion Hulse
cee0dfd66f
Updates: Display plugin update rows even for plugins which are not hosted by WordPress.org or the HTTP request times out on.
...
See #29583 .
Merges [31382] to the 4.1 branch.
Fixes #30767 .
Built from https://develop.svn.wordpress.org/branches/4.1@31383
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 06:35:22 +00:00
Dion Hulse
ab103b5bf9
Default `$parent` in `category_exists()` should default to null rather than 0.
...
[29863] made the corresponding change in `term_exists()`. Failure to change the
default value in `category_exists()` meant that an unspecified value for
`$parent` would limit results to top-level categories.
Includes unit tests and corrected function documentation.
Props hissy.
Merges [31140] to the 4.1 branch.
Fixes #30975 .
Built from https://develop.svn.wordpress.org/branches/4.1@31376
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 02:22:23 +00:00
Aaron Jorbin
18d810cf14
TinyMCE: Remove dashicon-no-alt.png, unused since [30694].
...
merges [31073] to 4.1 branch.
props kpdesign, MattyRob.
fixes #30791 .
Built from https://develop.svn.wordpress.org/branches/4.1@31088
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 06:27:22 +00:00
Aaron Jorbin
fa81716df2
Themes: Fix position of admin notice with .notice class.
...
merges [31054] to the 4.1 branch
props SergeyBiryukov
fixes #30895 .
Built from https://develop.svn.wordpress.org/branches/4.1@31080
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 05:54:23 +00:00
Aaron Jorbin
9c1e85d376
Set the type attribute of the buttons for logging out of all sessions to buttons
...
By not setting this attribute, the buttons default to submit and as the first
submit button on the page, it causes pressing the enter key to log you out of
all sessions. This change restores the pre 4.1 behavior where pressing enter
while focused on a form field submits the form.
merges [31010] to the 4.1 branch
props ocean90
fixes #30871
Built from https://develop.svn.wordpress.org/branches/4.1@31076
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 04:42:26 +00:00
Andrew Nacin
9917bc6ea3
Cache-bust CDN URLs, as the images have been optimized.
...
Built from https://develop.svn.wordpress.org/branches/4.1@30973
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:15:21 +00:00
Andrew Nacin
4c59429498
About page: CDN images.
...
Merges [30971] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30972
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:01:25 +00:00
Andrew Nacin
6ace544904
About page RTL fixes.
...
Merges [30951] and [30952] to the 4.1 branch.
props helen, alex-ye.
fixes #30743 , #30748 .
Built from https://develop.svn.wordpress.org/branches/4.1@30957
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:31:23 +00:00
John Blackbourn
2fba9b2f63
About: Fix the WordPress badge.
...
`css-clean` (minifies our CSS) has an issue when using multiple backgrounds and background position together. Instead of relying on browser support for multiple backgrounds to display the WP logo as SVG, use the `.svg` CSS class.
Merges [30946] to the 4.1 branch.
Fixes #30735 .
Built from https://develop.svn.wordpress.org/branches/4.1@30949
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:28:22 +00:00
John Blackbourn
3f08968a01
Pass locale to wordpress.org theme/plugin API.
...
In the future this will be used to return localized plugin/theme info.
Merges [30944] to the 4.1 branch.
See #30735 .
Built from https://develop.svn.wordpress.org/branches/4.1@30948
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:24:23 +00:00
John Blackbourn
de9f42c952
Editor, new DFW: fix fading out for the right sidebar in IE.
...
Merges [30853] to the 4.1 branch.
Fixes #30714 .
Built from https://develop.svn.wordpress.org/branches/4.1@30942
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:31:21 +00:00
Sergey Biryukov
608ed06fc8
No need for wp_get_password_hint() to be prefixed as if it is private.
...
Merges [30855] to the 4.1 branch.
props nacin.
see #21243 .
Built from https://develop.svn.wordpress.org/branches/4.1@30940
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:19:22 +00:00
Andrew Nacin
84b9ec9070
Customizer: Add `_wp_attachment_is_custom_background` meta to uploaded background images.
...
Merges [30885] to the 4.1 branch.
props ocean90.
fixes #30707 .
Built from https://develop.svn.wordpress.org/branches/4.1@30931
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:29:22 +00:00
Andrew Nacin
2b12434ad9
Last about page string. Merges [30929] to the 4.1 branch.
...
props celloexpressions.
fixes #30435 .
Built from https://develop.svn.wordpress.org/branches/4.1@30930
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:28:24 +00:00
John Blackbourn
9d8bc7aa6f
Make the DFW paragraph on the About page narrower to mitigate an orphan in Firefox.
...
Merges [30921] to the 4.1 branch.
See #30435
Props melchoyce
Built from https://develop.svn.wordpress.org/branches/4.1@30922
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:03:23 +00:00
John Blackbourn
1b4e81a614
Background Updates: Pass back whether Group Writable support is being leveraged for an update to the WordPress.org API.
...
Merges [30860] to the 4.1 branch.
See #30245
Built from https://develop.svn.wordpress.org/branches/4.1@30920
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:54:23 +00:00
John Blackbourn
7cc8dd8985
Improve the fix for menu shakiness when over-scrolling. Recalculate heights on editor auto-resize.
...
Merges [30852] to the 4.1 branch.
See #30692 .
Built from https://develop.svn.wordpress.org/branches/4.1@30918
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:43:22 +00:00
John Blackbourn
7736e255fc
Fix menu shakiness when over-scrolling in Chrome and Safari on MacOS.
...
Merges [30844] to the 4.1 branch.
See #30692 .
Built from https://develop.svn.wordpress.org/branches/4.1@30917
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:42:23 +00:00
John Blackbourn
2c5c4f0567
Customizer: Import missing `wp.customize.Control.prototype._toggleActive`.
...
Check also if `completeCallback` is set before calling it.
Merges [30871] to the 4.1 branch.
Props westonruter.
See #30701 .
Built from https://develop.svn.wordpress.org/branches/4.1@30916
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:36:22 +00:00
John Blackbourn
3f71a916fa
Customizer: Remove date filter from the Header/Background Image upload frames.
...
Adds an option to `wp.media.view.AttachmentsBrowser` to hide the date filter added in [29813].
Merges [30872] to the 4.1 branch.
See #30689 .
Built from https://develop.svn.wordpress.org/branches/4.1@30915
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:21:22 +00:00
John Blackbourn
b7cb613504
Customizer: Re-add the possibility to remove and restore a default background image.
...
Merges [30849] to the 4.1 branch.
Fixes #30683
Built from https://develop.svn.wordpress.org/branches/4.1@30911
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 17:10:22 +00:00
John Blackbourn
46ff132197
iOS: do not autofocus the readonly textarea with the code for wp-config.php in setup-config.php.
...
Merges [30843] to the 4.1 branch.
Fixes #30703 .
Built from https://develop.svn.wordpress.org/branches/4.1@30909
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 15:53:21 +00:00
John Blackbourn
7dd30dce0a
Do not autofocus text fields on page load on mobile devices. This is currently broken in many mobile browsers:
...
- iOS Safari opens the keyboard and auto-scrolls on the first tap anywhere on the screen triggering the click at an unexpected place. That makes it impossible to follow links or press buttons.
- Chrome on iOS opens the keyboard on load and may scroll the focused field off screen.
- The Android 4.4 browser only highlights the field, the user has to tap it to open the keyboard and type.
Merges [30842] to the 4.1 branch.
See #30703 .
Built from https://develop.svn.wordpress.org/branches/4.1@30908
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 15:52:23 +00:00
John Blackbourn
a4b0effcb6
Move a `<code>` tag out of a localised string on the About page.
...
Merges [30903] to the 4.1 branch.
Props pavelevap
See #30435
Built from https://develop.svn.wordpress.org/branches/4.1@30904
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 14:06:22 +00:00
John Blackbourn
3a78c06619
Autoprefixer for [30857].
...
Merges [30884] to the 4.1 branch.
See #30435 .
Built from https://develop.svn.wordpress.org/branches/4.1@30902
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:43:22 +00:00
John Blackbourn
bc2b5e6574
Update/add plugin recommendation strings.
...
Update [30887], add a translation function to the Vine string.
Merges [30889] to the 4.1 branch.
Fixes #30337 .
Built from https://develop.svn.wordpress.org/branches/4.1@30898
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:21:22 +00:00
John Blackbourn
337444a837
Updates to the 'Log out everywhere' implementation.
...
* Include a message and a disabled button when you're only logged in at one location.
* Avoid leaking the session token in HTML.
* Simplify, simplify, simplify.
Merges [30888] to the 4.1 branch.
Fixes #30264 .
Built from https://develop.svn.wordpress.org/branches/4.1@30895
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:53:24 +00:00
John Blackbourn
dcf43205a0
Finalize two more about page strings.
...
Merges [30887] to the 4.1 branch.
See #30435
Built from https://develop.svn.wordpress.org/branches/4.1@30894
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:30:21 +00:00
John Blackbourn
20321d7cd9
Call it 'Distraction-free writing mode' and update the help string.
...
Merges [30890] to the 4.1 branch.
Fixes #30657 .
Built from https://develop.svn.wordpress.org/branches/4.1@30892
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:15:24 +00:00
John Blackbourn
45c28a1e96
Correct the height of the search type `select` element when searching the plugin directory.
...
Merges [30879] to the 4.1 branch.
Fixes #30719
Props pavelevap, eliorivero
Built from https://develop.svn.wordpress.org/branches/4.1@30880
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:34:24 +00:00
John Blackbourn
8e7db5e875
Fix search box position on the Add Plugins screen after resizing the window to narrower than 1000px and then back to wider than 1200px.
...
Merges [30830] to the 4.1 branch.
Fixes #30658 .
Built from https://develop.svn.wordpress.org/branches/4.1@30878
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:31:28 +00:00