Changeset 3267148
- Timestamp:
- 04/05/2025 05:54:50 AM (9 months ago)
- Location:
- superlist-block
- Files:
-
- 4 edited
-
tags/0.1.3/readme.txt (modified) (2 diffs)
-
tags/0.1.3/superlist-block.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/superlist-block.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
superlist-block/tags/0.1.3/readme.txt
r3267137 r3267148 5 5 Tested up to: 6.7.2 6 6 Requires PHP: 7.0 7 Stable tag: 0.1. 17 Stable tag: 0.1.3 8 8 License: GPL-2.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 59 59 == Changelog == 60 60 61 = 0.1.3 = 62 * Fix semantic output for lists without markers 63 * Mark plugin as tested with WordPress 6.7.2 64 61 65 = 0.1.1 = 62 66 * Fix registration bug that was causing the block to not install correctly -
superlist-block/tags/0.1.3/superlist-block.php
r3267137 r3267148 5 5 * Requires at least: 5.9 6 6 * Requires PHP: 7.0 7 * Version: 0.1. 17 * Version: 0.1.3 8 8 * Author: Aurooba Ahmed 9 9 * Author URI: https://aurooba.com … … 12 12 * Text Domain: superlist-block 13 13 * 14 * @package superlist-block14 * @package superlist-block 15 15 */ 16 16 17 if ( ! defined( 'SUPERLIST_BLOCK_PLUGIN_FILE') ) {18 define( 'SUPERLIST_BLOCK_PLUGIN_FILE', __FILE__);17 if (! defined('SUPERLIST_BLOCK_PLUGIN_FILE') ) { 18 define('SUPERLIST_BLOCK_PLUGIN_FILE', __FILE__); 19 19 } 20 20 … … 26 26 * @see https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/writing-your-first-block-type/ 27 27 */ 28 function create_block_superlist_block_block_init() { 29 register_block_type( plugin_dir_path( SUPERLIST_BLOCK_PLUGIN_FILE ) . 'build/superlist' ); 30 register_block_type( plugin_dir_path( SUPERLIST_BLOCK_PLUGIN_FILE ) . 'build/superlist-item' ); 28 function create_block_superlist_block_block_init() 29 { 30 register_block_type(plugin_dir_path(SUPERLIST_BLOCK_PLUGIN_FILE) . 'build/superlist'); 31 register_block_type(plugin_dir_path(SUPERLIST_BLOCK_PLUGIN_FILE) . 'build/superlist-item'); 31 32 32 // Load available translations.33 wp_set_script_translations( 'createwithrani-superlist-block-editor-script-js', 'superlist-block');33 // Load available translations. 34 wp_set_script_translations('createwithrani-superlist-block-editor-script-js', 'superlist-block'); 34 35 } 35 add_action( 'init', 'create_block_superlist_block_block_init');36 add_action('init', 'create_block_superlist_block_block_init'); -
superlist-block/trunk/readme.txt
r3267129 r3267148 5 5 Tested up to: 6.7.2 6 6 Requires PHP: 7.0 7 Stable tag: 0.1. 17 Stable tag: 0.1.3 8 8 License: GPL-2.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 59 59 == Changelog == 60 60 61 = 0.1.3 = 62 * Fix semantic output for lists without markers 63 * Mark plugin as tested with WordPress 6.7.2 64 61 65 = 0.1.1 = 62 66 * Fix registration bug that was causing the block to not install correctly -
superlist-block/trunk/superlist-block.php
r2896079 r3267148 5 5 * Requires at least: 5.9 6 6 * Requires PHP: 7.0 7 * Version: 0.1. 17 * Version: 0.1.3 8 8 * Author: Aurooba Ahmed 9 9 * Author URI: https://aurooba.com … … 12 12 * Text Domain: superlist-block 13 13 * 14 * @package superlist-block14 * @package superlist-block 15 15 */ 16 16 17 if ( ! defined( 'SUPERLIST_BLOCK_PLUGIN_FILE') ) {18 define( 'SUPERLIST_BLOCK_PLUGIN_FILE', __FILE__);17 if (! defined('SUPERLIST_BLOCK_PLUGIN_FILE') ) { 18 define('SUPERLIST_BLOCK_PLUGIN_FILE', __FILE__); 19 19 } 20 20 … … 26 26 * @see https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/writing-your-first-block-type/ 27 27 */ 28 function create_block_superlist_block_block_init() { 29 register_block_type( plugin_dir_path( SUPERLIST_BLOCK_PLUGIN_FILE ) . 'build/superlist' ); 30 register_block_type( plugin_dir_path( SUPERLIST_BLOCK_PLUGIN_FILE ) . 'build/superlist-item' ); 28 function create_block_superlist_block_block_init() 29 { 30 register_block_type(plugin_dir_path(SUPERLIST_BLOCK_PLUGIN_FILE) . 'build/superlist'); 31 register_block_type(plugin_dir_path(SUPERLIST_BLOCK_PLUGIN_FILE) . 'build/superlist-item'); 31 32 32 // Load available translations.33 wp_set_script_translations( 'createwithrani-superlist-block-editor-script-js', 'superlist-block');33 // Load available translations. 34 wp_set_script_translations('createwithrani-superlist-block-editor-script-js', 'superlist-block'); 34 35 } 35 add_action( 'init', 'create_block_superlist_block_block_init');36 add_action('init', 'create_block_superlist_block_block_init');
Note: See TracChangeset
for help on using the changeset viewer.