Skip to content

Commit 5ae239e

Browse files
committed
Fixed PHPCS issues and Licence.
1 parent eb5b831 commit 5ae239e

File tree

8 files changed

+5
-10
lines changed

8 files changed

+5
-10
lines changed

plugins/hwp-previews/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Headless Previews** solution for WordPress: fully configurable preview URLs via the settings page.
44

5-
[![Version](https://img.shields.io/badge/version-0.0.1-blue)]() [![License](https://img.shields.io/badge/license-GPLv2%2B-lightgrey)]()
5+
[![Version](https://img.shields.io/badge/version-0.0.1-beta)]() [![License](https://img.shields.io/badge/license-GPLv2%2B-lightgrey)]()
66

77
> [!CAUTION]
88
> This plugin is currently in an beta state. It's still under active development, so you may encounter bugs or incomplete features. Updates will be rolled out regularly. Use with caution and provide feedback if possible.

plugins/hwp-previews/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "hwp/previews",
33
"type": "wordpress-plugin",
44
"description": "A WordPress plugin for headless previews.",
5-
"license": "GPL-3.0-or-later",
5+
"license": "GPL-2.0",
66
"version": "0.0.1-beta",
77
"authors": [
88
{

plugins/hwp-previews/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"keywords": [],
1212
"author": "",
13-
"license": "GPL-3",
13+
"license": "GPL-2",
1414
"devDependencies": {
1515
"@playwright/test": "^1.52.0",
1616
"@wordpress/e2e-test-utils-playwright": "^1.25.0",

plugins/hwp-previews/readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Requires at least: 6.0
55
Tested up to: 6.8.1
66
Requires PHP: 7.4
77
Stable tag: 0.0.1-beta
8-
License: GPL-3
9-
License URI: https://www.gnu.org/licenses/gpl-3.0.html
8+
License: GPL-2.0
9+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

1111
== Description ==
1212

plugins/hwp-previews/src/Preview/Post/Post_Editor_Service.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use WP_Post_Type;
88

9-
109
/**
1110
* Post Editor Service class
1211
*

plugins/hwp-previews/src/Preview/Post/Post_Preview_Service.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace HWP\Previews\Preview\Post;
66

7-
87
/**
98
* Post Preview Service class
109
*
@@ -14,7 +13,6 @@
1413
*
1514
* @since 0.0.1
1615
*/
17-
1816
class Post_Preview_Service {
1917
/**
2018
* The allowed post-types for previews.

plugins/hwp-previews/src/Preview/Post/Post_Settings_Service.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace HWP\Previews\Preview\Post;
66

7-
87
/**
98
* Post-Settings Service class
109
*

plugins/hwp-previews/src/Templates/admin.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
/**
43
* The admin settings page for the HWP Previews plugin.
54
*

0 commit comments

Comments
 (0)