Skip to content

Commit

Permalink
Add Plugin Check to development plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed Mar 10, 2024
1 parent d42d20b commit 0823ed8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.release-it.json
.wp-env.json
CHANGELOG.md
package.json
package-lock.json
package.json
readme.hbs
README.md
5 changes: 4 additions & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"core": "WordPress/WordPress",
"plugins": ["."]
"plugins": [
".",
"https://downloads.wordpress.org/plugin/plugin-check.latest-stable.zip"
]
}
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,4 @@ This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
Public License instead of this License.
2 changes: 1 addition & 1 deletion includes/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function add_settings_link($links)
}

/**
* Return settings page.
* Render settings page.
*/
public function render_settings_page()
{
Expand Down
2 changes: 2 additions & 0 deletions includes/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*
* Defines admin-specific and public-facing site hooks.
*
* Also maintains the unique identifier and current version of the plugin.
*
* @link https://www.alecrust.com/
* @package Protected_Video
* @subpackage Protected_Video/includes
Expand Down
2 changes: 1 addition & 1 deletion uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
exit();
}

// Delete the plugin option from the wp_options table
// Delete the plugin options from the wp_options table
delete_option('protected_video_player_theme_color');
delete_option('protected_video_disable_right_click');

0 comments on commit 0823ed8

Please sign in to comment.