WordPress于2015年5月7日更新4.2.2,修复若干BUG

In addition to the security fixes, WordPress 4.2.2 contains fixes for 13 bugs from 4.2.1, including:

  • Fixes an emoji loading error in IE9 and IE10
  • Fixes a keyboard shortcut for saving from the Visual editor on Mac
  • Fixes oEmbed for YouTube URLs to always expect https
  • Fixes how WordPress checks for encoding when sending strings to MySQL
  • Fixes a bug with allowing queries to reference tables in the dbname.tablename format
  • Lowers memory usage for a regex checking for UTF-8 encoding
  • Fixes an issue with trying change the wrong index in the wp_signups table on utf8mb4 conversion
  • Improves performance of loop detection in _get_term_children()
  • Fixes a bug where attachment URLs were incorrectly being forced to use https in some contexts

翻译:

  1. 修复IE9和IE10的表情符号加载错误
  2. 修复Mac上的可视化编辑器键盘快捷键保存错误
  3. 修复YouTube的视频地址总是采用HTTPS的错误
  4. 修复发送MySQL字符串时WordPress的检查编码BUG
  5. 修复允许在dbname.tablename格式查询参考表的BUG
  6. 降低了使用正则表达式检查UTF-8编码时的内存占用
  7. 修复wp_signups表索引utf8mb4转换错误的问题
  8. 改善循环检测_get_term_children的性能()
  9. 修复了在某些情况下使用https,附件URL的错误

受影响文件

wp-admin/js/editor-expand.js
wp-admin/about.php
wp-admin/includes/update-core.php
wp-admin/includes/upgrade.php
wp-includes/taxonomy.php
wp-includes/compat.php
wp-includes/version.php
wp-includes/post.php
wp-includes/js/wp-emoji.js
wp-includes/js/wp-emoji-loader.js
wp-includes/js/tinymce/tiny_mce_popup.js
wp-includes/js/tinymce/tinymce.min.js
wp-includes/js/tinymce/plugins/wordpress/plugin.js
wp-includes/js/tinymce/tinymce.js
wp-includes/comment.php
wp-includes/wp-db.php
wp-includes/pluggable.php
wp-content/themes/twentyfifteen/genericons/example.html (deleted)
wp-content/themes/twentythirteen/genericons/example.html (deleted)
wp-content/themes/twentyfourteen/genericons/example.html (deleted)
readme.html