- サイトデザイン工事中です。ご意見をお寄せください。
- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
Version 3.1
提供:WordPress Codex 日本語版
2011年2月23日、WordPress バージョン 3.1 "Reinhardt"(ジャズギタリスト、Django Reinhardtに因んで命名)がリリースされました(原文)。
バージョン 3.0 のデータベースバージョン (wp_options テーブルの db_version)は 17056 へ変更となり、Trac のリビジョンは 17485 となりました。
目次 |
ハイライト
- 投稿フォーマット - テーマが投稿の表示をカスタマイズするために使えるメタ情報。
- 一覧形式管理画面 - 一覧形式画面でのカラム並べ換え、ページ送りの改善、冗長 URL 問題の改善
- クエリの強化 - ユーザーが複数のタクソノミーやカスタムフィールドをクエリできるようにする。
- エクスポートツールの改良 - 投稿者情報の追加、スラッグ識別名のさらなる活用、自動下書き・スパムコメント・編集ロック/最終更新メタキーのエクスポート廃止、インラインドキュメンテーションの改善、WXR バージョンを 1.1 にアップしながらもインポートツールの後方互換性も保持。
- インポートツールの改良 - 利用出来る場合には XML パーサーを使用 (SimpleXML、XML Parser)、ナビゲーションメニューへの適切な対応、カテゴリー間のカスタムタクソノミー処理などに関連したバグの修正、投稿者・ユーザー割り当ての改善。
- ネットワーク管理画面 - 「特権管理者メニュー」と関連ページを通常の管理画面から wp-admin/network/ に移動。
- TwentyTen テーマの変更 - ...
- ライセンス - WordPress は GPL バージョン 2 またはお好みでそれ以降のバージョンのライセンスのもとに利用できる。
- PHP / MySQL 要件 - 2011年春に予定されている WordPress 3.2 に向けて PHP バージョン 5.2 以降、MySQL バージョン 5.0.15 以降に対応するよう準備開始。
- 内部リンク - 内部リンクのボタンをクリックして、あなたの投稿を検索することができます。または既存のコンテンツの一覧を参照して、選択します。
- 管理バー - 役に立つ管理画面への様々なリンクが含まれています。デフォルトでは、管理バーはユーザーがログインした状態でサイトを訪れたときに表示され、シングルブログインストールの管理画面では表示されません。マルチサイトインストールでは、サイト上及び管理画面の両方で表示されます。
一般ユーザ向け機能
全般
- 管理画面用青系統テーマのリフレッシュ (#15207)
- 管理画面 CSS クリーンアップ (#14770)
- カスタム投稿タイプ一覧ページ (#13818)
- タクソノミーの階層化対応 (#12659)
- Implement the screen options toggle sprite across color schemes
- 管理画面の一覧表示画面を改善。ほとんどのカラムで並べかえを可能にし、新しいページ送りスタイルを導入。API、検索を改善し、一括操作でフィルターが使えるようにした (#14579)
- ライセンス文章の更新 (Changeset 17301)
- 複数タクソノミークエリ (#12891)
ダッシュボード
- 表示オプションのドロップダウンで右下の角を角丸にした
- ブログに名前がない場合、「サイトを表示」と管理画面のヘッダーに表示されるようにした
- コア更新画面に「もう一度確認する」ボタンとタイムスタンプを追加。また、テーマ更新の際チェックボックスにチェックが入っていない場合、プラグインと同様のエラーメッセージを返すようにした
- コンテキストヘルプ更新
- 「アップグレード」という表現ではなく「更新」に統一
- Press This で投稿フォーマットに対応
投稿
- 投稿フォーマット (#14746)
- 内部リンク (#11420)
- エディターで TinyMCE の新しい「フォーマット」オプションを利用、IE 上のキャプションボックス内で Enter キーを押したときのエラーを修正、ユーザーが画像のサイズをエディター内で修正した際のキャプションボックスのリサイズの問題を修正
- 複数のメタ情報ボックスを隠し、投稿・ページ編集画面を簡素化。これらのボックスは表示オプションタブから再表示可能
メディア
リンク
コメント
- メール通知でコメントに直接リンク
- 投稿者によるコメント投稿および承認の後に本人への通知を行わない
外観
- テーマの検索・ブラウズ機能を改善 (#14936)
- 「外観 -> メニュー」画面の下部にも保存ボタンを追加
- 「ドロップダウンで表示」オプションを標準化し、デフォルトウィジェットで投稿カウントの前に表示
- テーマ説明のリストに「ビジュアルエディター RTL スタイルシート」を追加
- テーマ削除ルーチンの強化
- テーマインストーラーの RTL 対応
- カスタム投稿タイプ用の新テンプレートファイル archive-{post_type}.php (#13818)
プラグイン
ツール
ユーザー
- パスワードリセット手順を簡素化 (#5919)
- JavaScript が有効化されている場合のみパスワード強度メーターを表示
- ログインページの改善。貧弱な旧コードの削除、ログインページでの適切なスクリプトローダーの使用、convertEntities が必ず利用出来るように確認、login_footer アクションの導入、login_header および login_footer アクションにスクリプトローダーをフック。
設定
インストール手順
- データベースの情報が間違っている場合のレスポンスを改善。エラーメッセージを表示し、再試行できるオプションを提供
- デフォルトのサンプル「About」ページ (sample-about) の文言を改良
マルチサイト
- ネットワーク管理画面にコンテキストヘルプを追加
- ネットワークテーマ画面でテーマの削除に対応
- ネットワーク管理画面にプラグイン更新通知およびインストール・更新実行機能を追加
- WordPress.com ブログに使われているものと似た管理バーを導入 (#14772)
- ネットワーク版の「ツール -> ネットワーク」をネットワーク管理画面に移動
- マルチサイトインストールでテーマインストーラーをネットワーク管理画面に移動
- ネットワーク管理者用画面 (#14435)
- ネットワーク全体の「設定 -> 言語」設定
- テーマ有効化・無効化・アップグレード用のネットワーク管理ページを新規追加
- 通知フィルターにより多くの情報を渡す
- Revamp User-new.php including separate caps for adding users vs. creating users, allowing supes to add via email or username, split adding existing users and creating new users into separate forms
- WP_PROXY_BYPASS_HOSTS および WP_ACCESSIBLE_HOSTS でワイルドカードドメインに対応
- サイト編集ページのタブ化
- ユーザー向け管理画面で別の「パーソナル」ダッシュボードを作成し、プロフィール情報・クロスサイトリファレンス・保有するすべてのブログにアクセスできる場所・すべてのブログの統計情報まとめ・マルチサイト対応のクイックプレスなどを提供 (#14696)
開発・テーマ・プラグイン
- get_plugins()/en に AuthorName を追加し、プラグインを削除する際に使用
- 投稿編集ページに上部固定表示フィルターを追加。これに対応するため、WP クラスにプライベートクエリ変数として post_in および post_not_in を追加
- *_metadata() 関数にフィルターを追加
- get_meta_sql フィルターを追加
- Add support for ID style classes in get_body_class()/en
- グローバルグループに user_meta を追加
- Add 'who' and 'include_selected' arguments to wp_dropdown_users()
- Allow capability_type for register_post_type() to be an array, for odd plural situations such as story/storys/stories. After registration it reverts to a singular string.
- Allow disabling of custom header uploads via remove_theme_support()/en
- パラグラフタグ付きのフィールドを設定ページのフォームテーブル内で上部に整列させる
- Allow flagging of a blog as mature via a URL and move some actions into update_blog_status()/en
- Allow is_feed()/en to drill down the feed being checked
- ページリライトの無効化を許可
- プラグインによるコメント状態メタボックスへの設定追加をより簡単に
- プラグインによるメタクエリ引数の操作を許可
- Allow turning off the admin bar via no_admin_bar()/en function, or show_admin_bar filter
- wp_tag_cloud() へのタクソノミー配列引渡しを許可
- wp-db.php を必ずインクルードする -- prevents a conditional include and allows db dropins to cleanly extend the wpdb class and also move require_wp_db()/en to load.php for consistency with bootloader helpers.
- カスタムタクソノミーおよびタグ用の body クラス
- is_single() をインラインドキュメンテーションで明確化
- WP_Query の引数「caller_get_posts」を非推奨化、代わりに「ignore_sticky_posts」引数を推奨
- Deprecate get_author_user_ids(), get_editable_authors(), get_editable_user_ids(), get_nonauthor_user_ids(), and get_users_of_blog(), in favor get_users()
- フレーム化されたリクエストに対してのみ IFRAME_REQUEST を定義
- Display mysql_connect errors when 'WP_DEBUG' s enabled and always die if we can't connect to the database
- アップグレードの際に有効化フックを呼び出さない
- category__in、tag__in などで配列以外も許可
- For function get_term_link()/[[:en:Function_Reference/get_term_link()]|en]] make the second (taxonomy) parameter optional if a term object is passed as the first argument (which has the taxonomy in it).
- Introduce _doing_it_wrong to mark places where plugins / themes are calling functions incorrectly
- is_serialized()/en の高速化改善
- get_objects_in_term()/en の改善。スラッグによるクエリの際に子項目を含める
- orderby、order、number 引数を追加して wp_list_authors()/en を改善
- カスタム投稿タイプ向けに map_meta_cap を改善
- oEmbed 表示切替のラベルを改善
- wptexturize()/en の正規表現パフォーマンス向上
- Introduce can_edit_site to replace inline checks on whether or not the site_id is for the current Network
- Introduce edit_term_link()/en and get_term_link()/en to retrieve or display edit term link. (#9702)
- Introduce get_ancestors()/en to get an array of ancestor IDs for a given object. (#12443)
- Introduce get_current_blog_id()/en to retrieve the current blog id. (#15233)
- Introduce get_list_table()/en to fetch an instance of a WP_List_Table class
- Introduce get_meta_sql()/en given a meta query, generates SQL clauses to be appended to a main query
- Introduce get_post_type_archive_feed_link()/en, get_post_type_archive_link()/en, and post_type_archive_title()/en to support index/archive pages for custom post types
- Introduce get_theme_feature_list()/en to replace install_themes_feature_list()/en and also does translation and works if feature_list is not accessible from api.wordpress.org
- Introduce get_users()/en to retrieve list of users matching criteria
- Introduce has_term()/en to check if the current post has any of given terms. (#12526)
- Introduce is_blog_admin()/en to determine if the current request is for a blog admin screen /wp-admin/ (#14763) Note: Does not inform on whether the user is a blog admin--Use capability checks for that.
- Introduce remove_menu_page()/en and remove_submenu_page()/en. Remove a top level menu page and a sub menu page. (#14666)
- Introduce remove_custom_image_header()/en, remove_custom_background()/en, and remove_editor_styles()/en, to support better theme removal process
- Introduce remove_theme_support()/en
- Introduce set_post_thumbnail()/en to set a post thumbnail (#15192)
- Introduce show_admin_bar()/en to retrieve or set the admin bar display state
- Introduce single_term_title()/en to display or retrieve title for taxonomy term archive(#14161)
- Introduce submit_button()/en to echo a submit button with provided text and appropriate class
- Introduce wp_array_slice_assoc()/en to extract a slice of an array, given a list of keys
- Introduce wp_quickpress_form()/en to return or echo a form containing a post box
- Introduce WP_List_Table as the base class for displaying a list of items in an ajaxified HTML table
- Introduce 'DO_NOT_UPGRADE_GLOBAL_TABLES' (originally introduced in 3.0.1)
- メタ 権限「edit_comment」の導入 (#14520)
- 明らかに必要な textarea でのエスケープ用に esc_textarea を導入
- get_terms_args フィルターを導入
- Introduce hierarchical taxonomy URL's, Can be enabled by setting 'hierarchical_url' to true upon taxonomy registration
- Introduce 'ignore_sticky_posts' WP_Query parameter to be used in place of 'caller_get_posts' parameter
- Introduce items_wrap arg to wp_nav_menu()
- Introduce menu_name label for register_post_type() and register_taxonomy()
- タクソノミークエリ間向けの「relation」演算子を導入
- Introduce show_in_menu for register_post_type() and also allow post types to be a submenu and accept boolean, and also a parent base.
- Introduce translate_nooped_plural()/en, _n_noop() and _nx_noop() now return associative arrays for greater clarity, translate_nooped_plural() takes one such associative array and translates it, it works on both the result from _n_noop() and from _nx_noop(), translate_nooped_plural() is applied where applicable
- Introduce unregister_nav_menu()/en. (originally introduced in 3.0.1)
- Introduce wp_basename()/en and use it for media handling and WP_Query
- Introduce WP_HTTP_IXR_Client. Extends IXR_Client and switches it to using the WordPress HTTP API instead of fsockopen
- Limit wp_old_slug_redirect()/en to redirecting to only posts of the same post_type kind
- get_header_image()/en による SSL 認識
- Make menus manipulation easier for plugin developers by adding wp_nav_menu_objects filter which gets a sorted list of all menu node objects in the currently rendered menu, adding current, current_item_ancestor and current_item_parent boolean member variables to each menu node object, which are true when the item has the current-menu-item, current-menu-ancestor or current-menu-parent CSS class respectively
- カレンダークエリのさらなる効率化
- Move post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag
- Move registration.php functions to user.php, deprecate registration.php, everything is now included by default
- Move the is_*() functionality (aka Conditional Tags) into the WP_Query class
- Move the Super Admin menus and related pages out of the regular admin and into wp-admin/network/
- login_form_* フィルターに $args を渡す
- サンセリフのフォントグループから Lucida Grande を削除
- Remove post_type params from is_archive(); use is_post_type_archive()/en for full context
- Remove WP_USE_MULTIPLE_DB. Introduce init_charset()/en and set_charset()/en.
- Require an argument in wp_insert_post()/en
- Retire IIS 3,4,5 Set-Cookie redirection workaround
- Save _wp_old_slug for all published post_type's, brings old-slug redirection to posts and custom post types
- init フックで更新チェックを予約
- Simplify sanitize_key()/en and use it in more places
- the_category_rss() でフィードの種類を指定
- wp-includes/classes.php を複数のシングルクラスファイルに分割
- wp_list_pages() でカスタム投稿タイプに対応
- TwentyTen テーマ - 投稿フォーマット向けに「ギャラリーを表示」リンクを追加
- TwentyTen テーマ - twentyten_remove_gallery_css を非推奨にし、代わりに favor of the use_default_gallery_style を推奨
- TwentyTen テーマ – IE9 ベータでのヘッダー位置を修正
- TwentyTen テーマ – IE6 で互換性のないセレクタに由来するフォントの問題を修正
- TwentyTen テーマ – 画像処理の調整
- TwentyTen テーマ - ヘッダー画像を表示する前にその画像が存在するかをチェック
- TwentyTen テーマ - single.php、attachment.php、page.php、onecolumn-page.php で get_template_part() を使用。loop-page/single/attachment.php を追加。これは後方互換性のある変更で、現在 single.php/loop.php を上書きするようにしている子テーマは全く影響を受けない。これらのテンプレートの追加により、各ファイルのループを上書きできる (In loop-page.php ではさらに、追加コンテクストレイヤーとして in_page_template()/en も使える)
- Update Incutio XML-RPC ライブラリをバージョン 1.7.4 に更新
- Update jQuery をバージョン 1.4.4 に更新 (#15227)
- Update jQuery UI をバージョン 1.8.9 に更新
- TinyMCE をバージョン 3.3 に更新 (#12574)
- TinyMCE 3.3.9.3-dev. の修正を更新 (#15111)
- TinyMCE Spellchecker をバージョン 2.0.3 に更新
- phpdocs を更新。@since 、ホワイトスペース、wp-admin/user、wp-admin/network、wp-admin/includes/file.php、argument/@param、_wp_link_page()、ms-functions.php、ms-blogs.php、nav menus、the_terms、wp_find_hierarchy_loop、WP_Query、メタ権限、投稿タイプ、register_post_type、list tables、新しいメディア用 XMLRPC、wp_list_widgets、ネットワーク管理マルチサイト、get_file_data()、get_post_format_slugs
- 「サイト -> 新規追加」での「create_users」権限使用
- ヘッダーリダイレクトで絶対 URL・API を使用
- Use get_current_user()/en and get_current_user_id()/en instead of global (originally introduced in 3.0.1)
- Use get_queried_object()/en wrappers
- WP_User_Query コンストラクタ改善
- XML-RPC expose post format details, new method: 'wp.getPostFormats', new field in methods dealing with posts: wp_post_format
- XML-RPC に 'wp.getMediaItem' と 'wp.getMediaLibrary' を導入
- XML-RPC を別途クラスファイルに移動
- XML-RPC で投稿数のオプションに対応するため以下の API コールへ変更 'blogger.getRecentPosts'、'metaWeblog.getRecentPosts'、'mt.getRecentPostTitles'
外部リンク
- WordPress 3.1 に実装予定の機能 | Odysseygate.com (2010-9-6)
最新英語版: WordPress Codex » Version 3.1 (最新版との差分)