diff --git a/wp-includes/functions.php b/wp-includes/functions.php index e3d10601ca..95672f5350 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3342,6 +3342,18 @@ function smilies_init() { ); } + /** + * Filter all the smilies. + * + * This filter must be added before `smilies_init` is run, as + * it is normally only run once to setup the smilies regex. + * + * @since 4.6.0 + * + * @param array $wpsmiliestrans List of the smilies. + */ + $wpsmiliestrans = apply_filters('smilies', $wpsmiliestrans); + if (count($wpsmiliestrans) == 0) { return; } diff --git a/wp-includes/version.php b/wp-includes/version.php index ab4727d201..a40f9e0ad7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38503'; +$wp_version = '4.7-alpha-38504'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.