当サイト、Codex 日本語版は今後積極的な更新は行わない予定です。後継となる新ユーザーマニュアルは、https://ja.wordpress.org/support/ にあります。
万が一、当サイトで重大な問題を発見した際などは、フォーラムWordSlack #docs チャンネルでお知らせください。</p>

Version 4.2

提供: WordPress Codex 日本語版
2015年4月24日 (金) 16:26時点におけるHinaloe (トーク | 投稿記録)による版 (2015-04-24T05:03:39‎ Ocean90 版に更新)

移動先: 案内検索

このページ「Version 4.2」は未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています

2015年4月X日に WordPress バージョン 4.2 "Powell" が公開されました。ジャズミュージシャンの Bud Powell から命名されています。詳しくは WordPress Blog および en:Changelog/4.2 を参照してください。

Version 4.2 ではデータベースバージョン (db_version in wp_options) が 31532 に変更となり、Trac でのリビジョンは XXXXXX となりました。

  • 詳細
    • Press This has been completely revamped. Clip it, edit it, publish it. Get familiar with the new and improved Press This. From the Tools menu, add Press This to your browser bookmark bar or your mobile device home screen. Once installed you can share your content with lightning speed. Sharing your favorite videos, images, and content has never been this fast or this easy.
    • Now you can browse and switch installed themes in the Customizer. Browse and preview your installed themes from the Customizer. Make sure the theme looks great with your content, before it debuts on your site.
    • More intuitive plugin update and install from the Plugins Screen. Goodbye boring loading screen, hello smooth and simple plugin updates. Click Update Now and watch the magic happen.
    • Writing in WordPress, whatever your language, just got better. WordPress 4.2 supports a host of new characters out-of-the-box, including native Chinese, Japanese, and Korean characters, musical and mathematical symbols, and hieroglyphs. Don’t use any of those characters? You can still have fun — emoji are now available in WordPress! Get creative and decorate your content with 💙, 🐸, 🐒, 🍕, and all the many other emoji.
  • 開発者向け
    • The new wp.a11y.speak() API is available. When a change on the page happens, you can make sure that screen reader users are notified with this helper.
    • The default admin color scheme has been tweaked. Minor, but if you use the WordPress colors directly in your code, you should update the code.
    • When possible, WordPress now will use utf8mb4 as the database character set.
    • Terms shared across multiple taxonomies will now be split into separate terms when one of them is updated.
    • The experimental TinyMCE views API has continued to evolve. As this is an experimental API, use in production is not recommended unless you closely follow the development as breaking changes are possible.
    • Two UI components used by core, spinners and admin notices, have been improved. The change to spinners is a change to how they are added and the change to admin notices is the ability to optionally make them dismissible.
    • Complex queries - Support specific meta_query clauses to be used with orderby, added to WP_Query, WP_Comment_Query, and WP_User_Query

What's New

全般

投稿

メディア

外観

ユーザー

インストールプロセス

  • Shiny Plugin Updates

アクセシビリティ

  • wp_a11y_speak

マルチサイト

開発者向けの変更

  • Unit test info here
  • Update readme recommendations.
  • Change WP_Filesystem_FTPext::exists() and WP_Filesystem_ftpsockets::exists() to return true for empty directories.

全般

  • Replace generic “Dear user” greeting in email notifications with a more personalized one.
  • Improved usability on mobile devices
  • Improved behavior when switching between admin color schemes.
  • Update the default admin color scheme for more unity and refinement.
  • RTL improvements
  • Gravatars: Enable HiDPI versions for browsers that support srcset.
  • Improve cache behavior with multisite and plugins

Administration

  • Themes: Hide admin toolbar on smaller screens, reduce page 'jump'
  • Star ratings: Color scheme improvements
  • Nav menus: Better JS performance on initial load of edit screen.
  • Settings API: Allow passing a class to add_settings_field() via the $args array.
  • Introduce a logout_redirect filter so the redirect destination can be changed when a user logs out.
  • Dashboard: Add a filter for the query arguments used for the Recent Posts widget.
  • Screen Options: Improve items per page option label. Add a default label “Number of items per page:” to WP_Screen->render_per_page_options() and remove all the existing one-word labels.
  • Remove single-use URL parameters and create canonical link based on new URL.
  • Admin notices: Make (most) core notices dismissible. These no longer return upon refreshing the page when JS is on and working, so users should be able to dismiss them.

Comments

  • Comments: Show more identifying information for moderation and editing.
  • Move HTML tags for screen reader text into translatable strings.
  • Improve method consistency in WP_Comment_Query. These changes bring WP_Comment_Query syntax closer to that of WP_Query.
  • Improved behavior with screen readers

Customizer

  • Theme Switcher improvements for handling widgets and functioning on mobile
  • Improved parity of design with other admin pages (such as hiding front page option if there are no pages)
  • Add loading indicators for the Customizer preview.
  • Add audio/video previews for upload controls.
  • Added unit tests

Database

  • If a site is using the utf8 charset, and their version of MySQL supports utf8mb4, auto-upgrade them to utf8mb4.
  • Improve HHVM compatibility.

Editor

  • Always refresh the view after updating a gallery.
  • Ensure the image toolbar stays visible when the image is much wider than the editor.

Embeds

  • Improved safe degredation of oEmbed discovery failures
  • Remove oEmbed support for Revision3.
  • Allow https URLs for Instagram embeds, and switch to https for its oEmbed API endpoint.
  • Add oEmbed support for Kickstarter.
  • Add oEmbed support for Tumblr.

Emoji

  • Add emoji support, with Twemoji fallback for displaying slugs in wp-admin, when the browser doesn’t natively support emoji.

Feeds

  • Enable more flexibility for non-URL GUIDs.

Media

  • Fix display issues with IE8 and below
  • Allow inline editing of width and height parameters while previewing an embed in the media modal.
  • Allow attachments to be detached from their parent in media grid and list modes.

Multisite

  • Use get_admin_url() to get the correct My Sites URL without calling switch_to_blog() directly.
  • Create the My Sites URL in the context of a user’s primary site.
  • Improve experience when deleting users from a multisite network.

Plugins

  • Design tweaks to plugin display banners

Posts, Post Types, & Pages

  • Reduce processing time, database queries, and memory use on sites with a high number of Pages when listing page views.

Press This

  • Add missing access modifiers to WP_Press_This.
  • Add press-this.css to the list of stylesheets that are minified and to list of RTL styles.[31572]
  • Make sure buttons.css is loaded before press-this.css.
  • Use correct URL for update bookmarklet link.
  • Go back to loading the minified bookmarklet content with file_get_contents(). Add Grunt task to minify bookmarklet.js on precommit and update it in /src.
  • Improve handling of the data, both from the bookmarklet and from server-side parsing.
  • Remove unneeded passing of post formats strings to JS. Set the currently selected post format name with jQuery.
  • Remove obsolete help tab in Settings -> Writing.
  • update _limit_url(), use esc_url_raw().
  • Filter and select the content on the PHP side. Then pass only the needed data to JS.
  • Add preview functionality. Opens the preview in a new window or a tab next to the source tab.

Script Loader

  • jQuery UI: Add missing dependencies for puff and scale effects.
  • Separate the tests for IE conditional comments support in WP_Scripts.
  • jQuery UI: Add jquery-ui-core as dependency forjquery-ui-progressbar.
  • Load json2.js only in IE7 and older.

Taxonomy

  • Split shared taxonomy terms on term update.

Themes

  • Improved display of themes in admin with color contrast and Chrome compatibility
  • Add feedback for screen readers when search results are changed.

Bundled Themes

  • Update CSS rules for .screen-reader-text to be consistent with current accessibility guidelines.
  • Fill in support for screen-reader-text class.
  • Escaping and minor code style issues.
  • add ARIA attributes where applicable
  • Use SSL for theme and author URIs.
  • Update editor styles to better display images and captions in small screens.
  • Update Translations
  • Twenty Fourteen:
    • Make twentyfourteen_post_thumbnail() pluggable.
  • Twenty Fifteen:
    • move RSS icon style rule lower to prevent it from being overridden by other social icon rules.

TinyMCE

  • Update TinyMCE to 4.1.9.
  • Add wp.a11y.speak() for audible alerts/updates in screen readers.
  • Prepend ​http:// to pasted URLs.
  • Better docs and structure
  • Improve embed previews

Updates, Upgrades, Installs

  • Shiny Updates: Allow plugins to update 'in place'

Users

  • Update the password strength indicator when creating new users.

Bug Fixes

A total of 231 bugs reported against previous versions of WordPress were fixed.

Classes

What's New

  • Introduce ‘childless’ parameter to get_terms().
  • Introduce show_in_quick_edit parameter + filter for register_taxonomy().
  • Introduce setExpectedDeprecated() and setExpectedIncorrectUsage() methods to WP_UnitTestCase.
  • Introduce delete_site meta capability.
  • Introduce 'value_field' parameter to wp_dropdown_pages(). This parameter allows developers to choose the post field that will be used to fill in the ‘option’ attribute of the generated dropdown markup.
  • Introduce $autoload parameter to update_option().

非推奨

関数

What's New

  • Make a new function, wp_delete_file(). Use it.
  • Introduce a function, wp_attachment_is( $type, $post = 0 ), to collapse the logic for determining whether an attachment is an image, audio, or video.


アクション & フィルター

新規追加アクション


新規追加フィルター


外部ライブラリ

  • jQuery UI を 1.11.4 へ更新。
  • jQuery を 1.11.2 へ更新。
  • hoverIntent を 1.8.1 へ更新。
  • MediaElement を 2.16.4 へ更新。


WordPress バージョンの一覧もあわせてご覧ください。

最新英語版: WordPress Codex » Version_4.2最新版との差分