WordPress 架站程式推出 3.5 正式版

這次最主要的更新分為四部分,一是附件影音上傳功能的改善,並推出 Twenty Twelve 新版官方佈景主題,後台的管理介面也做了些更新,並加強了一些開發者關心的程式應用方面…

更新細節請參考:http://codex.wordpress.org/Version_3.5

Highlights

  • New Media Manager
    • Beautiful interface: A streamlined, all-new experience
    • Create galleries faster with drag-and-drop reordering, inline caption editing, and simplified controls
    • Insert multiple images at once with Shift/Ctrl+click
  • New Default Theme – Twenty Twelve
    • Simple, flexible, elegant
    • Mobile-first, responsive design
    • Gorgeous Open Sans typeface
    • Uses the latest Theme Features
  • Admin Enhancements
    • New Welcome Screen
    • Retina-Ready (HiDPI) Admin
    • Hide Link Manager for new installs
    • Better accessibility for screenreaders, touch devices, and keyboard users
    • More polish on admin screens, including a new color picker
  • For Developers
    • WP_Comment_Query and WP_User_Query accept now meta queries just likeWP_Query
    • Meta queries now support querying for objects without a particular meta key
    • Post objects are now instances of a WP_Post class, which improves performance and caching
    • Multisite’s switch_to_blog() is now significantly faster and more reliable
    • WordPress has added the Underscore and Backbone JavaScript libraries
    • TinyMCE, jQuery, jQuery UI, and SimplePie have all been updated to the latest versions
    • Image Editing API for cropping, scaling, etc., that uses ImageMagick as well as GD
    • XML-RPC: Now always enabled and supports fetching users, managing post revisions, searching
    • New “show_admin_column” parameter for register_taxonomy() allows automatic creation of taxonomy columns on associated post-types.

What’s New

Dashboard

  • Switch to prompt text in QuickPress to accommodate longer translated input labels
  • Button styles updated throughout Dashboard to more modern, rectangular shape
  • Help Text improvements throughout

Posts

  • Rename the “HTML” editor tab to “Text”
  • Prevent child categories from being visually promoted to the top level after Quick Edit

Media

  • Add oEmbed suport for SoundCloud.com, SlideShare.net, and Instagram.com
  • New Media Manager: Insert multiple galleries per post and independently order images

Accessibility

  • Add visible focus within admin screens for better accessibility.
  • Add “Skip to content” link to all screens in the admin.
  • Add “Skip to toolbar” accessibility shortcut in the admin.
  • Add ability to log out of user account without mouse input.
  • Add “tab out” of the plugins and themes editors textareas.

Links

  • Link Manager is hidden for new installs and for any existing installs that have no links (all sites with existing links are left as is). This can be restored with Link Manager Plugin
  • Display links in widget if no link categories

Appearance

  • Widgets menu is hidden if your theme hasn’t defined any sidebars
  • Improve display of available custom headers with jQuery Masonry

Plugins

Users

  • Display name defaults to first name and last name for new users
  • Force the user to explicitly choose between content deletion and reassignment when deleting users

Settings

Multisite

  • Multisite installs now work with WordPress in a subdirectory
  • Turn off ms-files.php by default
  • File quotas disabled by default on new installs

Under The Hood

The following feature changes improve the quality of WordPress for everyone, but are likely to be more important to core, plugin, and theme developers.

General

  • Bump default memory limit from 32MB to 40MB
  • Add easier expression of time constants, for example DAY_IN_SECONDS vs 86400
  • Add flexible-header to allowed theme tags
  • Add ‘publish_post‘ meta capability
  • Add ‘term_taxonomy_id‘ field handling to WP_Tax_Query::transform_query(), resulting in fewer database queries
  • Add two hooks to Post Editing screen, ‘edit_form_after_title‘ and ‘edit_form_after_editor‘ [more info]
  • Allow ordering posts by IDs passed to ‘post__in
  • Check a post type’s ‘show_in_admin_bar‘ property for ‘View’ and ‘Edit’ object Toolbar links

Bug Fixes

  • Incorrect URL for second page of search results
  • Re-enable redirect_canonical for IIS
  • Handle https for all oEmbed providers
  • Fix featured image overflowing its meta box in certain situations
  • Fix issue where $format and $link arguments were not being preserved in previous|next_post_link filters
  • Fix issue with sideloaded images not making it into the correct upload directories
  • Fix multiple captioned image insertion problems in post editor

Multisite

  • Multisite: Allow home page of sub-directory sites to resolve regardless of capitalization
  • Multisite: Introduce get_space_used() and upload_is_user_over_quota() for gauging more accurate quotas
  • Multisite: Make it easy to replace or augment the over-quota message

Classes

Functions

Filters

  • Add cron_request for filtering the cron_url in wp_remote_post()
  • Add login_body_class filter to login_header()
  • Add media_view_strings and media_view_settings filters. Use media_view_strings to filter ‘Insert into post’ button text
  • Add post_type_labels_{$post_type} to filter get_post_type_labels()
  • Add restrict_manage_comments hook to comments list table for better filtering capability
  • Add validate_password_reset filter, making it possible for plugins to enforce password rules
  • Add domain_exists filter for domain_exists()
  • Add wp_get_update_data filter making it easier for plugins to modify update count
  • Add wp_image_editors filter to allow adding to or modifying order of WP_Image_Editor engines
  • XML-RPC: Add xmlrpc_login_error filter to customize the IXR_Error returned when login() fails

Scripts, External Libraries

  • Update to Jcrop 0.9.10
  • Update to jQuery 1.8.3
  • Update to jQuery Color 2.1.0
  • Update to jQuery UI 1.9.2
  • Update to SimplePie 1.3.1
  • Update to TinyMCE 3.5.8
  • Add jQuery Masonry for better custom header listings
  • Farbtastic color picker replaced with Iris color picker [more info]
  • Switch to .min for compressed JS and CSS files, e.g. .js becomes .min.js, .dev.js becomes .js
  • Allow protocol-relative URLs when registering/enqueueing scripts and styles
  • Prototype and Script.aculo.us local libraries unbundled from core, latest versions enqueued via ajax.googleapis.com

Deprecated

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Exit mobile version