Skip to content

Commit 7c81c05

Browse files
committed
versioner
1 parent b2ee26e commit 7c81c05

13 files changed

+30
-30
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
LifterLMS Blocks Changelog
22
==========================
33

4-
v1.1.0 - 2018-12-??
4+
v1.1.0 - 2018-12-12
55
-------------------
66

77
+ Editor blocks now display a lock icon when hovering/selecting a block which corresponds to the enrollment visibility settings of the block.

includes/blocks/class-llms-blocks-course-information-block.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package LifterLMS_Blocks/Abstracts
66
* @since 1.0.0
7-
* @version [version]
7+
* @version 1.1.0
88
*
99
* @render_hook llms_course-information-block_render
1010
*/
@@ -37,7 +37,7 @@ class LLMS_Blocks_Course_Information_Block extends LLMS_Blocks_Abstract_Block {
3737
* @param string $content Optional. Block content. Default empty string.
3838
* @return void
3939
* @since 1.0.0
40-
* @version [version]
40+
* @version 1.1.0
4141
*/
4242
public function add_hooks( $attributes = array(), $content = '' ) {
4343

includes/blocks/class-llms-blocks-course-syllabus-block.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package LifterLMS_Blocks/Abstracts
66
* @since 1.0.0
7-
* @version [version]
7+
* @version 1.1.0
88
*
99
* @render_hook llms_course-syllabus-block_render
1010
*/
@@ -37,7 +37,7 @@ class LLMS_Blocks_Course_Syllabus_Block extends LLMS_Blocks_Abstract_Block {
3737
* @param string $content Optional. Block content. Default empty string.
3838
* @return void
3939
* @since 1.0.0
40-
* @version [version]
40+
* @version 1.1.0
4141
*/
4242
public function add_hooks( $attributes = array(), $content = '' ) {
4343

includes/blocks/class-llms-blocks-instructors-block.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package LifterLMS_Blocks/Abstracts
66
* @since 1.0.0
7-
* @version [version]
7+
* @version 1.1.0
88
*
99
* @render_hook llms_course-syllabus-block_render
1010
*/
@@ -37,7 +37,7 @@ class LLMS_Blocks_Instructors_Block extends LLMS_Blocks_Abstract_Block {
3737
* @param string $content Optional. Block content. Default empty string.
3838
* @return void
3939
* @since 1.0.0
40-
* @version [version]
40+
* @version 1.1.0
4141
*/
4242
public function add_hooks( $attributes = array(), $content = '' ) {
4343

includes/blocks/class-llms-blocks-lesson-navigation-block.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package LifterLMS_Blocks/Abstracts
66
* @since 1.0.0
7-
* @version [version]
7+
* @version 1.1.0
88
*
99
* @render_hook llms_lesson-navigation-block_render
1010
*/
@@ -37,7 +37,7 @@ class LLMS_Blocks_Lesson_Navigation_Block extends LLMS_Blocks_Abstract_Block {
3737
* @param string $content Optional. Block content. Default empty string.
3838
* @return void
3939
* @since 1.0.0
40-
* @version [version]
40+
* @version 1.1.0
4141
*/
4242
public function add_hooks( $attributes = array(), $content = '' ) {
4343

includes/blocks/class-llms-blocks-lesson-progression-block.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package LifterLMS_Blocks/Abstracts
66
* @since 1.0.0
7-
* @version [version]
7+
* @version 1.1.0
88
*
99
* @render_hook llms_lesson-progression-block_render
1010
*/
@@ -37,7 +37,7 @@ class LLMS_Blocks_Lesson_Progression_Block extends LLMS_Blocks_Abstract_Block {
3737
* @param string $content Optional. Block content. Default empty string.
3838
* @return void
3939
* @since 1.0.0
40-
* @version [version]
40+
* @version 1.1.0
4141
*/
4242
public function add_hooks( $attributes = array(), $content = '' ) {
4343

includes/blocks/class-llms-blocks-pricing-table-block.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package LifterLMS_Blocks/Blocks
66
* @since 1.0.0
7-
* @version [version]
7+
* @version 1.1.0
88
*
99
* @render_hook llms_pricing-table-block_render
1010
*/
@@ -37,7 +37,7 @@ class LLMS_Blocks_Pricing_Table_Block extends LLMS_Blocks_Abstract_Block {
3737
* @param string $content Optional. Block content. Default empty string.
3838
* @return void
3939
* @since 1.0.0
40-
* @version [version]
40+
* @version 1.1.0
4141
*/
4242
public function add_hooks( $attributes = array(), $content = '' ) {
4343

includes/class-llms-blocks-migrate.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package LifterLMS_Blocks/Classes
66
* @since 1.0.0
7-
* @version [version]
7+
* @version 1.1.0
88
*/
99

1010
defined( 'ABSPATH' ) || exit;
@@ -18,7 +18,7 @@ class LLMS_Blocks_Migrate {
1818
* Constructor.
1919
*
2020
* @since 1.0.0
21-
* @version [version]
21+
* @version 1.1.0
2222
*/
2323
public function __construct() {
2424

@@ -82,7 +82,7 @@ private function get_template( $post_type ) {
8282
*
8383
* @return void
8484
* @since 1.0.0
85-
* @version [version]
85+
* @version 1.1.0
8686
*/
8787
public function migrate_post() {
8888

@@ -138,8 +138,8 @@ public function migrate_post() {
138138
* Removes core template action hooks from posts which have been migrated to the block editor
139139
*
140140
* @return void
141-
* @since [version]
142-
* @version [version]
141+
* @since 1.1.0
142+
* @version 1.1.0
143143
*/
144144
public function remove_template_hooks() {
145145

@@ -180,8 +180,8 @@ public function remove_template_hooks() {
180180
* @param int $post_id WP_Post ID.
181181
* @param string $status Yes or no.
182182
* @return void
183-
* @since [version]
184-
* @version [version]
183+
* @since 1.1.0
184+
* @version 1.1.0
185185
*/
186186
private function update_migration_status( $post_id, $status = 'yes' ) {
187187
update_post_meta( $post_id, '_llms_blocks_migrated', $status );

lifterlms-blocks.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Plugin Name: LifterLMS Blocks
99
* Plugin URI: https://github.com/gocodebox/lifterlms-blocks
1010
* Description: WordPress Editor (Gutenberg) blocks for LifterLMS.
11-
* Version: 1.0.1
11+
* Version: 1.1.0
1212
* Author: LifterLMS
1313
* Author URI: https://lifterlms.com/
1414
* License: GPLv3
@@ -22,7 +22,7 @@
2222

2323
// Define Constants.
2424
if ( ! defined( 'LLMS_BLOCKS_VERSION' ) ) {
25-
define( 'LLMS_BLOCKS_VERSION', '1.0.1' );
25+
define( 'LLMS_BLOCKS_VERSION', '1.1.0' );
2626
}
2727

2828
/**

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lifterlms-blocks",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"description": "blocks",
55
"author": "LifterLMS",
66
"homepage": "https://lifterlms.com/",

src/visibility/inspect.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Add visibility attributes to all blocks
33
*
44
* @since 1.0.0
5-
* @version [version]
5+
* @version 1.1.0
66
*/
77

88
// WP Deps.
@@ -26,7 +26,7 @@ import Preview from './preview';
2626
/**
2727
* Block edit inspector controls for visibility settings
2828
* @since 1.0.0
29-
* @version [version]
29+
* @version 1.1.0
3030
*/
3131
export default createHigherOrderComponent( ( BlockEdit ) => {
3232

@@ -123,8 +123,8 @@ export default createHigherOrderComponent( ( BlockEdit ) => {
123123
*
124124
* @param string value setting value.
125125
* @return void
126-
* @since [version]
127-
* @version [version]
126+
* @since 1.1.0
127+
* @version 1.1.0
128128
*/
129129
const onChangeVisibility = ( value ) => {
130130

src/visibility/preview.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* Preview area for visibility settings on the block list
33
*
4-
* @since [version]
5-
* @version [version]
4+
* @since 1.1.0
5+
* @version 1.1.0
66
*/
77

88
// WP Deps.

0 commit comments

Comments
 (0)