4. 2. Admin Enhancements
• UI improvements on Navigation Menus Screen
• Revisions revised to be more dynamic and
scalable
• Autosave and Post Locking
• Preview Audio and Video on Media Edit
Screen
• In-line login following expired sessions
5. 3. New APIs for developers
• New audio/video APIs.
• Filters for revisions.
• Semantic Markup allows themes to choose
improved HTML5 markup for search forms,
comment forms, and comment lists.
• Search content for shortcodes with
has_shortcode() and adjust shortcode
attributes with a new filter.
6. 3.1. New audio/video APIs
• Add oEmbed support for Rdio and Spotify
• .webm (video/webm) was added to the MIME
types list
• Added wp_audio_shortcode() and
wp_video_shortcode()
• Introduce wp_add_id3_tag_data()
• Introduce wp_read_video_metadata()
• Introduce wp_read_audio_metadata()
• ...
7. 3.2. Filters for revisions
• Introduce filter wp_revisions_to_keep: allows
developers to easily alter how many revisions
are kept for a given post
• http://codex.wordpress.org/Plugin_API/Filter_
Reference/wp_revisions_to_keep
8. 3.3. Semantic Markup
• Semantic Markup is a theme feature. This feature
allows themes to explicitly choose to apply HTML5
markup for search forms, comment forms, and
comment lists.
$args = array(
'search-form',
'comment-form',
'comment-list',
);
add_theme_support( 'html5', $args );
9. 3.4. Shortcodes
• Introduce has_shortcode(): Checks whether
the content passed contains a specific short
code.
• Shortcode attributes can now be filtered via
shortcode_atts_$shortcode hook
• Added wp_audio_shortcode() and
wp_video_shortcode()