From b97d99fed3cdbccad431dc9a79ad666a087b8109 Mon Sep 17 00:00:00 2001 From: prettysunflower Date: Thu, 19 Jun 2025 11:19:31 -0400 Subject: [PATCH] Initial commit Signed-off-by: prettysunflower --- .gitignore | 51 +------------------- .idea/.gitignore | 8 +++ .idea/dictionaries/project.xml | 7 +++ .idea/inspectionProfiles/Project_Default.xml | 6 +++ .idea/modules.xml | 8 +++ .idea/php.xml | 50 +++++++++++++++++++ .idea/vcs.xml | 6 +++ .idea/wp-plugin-base.iml | 11 +++++ composer.json | 5 ++ composer.lock | 18 +++++++ wp-plugin-base.php | 44 +++++++++++++++++ 11 files changed, 165 insertions(+), 49 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/dictionaries/project.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/php.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/wp-plugin-base.iml create mode 100644 composer.json create mode 100644 composer.lock create mode 100644 wp-plugin-base.php diff --git a/.gitignore b/.gitignore index 0ef4054..7ce63c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,49 +1,2 @@ -# ---> WordPress -# Wordpress - ignore core, configuration, examples, uploads and logs. -# https://github.com/github/gitignore/blob/main/WordPress.gitignore - -# Core -# -# Note: if you want to stage/commit WP core files -# you can delete this whole section/until Configuration. -/wp-admin/ -/wp-content/index.php -/wp-content/languages -/wp-content/plugins/index.php -/wp-content/themes/index.php -/wp-includes/ -/index.php -/license.txt -/readme.html -/wp-*.php -/xmlrpc.php - -# Configuration -wp-config.php - -# Example themes -/wp-content/themes/twenty*/ - -# Example plugin -/wp-content/plugins/hello.php - -# Uploads -/wp-content/uploads/ - -# Log files -*.log - -# htaccess -/.htaccess - -# All plugins -# -# Note: If you wish to whitelist plugins, -# uncomment the next line -#/wp-content/plugins - -# All themes -# -# Note: If you wish to whitelist themes, -# uncomment the next line -#/wp-content/themes +composer.phar +/vendor/ \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/dictionaries/project.xml b/.idea/dictionaries/project.xml new file mode 100644 index 0000000..3eb1cb1 --- /dev/null +++ b/.idea/dictionaries/project.xml @@ -0,0 +1,7 @@ + + + + prettysunflower + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..23850f4 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..8d362b6 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..70d68e9 --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/wp-plugin-base.iml b/.idea/wp-plugin-base.iml new file mode 100644 index 0000000..2bb1373 --- /dev/null +++ b/.idea/wp-plugin-base.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..4e753dc --- /dev/null +++ b/composer.json @@ -0,0 +1,5 @@ +{ + "autoload": { + "psr-4": {"wp_plugin_base\\": "."} + } +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..b383d88 --- /dev/null +++ b/composer.lock @@ -0,0 +1,18 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "d751713988987e9331980363e24189ce", + "packages": [], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": {}, + "prefer-stable": false, + "prefer-lowest": false, + "platform": {}, + "platform-dev": {}, + "plugin-api-version": "2.6.0" +} diff --git a/wp-plugin-base.php b/wp-plugin-base.php new file mode 100644 index 0000000..30a65e5 --- /dev/null +++ b/wp-plugin-base.php @@ -0,0 +1,44 @@ +