Plugin Directory


Ignore:
Timestamp:
10/06/2026 01:17:14 PM (3 weeks ago)
Author:
acadlix
Message:

Update to v 1.1.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • acadlix/trunk/includes/Common/Blocks/LoginShortcodeBlock.php

    r3655805 r3730861  
    2020      return;
    2121    }
    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    }
    4226
    4327    acadlix()->assets()->manager()->load_assets(
Note: See TracChangeset for help on using the changeset viewer.