“Version 3.7”的版本间的差异

来自WordPress中文文档
跳转至: 导航搜索
(以“{{Languages| {{en|Version 3.7}} }} In xxxxx, WordPress Version 3.7, named for xxxxx, will be released to the public. For more information on this enhancement an...”为内容创建页面)
 
(1个版本)
 
(未显示另一用户的1个中间版本)
第1行: 第1行:
 
{{Languages|
 
{{Languages|
 
{{en|Version 3.7}}
 
{{en|Version 3.7}}
 +
{{ja|Version 3.7}}
 +
{{pt-br|Versão 3.7}}
 
}}
 
}}
  
In xxxxx, WordPress [[Version 3.7]], 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.7|Changelog for 3.7]].
+
On October 24, 2013, WordPress [[Version 3.7]], named for Count Basie, 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/10/basie/ Release Post], and  see the [[Changelog/3.7|Changelog for 3.7]].
  
For [[Version 3.7]], 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.7]], the database version ('''db_version''' in '''wp_options''') changed to 25824, and the [https://core.trac.wordpress.org Trac] revision was r25913.
  
 
* [http://trac.wordpress.org/query?status=closed&milestone=3.7 View Closed Tickets]
 
* [http://trac.wordpress.org/query?status=closed&milestone=3.7 View Closed Tickets]
第11行: 第13行:
 
==Highlights==
 
==Highlights==
  
==User Features==
+
You might not notice a thing, and we’re okay with that.
  
===General===
+
* '''Background Updates'''
 +
** Automatic updates for maintenance and security updates.
 +
** Daily updates for developers using nightly builds.
 +
* '''Stronger Password Meter'''
 +
** New password meter to encourage users to choose stronger passwords.
 +
* '''Improved Search'''
 +
** More relevant search results.
 +
* '''Better Global Support'''
 +
** Localized versions will receive faster and more complete translations.
 +
** Background updates will include translations
 +
 
 +
==Under The Hood==
 +
 
 +
=== General ===
 +
* Optional filters for background updates, to allow for fine-grained control
 +
* Advanced Date Queries for posts now includes date ranges, older/newer than options, and more
 +
* Multisite now has <code>wp_get_sites()</code> to list all sites on the network
  
 
===Dashboard===
 
===Dashboard===
 
+
* Make shift + click selection of checkboxes work in both directions
===Posts===
+
* Add RTL body classes to iFrames in the back-end
 +
* Actually limit password-protected post passwords to the 20-character limit
 +
* Display an error message when logging in with cookies disabled
 +
* Fix issue with failed searches reverting to previous search criteria
 +
* Fix bad styling when bulk actions are disabled for custom post types
  
 
===Media===
 
===Media===
 
+
* Add the image file size information in the attachment editing screen
===Links===
+
* Fix issue with <tt>orderby</tt> attribute getting removed from updated <tt>[gallery]</tt> shortcodes
 +
* Stop linking to non-public post types from media screens
  
 
===Comments===
 
===Comments===
 +
* Add commenter IP address on the Edit Comment screen
 +
* Remove generated avatars from comment moderation screens
 +
* Make email recipients filterable in [[Function_Reference/wp_notify_moderator|wp_notify_moderator()]]
 +
* Add ability to filter comment screen by post type
  
 
===Appearance===
 
===Appearance===
 +
* Only show a custom header image preview when an image is actually set
 +
* Display Customizer control descriptions
 +
* Enable the Customizer to load the home URL
  
 
===Plugins===
 
===Plugins===
 +
* Fix plugin search errors related to PHP 5.4
 +
 +
===Users===
 +
* Ensure that the <tt>user_activation_key</tt> is hashed in the database
 +
* Trim leading and trailing spaces from passwords when saving
 +
* Streamline the behavior of the default password nag after login
 +
 +
===Accessibility===
 +
* Make list table row actions keyboard accessible
 +
* Fix issue with a broken "Close" button on refresh in the Customizer
 +
* Improve default color contrast ratios in the default themes
 +
* After a post is updated, only focus the "Title" field if it's empty
 +
 +
=== Bug Fixes ===
 +
* Fix terms with a post count of 0 returning if 'hide_empty' is true.
 +
* Fix allowing https URL enclosures
 +
* Fixed bug with is_day by checking bad dates and redirect, instead of 404ing.
 +
* Avoid using the *_exists() functionality on ncFTPd servers
 +
* Allow a WP_Error return from [[Function_Reference/register_new_user|register_new_user()]]
 +
* Hide the custom header image preview unless an image is set
 +
* Add signup_id primary key to $wpdb->signups
 +
* Fix issue with deleting terms shared across taxonomies from deleting associated nav menus
 +
* Cast $labels to array in [[Function_Reference/get_taxonomy_labels|get_taxonomy_labels()]] and [[Function_Reference/_get_custom_object_labels|_get_custom_object_labels()]] to avoid failure
 +
* Correct rewrite tag for hierarchical post types without a query_var.
 +
 +
=== Multisite ===
 +
* Introduce [[Function_Reference/wp_get_sites|wp_get_sites()]] [25445]
 +
* Introduce [[Function_Reference/wp_maybe_update_network_site_counts|wp_maybe_update_network_site_counts()]] [25621]
 +
* Introduce [[Function_Reference/wp_maybe_update_network_user_counts|wp_maybe_update_network_user_counts()]] [25621]
 +
* Introduce [[Function_Reference/wp_update_network_site_counts|wp_update_network_site_counts()]] [25621]
 +
* Introduce [[Function_Reference/wp_update_network_user_counts|wp_update_network_user_counts()]] [25621]
 +
 +
=== Classes ===
 +
* Introduce [[Class_Reference/WP_Automatic_Updater|WP_Automatic_Updater]] class [22704]
 +
* Introduce [[Class_Reference/Automatic_Upgrader_Skin|Automatic_Upgrader_Skin]] class [25421]
 +
* Introduce [[Class_Reference/Headerless_Upgrader_Skin|Headerless_Upgrader_Skin]] class [25566]
 +
 +
* Introduce [[Class_Reference/WP_Date_Query|WP_Date_Query]] class [25139]
 +
* Introduce [[Class_Reference/WP_Comment_Query|WP_Comment_Query::date_query]] property [25139]
 +
* Introduce [[Class_Reference/WP_Query|WP_Query::date_query]] property [25139]
 +
 +
* Introduce [[Class_Reference/WP_Query|WP_Query::stopwords]] property [25632]
 +
* Introduce [[Class_Reference/WP_Query|WP_Query::parse_search()]] method [25632]
 +
* Introduce [[Class_Reference/WP_Query|WP_Query::parse_search_terms()]] method [25632]
 +
* Introduce [[Class_Reference/WP_Query|WP_Query::get_search_stopwords()]] method [25632]
 +
 +
* Introduce [[Class_Reference/WP_Query|WP_Query::reset_postdata()]] method [25601]
 +
* Introduce <tt>author__in</tt> and <tt>author__not_in</tt> for [[Class_Reference/WP_Query|WP_Query]] [25248]
 +
 +
* Introduce [[Class_Reference/WP_Http_Streams|WP_Http_Streams]] class [25224]
 +
* Introduce [[Class_Reference/WP_Http|WP_Http::handle_redirects()]] method [24843]
 +
* Introduce [[Class_Reference/WP_Http|WP_Http::is_ip_address()]] method [25224]
 +
* Introduce [[Class_Reference/WP_Meta_Query|WP_Meta_Query::get_cast_for_type()]] method [25269]
 +
 +
=== Functions ===
 +
==== What's New ====
 +
* Introduce [[Function_Reference/unregister_taxonomy_for_object_type|unregister_taxonomy_for_object_type()]] [25596]
 +
* Introduce [[Function_Reference/got_url_rewrite|got_url_rewrite()]] [25456]
 +
* Introduce [[Function_Reference/get_previous_post_link|get_previous_post_link()]] [25327]
 +
* Introduce [[Function_Reference/get_next_post_link|get_next_post_link()]] [25327]
 +
* Introduce [[Function_Reference/get_adjacent_post_link|get_adjacent_post_link()]] [25327]
 +
* Introduce [[Function_Reference/wp_using_ext_object_cache|wp_using_ext_object_cache()]] [25289]
 +
* Introduce [[Function_Reference/is_main_network|is_main_network()]] template tag [25147]
 +
* Introduce [[Function_Reference/verify_file_md5|verify_file_md5()]] [25541]
 +
* Introduce [[Function_Reference/wp_clean_plugins_cache|wp_clean_plugins_cache()]] [25272]
 +
* Introduce [[Function_Reference/find_core_auto_update|find_core_auto_update()]] [25421]
 +
* Introduce [[Function_Reference/get_core_checksums|get_core_checksums()]] [25540]
 +
* Introduce [[Function_Reference/wp_get_translation_updates|wp_get_translation_updates()]] [25566]
 +
* Introduce [[Function_Reference/wp_extract_urls|wp_extract_urls()]] [25313]
 +
* Introduce [[Function_Reference/__return_empty_string|__return_empty_string()]] [25037]
 +
* Introduce [[Function_Reference/mbstring_binary_safe_encoding|mbstring_binary_safe_encoding()]] [25346]
 +
* Introduce [[Function_Reference/reset_mbstring_encoding|reset_mbstring_encoding()]] [25346]
 +
* Introduce [[Function_Reference/wp_get_installed_translations|wp_get_installed_translations()]] [25536]
 +
* Introduce [[Function_Reference/wp_get_pomo_file_data|wp_get_pomo_file_data()]] [25520]
 +
* Introduce [[Function_Reference/get_post_type_archive_template|get_post_type_archive_template()]] [25291]
 +
* Introduce [[Function_Reference/wp_auto_updates_maybe_update|wp_auto_updates_maybe_update()]] [25421]
 +
* Introduce [[Function_Reference/wp_authenticate_spam_check|wp_authenticate_spam_check()]] [24848]
 +
* Introduce [[Function_Reference/wp_get_user_contact_methods|wp_get_user_contact_methods()]] [25606]
  
===Tools===
+
==== Changes ====
 +
* Make [[Function_Reference/is_tag|is_tag()]] accept a term-id, term-name, term-slug or an array of id's, names and slugs [18746]
 +
* meta_box_cb callback for [[Function_Reference/register_taxonomy|register_taxonomy()]] [25572]
 +
* description__like for [[Function_Reference/get_terms|get_terms()]] [25241]
 +
* show_in_menu for [[Function_Reference/register_taxonomy|register_taxonomy()]] [25133]
 +
* Convert all [[Function_Reference/get_category|get_category()]] calls to use [[Function_Reference/get_terms|get_terms()]]
  
===Users===
+
=== Actions & Filters ===
 +
==== Actions ====
 +
* [[Plugin_API/Action_Reference/save_post_post_type|save_post_{$post_type}]] [25050]
 +
* [[Plugin_API/Action_Reference/user_new_form|user_new_form]] [25629]
  
===Settings===
+
==== Filters ====
 +
* Introduce [[Plugin_API/Filter_Reference/wp_count_attachments|wp_count_attachments]] [25579]
 +
* Introduce [[Plugin_API/Filter_Reference/bulk_post_updated_messages|bulk_post_updated_messages]] [25577]
 +
* Introduce [[Plugin_API/Filter_Reference/got_url_rewrite|got_url_rewrite]] [25456]
 +
* Introduce [[Plugin_API/Filter_Reference/post_password_expires|post_password_expires]] [25450]
 +
* Introduce [[Plugin_API/Filter_Reference/img_caption_shortcode_width|img_caption_shortcode_width]] [25444]
 +
* Introduce [[Plugin_API/Filter_Reference/ajax_query_attachments_args|ajax_query_attachments_args]] [25279]
 +
* Introduce [[Plugin_API/Filter_Reference/months_dropdown_results|months_dropdown_results]] [25556]
 +
* Introduce [[Plugin_API/Filter_Reference/install_plugins_table_api_args_tab|install_plugins_table_api_args_{$tab}]] [25070]
 +
* Introduce [[Plugin_API/Filter_Reference/upgrader_pre_download|upgrader_pre_download]] [25427]
 +
* Introduce [[Plugin_API/Filter_Reference/enable_auto_upgrade_email|enable_auto_upgrade_email]] [25542]
 +
* Introduce [[Plugin_API/Filter_Reference/populate_network_meta|populate_network_meta]] [25414]
 +
* Introduce [[Plugin_API/Filter_Reference/wp_link_query_args|wp_link_query_args]] [25393]
 +
* Introduce [[Plugin_API/Filter_Reference/wp_link_query|wp_link_query]] [25393]
 +
* Introduce [[Plugin_API/Filter_Reference/wp_audio_shortcode_override|wp_audio_shortcode_override]] [25484]
 +
* Introduce [[Plugin_API/Filter_Reference/wp_video_shortcode_override|wp_video_shortcode_override]] [25484]
 +
* Introduce [[Plugin_API/Filter_Reference/enable_live_network_counts|enable_live_network_counts]] [25621]
 +
* Introduce [[Plugin_API/Filter_Reference/enable_live_network_counts|enable_live_network_counts]] [25621]
 +
* Introduce [[Plugin_API/Filter_Reference/wp_count_posts|wp_count_posts]] [25578]
 +
* Introduce [[Plugin_API/Filter_Reference/wp_search_stopwords|wp_search_stopwords]] [25632]
 +
* Introduce [[Plugin_API/Filter_Reference/posts_search_orderby|posts_search_orderby]] [25632]
 +
* Introduce [[Plugin_API/Filter_Reference/flush_rewrite_rules_hard|flush_rewrite_rules_hard]] [25328]
 +
* Introduce [[Plugin_API/Filter_Reference/plugins_update_check_locales|plugins_update_check_locales]] [25634]
 +
* Introduce [[Plugin_API/Filter_Reference/themes_update_check_locales|themes_update_check_locales]] [25634]
  
===Install Process===
+
=== External Libraries ===
 +
* zxcvbn (password strength meter)
  
===Multisite===
+
=== Deprecated ===
  
==Development, Themes, Plugins==
+
=== Miscellaneous ===
 +
* EP_ALL_ARCHIVES [24812]
  
 
{{Versions}}
 
{{Versions}}
  
 
[[Category:Versions]]
 
[[Category:Versions]]

2015年2月12日 (四) 08:29的最新版本

wordpress.org.cn

On October 24, 2013, WordPress Version 3.7, named for Count Basie, 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.7.

For Version 3.7, the database version (db_version in wp_options) changed to 25824, and the Trac revision was r25913.

Highlights

You might not notice a thing, and we’re okay with that.

  • Background Updates
    • Automatic updates for maintenance and security updates.
    • Daily updates for developers using nightly builds.
  • Stronger Password Meter
    • New password meter to encourage users to choose stronger passwords.
  • Improved Search
    • More relevant search results.
  • Better Global Support
    • Localized versions will receive faster and more complete translations.
    • Background updates will include translations

Under The Hood

General

  • Optional filters for background updates, to allow for fine-grained control
  • Advanced Date Queries for posts now includes date ranges, older/newer than options, and more
  • Multisite now has wp_get_sites() to list all sites on the network

Dashboard

  • Make shift + click selection of checkboxes work in both directions
  • Add RTL body classes to iFrames in the back-end
  • Actually limit password-protected post passwords to the 20-character limit
  • Display an error message when logging in with cookies disabled
  • Fix issue with failed searches reverting to previous search criteria
  • Fix bad styling when bulk actions are disabled for custom post types

Media

  • Add the image file size information in the attachment editing screen
  • Fix issue with orderby attribute getting removed from updated [gallery] shortcodes
  • Stop linking to non-public post types from media screens

Comments

  • Add commenter IP address on the Edit Comment screen
  • Remove generated avatars from comment moderation screens
  • Make email recipients filterable in wp_notify_moderator()
  • Add ability to filter comment screen by post type

Appearance

  • Only show a custom header image preview when an image is actually set
  • Display Customizer control descriptions
  • Enable the Customizer to load the home URL

Plugins

  • Fix plugin search errors related to PHP 5.4

Users

  • Ensure that the user_activation_key is hashed in the database
  • Trim leading and trailing spaces from passwords when saving
  • Streamline the behavior of the default password nag after login

Accessibility

  • Make list table row actions keyboard accessible
  • Fix issue with a broken "Close" button on refresh in the Customizer
  • Improve default color contrast ratios in the default themes
  • After a post is updated, only focus the "Title" field if it's empty

Bug Fixes

  • Fix terms with a post count of 0 returning if 'hide_empty' is true.
  • Fix allowing https URL enclosures
  • Fixed bug with is_day by checking bad dates and redirect, instead of 404ing.
  • Avoid using the *_exists() functionality on ncFTPd servers
  • Allow a WP_Error return from register_new_user()
  • Hide the custom header image preview unless an image is set
  • Add signup_id primary key to $wpdb->signups
  • Fix issue with deleting terms shared across taxonomies from deleting associated nav menus
  • Cast $labels to array in get_taxonomy_labels() and _get_custom_object_labels() to avoid failure
  • Correct rewrite tag for hierarchical post types without a query_var.

Multisite

Classes

Functions

What's New

Changes

Actions & Filters

Actions

Filters

External Libraries

  • zxcvbn (password strength meter)

Deprecated

Miscellaneous

  • EP_ALL_ARCHIVES [24812]

模板:Versions