WordPress 2.6 アップデートしてみた

Pocket

結果から言うと、上手くいったみたいです。

あと、タグ名に日本語(マルチバイト文字列)を使った場合にタグ名が表示されないと言った報告があるようです。

WordPress.ORG フォーラム≫バグ報告と提案
WP 2.6 でタグ名が表示されない(2バイト文字を含む場合)

アップデートメモ

  1. バックアップを取っておく。
    WordPressフォルダ、およびデータベースのバックアップ。
    ※DBの更新が入ると思ってなかった(追加だけかと思ってた)ので、DBバックアップしてなかったので、ビビリました。
    (「やっちまったかぁ・・」って気分)
  2. 2.6のWordPressを上書きする。
    上書き終了後、WordPressフォルダにアクセスすると「データベースが古いので更新します」とかそんなこと言われるので、更新ボタンをポチ。
    次の瞬間、DBの更新が完了します。
    (何が更新されたのかは謎。phpMyAdminなどで確認してみましょう)
  3. wp-setting.php の修正。
    上書きインストールなので、WordPressIntegrator の動作に必要な「"=&"」を「"="」に修正する作業が必要になります。
  4. global変数の追加修正。
    今回のアップデートで、相当数のglobal変数が追加、削除されています。
    以下に今回設定したglobal変数を記述しておきます。

WordPress 2.6 で使う global 変数

global $allowedposttags, $allowedtags, $cache_categories, $cache_lastcommentmodified, $category_name, $comment, $comment_count_cache, $commentdata, $current_user, $day, $id, $m, $month, $month_abbrev, $monthnum, $paged, $pagenow, $post, $post_default_category, $post_meta_cache, $postc, $posts, $posts_per_page, $preview, $previousweekday, $table_prefix, $timedifference, $timestart, $user_ID, $user_identity, $user_login, $weekday, $weekday_abbrev, $weekday_initial, $withcomments, $wp, $wp_did_header, $wp_locale, $wp_query, $wp_rewrite, $wp_roles, $wp_smiliesreplace, $wp_smiliessearch, $wp_taxonomies, $wp_the_query, $wp_version, $wpcommentsjavascript, $wpcommentspopupfile, $wpdb, $wpmp_conf, $wpsmiliestrans, $xmlrpc_logging, $year, $$var, $_kses_allowed_protocols, $_wp_admin_css_colors, $_wp_menu_nopriv, $_wp_real_parent_file, $_wp_submenu_nopriv, $action, $admin_page_hooks, $akismet_api_host, $akismet_api_port, $akismet_caught, $akismet_nonce, $all_links, $always_authenticate, $app_logging, $authordata, $blog_id, $cache_lastpostdate, $cache_lastpostmodified, $cat, $chosen, $class, $comments, $current_site, $currentcat, $currentmonth, $debug, $descriptions, $edit_widget, $entry, $error, $EZSQL_ERROR, $feeds, $importer_started, $importer_users, $importing_blog, $is_apache, $is_IIS, $is_macIE, $is_winIE, $l10n, $language, $link, $link_id, $locale, $man, $map, $mcLogger, $menu, $merged_filters, $more, $multipage, $names, $numpages, $page, $pages, $parent_file, $phpmailer, $plugin_page, $post_default_title, $post_ID, $post_mime_types, $previouscat, $previousday, $redir_tab, $shortcode_tags, $sidebars_widgets, $submenu, $tab, $targets, $temp_ID, $testing, $timeend, $title, $type, $updated_timestamp, $urls, $user_email, $user_level, $user_pass_md5, $user_url, $userdata, $wp_actions, $wp_broken_themes, $wp_cockneyreplace, $wp_current_db_version, $wp_current_filter, $wp_dashboard_sidebars, $wp_db_version, $wp_default_secret_key, $wp_did_template_redirect, $wp_file_descriptions, $wp_filesystem, $wp_filter, $wp_hasher, $wp_header_to_desc, $wp_importers, $wp_meta_boxes, $wp_object_cache, $wp_queries, $wp_registered_sidebars, $wp_registered_widget_controls, $wp_registered_widgets, $wp_rich_edit, $wp_rich_edit_exists, $wp_scripts, $wp_styles, $wp_themes, $wp_user_roles, $wpcom_api_key;

 

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください