From c924177daf69c257a2a149f271f1448fbd7c94fb Mon Sep 17 00:00:00 2001 From: raftaar1191 Date: Sun, 14 Jul 2024 19:55:13 +0530 Subject: [PATCH] update repo --- README.md | 12 ++++++------ admin/class-wordpress-plugin-boilerplate-admin.php | 4 ++-- admin/licenses-update/edd/main.php | 2 +- admin/licenses-update/plugin-update-checker/main.php | 4 ++-- admin/update/wordpress-plugin-boilerplate-update.php | 2 +- composer.json | 6 +++--- .../class-wordpress-plugin-boilerplate-activator.php | 2 +- ...lass-wordpress-plugin-boilerplate-deactivator.php | 2 +- includes/class-wordpress-plugin-boilerplate-i18n.php | 2 +- .../class-wordpress-plugin-boilerplate-loader.php | 2 +- includes/class-wordpress-plugin-boilerplate.php | 2 +- init-plugin.sh | 2 +- package.json | 4 ++-- public/class-wordpress-plugin-boilerplate-public.php | 2 +- uninstall.php | 2 +- vendor/composer/installed.php | 4 ++-- 16 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index f2e0f66..f43f443 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Now are using the https://github.com/x3p0-dev/x3p0-ideas/tree/block-example exma ### Create blocks -1. Now run `composer require acrosswp/acrosswp-register-blocks` +1. Now run `composer require wpboilerplate/wpboilerplate-register-blocks` 2. Now run `composer update` 3. Run `npm install @wordpress/scripts --save-dev` inside plugin folder terminal 4. Once everything install goto `src/blocks` folder and run `npx @wordpress/create-block@latest wordpress-plugin-boilerplate-block --variant=dynamic --no-plugin` @@ -23,7 +23,7 @@ Now are using the https://github.com/x3p0-dev/x3p0-ideas/tree/block-example exma ### Adding dependency for Custom Plugins 1. Adding BuddyBoss Platform and Platform Pro dependency - `composer require acrosswp/acrosswp-buddypress-or-buddyboss-dependency` + `composer require wpboilerplate/wpboilerplate-buddypress-or-buddyboss-dependency` and then add the below code in function load_dependencies after vendor autoload file included `require_once( WORDPRESS_PLUGIN_BOILERPLATE_PLUGIN_PATH . 'vendor/autoload.php' );` ``` @@ -36,13 +36,13 @@ Now are using the https://github.com/x3p0-dev/x3p0-ideas/tree/block-example exma ``` 2. Adding BuddyBoss Platform dependency - `composer require acrosswp/acrosswp-buddyboss-dependency` + `composer require wpboilerplate/wpboilerplate-buddyboss-dependency` 3. Adding WooCommerce dependency - `composer require acrosswp/acrosswp-woocommerce-dependency` + `composer require wpboilerplate/wpboilerplate-woocommerce-dependency` 4. Adding ACF Pro dependency - `composer require acrosswp/acrossswp-acf-pro-dependency` + `composer require wpboilerplate/acrossswp-acf-pro-dependency` 5. Adding View Analytics dependency - `composer require acrosswp/acrosswp-view-analytics-dependency` + `composer require wpboilerplate/wpboilerplate-view-analytics-dependency` diff --git a/admin/class-wordpress-plugin-boilerplate-admin.php b/admin/class-wordpress-plugin-boilerplate-admin.php index aae8ca3..c682a7a 100644 --- a/admin/class-wordpress-plugin-boilerplate-admin.php +++ b/admin/class-wordpress-plugin-boilerplate-admin.php @@ -20,7 +20,7 @@ * * @package Wordpress_Plugin_Boilerplate * @subpackage Wordpress_Plugin_Boilerplate/admin - * @author WPBoilerplate + * @author WPBoilerplate */ class Wordpress_Plugin_Boilerplate_Admin { @@ -143,7 +143,7 @@ public function modify_plugin_action_links( $links, $file ) { $links, array( 'settings' => '' . esc_html__( 'Settings', 'wordpress-plugin-boilerplate' ) . '', - 'about' => '' . esc_html__( 'About', 'wordpress-plugin-boilerplate' ) . '', + 'about' => '' . esc_html__( 'About', 'wordpress-plugin-boilerplate' ) . '', ) ); } diff --git a/admin/licenses-update/edd/main.php b/admin/licenses-update/edd/main.php index 46eb5ad..60c11c5 100644 --- a/admin/licenses-update/edd/main.php +++ b/admin/licenses-update/edd/main.php @@ -16,4 +16,4 @@ function wordpress_plugin_boilerplate_edd_plugins_licenses( $licenses ) { return $licenses; } -add_filter( 'acrosswp_edd_plugins_licenses', 'wordpress_plugin_boilerplate_edd_plugins_licenses', 100, 1 ); \ No newline at end of file +add_filter( 'wpboilerplate_edd_plugins_licenses', 'wordpress_plugin_boilerplate_edd_plugins_licenses', 100, 1 ); \ No newline at end of file diff --git a/admin/licenses-update/plugin-update-checker/main.php b/admin/licenses-update/plugin-update-checker/main.php index e2a98b8..ba0e08e 100644 --- a/admin/licenses-update/plugin-update-checker/main.php +++ b/admin/licenses-update/plugin-update-checker/main.php @@ -8,7 +8,7 @@ function wordpress_plugin_boilerplate_plugins_update_checker_github( $packages ) { $packages[1004] = array( - 'repo' => 'https://github.com/acrosswp/wordpress-plugin-boilerplate', + 'repo' => 'https://github.com/wpboilerplate/wordpress-plugin-boilerplate', 'file_path' => WORDPRESS_PLUGIN_BOILERPLATE_FILES, 'plugin_name_slug' => WORDPRESS_PLUGIN_BOILERPLATE_PLUGIN_NAME_SLUG, 'release_branch' => 'main' @@ -16,4 +16,4 @@ function wordpress_plugin_boilerplate_plugins_update_checker_github( $packages ) return $packages; } -add_filter( 'acrosswp_plugins_update_checker_github', 'wordpress_plugin_boilerplate_plugins_update_checker_github', 100, 1 ); +add_filter( 'wpboilerplate_plugins_update_checker_github', 'wordpress_plugin_boilerplate_plugins_update_checker_github', 100, 1 ); diff --git a/admin/update/wordpress-plugin-boilerplate-update.php b/admin/update/wordpress-plugin-boilerplate-update.php index 1718e73..38879c3 100644 --- a/admin/update/wordpress-plugin-boilerplate-update.php +++ b/admin/update/wordpress-plugin-boilerplate-update.php @@ -18,7 +18,7 @@ * * @package Wordpress_Plugin_Boilerplate * @subpackage Wordpress_Plugin_Boilerplate/Updater - * @author WPBoilerplate + * @author WPBoilerplate */ class Wordpress_Plugin_Boilerplate_Update { diff --git a/composer.json b/composer.json index 650290e..a469568 100644 --- a/composer.json +++ b/composer.json @@ -1,16 +1,16 @@ { - "name": "acrosswp/wordpress-plugin-boilerplate", + "name": "wpboilerplate/wordpress-plugin-boilerplate", "type": "library", "license": "GPL-2.0-or-later", "description": "Composer to autoload the WordPress Plugin Boilerplate", - "homepage": "https://wordpress-plugin-boilerplate.com/", + "homepage": "https://github.com/WPBoilerplate/wordpress-plugin-boilerplate", "keywords": [ "wordpress", "plugin" ], "minimum-stability": "dev", "support": { - "issues": "https://github.com/acrosswp/wordpress-plugin-boilerplate/issues" + "issues": "https://github.com/wpboilerplate/wordpress-plugin-boilerplate/issues" }, "authors": [ { diff --git a/includes/class-wordpress-plugin-boilerplate-activator.php b/includes/class-wordpress-plugin-boilerplate-activator.php index db629a4..a088860 100644 --- a/includes/class-wordpress-plugin-boilerplate-activator.php +++ b/includes/class-wordpress-plugin-boilerplate-activator.php @@ -20,7 +20,7 @@ * @since 1.0.0 * @package Wordpress_Plugin_Boilerplate * @subpackage Wordpress_Plugin_Boilerplate/includes - * @author WPBoilerplate + * @author WPBoilerplate */ class Wordpress_Plugin_Boilerplate_Activator { diff --git a/includes/class-wordpress-plugin-boilerplate-deactivator.php b/includes/class-wordpress-plugin-boilerplate-deactivator.php index 21d59d1..504e761 100644 --- a/includes/class-wordpress-plugin-boilerplate-deactivator.php +++ b/includes/class-wordpress-plugin-boilerplate-deactivator.php @@ -20,7 +20,7 @@ * @since 1.0.0 * @package Wordpress_Plugin_Boilerplate * @subpackage Wordpress_Plugin_Boilerplate/includes - * @author WPBoilerplate + * @author WPBoilerplate */ class Wordpress_Plugin_Boilerplate_Deactivator { diff --git a/includes/class-wordpress-plugin-boilerplate-i18n.php b/includes/class-wordpress-plugin-boilerplate-i18n.php index b869a10..76c9a05 100644 --- a/includes/class-wordpress-plugin-boilerplate-i18n.php +++ b/includes/class-wordpress-plugin-boilerplate-i18n.php @@ -24,7 +24,7 @@ * @since 1.0.0 * @package Wordpress_Plugin_Boilerplate * @subpackage Wordpress_Plugin_Boilerplate/includes - * @author WPBoilerplate + * @author WPBoilerplate */ class Wordpress_Plugin_Boilerplate_i18n { diff --git a/includes/class-wordpress-plugin-boilerplate-loader.php b/includes/class-wordpress-plugin-boilerplate-loader.php index ad13d0c..cf38487 100644 --- a/includes/class-wordpress-plugin-boilerplate-loader.php +++ b/includes/class-wordpress-plugin-boilerplate-loader.php @@ -21,7 +21,7 @@ * * @package Wordpress_Plugin_Boilerplate * @subpackage Wordpress_Plugin_Boilerplate/includes - * @author WPBoilerplate + * @author WPBoilerplate */ class Wordpress_Plugin_Boilerplate_Loader { diff --git a/includes/class-wordpress-plugin-boilerplate.php b/includes/class-wordpress-plugin-boilerplate.php index f916d7e..7ebe6cb 100644 --- a/includes/class-wordpress-plugin-boilerplate.php +++ b/includes/class-wordpress-plugin-boilerplate.php @@ -27,7 +27,7 @@ * @since 1.0.0 * @package Wordpress_Plugin_Boilerplate * @subpackage Wordpress_Plugin_Boilerplate/includes - * @author WPBoilerplate + * @author WPBoilerplate */ final class Wordpress_Plugin_Boilerplate { diff --git a/init-plugin.sh b/init-plugin.sh index 96fce75..83460ed 100644 --- a/init-plugin.sh +++ b/init-plugin.sh @@ -48,7 +48,7 @@ repo="$slug" echo echo "The Organization name will be converted to lowercase for use in the repository " -echo "path (i.e. WPBoilerplate becomes acrosswp)." +echo "path (i.e. WPBoilerplate becomes wpboilerplate)." echo -n "Enter your GitHub organization name, and press [ENTER]: " read org diff --git a/package.json b/package.json index d3f0bd2..81771cd 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "private": true, "repository": { "type": "git", - "url": "git+https://github.com/acrosswp/wordpress-plugin-boilerplate.git" + "url": "git+https://github.com/wpboilerplate/wordpress-plugin-boilerplate.git" }, "author": "WPBoilerplate", "license": "GPL-3.0-or-later", "bugs": { - "url": "https://github.com/acrosswp/wordpress-plugin-boilerplate/issues" + "url": "https://github.com/wpboilerplate/wordpress-plugin-boilerplate/issues" }, "scripts": { "start": "wp-scripts start", diff --git a/public/class-wordpress-plugin-boilerplate-public.php b/public/class-wordpress-plugin-boilerplate-public.php index b82f7e7..94f2f09 100644 --- a/public/class-wordpress-plugin-boilerplate-public.php +++ b/public/class-wordpress-plugin-boilerplate-public.php @@ -20,7 +20,7 @@ * * @package Wordpress_Plugin_Boilerplate * @subpackage Wordpress_Plugin_Boilerplate/public - * @author WPBoilerplate + * @author WPBoilerplate */ class Wordpress_Plugin_Boilerplate_Public { diff --git a/uninstall.php b/uninstall.php index ec251d4..6a6eabd 100644 --- a/uninstall.php +++ b/uninstall.php @@ -17,7 +17,7 @@ * general skeleton and outline for how the file should work. * * For more information, see the following discussion: - * https://github.com/acrosswp/wordpress-plugin-boilerplate + * https://github.com/wpboilerplate/wordpress-plugin-boilerplate * * @link https://github.com/WPBoilerplate/wordpress-plugin-boilerplate * @since 1.0.0 diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 4a40451..65ff3df 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,6 +1,6 @@ array( - 'name' => 'acrosswp/wordpress-plugin-boilerplate', + 'name' => 'wpboilerplate/wordpress-plugin-boilerplate', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'bc4ea3bbbefed1ed6d67c3f8d0e3a8fb48b451c4', @@ -10,7 +10,7 @@ 'dev' => true, ), 'versions' => array( - 'acrosswp/wordpress-plugin-boilerplate' => array( + 'wpboilerplate/wordpress-plugin-boilerplate' => array( 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'bc4ea3bbbefed1ed6d67c3f8d0e3a8fb48b451c4',