Drupal 7.33 发布,内容管理系统

发布于 2014年11月08日
收藏 11

Drupal 7.33 发布,此版本是个维护版本,包括大量的 bug 修复(无安全修复),现已提供下载。更多内容请看 Drupal 7.33 发行说明或者the git commit log

强烈建议升级现有的 Drupal 7 网站。 此版本没有重大的新功能。 更多内容请看 Drupal 7.0 发行说明

相对于 Drupal 7.32 的改进内容如下:

  • Added an entity_view_mode_prepare() API function to allow entity-defining modules to properly invoke hook_entity_view_mode_alter(), and used it throughout Drupal core to fix bugs with the invocation of that hook (API change: https://www.drupal.org/node/2369141).

  • Added a "theme_hook_original" variable to templates and theme functions and an optional sitewide theme debug mode, to provide contextual information in the page's HTML to theme developers. The theme debug mode is based on the one used with Twig in Drupal 8 and can be accessed by setting the "theme_debug" variable to TRUE (API addition).

  • Began storing the file modification time of each module and theme in the {system} database table so that contributed modules can use it to identify recently changed modules and themes (minor data structure change to the return value of system_get_info() and other related functions).

  • Added a "Did you mean?" feature to the run-tests.sh script for running automated tests from the command line, to help developers who are attempting to run a particular test class or group.

  • Changed the date format used in various HTTP headers output by Drupal core from RFC 1123 format to RFC 7231 format.

  • Added a "block_cache_bypass_node_grants" variable to allow sites which have node access modules enabled to use the block cache if desired (API addition).

  • Made image derivative generation HTTP requests return a 404 error (rather than a 500 error) when the source image does not exist.

  • Fixed a bug which caused user pictures to be removed from the user object after saving, and resulted in data loss if the user account was subsequently re-saved.

  • Fixed a bug in which field_has_data() did not return TRUE for fields that only had data in older entity revisions, leading to loss of the field's data when the field configuration was edited.

  • Fixed a bug which caused the Ajax progress throbber to appear misaligned in many situatons (minor styling change).

  • Prevented the Bartik theme from lower-casing the "Permalink" link on comments, for improved multilingual support (minor UI change).

  • Added a "preferred_menu_links" tag to the database query that is used by menu_link_get_preferred() to find the preferred menu link for a given path, to make it easier to alter.

  • Increased the maximum allowed length of block titles to 255 characters (database schema change to the {block} table).

  • Removed the Field module's field_modules_uninstalled() function, since it did not do anything when it was invoked.

  • Security improvement: Made the database API's orderBy() method sanitize the sort direction ("ASC" or "DESC") for queries built with db_select(), so that calling code does not have to.

  • Changed the RDF module to consistently output RDF metadata for nodes and comments near where the node is rendered in the HTML (minor markup and data structure change).

  • Added an HTML class to RDFa metatags throughout Drupal to prevent them from accidentally affecting the site appearance (minor markup change).

  • Fixed a bug in the Unicode requirements check which prevented installing Drupal on PHP 5.6.

  • Fixed a bug which caused drupal_get_bootstrap_phase() to abort the bootstrap when called early in the page request.

  • Renamed the "Search result" view mode to "Search result highlighting input" to better reflect how it is used (UI change).

  • Improved database queries generated by EntityFieldQuery in the case where delta or language condition groups are used, to reduce the number of INNER JOINs (this is a minor data structure change affecting code which implements hook_query_alter() on these queries).

  • Removed special-case behavior for file uploads which allowed user #1 to bypass maximum file size and user quota limits.

Drupal是一个开源的内容管理系统(CMS) 平台,它是用PHP写成的。主要用于构造提供多种功能和服务的动态网站,这些功能包括用户管理(UserAdministration)、发布工作流 (Publishing Workflow)、讨论、新闻聚合(NewsAggregation)、元数据(Metadata)操作和用于内容共享的XML发布。Drupal有一 个优秀的模块化结构,提供了许多模块,包括短消息、个性化书签、网站管理、Blog、日记、电子商务、电子出版、留言簿、Job、网上电影院、论坛、投票 等模块。并且Drupal模块的下载、安装、定制非常方便。


转载请注明:文章转载自 OSCHINA 社区 [http://www.oschina.net]
本文标题:Drupal 7.33 发布,内容管理系统