WordPress Cluster 6.25.1

  • Platform update;
    • Cluster 3.11.0
      • New template tag functions to shorten text:
        • wpc_shorten_text( $text, $boundaries ) – Shorten text based on one or more boundaries.
        • wpc_shorten_text_by_character( $text, $limit ) – Return the exact x characters of a string, formatted nicely for display.
        • wpc_shorten_text_by_character_wordaware( $text, $limit ) – Return the first x characters without breaking up words
        • wpc_shorten_text_by_delimiter( $text, $needle, $delim_count = 1 ) – Returns extracted text based on a delimiter and a delimiter count.
      • New tempalte tag function to filter content for allowed HTML:
        • wpc_allowed_html() – Returns an array of allowd HTML for use with wp_kses() for example.
    • Themes removed: DCT Travel The Courier
    • Plugins updated:
      • Socialize 1.2.3 – Fix email sharing.

PR: https://github.com/dc-thomson/wordpress/pull/1366, https://github.com/dc-thomson/wordpress/pull/1370