Skip to content

Commit d2ca89a

Browse files
authored
Merge pull request #70 from crowdfavorite/1.4.0
1.4.0
2 parents 8bc73f9 + fd362c8 commit d2ca89a

28 files changed

+14368
-101
lines changed

CHANDELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## Version 1.4.0
2+
- added EDD licensing/updating
3+
14
## Version 1.3.0
25
- fixed warning when editing posts in the backend
36
- replace icon

config.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
/**
4+
* Theme configuration file.
5+
*
6+
* @package capsule-server
7+
*/
8+
9+
define('WP_CAPSULE_AUTHOR', 'Crowd Favorite');
10+
define('WP_CAPSULE_THEME_NAME', 'Capsule');
11+
define('WP_CAPSULE_THEME_SLUG', 'wp-capsule');
12+
define('WP_CAPSULE_THEME_VERSION', '1.4.0');
13+
define('WP_CAPSULE_DIR', get_template_directory());
14+
define('WP_CAPSULE_URI', get_template_directory_uri());
15+
define('WP_CAPSULE_UPDATER_ITEM_ID', '42723');
16+
define('WP_CAPSULE_UPDATER_REMOTE_API_URL', 'https://shop.crowdfavorite.com/');
17+
define('WP_CAPSULE_UPDATER_USE_BETA', false);
18+
define('WP_CAPSULE_UPDATER_DIR', WP_CAPSULE_DIR . '/ui/updater');
19+
define('WP_CAPSULE_UPDATER_URI', WP_CAPSULE_URI . '/ui/updater');

functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @package capsule
77
*/
88

9+
require_once 'config.php';
910
require_once 'ui/functions.php';
1011
require_once 'inc/class-capsule-client.php';
1112

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Theme URI: https://crowdfavorite.com/capsule/
44
Description: The developer's code journal.
55
Author: Crowd Favorite
66
Author URI: https://crowdfavorite.com/
7-
Version: 1.3.0
7+
Version: 1.4.0
88
License: GPL v2
99
License URI: https://opensource.org/licenses/GPL-2.0
1010
*/

ui/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ node_modules/
22
build/
33
composer/
44
composer.lock
5-
package-lock.json
5+
/package-lock.json
66
!lib/ace/build/

ui/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## Version 1.4.0
2+
- added EDD licensing/updating
3+
14
## Version 1.3.0
25
- fixed warning when editing posts in the backend
36
- replace icon

ui/functions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
remove_post_type_support('post', 'post-formats');
1717

1818
require_once dirname(__FILE__) . '/lib/wp-taxonomy-filter/taxonomy-filter.php';
19+
require_once dirname(__FILE__) . '/updater/updater.php';
1920

2021
/**
2122
* Test if this is a Capsule server.
@@ -867,7 +868,7 @@ function capsule_wp_editor_warning()
867868
<div class="capsule-editor-warning">
868869
<h3><?php esc_html_e('Whoa Cowboy!', 'capsule'); ?></h3>
869870
<p>
870-
<b><?php esc_html_e('<b>Capsule is designed for front-end editing only.', 'capsule'); ?></b>
871+
<b><?php esc_html_e('Capsule is designed for front-end editing only.', 'capsule'); ?></b>
871872
<br>
872873
<?php
873874
esc_html_e(

ui/package-lock.json

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

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "capsule-ui",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"devDependencies": {},
55
"dependencies": {
66
"requirejs": "",

ui/updater/.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/env", "@babel/preset-react"]
3+
}

ui/updater/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

ui/updater/assets/img/loading.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)