• 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細

このWikiはいつでも誰でも編集できます

「Version 4.7」の版間の差分

提供: WordPress Codex 日本語版
移動先: 案内検索
(和訳完了 en:Version_4.7 20:49, 30 October 2016‎ Ramiy版)
(最新英語版を反映 en:Version_4.7 17:29, 4 December 2016‎ Atachibana版)
8行目: 8行目:
 
==ハイライト<span id ="Highlights"></span>==
 
==ハイライト<span id ="Highlights"></span>==
  
* '''新しいデフォルトテーマ''' - '''[https://wordpress.org/themes/twentyseventeen/ Twenty Seventeen]'''
+
;New Default Theme - Twenty Seventeen: It is an ambitious theme designed for business websites that focuses on a creative home page and an easy site setup experience for users ([https://make.wordpress.org/core/2016/10/18/twenty-seventeen-merge-proposal-for-4-7/ read more 1] and [https://make.wordpress.org/core/2016/11/29/theming-with-twenty-seventeen/ 2]).
* '''REST API コンテンツエンドポイント''' - WordPress コンテンツ用の API エンドポイント
+
 
 +
[[image:twenty-seventeen-top.png|600px|Twenty Seventeen Top Image]]
 +
 
 +
* multiple sections on the front page, selected in the Customizer.
 +
* a striking asymmetrical grid.
 +
* custom color schemes, built on top of a monochromatic foundation, and adjustable via a hue picker.
 +
* different headline placement for pages, changeable in the Customizer, via them options.
 +
* a great experience in many languages, thanks to language-specific font stacks.
 +
* SVG icons (a first for a default theme).
 +
* support for custom logo, custom header image and many post formats.
 +
* the use of [https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7 new functions in Core] for making child theming easier.
 +
<blockquote>'''Note''': Twenty Seventeen only works on 4.7 and above. It uses the new video header and starter content features, each launched in 4.7.</blockquote>
 +
 
 +
;REST API Content Endpoints: API endpoints for WordPress content. WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings. Content endpoints provide machine-readable external access to your WordPress site with a clear, standards-driven interface, paving the way for new and innovative methods of interacting with your site.
 +
 
  
 
===詳細<span id="The_Finer_Points"></span>===
 
===詳細<span id="The_Finer_Points"></span>===
  
* '''ユーザーごとの言語設定''' - バックエンドでもユーザーは好みのロケールを選択可能に
+
;Theme Starter Content: Starter Content is the theme-specific selections of content to help showcase a theme to users and serve as a starting point for further setup of new sites. The initial view of a theme with starter content will only happen for "fresh sites" - new installs that have not yet had any posts, pages, widgets, or customizer settings updated ([https://make.wordpress.org/core/2016/11/30/starter-content-for-themes-in-4-7/ read more]).
 +
 
 +
;Edit Shortcuts: Visible icons appear to show you which parts can be customized right there while live previewing. Click on a shortcut and get straight to editing, no decoding of widget area names or extra clicks needed. Paired with starter content, getting started with customizing your site is faster than ever ([https://make.wordpress.org/core/2016/11/10/visible-edit-shortcuts-in-the-customizer-preview/ read more]).
 +
 
 +
;Video Headers: WordPress 4.7 extends the Custom Header feature to introduce support for video. Video headers play automatically, loop by default, and don't have sound. They work best when paired with an image, so they can progressively enhance the experience when video is supported [https://make.wordpress.org/core/2016/11/26/video-headers-in-4-7/ read more].
 +
 
 +
;Smoother Nav Menu Building: Many primary navigation menus for sites contain links to the pages of your site. But what happens when you don't have any pages yet? Now you can add new pages while building nav menus instead of leaving the customizer and abandoning your changes. Once you've published your customizations, you'll have new pages ready for you to fill with content ([https://make.wordpress.org/core/2016/06/16/feature-proposal-content-authorship-in-menus-with-live-preview/ read more]).
 +
 
 +
;Custom CSS: Sometimes you just need a few more visual tweaks to make your site perfect, or a plugin adds something that doesn't quite look right with your site. WordPress 4.7 allows you to instantly see changes while adding custom CSS to give your site that polish ([https://make.wordpress.org/core/2016/10/11/feature-proposal-better-theme-customizations-via-custom-css-with-live-previews/ read more 1] and [https://make.wordpress.org/core/2016/11/26/extending-the-custom-css-editor/ 2]).
 +
 
 +
;User Admin Languages and Locale Switching: Users can select their preferred locale (language) when editing their profile. The back end will be displayed in the user's individual locale while the locale used on the front end equals the one set for the whole site ([https://make.wordpress.org/core/2016/11/07/user-admin-languages-and-locale-switching-in-4-7/ read more]).
 +
 
 +
;PDF Thumbnail Previews: Managing your document collection is easier with WordPress Version 4.7, which now shows preview thumbnails instead of a generic icon for PDFs in the media library ([https://make.wordpress.org/core/2016/11/15/enhanced-pdf-support-4-7/ read more]).
  
 
===開発者向け<span id="For_Developers"></span>===
 
===開発者向け<span id="For_Developers"></span>===
  
* '''カスタム一括操作''' - 一覧表示画面において簡単に一括操作を登録可能 ([https://make.wordpress.org/core/2016/10/04/custom-bulk-actions/ 詳細])
+
;Custom Bulk Actions: Simpler way to register bulk actions on list table screens ([https://make.wordpress.org/core/2016/10/04/custom-bulk-actions/ read more]).
* '''投稿タイプ用のページテンプレート''' - 投稿タイプテンプレートのサポート ([https://core.trac.wordpress.org/changeset/38951 詳細])
+
 
* '''WP_Taxonomy''' - 新しい <tt>WP_Taxonomy</tt> クラスにはタクソノミー処理用のメソッドが追加。この変更によりグローバル <tt>$wp_taxonomies</tt> <tt>WP_Taxonomy</tt> オブジェクトの配列に変更 ([https://make.wordpress.org/core/2016/10/29/wp_taxonomy-in-4-7/ 詳細])
+
;Page Templates for Post Types: Add support for post type templates. By opening up the page template functionality to all post types, theme developers have even more flexibility with the WordPress template hierarchy ([https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/ read more]).
 +
 
 +
;WP_Taxonomy: New <tt>WP_Taxonomy</tt> class provides methods to handle taxonomies. This changes the global <tt>$wp_taxonomies</tt> to an array of <tt>WP_Taxonomy</tt> objects ([https://make.wordpress.org/core/2016/10/29/wp_taxonomy-in-4-7/ read more]).
 +
 
 +
;More Theme API Goodies: WordPress 4.7 includes new functions, hooks, and behavior for theme developers ([https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/ read more])
 +
 
 +
;WP_Hook: The code that lies beneath actions and filters has been overhauled. You likely aren't affected, but if you've done things to the $wp_filter global or experienced funky recursion bugs in the past, please take a moment to read the dev note and test your code ([https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/ read more])
 +
 
 +
;Customize Changesets: Browse your site and switch themes more seamlessly within the customizer, as your changes automatically persist in the background. Changesets also make exciting new features like starter content possible ([https://make.wordpress.org/core/2016/10/12/customize-changesets-formerly-transactions-merge-proposal/ read more).
 +
 
 +
;Attributes for Resource Hints: you're now able to pass specific HTML attributes to these resource hints to make even better use of them ([https://make.wordpress.org/core/2016/11/03/attributes-for-resource-hints-in-4-7/ read more]).
 +
 
 +
;wp_list_sort() and WP_List_Util: WordPress 4.7 brings a few enhancements to handling object or array lists. A new function <tt>wp_list_sort()</tt> makes it easy to sort object or array lists by one or more of its elements' properties. A new <tt>WP_List_Util</tt> class was introduced as a central access point for handling lists ([https://make.wordpress.org/core/2016/11/02/wp_list_sort-and-wp_list_util-in-4-7/ read more]).
  
 
==What's New==
 
==What's New==
25行目: 63行目:
  
 
===全般<span id="General"></span>===
 
===全般<span id="General"></span>===
 +
 +
;Editor Changes: There are a few noteworthy changes to the editor ([https://make.wordpress.org/core/2016/10/28/editor-changes-in-4-7/ read more]).
 +
* The headings drop down is moved to the top row.
 +
* The strike-through and horizontal rule button are moved down.
 +
* The underline and justify buttons have been removed from the bottom row.
 +
 +
[[image:v47_editor-toolbars.png|600px|Editor Toolbar]]
 +
 +
* Labels for keyboard shortcuts have been added to the tooltips for buttons and inside drop downs to make them easier to discover.
 +
 +
[[image:v47_editor-shortcuts-1.png|600px|Editor Keyboard Shortcut]]
  
  
33行目: 82行目:
 
===メディア<span id="Media"></span>===
 
===メディア<span id="Media"></span>===
  
* メディアライブラリをファイル名からも検索可能に
+
* Improving accessibility of image alternative text - No more default fallback. To ensure your images having meaningful alternative text, you should make sure to set a value for alt text in your media library ([https://make.wordpress.org/core/2016/11/11/improving-accessibility-of-image-alternative-text-in-4-7/ read more]).
 +
 
 +
* メディアライブラリをファイル名からも検索可能に ([https://core.trac.wordpress.org/ticket/22744 #22744])
  
 
===コメント<span id="Comments"></span>===
 
===コメント<span id="Comments"></span>===
40行目: 91行目:
 
===外観<span id="Appearance"></span>===
 
===外観<span id="Appearance"></span>===
  
 +
;Customizer Improvements: WordPress 4.7 has been the most active release on record for the customize component ([https://make.wordpress.org/core/2016/11/30/customizer-improvements-in-4-7/ read more]).
 +
* Create pages within live preview during site setup - Add new pages while building menus and setting a static front page; outline your site directly in the customizer ([https://make.wordpress.org/core/2016/06/16/feature-proposal-content-authorship-in-menus-with-live-preview/ read more]).
 +
* Improvements to the Sliding Panels UI - Customizer navigation is now faster, smoother, and more accessible ([https://make.wordpress.org/core/2016/09/28/changes-to-customizer-sliding-panelssections-in-wordpress-4-7/ read more 1] and [https://make.wordpress.org/core/2016/10/12/customize-changesets-technical-design-decisions/ 2]).
 +
* Customize Changesets - Browse your site and switch themes more seamlessly within the customizer, as your changes automatically persist in the background ([https://make.wordpress.org/core/2016/10/12/customize-changesets-formerly-transactions-merge-proposal/ read more]).
 +
* Custom CSS - Fine-tune your site and take your theme customizations to the next level with custom css in the customizer ([https://make.wordpress.org/core/2016/10/11/feature-proposal-better-theme-customizations-via-custom-css-with-live-previews/ read more 1] and [https://make.wordpress.org/core/2016/11/26/extending-the-custom-css-editor/ 2]).
  
 
===ユーザー<span id="Users"></span>===
 
===ユーザー<span id="Users"></span>===
74行目: 130行目:
  
 
=== マルチサイト <span id="Multisite"></span>===
 
=== マルチサイト <span id="Multisite"></span>===
 +
 +
* get_blog_details() replaced with get_site() ([https://core.trac.wordpress.org/ticket/37102 #37102])
 +
* blog_details filter deprecated ([https://core.trac.wordpress.org/ticket/38491 #38491])
 +
* _network_option actions and filters get $network_id ([https://core.trac.wordpress.org/ticket/38319 #38319], [https://core.trac.wordpress.org/ticket/38320 #38320], [https://core.trac.wordpress.org/ticket/38321 #38321] and [https://core.trac.wordpress.org/ticket/38322 #38322]
 +
* wp_get_network() deprecated [https://core.trac.wordpress.org/ticket/37533 #3753]
 +
  
  
113行目: 175行目:
  
 
{{Versions}}
 
{{Versions}}
{{原文|Version_4.7|158765}} <!-- 20:49, 30 October 2016‎ Ramiy版 -->
+
{{原文|Version_4.7|159029}} <!-- 17:29, 4 December 2016‎ Atachibana版 -->
  
 
[[Category:バージョン]]
 
[[Category:バージョン]]

2016年12月4日 (日) 17:39時点における版

2016年12月6日に WordPress バージョン 4.7 "xxxxx" が公開されます。ジャズミュージシャンの xxxxx から命名されています。詳しくは WordPress Blog および 4.7 の Changelog を参照してください。

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

ハイライト

New Default Theme - Twenty Seventeen
It is an ambitious theme designed for business websites that focuses on a creative home page and an easy site setup experience for users (read more 1 and 2).

Twenty Seventeen Top Image

  • multiple sections on the front page, selected in the Customizer.
  • a striking asymmetrical grid.
  • custom color schemes, built on top of a monochromatic foundation, and adjustable via a hue picker.
  • different headline placement for pages, changeable in the Customizer, via them options.
  • a great experience in many languages, thanks to language-specific font stacks.
  • SVG icons (a first for a default theme).
  • support for custom logo, custom header image and many post formats.
  • the use of new functions in Core for making child theming easier.
Note: Twenty Seventeen only works on 4.7 and above. It uses the new video header and starter content features, each launched in 4.7.
REST API Content Endpoints
API endpoints for WordPress content. WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings. Content endpoints provide machine-readable external access to your WordPress site with a clear, standards-driven interface, paving the way for new and innovative methods of interacting with your site.


詳細

Theme Starter Content
Starter Content is the theme-specific selections of content to help showcase a theme to users and serve as a starting point for further setup of new sites. The initial view of a theme with starter content will only happen for "fresh sites" - new installs that have not yet had any posts, pages, widgets, or customizer settings updated (read more).
Edit Shortcuts
Visible icons appear to show you which parts can be customized right there while live previewing. Click on a shortcut and get straight to editing, no decoding of widget area names or extra clicks needed. Paired with starter content, getting started with customizing your site is faster than ever (read more).
Video Headers
WordPress 4.7 extends the Custom Header feature to introduce support for video. Video headers play automatically, loop by default, and don't have sound. They work best when paired with an image, so they can progressively enhance the experience when video is supported read more.
Smoother Nav Menu Building
Many primary navigation menus for sites contain links to the pages of your site. But what happens when you don't have any pages yet? Now you can add new pages while building nav menus instead of leaving the customizer and abandoning your changes. Once you've published your customizations, you'll have new pages ready for you to fill with content (read more).
Custom CSS
Sometimes you just need a few more visual tweaks to make your site perfect, or a plugin adds something that doesn't quite look right with your site. WordPress 4.7 allows you to instantly see changes while adding custom CSS to give your site that polish (read more 1 and 2).
User Admin Languages and Locale Switching
Users can select their preferred locale (language) when editing their profile. The back end will be displayed in the user's individual locale while the locale used on the front end equals the one set for the whole site (read more).
PDF Thumbnail Previews
Managing your document collection is easier with WordPress Version 4.7, which now shows preview thumbnails instead of a generic icon for PDFs in the media library (read more).

開発者向け

Custom Bulk Actions
Simpler way to register bulk actions on list table screens (read more).
Page Templates for Post Types
Add support for post type templates. By opening up the page template functionality to all post types, theme developers have even more flexibility with the WordPress template hierarchy (read more).
WP_Taxonomy
New WP_Taxonomy class provides methods to handle taxonomies. This changes the global $wp_taxonomies to an array of WP_Taxonomy objects (read more).
More Theme API Goodies
WordPress 4.7 includes new functions, hooks, and behavior for theme developers (read more)
WP_Hook
The code that lies beneath actions and filters has been overhauled. You likely aren't affected, but if you've done things to the $wp_filter global or experienced funky recursion bugs in the past, please take a moment to read the dev note and test your code (read more)
Customize Changesets
Browse your site and switch themes more seamlessly within the customizer, as your changes automatically persist in the background. Changesets also make exciting new features like starter content possible ([https://make.wordpress.org/core/2016/10/12/customize-changesets-formerly-transactions-merge-proposal/ read more).
Attributes for Resource Hints
you're now able to pass specific HTML attributes to these resource hints to make even better use of them (read more).
wp_list_sort() and WP_List_Util
WordPress 4.7 brings a few enhancements to handling object or array lists. A new function wp_list_sort() makes it easy to sort object or array lists by one or more of its elements' properties. A new WP_List_Util class was introduced as a central access point for handling lists (read more).

What's New

全般

Editor Changes
There are a few noteworthy changes to the editor (read more).
  • The headings drop down is moved to the top row.
  • The strike-through and horizontal rule button are moved down.
  • The underline and justify buttons have been removed from the bottom row.

Editor Toolbar

  • Labels for keyboard shortcuts have been added to the tooltips for buttons and inside drop downs to make them easier to discover.

Editor Keyboard Shortcut


投稿

  • 人気の言葉を表示するタグクラウドをダッシュボードのタクソノミーページから除去

メディア

  • Improving accessibility of image alternative text - No more default fallback. To ensure your images having meaningful alternative text, you should make sure to set a value for alt text in your media library (read more).
  • メディアライブラリをファイル名からも検索可能に (#22744)

コメント

外観

Customizer Improvements
WordPress 4.7 has been the most active release on record for the customize component (read more).
  • Create pages within live preview during site setup - Add new pages while building menus and setting a static front page; outline your site directly in the customizer (read more).
  • Improvements to the Sliding Panels UI - Customizer navigation is now faster, smoother, and more accessible (read more 1 and 2).
  • Customize Changesets - Browse your site and switch themes more seamlessly within the customizer, as your changes automatically persist in the background (read more).
  • Custom CSS - Fine-tune your site and take your theme customizations to the next level with custom css in the customizer (read more 1 and 2).

ユーザー

インストールプロセス

マルチサイト

アクセシビリティ

開発者向けの変更

全般

  • h3 以外の要素でも .nav-tab-wrapper クラスを利用可能に。カスタム設定ページでの柔軟性が向上される。
  • global $wp_version の代わりに get_bloginfo( 'version' ) を使用

画像

埋め込み

  • oEmbed サポートの追加 - Facebook posts/activities/photo/videos/media/questions/notes.
  • 完全に HTTPS をサポートするプロバイダーの場合、oEmbed に HTTPS エンドポイントを使用し、また埋め込みをクリックした場合、HTTP へリダイレクトしない

スクリプトローダー

JavaScript

バグ修正

マルチサイト

  • get_blog_details() replaced with get_site() (#37102)
  • blog_details filter deprecated (#38491)
  • _network_option actions and filters get $network_id (#38319, #38320, #38321 and #38322
  • wp_get_network() deprecated #3753


クラス

What's New

非推奨

関数

What's New

非推奨

アクション & フィルター


新規追加アクション

新規追加フィルター

非推奨

外部ライブラリ

その他

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

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