diff --git a/README.md b/README.md
index 55da458..cfdbeb3 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ To be able to start using this plugin just [download the latest release here](ht
Simply copy the shortcode below and paste it to the location of your copyright notice by default on your site's footer.
```php
-[wp_uyf]
+[uyf_wp]
```
It will appear like this...
diff --git a/readme.txt b/readme.txt
index e9a85fd..93bc347 100644
--- a/readme.txt
+++ b/readme.txt
@@ -5,7 +5,7 @@ Tags: simple, basic, update, footer, shortcodes
Requires at least: 5.0
Tested up to: 5.9
Requires PHP: 5.6
-Stable tag: 1.1.2
+Stable tag: 1.2.0
License: GPLv3
License URI: https://opensource.org/licenses/GPL-3.0
@@ -19,7 +19,7 @@ Simple, lightweight, and free WordPress shortcode plugin for you to use in your
Simply copy the shortcode below and paste it to the location of your copyright notice by default on your site's footer.
-`[wp_uyf]`
+`[uyf_wp]`
It will appear like this...
diff --git a/update-your-footer-wp.php b/update-your-footer-wp.php
index bb3a864..c6db86f 100644
--- a/update-your-footer-wp.php
+++ b/update-your-footer-wp.php
@@ -3,13 +3,13 @@
* Plugin Name: Update Your Footer WP
* Plugin URI: https://github.com/warengonzaga/update-your-footer-wp
* Description: Simple and lightweight WordPress shortcode plugin to automagically update your footer year notice. No annoying ads!
-* Version: 1.1.4
+* Version: 1.2.0
* Author: Waren Gonzaga
* Author URI: https://warengonzaga.com
*/
/**
-* WP Update Your Footer
+* Update Your Footer WP
*/
// prevent direct access
@@ -22,12 +22,9 @@ function update_your_footer($atts) {
$site_url = get_bloginfo('url');
$site_name = get_bloginfo('name');
- // set footer contents
- $footer_content = 'Copyright © ' . esc_html( $year ) . ' ' . esc_html( $site_name ) . ', All Rights Reserved.';
-
- // output footer contents
- return $footer_content;
+ // output data
+ return 'Copyright © ' . esc_html( $year ) . ' ' . esc_html( $site_name ) . ', All Rights Reserved.';
}
// wordpress hook
-add_shortcode('wp_uyf', 'update_your_footer');
+add_shortcode('uyf_wp', 'update_your_footer');