- Timestamp:
- 10/06/2026 01:17:14 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
acadlix/trunk/includes/Common/Blocks/LoginShortcodeBlock.php
r3655805 r3730861 20 20 return; 21 21 } 22 23 // $script_file = ACADLIX_BUILD_PATH . acadlix()->versionPath . '/login_shortcode_block.js'; 24 // if (!file_exists($script_file)) { 25 // return; 26 // } 27 28 // $asset_file = ACADLIX_BUILD_PATH . acadlix()->versionPath . '/login_shortcode_block.asset.php'; 29 // $asset_data = file_exists($asset_file) 30 // ? include $asset_file 31 // : [ 32 // 'dependencies' => ['wp-blocks', 'wp-element', 'wp-i18n', 'wp-components', 'wp-block-editor', 'wp-api-fetch'], 33 // 'version' => ACADLIX_VERSION, 34 // ]; 35 // wp_register_script( 36 // 'acadlix-login-shortcode-block-editor', 37 // ACADLIX_BUILD_URL . acadlix()->versionPath . '/login_shortcode_block.js', 38 // $asset_data['dependencies'], 39 // $asset_data['version'], 40 // true 41 // ); 22 23 if (!is_admin()) { 24 return; 25 } 42 26 43 27 acadlix()->assets()->manager()->load_assets(
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)