- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
「Version 4.0」の版間の差分
提供: WordPress Codex 日本語版
(→Deprecated: 翻訳) |
(→バグ修正: 翻訳済み) |
||
128行目: | 128行目: | ||
=== バグ修正 === | === バグ修正 === | ||
</div> | </div> | ||
− | * | + | * 存在しない投稿タイプにメディアを割り当てたときの notice を修正 |
− | * | + | * 画面サイズが小さい時の管理メニューの拡大縮小を修正 |
− | * | + | * 複数の Add Media ボタンが ID 属性を共有していたバグを修正 |
− | * | + | * [[Function_Reference/get_the_ID|get_the_ID()]] が適切な投稿オブジェクトかチェックしていなかったのを修正 |
− | * | + | * オーディオトラックで現在のトラックのハイライトを修正 |
− | * | + | * 編集画面で、オーディオプレーヤが画像に上手く回り込みしなかったのを修正 |
− | * | + | * いくつかの状況で、Filter ボタンをクリックすると一括処理が実行されるはずのバグを修正 |
− | * | + | * いくつかのケースで [[Function_Reference/has_filter|has_filter()]] を介して [[Function_Reference/remove_all_filters|remove_all_filters()]] が常に true を返すのを修正 |
− | * | + | * [[Function_Reference/wp_reschedule_event|wp_reschedule_event]] の notice を修正 |
− | * | + | * PressThis で段落タグが変換されないのを修正 |
− | * | + | * [[Function_Reference/get_the_excerpt|get_the_excerpt()]] が、<tt>$post->post_excerpt</tt> を常にチェックしているのではなかったのを修正 |
− | * | + | * oEmbed レスポンスにキャッシュを導入 |
− | * | + | * アタッチメント表示設定がギャラリーに適用されていなかった問題を修正 |
− | * | + | * オーディオと動画にiframeサンドボックスを活用し、任意のスクリプトがロード可能に |
− | * | + | * oEmbed プロバイダリストを必要なときに取得し、全てのプラグインが正確なリストを持つようにする |
− | * | + | * curly quotes, square braces, non-breaking spaces のフォーマットに関する問題および関連するパフォーマンスの問題を修正 |
<div id="Multisite"> | <div id="Multisite"> | ||
+ | |||
=== マルチサイト === | === マルチサイト === | ||
</div> | </div> |
2014年9月7日 (日) 13:51時点における版
2014年9月4日に WordPress Version 4.0 "Benny," が公開されました。ジャズミュージシャンの Benny Goodman から命名されています。詳しくは WordPress Blog および Changelog for 4.0 を参照してください。
Version 4.0 ではデータベースバージョン (db_version in wp_options) が 29630 に変更となり、Trac でのリビジョンは 29710 となりました。
目次
ハイライト
- スタイリッシュにメディア/埋め込みコンテンツを管理する
- Explore your uploads in a beautiful, endless grid
- A new details preview makes viewing and editing any amount of media in sequence a snap.
- コンテンツ編集をより使い易く
- The visual editor now expands to fit your content
- A fixed toolbar in the editor when you scroll
- Embeddable content previews right in the visual editor
- プラグインの検索とインストールを改善
- A new grid view adds some visual flair to finding and installing plugins, bringing relevant plugin info front and center
What's New
全般
- アイキャッチ画像プレビューで .bmp ファイルをサポート
- アイキャッチ画像メタボックスを、権限の無い寄稿者には表示しない
- 新たにサポートされる oEmbed: CollegeHumor, Issuu, Mixcloud, YouTube playlists, TED talks
- Install WordPress 言語設定が可能に
- 管理画面の一般設定 から言語を設定可能に
投稿
- ビジュアルエディタで埋め込んだ動画URLのプレビューを表示
- ページスクロール時に、コンテンツボックスをスクロールする
- コンテンツボックスをスクロールしたとき、メニューバーは上部に表示される
- ビジュアルエディタにカラーピッカーを再び追加
メディア
- Add Media Grid view option (default) for Media Library
- Add "Bulk Select" button to Media Grid view to delete multiple items
- Add oEmbed support for TED talks, Mixcloud, CollegeHumor.com, Issuu
- Expand oEmbed support to include YouTube playlist URLs and Polldaddy’s short URL format
- Remove Viddler oEmbed support
- Update SlideShare oEmbed regex
- Improved media experience on small screen sizes (embedded videos now responsive)
- Native video and audio shortcodes now support Flash playback looping
コメント
- Comments in trash can now be marked as spam.
プラグイン
- Display plugins list as grid, with thumbnails, on Add New screen.
- Add popup window with plugin details (displays info from plugin's directory page).
- Add "Beta Testing" tab to Plugins screen for new features-as-plugins.
アクセシビリティ
- Improved keyboard accessibility in the Add Media panel
- Improved screen-reader support for Customizer sections
- Makes links in help tabs keyboard accessible
- Improvements for screen-readers when managing widgets in the Customizer
インストールプロセス
- Add language select menu as first Installation screen (skipped for localized installs)
マルチサイト
- mp4 file extension was added to allowed upload file types
開発者向けの変更
全般
- Performance and effectiveness improvements to wptexturize()
- Ensure custom post types nested under top-level menu items get the proper classes
- Added a src parameter to the embed shortcode
- Fixes for handling nested shortcodes
- Make default 'template' argument of the_taxonomies() and get_the_taxonomies() translatable
- Remove a redundant condition for comment feeds from WP_Query::get_posts()
- The Customizer now properly honors theme support defaults for background images
- Installed Themes search now shows a proper "no results" message
- Improved, more consistent styling for HTML5 input elements
- Post previews now redirect to the permalink if the post has been published
- Email and URL input types have been implemented where appropriate in the admin
- Most uses of extract() have been removed from the core code
- 3gp mime type support was added
- wp_handle_upload|sideload() logic was consolidated
- Remove dead and unused code from dashboard.php following changes in 3.8
- The operator argument now case-insensitive in tax queries
- Now possible to disable drag and drop functionality in wp_editor() instances
- Trigger _doing_it_wrong() when a registered post type or taxonomy slug is too long (20 characters max)
- Widgets management in the Customizer to leverage the new Panels API.
JavaScript
- Heartbeat API "experimental" labels have now been removed
- Improved inline documentation for Media Views
- Forces an autosave on switch from Visual to Text editor
バグ修正
- 存在しない投稿タイプにメディアを割り当てたときの notice を修正
- 画面サイズが小さい時の管理メニューの拡大縮小を修正
- 複数の Add Media ボタンが ID 属性を共有していたバグを修正
- get_the_ID() が適切な投稿オブジェクトかチェックしていなかったのを修正
- オーディオトラックで現在のトラックのハイライトを修正
- 編集画面で、オーディオプレーヤが画像に上手く回り込みしなかったのを修正
- いくつかの状況で、Filter ボタンをクリックすると一括処理が実行されるはずのバグを修正
- いくつかのケースで has_filter() を介して remove_all_filters() が常に true を返すのを修正
- wp_reschedule_event の notice を修正
- PressThis で段落タグが変換されないのを修正
- get_the_excerpt() が、$post->post_excerpt を常にチェックしているのではなかったのを修正
- oEmbed レスポンスにキャッシュを導入
- アタッチメント表示設定がギャラリーに適用されていなかった問題を修正
- オーディオと動画にiframeサンドボックスを活用し、任意のスクリプトがロード可能に
- oEmbed プロバイダリストを必要なときに取得し、全てのプラグインが正確なリストを持つようにする
- curly quotes, square braces, non-breaking spaces のフォーマットに関する問題および関連するパフォーマンスの問題を修正
マルチサイト
- Fix a bug where an incorrect schema was shown on the Edit Site screen
クラス
What's New
- Introduce WP_Customize_Panel
- Introduce WP_Session_Tokens
- Introduce WP_User_Meta_Session_Tokens
- Introduce WP_Query::parse_orderby()
- Introduce WP_Query::parse_order()
- Introduce wpdb::esc_like()
- Introduce WP_oEmbed::get_provider()
- Introduce WP_oEmbed::_add_provider_early()
- Introduce WP_oEmbed::_remove_provider_early()
- Introduce ::active()
- Introduce ::active_callback()
- Introduce ::input_attrs()
- Introduce ::active_callback()
- Introduce WP_Widget_Area_Customize_Control::active_callback()
- Introduce WP_Customize_Manager::containers()
- Introduce WP_Customize_Manager::panels()
- Introduce WP_Customize_Manager::customize_preview_override_404_status()
- Introduce WP_Customize_Manager::add_panel()
- Introduce WP_Customize_Manager::get_panel()
- Introduce WP_Customize_Manager::remove_panel()
- Introduce WP_Customize_Widgets::is_widget_rendered()
- Introduce WP_Customize_Widgets::is_sidebar_rendered()
- Introduce WP_Image_Editor::get_quality()
- Introduce WP_Dependencies::recurse_deps()
- Introduce WP_Plugin_Install_List_Table::get_installed_plugin_slugs()
- Introduce magic methods for:
- Custom_Image_Header
- Custom_Background** Walker
- WP_Ajax_Response
- WP_Comment_Query
- WP_Error
- WP_Filesystem_Base
- WP_List_Table
- WP_MatchesMapRegex
- WP_Object_Cache
- WP_oEmbed
- WP_Query
- WP_Text_Diff_Renderer_Table
- WP_Roles
- WP_User_Query
関数
What's New
- WP_Query - Better flexibility in multiple `orderby` fields
- wp_list_pluck() - $index_key parameter added.
- Introduce attachment_url_to_postid()
- Introduce get_comments_number_text()
- Introduce get_editor_stylesheets()
- Introduce is_customize_preview()
- Introduce translations_api()
- Introduce upgrade_400()
- Introduce wp_ajax_set_attachment_thumbnail()
- Introduce wp_ajax_parse_embed()
- Introduce wp_can_install_language_pack()
- Introduce wp_destroy_all_sessions()
- Introduce wp_destroy_current_session()
- Introduce wp_destroy_other_sessions()
- Introduce wp_download_language_pack()
- Introduce wp_dropdown_languages()
- Introduce wp_embed_handler_youtube()
- Introduce wp_get_all_sessions()
- Introduce wp_get_available_translations()
- Introduce wp_get_session_token()
- Introduce wp_install_language_form()
- Introduce wpview_media_sandbox_styles()
- Introduce wp_spaces_regexp()
- Introduce wp_validate_boolean()
非推奨
- get_all_category_ids() - use get_terms() instead.
- like_escape() - use $wpdb->esc_like() instead.
- url_is_accessable_via_ssl()
アクション & フィルター
- The ISO date standard YYYY-MM-DD format was added to the date_formats filter.
- The $post parameter was added to preview_post_link.
- wp_handle_upload_prefilter was renamed to {$action}_prefilter.
新規追加アクション
- Introduce customize_render_panel
- Introduce customize_render_panel_{$this->id}
- Introduce delete_user_form
- Introduce pre_get_users
- Introduce rss_tag_pre
新規追加フィルター
- Introduce async_update_translation
- Introduce attach_session_information
- Introduce customize_control_active
- Introduce human_time_diff
- Introduce oembed_remote_get_args
- Introduce oembed_ttl
- Introduce run_wptexturize
- Introduce session_token_manager
- Introduce term_search_min_chars
- Introduce translations_api
- Introduce translations_api_result
- Introduce wp_editor_expand
- Introduce wp_editor_settings
- Introduce wp_embed_handler_youtube
- Introduce wp_list_comments_args
- Introduce wp_spaces_regexp
- Introduce wp_title_parts
- Introduce wxr_export_skip_commentmeta
Constants
非推奨
- FORCE_SSL_LOGIN - 代わりに FORCE_SSL_ADMIN を使用する
- WPLANG (https://core.trac.wordpress.org/changeset/29630 を参照)
外部ライブラリ
- Update to TinyMCE 4.1.3
- Update to jQuery 1.11.1
- Update to MediaElement 2.15
最新英語版: WordPress Codex » Version_4.0 (最新版との差分)