- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
Version 3.6
提供: WordPress Codex 日本語版
このページ「Version 3.6」は未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています。
2013年8月1日、WordPress バージョン 3.6 (コードネーム:Oscar - ジャズピアニスト、オスカー・ピーターソン) が公開されました。詳しくは WordPress Blog (WordPress › 日本語 « WordPress 3.6 日本語版リリースのお知らせ) および Version 3.6 の変更履歴 を参照してください。
バージョン 3.6 ではデータベースバージョン (wp_options テーブルの db_version) が24448へ変更となり、Tracのリビジョンは r24973 となりました。
目次
ハイライト
- 新しいデフォルトテーマ - Twenty Thirteen
- ブログ作成にフォーカス
- サイドバーをシングルレイアウトに / ウィジェットをフッターに
- 投稿フォーマットなど、最新のテーマ機能をサポート。
- フォントベースのアイコン (Genericons)
- 管理者向け変更
- メニューのインターフェイスを改善
- リビジョンをよりダイナミックかつ拡張可能に更新
- 自動保存と投稿のロック
- メディア編集画面での音声やビデオのプレビューをサポート
- 開発者向け変更
- 外部ライブラリのアップデート。 詳細情報
- 新たなオーディオ/ビデオ向けAPIによる、ID3タグのようにパワフルなメディアのメタデータへのアクセス。
- リビジョンの為のフィルターにより、管理番号を定義することなく、その場でセットすることが可能に。 詳細情報
- セマンティックマークアップにより、コメント、検索の各フォームおよびコメントリストへ、よりよいHTML5のマークアップをテーマに用いることが可能に。
- has_shortcode()を用いるコンテント内のショートコード検索と、新しいフィルターでのショートコード属性の修正。
What's New
全般
- remove_accents() の中で、ドイツ語のウムラウトにトレマ (¨) が使用可能に。
- … (三点リーダ) の代わりに省略記号を使うように。
- 'register' フィルタを一貫して適用可能に。
- esc_url() のURLが自動的に the_permalink() に反映される。
- WP_Http::accept_encoding() 内の Accept-Encoding ヘッダを開発者が指定できるように。
- タグオブジェクトと引数の配列を wp_generate_tag_cloud() から topic_count_text_callback に引き渡す。
- stripslashes_deep の代わりに wp_unslash() を使用。
- 正規表現を避ける事による、backslashit() のパフォーマンスを改善。
- 管理画面における偶発的または不注意による重要なスクリプトの記録削除の防止。これは、 jQuery, jQuery UI, Underscore, Backbone がカバーされる。
- the_title() をテキストとして扱うことで、 the_title_attribute() をアンカーから削除。
- ツールバーに表示される名前を user_nicename ではなく user_login に。
投稿
- The Revision Management UI saw significant improvement
- Shortcode attributes can now be filtered via shortcode_atts_$shortcode hook
- The ability to change post formats was removed from Quick Edit
- A 'not_found' label was added for non-hierarchical taxonomys
- Better UX for dealing with multiple users editing the same content (aka Post Locking)
- Audio/Video support More Info
メディア
- Add oEmbed support for Rdio and Spotify
- .webm (video/webm) was added to the MIME types list
- The Media Library can now be sorted by Author name
- Bug fixed where initial gallery link-to setting wasn't applied
- Return from image_downsize() earlier if a custom resize function is used
- Orientation information was added to items in gallery_shortcode()
- New Audio and Video previews are available on the Media > Edit Screen
コメント
- Improve wp_list_comments() markup
- Add the ability to use HTML5 input types in the comment form
外観
- The Navigation Menus UI got a significant refresh
- The Customizer can now be accessed via the Appearance menu
- Screen options can now be added to the Appearance > Widgets Screen
プラグイン
- Prevent plugins from overriding jQuery in the admin
ユーザー
- Remove the three default contact methods (AIM, YIM, Jabber) for new installs.
- Pass old roles to set_user_role action
- The workflow for deleting users has been improved
設定
アクセシビリティ
- Better keyboard/screen reader accessibility in the Nav Menus UI
- Background image's "select a file" link works with keyboard navigation
インストール手順
マルチサイト
- Pass blog_id to the wpmu_drop_tables filter - #24230
Under The Hood
全般
バグ修正
- Strip slashes from passwords sent to new users by email
- Make sure the url returned by post_preview() is filterable with preview_post_link
- Fix handling of '0' as meta_value argument in get_pages()
- Correctly print 'after' data when scripts are concatenated in WP_Styles class
- Properly truncate UTF-8 post slugs in wp_unique_post_slug()
- Avoid PHP notices in Media Library if an attachment parent does not exist
- Fix some tabbing issues on the post editing screen
- Avoid notice by checking for user agent in wp_new_comment()
- Avoid notice in parent_dropdown() by checking if post exists before testing post id
- Prevent an unintended visibility change from "Password protected" to "Public" when updating the post
- Avoid a warning in mb_internal_encoding by making sure we have a charset first
- Fix unnecessarily persistent "pending email change" admin message
- Ensure we strictly compare 'all options' and 'not options' when protecting these special options
- Make sure to reset the modal after gallery insertion
- Add sanity checks on image metadata to avoid warnings
- Avoid an undefined index notice in get_post_type_archive_feed_link()
- Avoid notices when array args are missing in WP_Image_Editor::multi_resize()
- Fix notice in wp_generate_attachment_metadata()
- Avoid PHP notices when deleting or restoring an item that no longer exists
マルチサイト
- Pass blog_id to the wpmu_drop_tables filter
クラス
- XML-RPC: Return an error for getRecentPosts (mw and blogger) if the user does not have edit_posts
- XML-RPC: Standardize home/site url labels with core labels
- Preserve alpha in WP_Image_Editor_GD when images are not resized
- Make sure WP_Http funnels all redirect requests through WP_Http::request() to ensure the proper transport is used
新規関数
- wp_nonce_url() に引数パラメーターの追加
- home_url() および関連する *_url() 関数が、2つの連続したドットがあるパスを処理可能に。
- add_meta_box() の7番目のパラメーターである $callback_args を明文化。
- wp_delete_user() と wpmu_delete_user() でユーザーを削除する前に、存在することを確認。
- 保存に失敗した時、wp_crop_image() から WP_Error を返す。
- wp_insert_post() に誤った投稿IDが渡された時、正しく WP_Error を返すことで早期に開放する。
- add_new_user_to_blog() が二重に呼び出されることを無くした。
- wp_add_id3_tag_data() を追加。
- wp_read_video_metadata() を追加。
- wp_read_audio_metadata() を追加。
- wp_nav_menu_disabled_check() を追加。
- wp_nav_menu_update_menu_items() を追加。
- do_accordion_sections() を追加。
- wp_slash() を追加。
- wp_unslash() を追加。
- wp_is_writable() を追加。
- wp_auth_check_load() を追加。
- wp_auth_check() を追加。
- get_tag_regex() を追加。
- wp_registration_url() を追加。
- wp_heartbeat_settings() を追加。
- wp_mediaelement_fallback() を追加。
- wp_get_audio_extensions() を追加。
- wp_audio_shortcode() を追加。
- wp_get_video_extensions() を追加。
- wp_video_shortcode() を追加。
- wp_embed_handler_audio() を追加。
- wp_embed_handler_video() を追加。
- get_attached_media() を追加。
- get_post_galleries() を追加。
- get_post_galleries_images() を追加。
- get_post_gallery() を追加。
- get_post_gallery_images() を追加。
- wp_post_revision_title_expanded() を追加。
- paginate_content() を追加。
- get_paged_content() を追加。
- wp_revisions_enabled() を追加。
- wp_revisions_to_keep() を追加。
- wp_text_diff_with_count() を追加。
- shortcode_exists() を追加。
- has_shortcode() を追加。
- wp_parse_post_content() を追加。
- wp_remove_object_terms() を追加。
- wp_add_object_terms() を追加。
新規フィルター
- self_link を self_link() に追加。
- get_comments_link を get_comments_link() に追加。
- comments_link_feed を comments_link_feed() に追加。
- comment_link を get_comment_link() に追加。
- nav_menu_link_attributes を Walker_Nav_Menu::start_el() に追加。
- wp_revisions_to_keep を wp_revisions_to_keep() に追加。
- wp_link_pages を wp_link_pages() に追加。
- search_form_format を get_search_form() に追加。
- user_search_columns を WP_User_Query::prepare_query() に追加。
- wp_http_accept_encoding を WP_Http_Encoding::accept_encoding() に追加。
- widget_meta_poweredby を WP_Widget_Meta::widget() に追加。
スクリプト、外部ライブラリ
- jQuery Color 2.2.1 向けにアップデート
- Backbone 1.0.0 向けにアップデート
- jQuery UI 1.10.3 向けにアップデート
- Services_JSON 1.0.3
- Iris 1.0.3
- hoverIntent r7
- MediaElement.js 2.11.1 (New)
非推奨となった関数
- wp_convert_bytes_to_hr() の代わりに size_format() を用いることが推奨となりました。
- get_user_id_from_string() の代わりに get_user_by() の `$field` から 'email' or 'login' 用いることが推奨となりました。
最新英語版: WordPress Codex » Version 3.6 (最新版との差分)
WordPress バージョンの一覧もあわせてご覧ください。