Commit Graph

181 Commits

Author SHA1 Message Date
Gary Pendergast
32b8ff1b14 Schema: Increase the length of wp_options.option_name.
It's pretty easy to run over the `option_name` length, which causes undefined behaviour when inserting and retrieving options. Increasing the length from `VARCHAR(64)` to `VARCHAR(191)` significantly reduces the risk of this occurring.

Because `option_name` has a `UNIQUE` index, we can only increase it to 191 characters, rather than 255. The index can only use a prefix of 191 characters, so will incorrectly restrict long different strings that have the same prefix, if we make the column longer.

Props scribu, OriginalEXE, khromov, MikeHansenMe, netweb, pento.

Fixes #13310.



git-svn-id: https://develop.svn.wordpress.org/trunk@34030 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-11 01:25:21 +00:00
Andrew Ozz
cc18f258cb TinyMCE: update to 4.2.5, changelog: http://www.tinymce.com/develop/changelog/?ctrl=version&act=index&pr_id=1.
Fixes #33782 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@33981 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-09 19:44:09 +00:00
Dion Hulse
63fd3a32dd Term Splitting: Fix a reversal of parameters to wp_schedule_single_event() introduced in [33621].
The existing invalid cron entries will not be purged automatically (as the 'timestamp' is never matched) so we do this ourselves.

Props mechter for noticing!
See #30261.
Fixes #33423 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@33646 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-19 11:30:42 +00:00
Helen Hou-Sandi
e048854dc1 Trunk is now 4.4-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@33636 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-18 19:31:23 +00:00
Konstantin Obenland
08a58ff927 WordPress 4.3
git-svn-id: https://develop.svn.wordpress.org/trunk@33633 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-18 18:01:25 +00:00
Konstantin Obenland
8f23b0db45 4.3-RC3-33629
git-svn-id: https://develop.svn.wordpress.org/trunk@33629 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-17 21:45:42 +00:00
Konstantin Obenland
c992631099 4.3-RC3
git-svn-id: https://develop.svn.wordpress.org/trunk@33628 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-17 21:39:05 +00:00
Dominik Schilling (ocean90)
e8b5345004 WordPress 4.3-RC2-33572.
git-svn-id: https://develop.svn.wordpress.org/trunk@33572 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 11:47:49 +00:00
Dominik Schilling (ocean90)
7fc5d6e2a4 WordPress 4.3-RC2.
git-svn-id: https://develop.svn.wordpress.org/trunk@33571 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-04 11:43:07 +00:00
Andrew Ozz
2dfd08f05a TinyMCE: update to 4.2.3, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt.
Fixes #33203.

git-svn-id: https://develop.svn.wordpress.org/trunk@33516 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-30 17:06:23 +00:00
Konstantin Obenland
37605bdd38 4.3-RC1-33514
git-svn-id: https://develop.svn.wordpress.org/trunk@33514 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:52:05 +00:00
Konstantin Obenland
59518e1625 4.3-RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@33513 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:46:05 +00:00
Konstantin Obenland
652abe51cc 4.3-beta4-33371
git-svn-id: https://develop.svn.wordpress.org/trunk@33371 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 21:56:39 +00:00
Konstantin Obenland
b850d9d9f1 4.3-beta4
git-svn-id: https://develop.svn.wordpress.org/trunk@33370 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 21:50:50 +00:00
Andrew Ozz
eee2fa493b TinyMCE: update to 4.2.2. Changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt.
Fixes #33033, #33042. See #33083.

git-svn-id: https://develop.svn.wordpress.org/trunk@33369 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 21:11:44 +00:00
Konstantin Obenland
149ab85049 4.3-beta3-33288
git-svn-id: https://develop.svn.wordpress.org/trunk@33288 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 21:50:34 +00:00
Konstantin Obenland
ef95b71523 4.3-beta3
git-svn-id: https://develop.svn.wordpress.org/trunk@33287 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 21:42:47 +00:00
Konstantin Obenland
3e5e085bb0 4.3-beta2-33140
git-svn-id: https://develop.svn.wordpress.org/trunk@33140 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 22:05:19 +00:00
Konstantin Obenland
6ce24e8d5d 4.3-beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@33139 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 21:38:57 +00:00
Dion Hulse
e709e91218 Enable utf8mb4 for MySQL extension users. Previously utf8mb4 was limited to MySQLi users only unintentionally.
This change does the following things
 * Allows utf8mb4 for the MySQL extension
 * Re-runs the utf8->utf8mb4 conversion for single sites, this will do nothing for tables already converted
 * Re-runs the utf8->utf8mb4 conversion for global tables in multisite when the environment supports utf8mb4
 * Removes upgrade_420() calling as upgrade_430() will perform those changes now instead

The index shortenings should have still taken place on utf8 sites previously, so there's no need to run those again. 

Props kovshenin, pento, dd32
Fixes #32127 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@33055 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-03 03:25:07 +00:00
Konstantin Obenland
5c531b9969 4.3-beta1-33046
git-svn-id: https://develop.svn.wordpress.org/trunk@33046 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-02 01:35:01 +00:00
Konstantin Obenland
83f8f62739 4.3-beta1
git-svn-id: https://develop.svn.wordpress.org/trunk@33044 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-02 01:21:05 +00:00
Andrew Ozz
58f914004d TinyMCE: update to 4.2.1. Changelog: https://github.com/tinymce/tinymce-dist/blob/master/changelog.txt.
Fixes #32801.

git-svn-id: https://develop.svn.wordpress.org/trunk@33013 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-01 00:51:22 +00:00
Boone Gorges
f9ae6b826a Split all shared taxonomy terms on upgrade to 4.3.
Dear Shared Terms, Welcome to Splitsville. Population: You.

See #30261.

git-svn-id: https://develop.svn.wordpress.org/trunk@32814 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-17 01:52:46 +00:00
Gary Pendergast
231c73751b On the Writing Options screen, hide the Balance Tags and Convert Smilies options on new installs.
Fixes #5161.
Fixes #32298.



git-svn-id: https://develop.svn.wordpress.org/trunk@32454 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 06:51:52 +00:00
Gary Pendergast
ca11cafb07 Upgrades: When converting to utf8mb4, we were trying to change the wrong index on wp_signups, causing the conversion to later fail.
Props kovshenin, pento.

See #32099.



git-svn-id: https://develop.svn.wordpress.org/trunk@32378 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 07:33:53 +00:00
Andrew Ozz
8737968ac2 TinyMCE: update to 4.1.10.
Fixes #32262.

git-svn-id: https://develop.svn.wordpress.org/trunk@32366 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 03:22:04 +00:00
Gary Pendergast
2ce97b2984 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.
Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt.

See #32165.



git-svn-id: https://develop.svn.wordpress.org/trunk@32364 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 02:59:50 +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
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
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
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
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
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
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
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
3265aad744 TinyMCE wpView:
- Fix editor undo levels.
- Remove views and markers in the DOM before serialization.
- Unbind views before removing them on hide.
- Empty the content in the timeout, so it doesn't render iframes twice.
Props iseulde. Fixes #31669.

git-svn-id: https://develop.svn.wordpress.org/trunk@32022 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 22:59:07 +00:00
Drew Jaynes
3e0278aa94 Post-beta4 bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@31998 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 13:00:53 +00:00
Drew Jaynes
123b684b84 WordPress 4.2-beta4
git-svn-id: https://develop.svn.wordpress.org/trunk@31997 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 12:51:02 +00:00
Drew Jaynes
3bf1329f40 Beta3 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@31988 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 21:42:49 +00:00
Drew Jaynes
e3107dac1f Post-beta3 bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@31903 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 18:36:39 +00:00
Drew Jaynes
e72c793502 WordPress 4.2-beta3
git-svn-id: https://develop.svn.wordpress.org/trunk@31902 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 18:14:37 +00:00
Drew Jaynes
074eba3a53 4.2-beta2-31866
git-svn-id: https://develop.svn.wordpress.org/trunk@31866 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-23 12:27:08 +00:00
Drew Jaynes
dd8511c35b WordPress 4.2-beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@31835 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 19:18:37 +00:00
Drew Jaynes
a0d10f45cf Post 4.2-beta1 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@31767 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 17:25:42 +00:00