Skip to content

Commit aa46a2e

Browse files
committed
chore: replace name
1 parent 16f3db7 commit aa46a2e

Some content is hidden

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

69 files changed

+378
-461
lines changed

.github/workflows/create-build-zip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ jobs:
7878
with:
7979
issue-number: ${{ steps.get-pr-number.outputs.num }}
8080
comment-author: github-actions[bot]
81-
body-includes: Download Church FSE
81+
body-includes: Download LMSCourse FSE
8282

8383
- name: Get comment body
8484
id: get-comment-body
8585
run: |
8686
body="Plugin build for ${{ github.event.pull_request.head.sha }} is ready :bellhop_bell:!
87-
- Download Church FSE - [build 🔗](https://verti-artifacts.s3.amazonaws.com/${{ github.event.pull_request.base.repo.name }}-${{ needs.dev-zip.outputs.branch-name }}-${{ needs.dev-zip.outputs.git-sha-8 }}/church-fse.zip)"
87+
- Download LMSCourse FSE - [build 🔗](https://verti-artifacts.s3.amazonaws.com/${{ github.event.pull_request.base.repo.name }}-${{ needs.dev-zip.outputs.branch-name }}-${{ needs.dev-zip.outputs.git-sha-8 }}/lmscourse-fse.zip)"
8888
body="${body//$'\n'/'%0A'}"
8989
echo "::set-output name=body::$body"
9090
- name: Create comment on PR with links to plugin builds

.github/workflows/create-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
GIT_COMMITTER_NAME: themeisle[bot]
4545
GIT_COMMITTER_EMAIL: ${{ secrets.PIRATE_BOT_EMAIL }}
4646
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_ANNOUNCEMENTS }}
47-
SEMANTIC_RELEASE_PACKAGE: ChurchFSE
47+
SEMANTIC_RELEASE_PACKAGE: LMSCourseFSE
4848
empty-job:
4949
# if no jobs run, github action considers it a test failure -- which seems like a bug
5050
# this makes it so the top-level if statement for the job does not give status failure.

.github/workflows/diff-translations.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
- name: Checkout Ref Base
1515
uses: actions/checkout@v4
1616
with:
17-
path: church-fse-head
17+
path: lmscourse-fse-head
1818
- name: Setup node 14
1919
uses: actions/setup-node@v1
2020
with:
2121
node-version: 14.x
2222
- name: FRESH Makepot BASE
2323
run: |
24-
cd church-fse-head
24+
cd lmscourse-fse-head
2525
ls languages/
2626
composer install --no-dev --prefer-dist --no-progress --no-suggest
2727
yarn install --frozen-lockfile
@@ -31,10 +31,10 @@ jobs:
3131
uses: actions/checkout@v4
3232
with:
3333
ref: development
34-
path: church-fse-base
34+
path: lmscourse-fse-base
3535
- name: FRESH Makepot HEAD
3636
run: |
37-
cd church-fse-base
37+
cd lmscourse-fse-base
3838
ls languages/
3939
composer install --no-dev --prefer-dist --no-progress --no-suggest
4040
yarn install --frozen-lockfile
@@ -60,7 +60,7 @@ jobs:
6060
- name: Run Podiff
6161
id: translation_status
6262
run: |
63-
${GITHUB_WORKSPACE}/church-fse-head/bin/pot-diff.sh ./church-fse-base/languages/church-fse.pot ./church-fse-head/languages/church-fse.pot $PERCENT_TRESHOLD
63+
${GITHUB_WORKSPACE}/lmscourse-fse-head/bin/pot-diff.sh ./lmscourse-fse-base/languages/lmscourse-fse.pot ./lmscourse-fse-head/languages/lmscourse-fse.pot $PERCENT_TRESHOLD
6464
- name: Step require review
6565
if: steps.translation_status.outputs.has_pot_diff != 'success'
6666
uses: Automattic/action-required-review@v3

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ assets/js/build
1010
*.map
1111
/vendor/
1212

13-
languages/church-fse.pot
13+
languages/lmscourse-fse.pot
1414

1515
.DS_Store
1616
.phpunit.result.cache

CHANGELOG.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +0,0 @@
1-
##### [Version 1.0.3](https://github.com/Codeinwp/church-fse/compare/v1.0.2...v1.0.3) (2025-05-30)
2-
3-
- Updated dependencies
4-
5-
##### [Version 1.0.2](https://github.com/Codeinwp/church-fse/compare/v1.0.1...v1.0.2) (2025-05-27)
6-
7-
- Updated dependencies
8-
9-
##### [Version 1.0.1](https://github.com/Codeinwp/church-fse/compare/v1.0.0...v1.0.1) (2025-03-27)
10-
11-
- Fix issues mentioned by Theme Review Team
12-
13-
#### Version 1.0.0 (2025-03-27)
14-
15-
- Initial version

assets/css/src/welcome-notice.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@custom-media --tablet (max-width: 769px);
22
@custom-media --desktop (max-width: 1200px);
33

4-
.church-fse-welcome-notice {
4+
.lmscourse-fse-welcome-notice {
55
position: relative;
66
padding-bottom: 0;
77

assets/js/src/welcome-notice.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* global churchFSEData, jQuery */
1+
/* global lmscourseFSEData, jQuery */
22

33
import { installPlugin, activatePlugin } from './common/plugin-install';
44

@@ -13,13 +13,13 @@ function handleWelcomeNotice( $ ) {
1313
nonce,
1414
wpfpRefNonce,
1515
wpfpStatus,
16-
} = churchFSEData;
16+
} = lmscourseFSEData;
1717

1818
const installBtn = $(
19-
'.church-fse-welcome-notice #church-fse-install-wpfp'
19+
'.lmscourse-fse-welcome-notice #lmscourse-fse-install-wpfp'
2020
);
21-
const dismissBtn = $( '.church-fse-welcome-notice .notice-dismiss' );
22-
const notice = $( '.church-fse-welcome-notice' );
21+
const dismissBtn = $( '.lmscourse-fse-welcome-notice .notice-dismiss' );
22+
const notice = $( '.lmscourse-fse-welcome-notice' );
2323
const installText = installBtn.find( '.text' );
2424
const installSpinner = installBtn.find( '.dashicons' );
2525

@@ -37,7 +37,7 @@ function handleWelcomeNotice( $ ) {
3737

3838
await $.post( ajaxUrl, {
3939
nonce: wpfpRefNonce,
40-
action: 'church_fse_set_wpfp_ref',
40+
action: 'lmscourse_fse_set_wpfp_ref',
4141
} );
4242

4343
installSpinner.removeClass( 'dashicons-update' );
@@ -68,7 +68,7 @@ function handleWelcomeNotice( $ ) {
6868
$( dismissBtn ).on( 'click', () => {
6969
$.post( ajaxUrl, {
7070
nonce,
71-
action: 'church_fse_dismiss_welcome_notice',
71+
action: 'lmscourse_fse_dismiss_welcome_notice',
7272
success: hideAndRemoveNotice,
7373
} );
7474
} );

bin/makepot.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
docker run \
44
--user root \
55
--rm \
6-
--volume "$(pwd):/var/www/html/church-fse" \
7-
wordpress:cli bash -c 'php -d memory_limit=1024M "$(which wp)" i18n make-pot ./church-fse/ ./church-fse/languages/church-fse.pot --headers={\"Last-Translator\":\"friends@themeisle.com\"\,\"Project-Id-Version\":\"ChurchFSE\"\,\"Report-Msgid-Bugs-To\":\"https://github.com/Codeinwp/church-fse/issues\"\} --allow-root --exclude=dist,build,bundle,e2e-tests '
6+
--volume "$(pwd):/var/www/html/lmscourse-fse" \
7+
wordpress:cli bash -c 'php -d memory_limit=1024M "$(which wp)" i18n make-pot ./lmscourse-fse/ ./lmscourse-fse/languages/lmscourse-fse.pot --headers={\"Last-Translator\":\"friends@themeisle.com\"\,\"Project-Id-Version\":\"LMSCourseFSE\"\,\"Report-Msgid-Bugs-To\":\"https://github.com/Codeinwp/lmscourse-fse/issues\"\} --allow-root --exclude=dist,build,bundle,e2e-tests '

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "codeinwp/church-fse",
3-
"description": "ChurchFSE theme by Themeisle",
2+
"name": "codeinwp/lmscourse-fse",
3+
"description": "LMSCourseFSE theme by Themeisle",
44
"type": "project",
55
"license": "GPL-2.0+",
66
"authors": [
@@ -12,7 +12,7 @@
1212
],
1313
"autoload": {
1414
"psr-4": {
15-
"ChurchFSE\\": "inc/"
15+
"LMSCourseFSE\\": "inc/"
1616
},
1717
"files": [
1818
"vendor/codeinwp/themeisle-sdk/load.php"

functions.php

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<?php
22
/**
3-
* ChurchFSE functions file
3+
* LMSCourseFSE functions file
44
*
55
* @author Themeisle
6-
* @package church-fse
6+
* @package lmscourse-fse
77
* @since 1.0.0
88
*/
99

10-
namespace ChurchFSE;
10+
namespace LMSCourseFSE;
1111

1212
/**
1313
* Bootstrap the theme.
1414
*
1515
* @return void
1616
*/
1717
function bootstrap() {
18-
global $_church_fse_bootstrap_errors;
18+
global $_lmscourse_fse_bootstrap_errors;
1919

20-
$_church_fse_bootstrap_errors = new \WP_Error();
20+
$_lmscourse_fse_bootstrap_errors = new \WP_Error();
2121

2222
check_php();
2323

@@ -40,21 +40,21 @@ function bootstrap() {
4040
* @return void
4141
*/
4242
function check_php() {
43-
global $_church_fse_bootstrap_errors;
43+
global $_lmscourse_fse_bootstrap_errors;
4444

4545
if ( version_compare( PHP_VERSION, '7.0' ) > 0 ) {
4646
return;
4747
}
4848

49-
$_church_fse_bootstrap_errors->add(
49+
$_lmscourse_fse_bootstrap_errors->add(
5050
'php_version',
5151
sprintf(
5252
/* translators: %s message to upgrade PHP to the latest version */
53-
__( "Hey, we've noticed that you're running an outdated version of PHP which is no longer supported. Make sure your site is fast and secure, by %1\$s. Church FSE's minimal requirement is PHP%2\$s.", 'church-fse' ),
53+
__( "Hey, we've noticed that you're running an outdated version of PHP which is no longer supported. Make sure your site is fast and secure, by %1\$s. LMSCourse FSE's minimal requirement is PHP%2\$s.", 'lmscourse-fse' ),
5454
sprintf(
5555
/* translators: %s message to upgrade PHP to the latest version */
5656
'<a href="https://wordpress.org/support/upgrade-php/">%s</a>',
57-
__( 'upgrading PHP to the latest version', 'church-fse' )
57+
__( 'upgrading PHP to the latest version', 'lmscourse-fse' )
5858
),
5959
'7.0'
6060
)
@@ -67,11 +67,11 @@ function check_php() {
6767
* @return void
6868
*/
6969
function define_constants() {
70-
define( 'CHURCH_FSE_VERSION', '1.0.3' );
71-
define( 'CHURCH_FSE_DEBUG', defined( 'WP_DEBUG' ) && WP_DEBUG === true );
72-
define( 'CHURCH_FSE_DIR', trailingslashit( get_template_directory() ) );
73-
define( 'CHURCH_FSE_URL', trailingslashit( get_template_directory_uri() ) );
74-
define( 'CHURCH_FSE_PRODUCT_SLUG', basename( CHURCH_FSE_DIR ) );
70+
define( 'LMSCOURSE_FSE_VERSION', '0.1' );
71+
define( 'LMSCOURSE_FSE_DEBUG', defined( 'WP_DEBUG' ) && WP_DEBUG === true );
72+
define( 'LMSCOURSE_FSE_DIR', trailingslashit( get_template_directory() ) );
73+
define( 'LMSCOURSE_FSE_URL', trailingslashit( get_template_directory_uri() ) );
74+
define( 'LMSCOURSE_FSE_PRODUCT_SLUG', basename( LMSCOURSE_FSE_DIR ) );
7575
}
7676

7777
/**
@@ -80,30 +80,30 @@ function define_constants() {
8080
* @return void
8181
*/
8282
function check_build_files() {
83-
if ( defined( 'CHURCH_FSE_IGNORE_SOURCE_CHECK' ) ) {
83+
if ( defined( 'LMSCOURSE_FSE_IGNORE_SOURCE_CHECK' ) ) {
8484
return;
8585
}
8686

8787
$_files_to_check = array(
88-
CHURCH_FSE_DIR . 'vendor/autoload.php',
89-
CHURCH_FSE_DIR . 'assets/css/build/style.css',
90-
CHURCH_FSE_DIR . 'assets/css/build/editor.css',
91-
CHURCH_FSE_DIR . 'assets/css/build/style-rtl.css',
92-
CHURCH_FSE_DIR . 'assets/css/build/editor-rtl.css',
88+
LMSCOURSE_FSE_DIR . 'vendor/autoload.php',
89+
LMSCOURSE_FSE_DIR . 'assets/css/build/style.css',
90+
LMSCOURSE_FSE_DIR . 'assets/css/build/editor.css',
91+
LMSCOURSE_FSE_DIR . 'assets/css/build/style-rtl.css',
92+
LMSCOURSE_FSE_DIR . 'assets/css/build/editor-rtl.css',
9393
);
9494

9595
foreach ( $_files_to_check as $file ) {
9696
if ( is_file( $file ) ) {
9797
continue;
9898
}
9999

100-
global $_church_fse_bootstrap_errors;
100+
global $_lmscourse_fse_bootstrap_errors;
101101

102-
$_church_fse_bootstrap_errors->add(
102+
$_lmscourse_fse_bootstrap_errors->add(
103103
'build_missing',
104104
sprintf(
105105
/* translators: %s: commands to run the theme */
106-
__( 'You appear to be running the Church FSE theme from source code. Please finish installation by running %s.', 'church-fse' ),
106+
__( 'You appear to be running the LMSCourse FSE theme from source code. Please finish installation by running %s.', 'lmscourse-fse' ),
107107
'<code>composer install --no-dev &amp;&amp; yarn install --frozen-lockfile &amp;&amp; yarn run build</code>'
108108
)
109109
);
@@ -118,9 +118,9 @@ function check_build_files() {
118118
* @return void
119119
*/
120120
function maybe_add_notices() {
121-
global $_church_fse_bootstrap_errors;
121+
global $_lmscourse_fse_bootstrap_errors;
122122

123-
if ( ! $_church_fse_bootstrap_errors->has_errors() ) {
123+
if ( ! $_lmscourse_fse_bootstrap_errors->has_errors() ) {
124124
return;
125125
}
126126

@@ -130,9 +130,9 @@ function maybe_add_notices() {
130130
add_action(
131131
'admin_notices',
132132
function () {
133-
global $_church_fse_bootstrap_errors;
133+
global $_lmscourse_fse_bootstrap_errors;
134134

135-
printf( '<div class="notice notice-error"><p>%1$s</p></div>', wp_kses_post( $_church_fse_bootstrap_errors->get_error_message() ) );
135+
printf( '<div class="notice notice-error"><p>%1$s</p></div>', wp_kses_post( $_lmscourse_fse_bootstrap_errors->get_error_message() ) );
136136
}
137137
);
138138
}
@@ -146,7 +146,7 @@ function load_sdk() {
146146
add_filter(
147147
'themeisle_sdk_products',
148148
function ( $products ) {
149-
$products[] = CHURCH_FSE_DIR . 'style.css';
149+
$products[] = LMSCOURSE_FSE_DIR . 'style.css';
150150

151151
return $products;
152152
}
@@ -159,7 +159,7 @@ function ( $products ) {
159159
* @return void
160160
*/
161161
function load_dependencies() {
162-
$vendor_file = CHURCH_FSE_DIR . '/vendor/autoload.php';
162+
$vendor_file = LMSCOURSE_FSE_DIR . '/vendor/autoload.php';
163163
if ( is_readable( $vendor_file ) ) {
164164
require_once $vendor_file;
165165
}

0 commit comments

Comments
 (0)