Summary of changes in WordPress 3.5

in Upgrade
October 16th, 2013

For a brief introduction to these summaries, view the change summary post for WordPress 3.2.

WordPress 3.5 contains a lot of changes relevant to our environment here. From a streamlined media manager powered by a Image Editing API built on ImageMagick and GD to a high resolution [ Retina ] wp-admin. Two multi-site updates include a faster switch_to_blog and the ability to install multi-site WP in a sub-directory. Underscore and Backbone are now also bundled with WP 3.5.

New functions added in WP 3.5 include a couple cache, json, and more multisite functions. These are listed below.

We continue our series of WordPress change summaries with WordPress 3.5.

Changes

  • Welcome Panel and accompanying screen option removable via the welcome_panel hook
  • Allow passing stdClass and WP_User to wp_insert_user() and wp_update_user()
  • 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
  • Fix the matching in is_email_address_unsafe(), which was too aggressive
  • No markup is output if wp_nav_menu() has no menu items
  • When reassigning posts and links during user deletion, clear the post and link caches
  • Switch to .min for compressed JS and CSS files, e.g. .js becomes .min.js, .dev.js becomes .js

Deprecations

  • Soft-deprecated CUSTOM_TAGS in favor of wp_kses_allowed_html(), adds support for rel attributes
  • Deprecate sticky_class() in favor of post_class()
  • Deprecate wp_cache_reset()
  • Deprecate wp_create_thumbnail()
  • Deprecate image_save_pre filter, which filters a GD Resource, for image_editor_save_pre, which filters a WP_Image_Editor object
  • Deprecate wp_save_image_file filter, which filters a GD Resource, for wp_save_image_editor_file, which filters a WP_Image_Editor object
  • Deprecate image_edit_before_change filter, which filters a GD Resource, for image_edit_before_change, which filters a WP_Image_Editor object
  • Deprecate jpeg_quality filter for wp_editor_set_quality, or WP_Image_Editor::set_quality() on an individual image, which sets compression quality for any supported format
  • Deprecate wp_load_image() in favor of wp_get_image_editor()
  • Deprecate image_resize in favor of WP_Image_Editor::resize()
  • Deprecate gd_edit_image_support() in favor of wp_image_editor_supports()

New features

New 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 domain_exists filter for domain_exists()
  • Add restrict_manage_comments hook to comments list table for better filtering capability
  • Add wp_get_update_data filter making it easier for plugins to modify update count

Version 3.5.1 and Version 3.5.2 were also reviewed. These two releases contained bug fixes and security patches. The most noteworthy of these changes are listed below:

  • Editor: Prevent certain HTML elements from being unexpectedly removed or modified in rare cases.
  • Networks: Suggest proper rewrite rules when creating a new network.
  • Prevent scheduled posts from being stripped of certain HTML, such as video embeds, when they are published.
  • Prevention of a denial of service attack, affecting sites using password-protected posts.
  • Avoid disclosing a full file path when a upload fails.

Tagged

Post Your Comment