- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
「Version 3.4」の版間の差分
提供: WordPress Codex 日本語版
細 (→主な新機能・変更点) |
細 (→外観) |
||
51行目: | 51行目: | ||
=== 外観 <span id="ppearance"></span>=== | === 外観 <span id="ppearance"></span>=== | ||
− | * Twenty Ten、Twenty Eleven | + | * Twenty Ten、Twenty Eleven でのヘッダー・背景[[Theme Features|テーマ機能]]を更新 |
* テーマ検索の高速化 | * テーマ検索の高速化 | ||
* 現在のテーマが対応している場合、投稿フォーマットをナビゲーションメニューで表示 (show_in_nav_menus) | * 現在のテーマが対応している場合、投稿フォーマットをナビゲーションメニューで表示 (show_in_nav_menus) |
2012年6月9日 (土) 18:29時点における版
このページ「Version 3.4」は一部未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています。
目次
主な新機能・変更点
- カスタムヘッダーの柔軟なサイズ対応
- カスタムヘッダー画像とカスタム背景画像をメディアライブラリ画面から選択可能に
- カスタマイズ・プレビューツールの導入によるテーマ検索のユーザーエクスペリエンス改善
- WordPress 国際化・ローカリゼーション関連の改善 (詳細)
- 翻訳 POT ファイルの分割方法変更
- 英語 Codex ドキュメンテーションの XML-RPC 情報更新 (XML-RPC_WordPress_API/en)
ユーザ向け機能
全般
- 画像キャプションの HTML 対応
- RSS フィード内の言語を適切に反映
- タイムゾーンおよび週の始まりを PHP ではなく翻訳文字列で指定可能に
- Twitter.com を oEmbed プロバイダとして追加
- すべてのエディターインスタンスに執筆集中モードサポートを追加
ダッシュボード
- ダッシュボードウィジェットの翻訳を可能に
- ヘルプタブの改善
- プラグインウィジェットから「最近の更新」を削除
投稿
- 投稿編集画面からのコメント追加を可能に
- クイック編集モードにおいて、非階層化の投稿タイプで menu_order 値を表示
- 一括・クイック編集モードの際に「投稿フォーマット」のラベルを「フォーマット」に変更
メディア
- Twitter.com を oEmbed プロバイダとして追加
リンク
- デフォルトリンクを翻訳可能に
固定ページ
コメント
外観
- Twenty Ten、Twenty Eleven でのヘッダー・背景テーマ機能を更新
- テーマ検索の高速化
- 現在のテーマが対応している場合、投稿フォーマットをナビゲーションメニューで表示 (show_in_nav_menus)
- themes.php と theme-install.php に無限スクロールを採用。themes.php の表示上限を 999 にアップ
- リンクウィジェットに並べ替え、表示リンク数オプションを追加
- カスタムヘッダー・カスタム背景の登録に新メソッドを導入
プラグイン
- プラグインインストーラーのスクリーンショットページのクリーンアップ。Add CSS resize support to the images to prevent them requiring scrolling and falling below the FYI box
ツール
- 正規表現ベースのインポートツールに影響する r19858 により、WXR_VERSION を変更
ユーザー
設定
- グレーバージョン管理画面テーマの色調をアップデート
- ブルーバージョン管理画面テーマのオプション・ヘルプタブでブルーの矢印を使用。Firefox への互換性を高めるためベースラインを調整
インストール処理
- マルチサイトでデータベースの接頭辞を必須に
- 特定の検索エンジンへの言及を削除
マルチサイト
- マルチサイトアップロード上限チェックの改善
- _multisite_ 特権管理者のみサイトで自身を降格できるようにする
- ダッシュボードでブログ管理画面にスイッチしないように network/about.php を作成・活用
- 特権管理者がブログダッシュボードを表示した際、管理バーに「サイトを編集」サブメニューを追加
- ユーザー追加画面のオートコンプリート
- マルチサイトネットワークのテーマページで前に訪れたタブを記憶しない
- network/plugins.php で「ネットワーク有効化」を一括操作にする
- マルチサイトのデフォルトアップロード容量を 10MB から 100 MB にアップ
開発・テーマ・プラグイン
- register_post_type と register_taxonomy の 'rewrite' 配列で 'ep_mask' 変数を追加。'permalink_epmask' の、投稿タイプ登録用変数としての互換性を保持。カテゴリー・タグページのエンドポイントを修正
- global に依存する代わりに _wp_post_thumbnail_html() に投稿 ID 変数を追加。wp_ajax_set_post_thumbnail() から ID を投稿
- search_columns 変数を WP_User_Query に追加し、明示的なカラム選択を可能にする。このカラムがない場合、検索キーワードにより検知
- TinyMCE の body にエディター ID と投稿タイプ (存在する場合) のクラスを追加
- WP_Screen メソッドを get_help_tabs()、get_help_tab( $id )、get_help_sidebar() に追加。ヘルプタブを数字キーではなくタブ ID で 保存。remove_help_tab( $id ) を使って適切な削除が可能に
- 東アジア言語に対し、単語カウントではなく文字カウントを可能に
- get_metadata() が操作するため、get_post_meta() 投稿 ID がある場合のみ呼び出せるようにする
- ツールバーのサブメニューが親項目の幅まで拡張できるようにする
- 翻訳者によるデフォルトタイムゾーン文字列または GMT オフセットを指定可能に。デフォルト gmt_offset の date('Z')/3600 計算を廃止
- AtomServer クラスを
wp-includes/class-wp-atom-server.php
に移動 - wp_insert_term() で WP_Error または配列が返ってくるかチェック。AJAX による項目追加の際のカテゴリー追加 fatal error を防ぐ
- walker の厳格な notice をクリア
- create_initial_taxonomies() をクリーンアップ、ドキュメンテーション改善
- 最新の YUI Compressor を使った CSS/JS の圧縮
- WP_Customize_Control を作成し、取得・プレビュー・保存のコントロールレンダリング処理を分離
- データベーススキーマ変更: 'wp_posts' テーブルの 'post_content_filtered' を longtext に変更
- データベーススキーマ変更: 'wp_comments' テーブルの 'comment_approved' のインデックスをドロップ
- データベーススキーマ変更: 'wp_options' テーブルから 'blog_id' カラムをドロップ
- wp-config.php 内で設定されていない場合、wp-load の WPINC を定義
- display_theme() を廃止
- add_custom_image_header() と add_custom_background() を廃止し、add_theme_support() を推奨
- get_theme_data()/en を廃止し、 wp_get_theme()/en を推奨
- フィードジェネレータでの "https" 検知を修正
- Fix the return value of get_theme_root() when the theme root is outside of WP_CONTENT_DIR, thus making it absolute rather than the typical relative theme root; make get_theme_root_uri() tolerate an absolute path for a theme root; it will now make an attempt to find a corresponding URL for absolute paths as well.
- repair.php のフォーマット、i18n クリーンアップ
- Cookie 内の投稿パスワードをハッシュ化
- make_clickable() の効率を向上
- Improve adding more css classes to the editor body, add "rtl", "ie7", "ie8", "ie9" so they can be targeted in editor-style.cs
- Improve wp-app.php; put the atom server class in class-wp-atom-server.php; remove log_api calls; update the query filter; replace exit calls with wp_die() for unit test compat; add override handler for wp_die(); allow plugins to replace the atom class
- 404 エラーの際に、/login、/dashboard、/admin を WordPress の管理画面へリダイレクト
- display_header_text() を導入
- term_is_ancestor_of()/en を導入
- Introduce __return_null()/en を導入
- Introduce get_page_template_slug( $id = null ) to return a page's template (like "showcase.php"); returns false if post ID is not a page, and an empty string for the default page template; use the function across core
- Introduce 'relative' scheme to return only the paths for home_url, site, admin, network_, and get_ variants
- sanitize_trackback_urls() を導入。不正な URL への Ping 防止・データベースに保存しない
- term_is_ancestor_of() を導入。wp_insert_category() へのタクソノミー対応を完了
- $wpdb->delete() を導入
- Introduce wp_load_translations_early() which can be used before the locale is properly loaded in order to translate early error strings; internationalize setup-config.php -- translators no longer have a reason to modify this file
- Introduce WP_Theme class, wp_get_themes(), and wp_get_theme() to replace get_themes(), get_theme(), get_theme_data(), current_theme_info(), and others
- Introduce WP_Theme->exists() to check if the queried theme actually exist;WP_Theme->exists() is a subset of errors(); a theme with errors may still exist, but a theme that does not exist has an error of theme_not_found; wp_get_theme() now returns false if the theme does not exist; improve scandir() and get_files() logic
- WP_User::exists() を導入
- EOF ?> を廃止。EOF newline をクリーンアップ
- Make get_post_custom() a wrapper of get_post_meta() so that it works when cache addition is suspended and to simplify it
- Press This インラインスタイルを wp-admin.css に統合
- オプション/en、設定、Transient 関数を
wp-includes/functions.php
からwp-includes/option.php
へ移動 - New wp_die_app_handler context in wp_die() for APP requests; introduces _scalar_wp_die_handler() as a generic handler that wraps die(), for use by plugins; move deprecated function to the end of the wp-app.php file (same as xmlrpc.php)
- Provide a DB fallback for keys in wp_salt(); fall back when any secret is used more than once; change how we detect a localized 'put your unique phrase here'--eliminate $wp_default_secret_key and introduce $wp_secret_key_default to be added during the localized build process, not by translators
- Redirect bare category URLs for permalink structures starting with %category%
- Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead
- Refactor WPDB::get_caller() into wp_debug_backtrace_summary() and improve the functionality to provide enhanced context and a standardised default pretty format
- Remove show_last_update, include_last_update_time, and show_date code parameters from wp_list_categories, wp_dropdown_categories
- Replace background image with CSS3 gradient in wp_die()
- wp_die() を AJAX レスポンス用に再利用
- search_theme_directories() をリライト -- パフォーマンス改善・キャッシングが可能に
- Set post password cookies via an action in wp-login.php; retire wp-pass.php (one less root file); obey login ssl preferences for post password form submission
- Split the main WP_Query posts query into two queries to avoid temp tables; leverage cache to avoid second query in persistent cache environments
- TinyMCE: WordPress プラグインのスタイルをテーマのスタイルシートに移動
- Update hierarchy for all hierarchical post types when deleting a parent post, not just for pages
- Update PHPDocs for wp_salt(), register_taxonomy_for_object_type(), wp_set_comment_status(), WP_Rewrite, rewrite endpoints, WP_Locale, wp_mime_type_icon(), mysql2date
- add_permastruct() を更新し、WP_Rewrite::generate_rewrite_rules() を使ったコントロールを強化
- hoverIntent を r6 に更新
- PHPMailer を 5.2.1 に更新
- SimplePie を 1.2.1 に更新
- TinyMCE を 3.4.9 に更新
- switch_theme() が wp_get_theme() を使うように更新
- タグクラウドウィジェットで get_object_taxonomies() の代わりに get_taxonomies() を使用
- cron ロックに microtime() を使用
- テーマインストーラーで現在インストールされているテーマをチェックする際に version_compare() を使用
- WordPress がサブディレクトリにインストールされている場合 (home URL != site URL)、home/wp-admin と home/wp-login.php を適切な位置へリダイレクト
- 以下の言語での WordPress による RTL の自動検出: ar, ckb, fa_IR, he_IL, ug_CN, dv, fa_AF, ha, ps, uz_UZ, yi
- XML-RPC: 新しい wp.xxxPost API でアイキャッチ画像対応を追加
- XML-RPC: 投稿編集日を提示 (ブログタイムゾーンおよび GMT)
- XML-RPC: image_default_link_type、image_default_size、image_default_align オプションを提示
- XML-RPC: Initial implementation of Taxonomy and Term APIs; implements wp.newTerm, wp.editTerm, wp.deleteTerm, wp.getTerm, wp.getTerms, wp.getTaxonomy and wp.getTaxonomies
- XML-RPC: Introduce new create,read,update and delete XMLRPC APIs for Posts, Pages and all Custom Post Types; introduces: wp.newPost, wp.editPost, wp.deletePost, wp.getPost, and wp.getPosts
- XML-RPC: Introduce a date generation helper method to improve the dates returned over XMLRPC when we have a 0 date stored for drafts; improves the ability of clients to work with the new wp Post APIs
- WP_HTTP の改善
外部資料
最新英語版: WordPress Codex » Version 3.4 (最新版との差分)