PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.10
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.10
4.4.10 4.4.9.1 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 All 142 releases
← All changes | assets/src/apps/js/blocks/archive-course-legacy/edit.js +26 -26 4.3.8 → 4.4.10 View file →
@@ -1,26 +1,26 @@
1 -import { __ } from '@wordpress/i18n';
2 -import { Placeholder } from '@wordpress/components';
3 -import { useBlockProps } from '@wordpress/block-editor';
4 -
5 -const Edit = ( props ) => {
6 - const blockProps = useBlockProps();
7 -
8 - return (
9 - <div { ...blockProps }>
10 - <Placeholder
11 - label={ __( 'Archive Course (Legacy)', 'learnpress' ) }
12 - >
13 - <div>
14 - {
15 - __(
16 - 'The block will display the full content of the course archive page. Elements on it cannot be modified!',
17 - 'learnpress'
18 - )
19 - }
20 - </div>
21 - </Placeholder>
22 - </div>
23 - );
24 -};
25 -
26 -export default Edit;
1 +import { __ } from '@wordpress/i18n';
2 +import { Placeholder } from '@wordpress/components';
3 +import { useBlockProps } from '@wordpress/block-editor';
4 +
5 +const Edit = ( props ) => {
6 + const blockProps = useBlockProps();
7 +
8 + return (
9 + <div { ...blockProps }>
10 + <Placeholder
11 + label={ __( 'Archive Course (Legacy)', 'learnpress' ) }
12 + >
13 + <div>
14 + {
15 + __(
16 + 'The block will display the full content of the course archive page. Elements on it cannot be modified!',
17 + 'learnpress'
18 + )
19 + }
20 + </div>
21 + </Placeholder>
22 + </div>
23 + );
24 +};
25 +
26 +export default Edit;