summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-04-10 22:00:23 -0400
committerAnthony G. Basile <blueness@gentoo.org>2018-04-10 22:00:23 -0400
commita9f67089ebcadba2c7392e91d77c1b32a5515c1a (patch)
tree46d486f0aabbaa08f2ed083e1e65cf05dfcecdb8 /plugins/jetpack/modules/module-extras.php
parentUpdate wordpress-mobile-pack 3.3 (diff)
downloadblogs-gentoo-a9f67089ebcadba2c7392e91d77c1b32a5515c1a.tar.gz
blogs-gentoo-a9f67089ebcadba2c7392e91d77c1b32a5515c1a.tar.bz2
blogs-gentoo-a9f67089ebcadba2c7392e91d77c1b32a5515c1a.zip
Update jetpack 6.0
Diffstat (limited to 'plugins/jetpack/modules/module-extras.php')
-rw-r--r--plugins/jetpack/modules/module-extras.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/module-extras.php b/plugins/jetpack/modules/module-extras.php
index b6bacd6f..368cf80b 100644
--- a/plugins/jetpack/modules/module-extras.php
+++ b/plugins/jetpack/modules/module-extras.php
@@ -7,7 +7,6 @@
// Include extra tools that aren't modules, in a filterable way
$tools = array(
'theme-tools/social-links.php',
- 'holiday-snow.php', // Happy Holidays!!!
'theme-tools/random-redirect.php',
'theme-tools/featured-content.php',
'theme-tools/infinite-scroll.php',
@@ -54,3 +53,11 @@ if ( ! empty( $jetpack_tools_to_include ) ) {
}
}
}
+
+/**
+ * Add the "(Jetpack)" suffix to the widget names
+ */
+function jetpack_widgets_add_suffix( $widget_name ) {
+ return sprintf( __( '%s (Jetpack)', 'jetpack' ), $widget_name );
+}
+add_filter( 'jetpack_widget_name', 'jetpack_widgets_add_suffix' ); \ No newline at end of file