From 3438b0670dbad6edbea97f8fae18e8010e347f5e Mon Sep 17 00:00:00 2001 From: ozh Date: Fri, 31 Oct 2014 22:33:31 +0100 Subject: [PATCH] Less noob requests about why they've been "hacked" Seriously. https://www.google.com/search?q=%22we+have+hacked+this+title%22 --- user/plugins/sample-plugin/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/plugins/sample-plugin/plugin.php b/user/plugins/sample-plugin/plugin.php index c4769c3..40dc1ab 100644 --- a/user/plugins/sample-plugin/plugin.php +++ b/user/plugins/sample-plugin/plugin.php @@ -54,7 +54,7 @@ function ozh_sample_add_menu() { */ function ozh_sample_change_title( $value ) { - $value = $value . ' (we have hacked this title)'; + $value = $value . ' -- the sample plugin is activated'; return $value; // a filter *always* has to return a value } /* And that's it. Activate the plugin and notice how the page title changes */ -- 2.45.0