Skip to content

Commit 9864614

Browse files
committed
feat: Add Plugin URI field pointing to GitHub repository
1 parent 02a8c4e commit 9864614

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

latest-posts-widget.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @wordpress-plugin
1111
* Plugin Name: Latest Posts Widget
12-
* Plugin URI: https://example.com/plugin-name
12+
* Plugin URI: https://github.com/Tirthagit/wordpress-latest-post-widget-plugin/
1313
* Description: This is a plugin to show latest posts in a widget format and also allows to categorising the posts. Simple and flexible.
1414
* Version: 1.0.0
1515
* Requires at least: 6.4.5
@@ -19,13 +19,14 @@
1919
* Text Domain: latestpostswidget
2020
* License: GPL v2 or later
2121
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
22-
* Update URI: https://example.com/my-plugin/
22+
* Update URI: https://github.com/Tirthagit/wordpress-latest-post-widget-plugin/
2323
*/
2424

2525
declare(strict_types=1);
2626

2727
// define('THEME_VERSION', '1.0.0');
2828

29+
// Prevent direct access
2930
defined('ABSPATH') || die("You don't have access to this file");
3031

3132
if (file_exists(__DIR__ . "/vendor/autoload.php")) {

0 commit comments

Comments
 (0)