“Version 3.8”的版本间的差异

来自WordPress中文文档
跳转至: 导航搜索
(以“{{Languages| {{en|Version 3.8}} }} In xxxxx, WordPress Version 3.8, named for xxxxx, will be released to the public. For more information on this enhancement an...”为内容创建页面)
 
Nao讨论
General: Fixed register_taxonomy() chance description to reflect trac ticket #21543
第1行: 第1行:
 
{{Languages|
 
{{Languages|
 
{{en|Version 3.8}}
 
{{en|Version 3.8}}
 +
{{ja|Version 3.8}}
 
}}
 
}}
  
In xxxxx, WordPress [[Version 3.8]], named for xxxxx, will be released to the public. For more information on this enhancement and bug-fix release, read the [http://wordpress.org/development WordPress Blog], and  see the [[Changelog/3.8|Changelog for 3.8]].
+
On December 12, 2013, WordPress [[Version 3.8]], named for Charlie Parker, was released to the public. For more information on this enhancement and bug-fix release, read the [http://wordpress.org/development WordPress Blog], the [http://wordpress.org/news/2013/12/parker/ Release Post], and  see the [[Changelog/3.8|Changelog for 3.8]].
  
For [[Version 3.8]], the database version ('''db_version''' in '''wp_options''') changed to xxxxx, and the [https://core.trac.wordpress.org Trac] revision was xxxxx.
+
For [[Version 3.8]], the database version ('''db_version''' in '''wp_options''') changed to 26691, and the [https://core.trac.wordpress.org Trac] revision was r26861.
  
 
* [http://trac.wordpress.org/query?status=closed&milestone=3.8 View Closed Tickets]
 
* [http://trac.wordpress.org/query?status=closed&milestone=3.8 View Closed Tickets]
第11行: 第12行:
 
==Highlights==
 
==Highlights==
  
==User Features==
+
* '''Introduces a new, modern admin design'''
 +
** A fresh, uncluttered design
 +
** Clean typography with Open Sans
 +
** Superior contrast and large, comfortable type
 +
** Responsive interfaces throughout
 +
** Refined, theme management
 +
** Smoother, click-to-add widget management
 +
 
 +
* '''New Default Theme - [http://codex.wordpress.org/Twenty_Fourteen Twenty Fourteen]'''
 +
** Easily create a responsive magazine website with a sleek, modern design.
 +
** Feature your favorite homepage content in either a grid or a slider.
 +
** Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors.
 +
 
 +
* '''For Developers'''
 +
** External Libraries have been updated.
 +
** Better RTL support
 +
 
 +
==What's New==
  
 
===General===
 
===General===
 +
* Replace PNG-based plugins ratings stars with Dashicons for performance gains
 +
* Improved help tab text in various screens
 +
* Clicking "Check Again" on the Updates screen now provides more immediate feedback
  
 
===Dashboard===
 
===Dashboard===
 +
* Consolidate several Dashboard widgets to improve readability
 +
* Replace the 'Right Now' widget with the new and improved 'At a Glance' widget
  
===Posts===
+
===Appearance===
 +
* Introduce 8 new admin color schemes
 +
* Improved readability throughout using Open Sans typeface (where supported)
 +
* Responsive Toolbar for smaller-screen devices
 +
* Leverage Dashicons instead of icon sprites for crisper experience on all resolutions
 +
* Big RTL improvements throughout
 +
* Make the dashboard more usable on any size device with responsive all the things
 +
* Improve the login screen experience for Internet Explorer 8 users
 +
* Improve Quick Edit experience for non-English users
 +
* Improve the Menus experience for mobile users
  
===Media===
+
===Themes===
 +
* New Default Theme -- [http://codex.wordpress.org/Twenty_Fourteen Twenty Fourteen]
 +
* Make it possible to check for any post format assigned to a post with [[Function_Reference/has_post_format|has_post_format()]]
 +
* Better custom background theme support defaults, can now specify 'default-repeat', 'default-position-x', and 'default-attachment' arguments for background images.
 +
* Tags for width changed to layout: <tt>responsive-layout</tt>, <tt>fluid-layout</tt>, and <tt>fixed-layout</tt>
 +
* New tag: <tt>accessibility-ready</tt> to denote a theme is aware of accessibility best practices such as color contrast, keyboard navigation, and form/link focus. See [http://make.wordpress.org/themes/guidelines/guidelines-accessibility/ WP theme accessibility guidelines].
 +
* Theme screenshots' size have increased from 600 × 450 to 880 × 660.
  
===Links===
+
===Widgets===
 +
* New click-to-add interface for adding widgets to sidebars
 +
* Improved interface for devices of all resolutions
 +
* Better drag-and-drop experience
  
===Comments===
+
===Accessibility===
 +
* Make list table row actions keyboard accessible
 +
* Improve color contrast throughout the admin
  
===Appearance===
+
===Multisite===
 +
* Improved performance when deleting users in Multisite
 +
 
 +
==Under The Hood==
 +
 
 +
=== General ===
 +
* Heartbeat performance and API improvements
 +
* A <tt>$taxonomy</tt> argument was added to each of the adjacent post functions.
 +
* Define <tt>$is_nginx</tt> in vars.php
 +
* Apply [[Function_Reference/capital_P_dangit|capital_P_dangit()]] to the <tt>wp_title</tt> filter
 +
* Make sure <tt>ajaxurl</tt> is defined in the Customizer
 +
* [[Function_Reference/validate_active_plugins|validate_active_plugins()]] now checks the <tt>manage_network_plugins</tt> capability instead of [[Function_Reference/is_super_admin|is_super_admin()]]
 +
* Allow passing <tt>false</tt> for the <tt>meta_box_cb</tt> argument in [[Function_Reference/register_taxonomy|register_taxonomy()]] to turn off the meta box display entirely
 +
* Make it easier to target video shortcodes by adding a <tt>wp-video</tt> class to the parent container
 +
* Add CSSMin, SASS, CSSJanus, and jsHint to build tools for core development
 +
 
 +
=== Bug Fixes ===
 +
* Fix bug where top-level categories were only redirecting if they had no children
 +
* Fix bug in <tt>wp_get_object_terms()</tt> where returned were strings not integers
 +
* Fix a bug where passing a null value to <tt>meta_query</tt> resulted in wonkiness with the comparison operator
 +
* Fix "'wp_signups' already exists for query" error after updating a Multisite network
 +
* Fix bug in [[Function_Reference/get_bookmarks|get_bookmarks()]] caused by missing parentheses
 +
* Fix <tt>comment_notification_recipients</tt> filter behavior so that it is still respected even on comments left by the post author
 +
* Fix a date comparison error in [[Function_Reference/dashboard_relative_date|dashboard_relative_date()]]
 +
* Fix keyboard accessibility for row actions in list tables.
 +
* Fix no-js and accessibility modes in in the Widgets screen
 +
* Fix a bug where menus could still be assigned to a non-existent theme location
 +
* Silence jQuery Migrate errors in the General settings page
 +
 
 +
=== Multisite ===
 +
 
 +
=== Classes ===
 +
* Introduce [[Class_Reference/WP_Screen|WP_Screen::remove_option()]]
 +
* Introduce [[Class_Reference/WP_Screen|WP_Screen::remove_options()]]
 +
* Introduce [[Class_Reference/WP_Screen|WP_Screen::get_options()]]
 +
 
 +
=== Functions ===
 +
* Introduce [[Function_Reference/wp_dashboard_quick_press|wp_dashboard_quick_press()]]
 +
* Introduce [[Function_Reference/wp_dashboard_site_activity|wp_dashboard_site_activity()]]
 +
* Introduce [[Function_Reference/wp_dashboard_recent_posts|wp_dashboard_recent_posts()]]
 +
* Introduce [[Function_Reference/wp_dashboard_recent_comments|wp_dashboard_recent_comments()]]
 +
* Introduce [[Function_Reference/wp_dashboard_primary_output|wp_dashboard_primary_output()]]
 +
* Introduce [[Function_Reference/wp_heartbeat_set_suspension|wp_heartbeat_set_suspension()]]
 +
* Introduce [[Function_Reference/wp_star_rating|wp_star_rating()]]
 +
* Introduce [[Function_Reference/get_theme_update_available|get_theme_update_available()]]
 +
* Introduce [[Function_Reference/wp_prepare_themes_for_js|wp_prepare_themes_for_js()]]
  
===Plugins===
 
  
===Tools===
+
=== Actions & Filters ===
  
===Users===
+
==== Actions ====
 +
* Introduce [[Plugin_API/Action_Reference/automatic_updates_complete|automatic_updates_complete]]
  
===Settings===
+
==== Filters ====
 +
* Introduce [[Plugin_API/Filter_Reference/automatic_updates_debug_email|automatic_updates_debug_email]]
 +
* Introduce [[Plugin_API/Filter_Reference/wp_prepare_themes_for_js|wp_prepare_themes_for_js]]
  
===Install Process===
+
=== External Libraries ===
 +
* Add a copyright notice to zxcvbn (password strength meter) script
  
===Multisite===
+
=== Deprecated ===
 +
* [[Function_Reference/screen_icon|screen_icon()]]
 +
* [[Function_Reference/get_screen_icon|get_screen_icon()]]
 +
* [[Function_Reference/wp_dashboard_incoming_links_output|wp_dashboard_incoming_links_output()]]
 +
* [[Function_Reference/wp_dashboard_secondary_output|wp_dashboard_secondary_output()]]
 +
* [[Function_Reference/wp_dashboard_incoming_links|wp_dashboard_incoming_links()]]
 +
* [[Function_Reference/wp_dashboard_incoming_links_control|wp_dashboard_incoming_links_control()]]
 +
* [[Function_Reference/wp_dashboard_plugins|wp_dashboard_plugins()]]
 +
* [[Function_Reference/wp_dashboard_primary_control|wp_dashboard_primary_control()]]
 +
* [[Function_Reference/wp_dashboard_recent_comments_control|wp_dashboard_recent_comments_control()]]
 +
* [[Function_Reference/wp_dashboard_secondary|wp_dashboard_secondary()]]
 +
* [[Function_Reference/wp_dashboard_secondary_control|wp_dashboard_secondary_control()]]
 +
* [[Function_Reference/no_update_actions|no_update_actions()]]
  
==Development, Themes, Plugins==
+
=== Miscellaneous ===
 +
* Many unused images were removed from core. See [http://core.trac.wordpress.org/changeset/26821 the full list]
  
 
{{Versions}}
 
{{Versions}}
  
 
[[Category:Versions]]
 
[[Category:Versions]]

2013年12月21日 (六) 01:53的版本

wordpress.org.cn

On December 12, 2013, WordPress Version 3.8, named for Charlie Parker, was released to the public. For more information on this enhancement and bug-fix release, read the WordPress Blog, the Release Post, and see the Changelog for 3.8.

For Version 3.8, the database version (db_version in wp_options) changed to 26691, and the Trac revision was r26861.

Highlights

  • Introduces a new, modern admin design
    • A fresh, uncluttered design
    • Clean typography with Open Sans
    • Superior contrast and large, comfortable type
    • Responsive interfaces throughout
    • Refined, theme management
    • Smoother, click-to-add widget management
  • New Default Theme - Twenty Fourteen
    • Easily create a responsive magazine website with a sleek, modern design.
    • Feature your favorite homepage content in either a grid or a slider.
    • Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors.
  • For Developers
    • External Libraries have been updated.
    • Better RTL support

What's New

General

  • Replace PNG-based plugins ratings stars with Dashicons for performance gains
  • Improved help tab text in various screens
  • Clicking "Check Again" on the Updates screen now provides more immediate feedback

Dashboard

  • Consolidate several Dashboard widgets to improve readability
  • Replace the 'Right Now' widget with the new and improved 'At a Glance' widget

Appearance

  • Introduce 8 new admin color schemes
  • Improved readability throughout using Open Sans typeface (where supported)
  • Responsive Toolbar for smaller-screen devices
  • Leverage Dashicons instead of icon sprites for crisper experience on all resolutions
  • Big RTL improvements throughout
  • Make the dashboard more usable on any size device with responsive all the things
  • Improve the login screen experience for Internet Explorer 8 users
  • Improve Quick Edit experience for non-English users
  • Improve the Menus experience for mobile users

Themes

  • New Default Theme -- Twenty Fourteen
  • Make it possible to check for any post format assigned to a post with has_post_format()
  • Better custom background theme support defaults, can now specify 'default-repeat', 'default-position-x', and 'default-attachment' arguments for background images.
  • Tags for width changed to layout: responsive-layout, fluid-layout, and fixed-layout
  • New tag: accessibility-ready to denote a theme is aware of accessibility best practices such as color contrast, keyboard navigation, and form/link focus. See WP theme accessibility guidelines.
  • Theme screenshots' size have increased from 600 × 450 to 880 × 660.

Widgets

  • New click-to-add interface for adding widgets to sidebars
  • Improved interface for devices of all resolutions
  • Better drag-and-drop experience

Accessibility

  • Make list table row actions keyboard accessible
  • Improve color contrast throughout the admin

Multisite

  • Improved performance when deleting users in Multisite

Under The Hood

General

  • Heartbeat performance and API improvements
  • A $taxonomy argument was added to each of the adjacent post functions.
  • Define $is_nginx in vars.php
  • Apply capital_P_dangit() to the wp_title filter
  • Make sure ajaxurl is defined in the Customizer
  • validate_active_plugins() now checks the manage_network_plugins capability instead of is_super_admin()
  • Allow passing false for the meta_box_cb argument in register_taxonomy() to turn off the meta box display entirely
  • Make it easier to target video shortcodes by adding a wp-video class to the parent container
  • Add CSSMin, SASS, CSSJanus, and jsHint to build tools for core development

Bug Fixes

  • Fix bug where top-level categories were only redirecting if they had no children
  • Fix bug in wp_get_object_terms() where returned were strings not integers
  • Fix a bug where passing a null value to meta_query resulted in wonkiness with the comparison operator
  • Fix "'wp_signups' already exists for query" error after updating a Multisite network
  • Fix bug in get_bookmarks() caused by missing parentheses
  • Fix comment_notification_recipients filter behavior so that it is still respected even on comments left by the post author
  • Fix a date comparison error in dashboard_relative_date()
  • Fix keyboard accessibility for row actions in list tables.
  • Fix no-js and accessibility modes in in the Widgets screen
  • Fix a bug where menus could still be assigned to a non-existent theme location
  • Silence jQuery Migrate errors in the General settings page

Multisite

Classes

Functions


Actions & Filters

Actions

Filters

External Libraries

  • Add a copyright notice to zxcvbn (password strength meter) script

Deprecated

Miscellaneous

模板:Versions