Skip to content

Commit 642204e

Browse files
committed
Fix plugin update
1 parent afcdb74 commit 642204e

54 files changed

Lines changed: 756 additions & 110 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/class-post-anonymously.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ private function load_composer_dependencies() {
210210
* For Plugin to check if BuddyBoss Platform plugin is active or not
211211
*/
212212
if ( class_exists( 'WPBoilerplate_BuddyBoss_Platform_Dependency' ) ) {
213-
new WPBoilerplate_BuddyBoss_Platform_Dependency( POST_ANONYMOUSLY_PLUGIN_NAME_SLUG, POST_ANONYMOUSLY_FILES );
213+
new WPBoilerplate_BuddyBoss_Platform_Dependency( $this->get_plugin_name(), POST_ANONYMOUSLY_FILES, array( 'activity' ) );
214214
}
215215

216216
/**
@@ -223,7 +223,7 @@ private function load_composer_dependencies() {
223223
'file_path' => POST_ANONYMOUSLY_FILES,
224224
'name_slug' => POST_ANONYMOUSLY_PLUGIN_NAME_SLUG,
225225
'release_branch' => 'main',
226-
'release-assets' => true
226+
'release-assets' => false
227227
);
228228

229229
new WPBoilerplate_Updater_Checker_Github( $package );

vendor/composer/autoload_files.php

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

88
return array(
99
'be1174c0e92ca9c51be576fa4116555e' => $vendorDir . '/wpboilerplate/wpb-dependency/index.php',
10-
'd05ecc14ff93fd612a81ec7e8ab4c2c9' => $vendorDir . '/yahnis-elsts/plugin-update-checker/load-v5p4.php',
10+
'256558b1ddf2fa4366ea7d7602798dd1' => $vendorDir . '/yahnis-elsts/plugin-update-checker/load-v5p5.php',
1111
'3d5bdb9874404392d175bd917027453e' => $vendorDir . '/wpboilerplate/wpb-buddyboss-dependency/index.php',
1212
'7c995e13e9d12cc31ce686afebdfe9c4' => $vendorDir . '/wpboilerplate/wpb-updater-checker-github/index.php',
1313
);

vendor/composer/autoload_static.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ComposerStaticInit03dc15a346eddd60e40c074ce58a682f
88
{
99
public static $files = array (
1010
'be1174c0e92ca9c51be576fa4116555e' => __DIR__ . '/..' . '/wpboilerplate/wpb-dependency/index.php',
11-
'd05ecc14ff93fd612a81ec7e8ab4c2c9' => __DIR__ . '/..' . '/yahnis-elsts/plugin-update-checker/load-v5p4.php',
11+
'256558b1ddf2fa4366ea7d7602798dd1' => __DIR__ . '/..' . '/yahnis-elsts/plugin-update-checker/load-v5p5.php',
1212
'3d5bdb9874404392d175bd917027453e' => __DIR__ . '/..' . '/wpboilerplate/wpb-buddyboss-dependency/index.php',
1313
'7c995e13e9d12cc31ce686afebdfe9c4' => __DIR__ . '/..' . '/wpboilerplate/wpb-updater-checker-github/index.php',
1414
);

vendor/composer/installed.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
"source": {
88
"type": "git",
99
"url": "https://github.com/WPBoilerplate/wpb-buddyboss-dependency.git",
10-
"reference": "0d2b04e3fc111f14a4bd7aba3d6f7bdab5c4f6df"
10+
"reference": "91d6b3bb1f7c6a945c00aeaa06c4dadee70ae1dd"
1111
},
1212
"dist": {
1313
"type": "zip",
14-
"url": "https://api.github.com/repos/WPBoilerplate/wpb-buddyboss-dependency/zipball/0d2b04e3fc111f14a4bd7aba3d6f7bdab5c4f6df",
15-
"reference": "0d2b04e3fc111f14a4bd7aba3d6f7bdab5c4f6df",
14+
"url": "https://api.github.com/repos/WPBoilerplate/wpb-buddyboss-dependency/zipball/91d6b3bb1f7c6a945c00aeaa06c4dadee70ae1dd",
15+
"reference": "91d6b3bb1f7c6a945c00aeaa06c4dadee70ae1dd",
1616
"shasum": ""
1717
},
1818
"require": {
1919
"wpboilerplate/wpb-dependency": "dev-main"
2020
},
21-
"time": "2024-08-06T20:04:43+00:00",
21+
"time": "2024-08-16T15:21:15+00:00",
2222
"default-branch": true,
2323
"type": "library",
2424
"installation-source": "dist",
@@ -148,25 +148,25 @@
148148
"source": {
149149
"type": "git",
150150
"url": "https://github.com/YahnisElsts/plugin-update-checker.git",
151-
"reference": "dfc396c0110fa1739dd4e349a1889d587ac21644"
151+
"reference": "73e6281e434bceffa7884568611804f8c38e27b5"
152152
},
153153
"dist": {
154154
"type": "zip",
155-
"url": "https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/dfc396c0110fa1739dd4e349a1889d587ac21644",
156-
"reference": "dfc396c0110fa1739dd4e349a1889d587ac21644",
155+
"url": "https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/73e6281e434bceffa7884568611804f8c38e27b5",
156+
"reference": "73e6281e434bceffa7884568611804f8c38e27b5",
157157
"shasum": ""
158158
},
159159
"require": {
160160
"ext-json": "*",
161161
"php": ">=5.6.20"
162162
},
163-
"time": "2024-07-06T16:56:43+00:00",
163+
"time": "2024-12-09T15:47:56+00:00",
164164
"default-branch": true,
165165
"type": "library",
166166
"installation-source": "dist",
167167
"autoload": {
168168
"files": [
169-
"load-v5p4.php"
169+
"load-v5p5.php"
170170
]
171171
},
172172
"notification-url": "https://packagist.org/downloads/",

vendor/composer/installed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => 'acrosswp/post-anonymously',
44
'pretty_version' => 'dev-main',
55
'version' => 'dev-main',
6-
'reference' => '2f65594abe299f8cfd379dc8db00bb1a3fd0f924',
6+
'reference' => 'afcdb74780084f28e45a72c308d075f97a00e39e',
77
'type' => 'library',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,7 +13,7 @@
1313
'acrosswp/post-anonymously' => array(
1414
'pretty_version' => 'dev-main',
1515
'version' => 'dev-main',
16-
'reference' => '2f65594abe299f8cfd379dc8db00bb1a3fd0f924',
16+
'reference' => 'afcdb74780084f28e45a72c308d075f97a00e39e',
1717
'type' => 'library',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),
@@ -22,7 +22,7 @@
2222
'wpboilerplate/wpb-buddyboss-dependency' => array(
2323
'pretty_version' => 'dev-main',
2424
'version' => 'dev-main',
25-
'reference' => '0d2b04e3fc111f14a4bd7aba3d6f7bdab5c4f6df',
25+
'reference' => '91d6b3bb1f7c6a945c00aeaa06c4dadee70ae1dd',
2626
'type' => 'library',
2727
'install_path' => __DIR__ . '/../wpboilerplate/wpb-buddyboss-dependency',
2828
'aliases' => array(
@@ -55,7 +55,7 @@
5555
'yahnis-elsts/plugin-update-checker' => array(
5656
'pretty_version' => 'dev-master',
5757
'version' => 'dev-master',
58-
'reference' => 'dfc396c0110fa1739dd4e349a1889d587ac21644',
58+
'reference' => '73e6281e434bceffa7884568611804f8c38e27b5',
5959
'type' => 'library',
6060
'install_path' => __DIR__ . '/../yahnis-elsts/plugin-update-checker',
6161
'aliases' => array(
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "wpboilerplate/wpb-buddyboss-dependency",
3+
"type": "library",
4+
"license": "GPL-2.0-or-later",
5+
"description": "Composer to autoload the AcrossWP Dependency Class",
6+
"homepage": "https://github.com/WPBoilerplate/wpb-buddyboss-dependency",
7+
"keywords": [
8+
"wordpress",
9+
"plugin"
10+
],
11+
"autoload": {
12+
"files": ["index.php"]
13+
},
14+
"support": {
15+
"issues": "https://github.com/WPBoilerplate/wpb-buddyboss-dependency/issues"
16+
},
17+
"require": {
18+
"wpboilerplate/wpb-dependency": "dev-main"
19+
},
20+
"authors": [
21+
{
22+
"name": "WPBoilerplate"
23+
}
24+
],
25+
"minimum-stability": "dev",
26+
"prefer-stable": true
27+
}

vendor/wpboilerplate/wpb-buddyboss-dependency/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class WPBoilerplate_BuddyBoss_Platform_Dependency extends WPBoilerplate_Plugins_
2828
*
2929
* @since 0.0.1
3030
*/
31-
public function __construct( $plugin_name, $plugin_files, $mini_version = '2.6.70', $component_required = array() ) {
31+
public function __construct( $plugin_name, $plugin_files, $component_required = array(), $mini_version = '2.6.70' ) {
3232

3333
$this->plugin_name = $plugin_name;
3434
$this->plugin_files = $plugin_files;
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Editors
2+
project.xml
3+
project.properties
4+
/nbproject/private/
5+
.buildpath
6+
.project
7+
.settings*
8+
.idea
9+
.vscode
10+
*.sublime-project
11+
*.sublime-workspace
12+
.sublimelinterrc
13+
14+
# Grunt
15+
/node_modules/
16+
none
17+
18+
# Sass
19+
.sass-cache/
20+
21+
# Compiled CSS
22+
/assets/css/*.css
23+
24+
# Minified JS
25+
/assets/js/admin/*.min.js
26+
/assets/js/frontend/*.min.js
27+
28+
# OS X metadata
29+
.DS_Store
30+
31+
# Windows junk
32+
Thumbs.db
33+
34+
# Behat/CLI Tests
35+
tests/cli/installer
36+
tests/cli/composer.phar
37+
tests/cli/composer.lock
38+
tests/cli/composer.json
39+
tests/cli/vendor
40+
41+
# Unit tests
42+
/tmp
43+
/tests/bin/tmp
44+
/tests/e2e-tests/config/local-*.json
45+
/tests/e2e-tests/config/local.json
46+
47+
# Logs
48+
/logs
49+
50+
# Composer
51+
contributors.md
52+
composer.lock
53+
/vendor/
54+
55+
# Packages
56+
/packages/*
57+
!/packages/README.md
58+
59+
# Screenshots for e2e tests failures
60+
/screenshots/
61+
62+
# Language files
63+
i18n/languages/woocommerce.pot
64+
65+
/assets/dist/css/frontend-style.\*.css
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "wpboilerplate/wpb-updater-checker-github",
3+
"type": "library",
4+
"license": "GPL-2.0-or-later",
5+
"description": "Composer to autoload the Updater via Github",
6+
"homepage": "https://github.com/WPBoilerplate/wpb-updater-checker-github",
7+
"keywords": [
8+
"wordpress",
9+
"plugin"
10+
],
11+
"autoload": {
12+
"files": ["index.php"]
13+
},
14+
"require": {
15+
"yahnis-elsts/plugin-update-checker": "dev-master"
16+
},
17+
"support": {
18+
"issues": "https://github.com/WPBoilerplate/wpb-updater-checker-github/issues"
19+
},
20+
"authors": [
21+
{
22+
"name": "WPBoilerplate"
23+
}
24+
],
25+
"minimum-stability": "dev",
26+
"prefer-stable": true
27+
}

0 commit comments

Comments
 (0)