Skip to content

Commit 9b87cea

Browse files
committed
Deploy v3.0.0 to Freemius; exclude CLAUDE.md and AGENTS.md from zip
1 parent bbd75cc commit 9b87cea

59 files changed

Lines changed: 79 additions & 40 deletions

Some content is hidden

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@
6161
"@phpcompat",
6262
"@phpstan"
6363
],
64-
"zip": "mkdir -p build && zip -X -r build/$(basename $(pwd)).zip . -x '*.git*' 'node_modules/*' '.*' '*/.git*' '*/.DS_Store' 'CODE_OF_CONDUCT.md' 'CONTRIBUTING.md' 'ISSUE_TEMPLATE.md' 'PULL_REQUEST_TEMPLATE.md' '*.dist' '*.yml' '*.neon' 'composer.*' 'package.json' 'package-lock.json' 'dev-helpers**' 'build**' 'wporg-assets**' 'test-tools**' 'docs/*' 'phpunit**' 'phpstan-bootstrap.php' 'phpcompat-tools**'"
64+
"zip": "mkdir -p build && zip -X -r build/$(basename $(pwd)).zip . -x '*.git*' 'node_modules/*' '.*' '*/.git*' '*/.DS_Store' 'vendor/**/.DS_Store' 'vendor/bin/*' 'CODE_OF_CONDUCT.md' 'CONTRIBUTING.md' 'ISSUE_TEMPLATE.md' 'PULL_REQUEST_TEMPLATE.md' 'CLAUDE.md' 'AGENTS.md' '*.dist' '*.yml' '*.neon' 'composer.*' 'package.json' 'package-lock.json' 'dev-helpers**' 'build**' 'wporg-assets**' 'test-tools**' 'docs/*' 'phpunit**' 'phpstan-bootstrap.php' 'phpcompat-tools**'"
6565
}
6666
}

load-freemius.php

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
if ( ! defined( 'ABSPATH' ) ) {
1111
exit;
1212
}
13-
14-
if ( ! function_exists( __NAMESPACE__ . '\wzkb_freemius' ) ) {
13+
if ( ! function_exists( __NAMESPACE__ . '\\wzkb_freemius' ) ) {
1514
/**
1615
* Initialize Freemius SDK.
1716
*/
@@ -26,27 +25,27 @@ function wzkb_freemius() {
2625
require_once __DIR__ . '/vendor/freemius/start.php';
2726
$wzkb_freemius = \fs_dynamic_init(
2827
array(
29-
'id' => '21392',
30-
'slug' => 'knowledgebase',
31-
'premium_slug' => 'knowledgebase-pro',
32-
'type' => 'plugin',
33-
'public_key' => 'pk_1f07ee1df929932e63005f9866901',
34-
'is_premium' => true,
35-
'premium_suffix' => 'Pro',
36-
'has_premium_version' => true,
37-
'has_addons' => false,
38-
'has_paid_plans' => true,
39-
'wp_org_gatekeeper' => 'OA7#BoRiBNqdf52FvzEf!!074aRLPs8fspif$7K1#4u4Csys1fQlCecVcUTOs2mcpeVHi#C2j9d09fOTvbC0HloPT7fFee5WdS3G',
40-
'trial' => array(
28+
'id' => '21392',
29+
'slug' => 'knowledgebase',
30+
'premium_slug' => 'knowledgebase-pro',
31+
'type' => 'plugin',
32+
'public_key' => 'pk_1f07ee1df929932e63005f9866901',
33+
'is_premium' => false,
34+
'premium_suffix' => 'Pro',
35+
'has_addons' => false,
36+
'has_paid_plans' => true,
37+
'trial' => array(
4138
'days' => 14,
4239
'is_require_payment' => true,
4340
),
44-
'menu' => array(
41+
'menu' => array(
4542
'slug' => 'edit.php?post_type=wz_knowledgebase',
4643
'first-path' => 'edit.php?post_type=wz_knowledgebase&page=wzkb_wizard',
4744
'contact' => false,
4845
'support' => false,
4946
),
47+
'is_live' => true,
48+
'is_org_compliant' => true,
5049
)
5150
);
5251
}

vendor/freemius/LICENSE.txt

100755100644
File mode changed.

vendor/freemius/assets/css/admin/account.css

100755100644
File mode changed.

vendor/freemius/assets/css/admin/add-ons.css

100755100644
File mode changed.

vendor/freemius/assets/css/admin/common.css

100755100644
File mode changed.

vendor/freemius/assets/css/admin/connect.css

100755100644
File mode changed.

vendor/freemius/assets/js/nojquery.ba-postmessage.js

100755100644
File mode changed.

vendor/freemius/assets/js/postmessage.js

100755100644
File mode changed.

vendor/freemius/assets/js/pricing/freemius-pricing.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)