Skip to content

Commit

Permalink
update repo
Browse files Browse the repository at this point in the history
  • Loading branch information
raftaar1191 committed Jul 14, 2024
1 parent e3e1c5e commit c924177
Show file tree
Hide file tree
Showing 16 changed files with 27 additions and 27 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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' );`

```
Expand All @@ -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`
4 changes: 2 additions & 2 deletions admin/class-wordpress-plugin-boilerplate-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @package Wordpress_Plugin_Boilerplate
* @subpackage Wordpress_Plugin_Boilerplate/admin
* @author WPBoilerplate <contact@acrosswp.com>
* @author WPBoilerplate <contact@wpboilerplate.com>
*/
class Wordpress_Plugin_Boilerplate_Admin {

Expand Down Expand Up @@ -143,7 +143,7 @@ public function modify_plugin_action_links( $links, $file ) {
$links,
array(
'settings' => '<a href="' . esc_url( admin_url( 'admin.php?page=bp-settings' ) ) . '">' . esc_html__( 'Settings', 'wordpress-plugin-boilerplate' ) . '</a>',
'about' => '<a href="' . esc_url( admin_url( 'admin.php?page=acrosswp' ) ) . '">' . esc_html__( 'About', 'wordpress-plugin-boilerplate' ) . '</a>',
'about' => '<a href="' . esc_url( admin_url( 'admin.php?page=wpboilerplate' ) ) . '">' . esc_html__( 'About', 'wordpress-plugin-boilerplate' ) . '</a>',
)
);
}
Expand Down
2 changes: 1 addition & 1 deletion admin/licenses-update/edd/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
add_filter( 'wpboilerplate_edd_plugins_licenses', 'wordpress_plugin_boilerplate_edd_plugins_licenses', 100, 1 );
4 changes: 2 additions & 2 deletions admin/licenses-update/plugin-update-checker/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
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'
);

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 );
2 changes: 1 addition & 1 deletion admin/update/wordpress-plugin-boilerplate-update.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @package Wordpress_Plugin_Boilerplate
* @subpackage Wordpress_Plugin_Boilerplate/Updater
* @author WPBoilerplate <contact@acrosswp.com>
* @author WPBoilerplate <contact@wpboilerplate.com>
*/
class Wordpress_Plugin_Boilerplate_Update {

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion includes/class-wordpress-plugin-boilerplate-activator.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @since 1.0.0
* @package Wordpress_Plugin_Boilerplate
* @subpackage Wordpress_Plugin_Boilerplate/includes
* @author WPBoilerplate <contact@acrosswp.com>
* @author WPBoilerplate <contact@wpboilerplate.com>
*/
class Wordpress_Plugin_Boilerplate_Activator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @since 1.0.0
* @package Wordpress_Plugin_Boilerplate
* @subpackage Wordpress_Plugin_Boilerplate/includes
* @author WPBoilerplate <contact@acrosswp.com>
* @author WPBoilerplate <contact@wpboilerplate.com>
*/
class Wordpress_Plugin_Boilerplate_Deactivator {

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wordpress-plugin-boilerplate-i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @since 1.0.0
* @package Wordpress_Plugin_Boilerplate
* @subpackage Wordpress_Plugin_Boilerplate/includes
* @author WPBoilerplate <contact@acrosswp.com>
* @author WPBoilerplate <contact@wpboilerplate.com>
*/
class Wordpress_Plugin_Boilerplate_i18n {

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wordpress-plugin-boilerplate-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* @package Wordpress_Plugin_Boilerplate
* @subpackage Wordpress_Plugin_Boilerplate/includes
* @author WPBoilerplate <contact@acrosswp.com>
* @author WPBoilerplate <contact@wpboilerplate.com>
*/
class Wordpress_Plugin_Boilerplate_Loader {

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wordpress-plugin-boilerplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @since 1.0.0
* @package Wordpress_Plugin_Boilerplate
* @subpackage Wordpress_Plugin_Boilerplate/includes
* @author WPBoilerplate <contact@acrosswp.com>
* @author WPBoilerplate <contact@wpboilerplate.com>
*/
final class Wordpress_Plugin_Boilerplate {

Expand Down
2 changes: 1 addition & 1 deletion init-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion public/class-wordpress-plugin-boilerplate-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @package Wordpress_Plugin_Boilerplate
* @subpackage Wordpress_Plugin_Boilerplate/public
* @author WPBoilerplate <contact@acrosswp.com>
* @author WPBoilerplate <contact@wpboilerplate.com>
*/
class Wordpress_Plugin_Boilerplate_Public {

Expand Down
2 changes: 1 addition & 1 deletion uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php return array(
'root' => array(
'name' => 'acrosswp/wordpress-plugin-boilerplate',
'name' => 'wpboilerplate/wordpress-plugin-boilerplate',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => 'bc4ea3bbbefed1ed6d67c3f8d0e3a8fb48b451c4',
Expand All @@ -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',
Expand Down

0 comments on commit c924177

Please sign in to comment.