Changeset 2666216
- Timestamp:
- 01/26/2022 05:59:26 PM (4 years ago)
- Location:
- temple-lock
- Files:
-
- 24 edited
- 1 copied
-
tags/1.1.0 (copied) (copied from temple-lock/trunk)
-
tags/1.1.0/README.txt (modified) (1 diff)
-
tags/1.1.0/composer.json (modified) (1 diff)
-
tags/1.1.0/composer.lock (modified) (2 diffs)
-
tags/1.1.0/includes/Init.php (modified) (3 diffs)
-
tags/1.1.0/index.php (modified) (1 diff)
-
tags/1.1.0/temple-lock.php (modified) (3 diffs)
-
tags/1.1.0/uninstall.php (modified) (2 diffs)
-
tags/1.1.0/vendor/autoload.php (modified) (1 diff)
-
tags/1.1.0/vendor/composer/ClassLoader.php (modified) (18 diffs)
-
tags/1.1.0/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
tags/1.1.0/vendor/composer/autoload_real.php (modified) (3 diffs)
-
tags/1.1.0/vendor/composer/autoload_static.php (modified) (3 diffs)
-
trunk/README.txt (modified) (1 diff)
-
trunk/composer.json (modified) (1 diff)
-
trunk/composer.lock (modified) (2 diffs)
-
trunk/includes/Init.php (modified) (3 diffs)
-
trunk/index.php (modified) (1 diff)
-
trunk/temple-lock.php (modified) (3 diffs)
-
trunk/uninstall.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/ClassLoader.php (modified) (18 diffs)
-
trunk/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (3 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temple-lock/tags/1.1.0/README.txt
r2650382 r2666216 1 1 === Temple - Web3 Memberships === 2 Contributors: temple 3 Donate link: https://api.temple.fans 4 Tags: temple, gated content 2 Contributors: Temple 3 Tags: temple, gated content, web3 5 4 Requires at least: 5.0.0 6 Tested up to: 5. 85 Tested up to: 5.9 7 6 Requires PHP: 7.2 8 Stable tag: 1. 0.37 Stable tag: 1.1.0 9 8 License: GPLv2 or later 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html11 9 12 Temple allows Creators to 'lock' pages and blocks so that they can only be accessed by their NFT and Social Token holders.10 Temple allows creators to lock content so that it can only be accessed by holders of their NFTs or social tokens. 13 11 14 12 == Description == 15 13 16 Temple allows Creators to 'lock' pages and blocks so that they can only be accessed by their NFT and Social Token holders. 17 18 == Installation == 19 20 This section describes how to install the plugin and get it working. 21 22 1. Upload the plugin files to the `/wp-content/plugins/temple` directory, or install the plugin through the WordPress plugins screen directly. 23 2. Activate the plugin through the 'Plugins' screen in WordPress admin 24 3. Go to **Temples Website and Register -> ou will need to copy your WP url and add it to gated sites, you will be granted a bearer token, copy this and enter it into WP->Temple and save. 25 4. If you now go to a post, you can lock and set your coin limit 26 27 == Frequently Asked Questions == 28 29 == Screenshots == 14 Temple allows creators to lock content so that it can only be accessed by holders of their NFTs or social tokens. 30 15 31 16 == Changelog == 32 17 33 = 1.0.0 = 34 * First Release 35 36 = 1.0.1 = 37 * Added autoload 38 39 = 1.0.3 = 40 * Updated so that excerpts show full HTML as excerpts break the html, wrapping them in <p> tags 41 42 43 18 = 1.1.0 = 19 * First beta release -
temple-lock/tags/1.1.0/composer.json
r2642018 r2666216 1 1 { 2 "name": "temple/temple-lock",3 "description": "This wordpress allows user to lock pages/products.",4 "type": "project",5 "license": "GPL",6 "authors": [{7 "name": "Temple",8 "email": "omar.ismail@foundersfactory.co"9 }],10 "minimum-stability": "dev",11 "autoload": {12 "psr-4": {13 "Inc\\": "./includes"14 },15 "classmap": ["includes/"]2 "name": "temple/temple-wordpress-plugin", 3 "description": "Wordpress plugin to allows creators to lock content so that it can only be accessed by holders of their NFTs or social tokens.", 4 "type": "project", 5 "license": "GPL", 6 "authors": [ 7 { 8 "name": "Temple", 9 "email": "support@temple.fans" 10 } 11 ], 12 "minimum-stability": "dev", 13 "autoload": { 14 "psr-4": { 15 "Inc\\": "./includes" 16 16 }, 17 " require": {18 "twbs/bootstrap": "5.0.2",19 "datatables/datatables": "1.10.21"20 }17 "classmap": [ 18 "includes/" 19 ] 20 } 21 21 } -
temple-lock/tags/1.1.0/composer.lock
r2639455 r2666216 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": "653a7f96b5810b22e7ef3467d20a2a16", 8 "packages": [ 9 { 10 "name": "datatables/datatables", 11 "version": "1.10.21", 12 "source": { 13 "type": "git", 14 "url": "https://github.com/DataTables/DataTables.git", 15 "reference": "83e59694a105225ff889ddfa0d723a3ab24fda78" 16 }, 17 "dist": { 18 "type": "zip", 19 "url": "https://api.github.com/repos/DataTables/DataTables/zipball/83e59694a105225ff889ddfa0d723a3ab24fda78", 20 "reference": "83e59694a105225ff889ddfa0d723a3ab24fda78", 21 "shasum": "" 22 }, 23 "type": "library", 24 "notification-url": "https://packagist.org/downloads/", 25 "license": [ 26 "MIT" 27 ], 28 "description": "DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.", 29 "homepage": "http://www.datatables.net/", 30 "support": { 31 "forum": "https://datatables.net/forums", 32 "source": "https://github.com/DataTables/DataTablesSrc/" 33 }, 34 "time": "2020-05-21T10:08:44+00:00" 35 }, 36 { 37 "name": "twbs/bootstrap", 38 "version": "v5.0.2", 39 "source": { 40 "type": "git", 41 "url": "https://github.com/twbs/bootstrap.git", 42 "reference": "688bce4fa695cc360a0d084e34f029b0c192b223" 43 }, 44 "dist": { 45 "type": "zip", 46 "url": "https://api.github.com/repos/twbs/bootstrap/zipball/688bce4fa695cc360a0d084e34f029b0c192b223", 47 "reference": "688bce4fa695cc360a0d084e34f029b0c192b223", 48 "shasum": "" 49 }, 50 "replace": { 51 "twitter/bootstrap": "self.version" 52 }, 53 "type": "library", 54 "notification-url": "https://packagist.org/downloads/", 55 "license": [ 56 "MIT" 57 ], 58 "authors": [ 59 { 60 "name": "Mark Otto", 61 "email": "markdotto@gmail.com" 62 }, 63 { 64 "name": "Jacob Thornton", 65 "email": "jacobthornton@gmail.com" 66 } 67 ], 68 "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", 69 "homepage": "https://getbootstrap.com/", 70 "keywords": [ 71 "JS", 72 "css", 73 "framework", 74 "front-end", 75 "mobile-first", 76 "responsive", 77 "sass", 78 "web" 79 ], 80 "support": { 81 "issues": "https://github.com/twbs/bootstrap/issues", 82 "source": "https://github.com/twbs/bootstrap/tree/v5.0.2" 83 }, 84 "time": "2021-06-22T18:29:16+00:00" 85 } 86 ], 7 "content-hash": "040beec3966098e0b5392ddce947e90c", 8 "packages": [], 87 9 "packages-dev": [], 88 10 "aliases": [], … … 93 15 "platform": [], 94 16 "platform-dev": [], 95 "plugin-api-version": "2. 0.0"17 "plugin-api-version": "2.2.0" 96 18 } -
temple-lock/tags/1.1.0/includes/Init.php
r2639455 r2666216 2 2 3 3 /** 4 * @package Temple Lock 5 * 4 * @package Temple 6 5 */ 7 6 8 7 namespace Inc; 9 8 10 use Inc\Base\Controllers\LockEditController;11 use Inc\Base\Controllers\LockStatusController;12 9 13 10 final class Init … … 16 13 { 17 14 return [ 18 Base\Enqueue::class, 19 Base\SettingLink::class, 20 Base\ContentLock::class, 21 Pages\Dashboard::class, 22 LockStatusController::class, 23 LockEditController::class, 15 Admin\Settings::class, 16 ContentLock::class, 24 17 ]; 25 18 } … … 49 42 return new $class(); 50 43 } 51 52 53 44 } -
temple-lock/tags/1.1.0/index.php
r2639077 r2666216 1 <?php // Silence is golden1 <?php -
temple-lock/tags/1.1.0/temple-lock.php
r2650382 r2666216 2 2 3 3 /** 4 * Plugin Name: Temple Lock4 * Plugin Name: Temple 5 5 * Plugin URI: https://temple.fans 6 * Description: Temple Lock allows users to lock their products and pages.7 * Version: 1. 0.36 * Description: Temple allows creators to lock content so that it can only be accessed by holders of their NFTs or social tokens. 7 * Version: 1.1.0 8 8 * Author: Temple 9 * Author URI: https://api.temple.fans/ 10 * License: GPL-2.0+ 11 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 12 * Text Domain: temple-lock 13 * Domain Path: /languages 9 * Author URI: https://temple.fans/ 14 10 */ 15 11 … … 18 14 19 15 20 defined('WPINC') or die( 'No script kiddies please!');16 defined('WPINC') or die(); 21 17 22 defined('TEMPLE_LOCK_VERSION') or define('WFW_VERSION', '1.0.0'); 23 24 define('TEMPLE_ API_URL', 'https://api.temple.fans/');18 // Useful constants 19 define('TEMPLE_GQL_URL', 'https://core.temple.fans/graphql'); 20 define('TEMPLE_WEB_URL', 'https://temple.fans/'); 25 21 26 22 if (file_exists(dirname(__FILE__) . '/vendor/autoload.php')) { … … 28 24 } 29 25 30 31 26 if (class_exists('Inc\\Init')) { 32 27 Inc\Init::register_services(); 33 28 } 34 35 /**36 * Runs during plugin activation.37 */38 39 function activate_temple_plugin()40 {41 // require_once plugin_dir_path( __FILE__ ) . 'inc/Base/Activate.php';42 // require_once plugin_dir_path( __FILE__ ) . 'inc/Base/Activate.php';43 Activate::activate();44 }45 46 /**47 * Runs during plugin deactivation.48 */49 50 function deactivate_temple_plugin()51 {52 Deactivate::deactivate();53 }54 55 register_activation_hook(__FILE__, 'activate_temple_plugin');56 57 register_deactivation_hook(__FILE__, 'deactivate_temple_plugin'); -
temple-lock/tags/1.1.0/uninstall.php
r2639077 r2666216 4 4 * Fired when the plugin is uninstalled. 5 5 * 6 * @package Temple Lock6 * @package Temple 7 7 */ 8 8 … … 12 12 } 13 13 14 15 14 /** 16 15 * Delete options we have saved 17 16 */ 18 delete_option('wfw_db_version'); 19 20 21 /** 22 * Drop tables because users is deleting the plugin 23 */ 24 global $wpdb; 25 26 $tables = [ 27 $wpdb->prefix . 'wp_tl_products', 28 $wpdb->prefix . 'wp_tl_pages', 29 ]; 30 31 foreach ($tables as $table) { 32 $wpdb->query("DROP TABLE IF EXISTS $table"); 33 } 17 delete_option('temple_bearer_token'); 18 delete_option('temple_tiers'); -
temple-lock/tags/1.1.0/vendor/autoload.php
r2639455 r2666216 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit f1a069e92d81a6cf3d1b7a46b3624347::getLoader();7 return ComposerAutoloaderInit97fdbf34de8779d130c9bf55c3718f06::getLoader(); -
temple-lock/tags/1.1.0/vendor/composer/ClassLoader.php
r2639455 r2666216 43 43 class ClassLoader 44 44 { 45 /** @var ?string */ 46 private $vendorDir; 47 45 48 // PSR-4 49 /** 50 * @var array[] 51 * @psalm-var array<string, array<string, int>> 52 */ 46 53 private $prefixLengthsPsr4 = array(); 54 /** 55 * @var array[] 56 * @psalm-var array<string, array<int, string>> 57 */ 47 58 private $prefixDirsPsr4 = array(); 59 /** 60 * @var array[] 61 * @psalm-var array<string, string> 62 */ 48 63 private $fallbackDirsPsr4 = array(); 49 64 50 65 // PSR-0 66 /** 67 * @var array[] 68 * @psalm-var array<string, array<string, string[]>> 69 */ 51 70 private $prefixesPsr0 = array(); 71 /** 72 * @var array[] 73 * @psalm-var array<string, string> 74 */ 52 75 private $fallbackDirsPsr0 = array(); 53 76 77 /** @var bool */ 54 78 private $useIncludePath = false; 79 80 /** 81 * @var string[] 82 * @psalm-var array<string, string> 83 */ 55 84 private $classMap = array(); 85 86 /** @var bool */ 56 87 private $classMapAuthoritative = false; 88 89 /** 90 * @var bool[] 91 * @psalm-var array<string, bool> 92 */ 57 93 private $missingClasses = array(); 94 95 /** @var ?string */ 58 96 private $apcuPrefix; 59 97 98 /** 99 * @var self[] 100 */ 101 private static $registeredLoaders = array(); 102 103 /** 104 * @param ?string $vendorDir 105 */ 106 public function __construct($vendorDir = null) 107 { 108 $this->vendorDir = $vendorDir; 109 } 110 111 /** 112 * @return string[] 113 */ 60 114 public function getPrefixes() 61 115 { … … 67 121 } 68 122 123 /** 124 * @return array[] 125 * @psalm-return array<string, array<int, string>> 126 */ 69 127 public function getPrefixesPsr4() 70 128 { … … 72 130 } 73 131 132 /** 133 * @return array[] 134 * @psalm-return array<string, string> 135 */ 74 136 public function getFallbackDirs() 75 137 { … … 77 139 } 78 140 141 /** 142 * @return array[] 143 * @psalm-return array<string, string> 144 */ 79 145 public function getFallbackDirsPsr4() 80 146 { … … 82 148 } 83 149 150 /** 151 * @return string[] Array of classname => path 152 * @psalm-return array<string, string> 153 */ 84 154 public function getClassMap() 85 155 { … … 88 158 89 159 /** 90 * @param array $classMap Class to filename map 160 * @param string[] $classMap Class to filename map 161 * @psalm-param array<string, string> $classMap 162 * 163 * @return void 91 164 */ 92 165 public function addClassMap(array $classMap) … … 103 176 * appending or prepending to the ones previously set for this prefix. 104 177 * 105 * @param string $prefix The prefix 106 * @param array|string $paths The PSR-0 root directories 107 * @param bool $prepend Whether to prepend the directories 178 * @param string $prefix The prefix 179 * @param string[]|string $paths The PSR-0 root directories 180 * @param bool $prepend Whether to prepend the directories 181 * 182 * @return void 108 183 */ 109 184 public function add($prefix, $paths, $prepend = false) … … 148 223 * appending or prepending to the ones previously set for this namespace. 149 224 * 150 * @param string $prefix The prefix/namespace, with trailing '\\'151 * @param array|string $paths The PSR-4 base directories152 * @param bool $prepend Whether to prepend the directories225 * @param string $prefix The prefix/namespace, with trailing '\\' 226 * @param string[]|string $paths The PSR-4 base directories 227 * @param bool $prepend Whether to prepend the directories 153 228 * 154 229 * @throws \InvalidArgumentException 230 * 231 * @return void 155 232 */ 156 233 public function addPsr4($prefix, $paths, $prepend = false) … … 196 273 * replacing any others previously set for this prefix. 197 274 * 198 * @param string $prefix The prefix 199 * @param array|string $paths The PSR-0 base directories 275 * @param string $prefix The prefix 276 * @param string[]|string $paths The PSR-0 base directories 277 * 278 * @return void 200 279 */ 201 280 public function set($prefix, $paths) … … 212 291 * replacing any others previously set for this namespace. 213 292 * 214 * @param string $prefix The prefix/namespace, with trailing '\\'215 * @param array|string $paths The PSR-4 base directories293 * @param string $prefix The prefix/namespace, with trailing '\\' 294 * @param string[]|string $paths The PSR-4 base directories 216 295 * 217 296 * @throws \InvalidArgumentException 297 * 298 * @return void 218 299 */ 219 300 public function setPsr4($prefix, $paths) … … 235 316 * 236 317 * @param bool $useIncludePath 318 * 319 * @return void 237 320 */ 238 321 public function setUseIncludePath($useIncludePath) … … 257 340 * 258 341 * @param bool $classMapAuthoritative 342 * 343 * @return void 259 344 */ 260 345 public function setClassMapAuthoritative($classMapAuthoritative) … … 277 362 * 278 363 * @param string|null $apcuPrefix 364 * 365 * @return void 279 366 */ 280 367 public function setApcuPrefix($apcuPrefix) … … 297 384 * 298 385 * @param bool $prepend Whether to prepend the autoloader or not 386 * 387 * @return void 299 388 */ 300 389 public function register($prepend = false) 301 390 { 302 391 spl_autoload_register(array($this, 'loadClass'), true, $prepend); 392 393 if (null === $this->vendorDir) { 394 return; 395 } 396 397 if ($prepend) { 398 self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; 399 } else { 400 unset(self::$registeredLoaders[$this->vendorDir]); 401 self::$registeredLoaders[$this->vendorDir] = $this; 402 } 303 403 } 304 404 305 405 /** 306 406 * Unregisters this instance as an autoloader. 407 * 408 * @return void 307 409 */ 308 410 public function unregister() 309 411 { 310 412 spl_autoload_unregister(array($this, 'loadClass')); 413 414 if (null !== $this->vendorDir) { 415 unset(self::$registeredLoaders[$this->vendorDir]); 416 } 311 417 } 312 418 … … 315 421 * 316 422 * @param string $class The name of the class 317 * @return bool|null True if loaded, null otherwise423 * @return true|null True if loaded, null otherwise 318 424 */ 319 425 public function loadClass($class) … … 324 430 return true; 325 431 } 432 433 return null; 326 434 } 327 435 … … 368 476 } 369 477 478 /** 479 * Returns the currently registered loaders indexed by their corresponding vendor directories. 480 * 481 * @return self[] 482 */ 483 public static function getRegisteredLoaders() 484 { 485 return self::$registeredLoaders; 486 } 487 488 /** 489 * @param string $class 490 * @param string $ext 491 * @return string|false 492 */ 370 493 private function findFileWithExtension($class, $ext) 371 494 { … … 439 562 * 440 563 * Prevents access to $this/self from included files. 564 * 565 * @param string $file 566 * @return void 567 * @private 441 568 */ 442 569 function includeFile($file) -
temple-lock/tags/1.1.0/vendor/composer/autoload_classmap.php
r2639455 r2666216 8 8 return array( 9 9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 10 'Inc\\Api\\Callback\\AdminCallback' => $baseDir . '/includes/Api/Callback/AdminCallback.php', 11 'Inc\\Api\\Callback\\ManagerCallback' => $baseDir . '/includes/Api/Callback/ManagerCallback.php', 12 'Inc\\Api\\SettingApi' => $baseDir . '/includes/Api/SettingApi.php', 13 'Inc\\Base\\Activate' => $baseDir . '/includes/Base/Activate.php', 14 'Inc\\Base\\ContentLock' => $baseDir . '/includes/Base/ContentLock.php', 15 'Inc\\Base\\Controllers\\BaseController' => $baseDir . '/includes/Base/Controllers/BaseController.php', 16 'Inc\\Base\\Controllers\\LockEditController' => $baseDir . '/includes/Base/Controllers/LockEditController.php', 17 'Inc\\Base\\Controllers\\LockStatusController' => $baseDir . '/includes/Base/Controllers/LockStatusController.php', 18 'Inc\\Base\\Deactivate' => $baseDir . '/includes/Base/Deactivate.php', 19 'Inc\\Base\\Enqueue' => $baseDir . '/includes/Base/Enqueue.php', 20 'Inc\\Base\\SettingLink' => $baseDir . '/includes/Base/SettingLink.php', 10 'Inc\\Admin\\AdminCallback' => $baseDir . '/includes/Admin/AdminCallback.php', 11 'Inc\\Admin\\SettingApi' => $baseDir . '/includes/Admin/SettingApi.php', 12 'Inc\\Admin\\Settings' => $baseDir . '/includes/Admin/Settings.php', 13 'Inc\\BaseController' => $baseDir . '/includes/BaseController.php', 14 'Inc\\ContentLock' => $baseDir . '/includes/ContentLock.php', 21 15 'Inc\\Init' => $baseDir . '/includes/Init.php', 22 'Inc\\Pages\\Dashboard' => $baseDir . '/includes/Pages/Dashboard.php',23 16 ); -
temple-lock/tags/1.1.0/vendor/composer/autoload_real.php
r2639455 r2666216 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit f1a069e92d81a6cf3d1b7a46b36243475 class ComposerAutoloaderInit97fdbf34de8779d130c9bf55c3718f06 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit f1a069e92d81a6cf3d1b7a46b3624347', 'loadClassLoader'), true, true);26 self::$loader = $loader = new \Composer\Autoload\ClassLoader( );27 spl_autoload_unregister(array('ComposerAutoloaderInit f1a069e92d81a6cf3d1b7a46b3624347', 'loadClassLoader'));25 spl_autoload_register(array('ComposerAutoloaderInit97fdbf34de8779d130c9bf55c3718f06', 'loadClassLoader'), true, true); 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 27 spl_autoload_unregister(array('ComposerAutoloaderInit97fdbf34de8779d130c9bf55c3718f06', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit f1a069e92d81a6cf3d1b7a46b3624347::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; -
temple-lock/tags/1.1.0/vendor/composer/autoload_static.php
r2639455 r2666216 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit f1a069e92d81a6cf3d1b7a46b36243477 class ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 23 23 public static $classMap = array ( 24 24 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 25 'Inc\\Api\\Callback\\AdminCallback' => __DIR__ . '/../..' . '/includes/Api/Callback/AdminCallback.php', 26 'Inc\\Api\\Callback\\ManagerCallback' => __DIR__ . '/../..' . '/includes/Api/Callback/ManagerCallback.php', 27 'Inc\\Api\\SettingApi' => __DIR__ . '/../..' . '/includes/Api/SettingApi.php', 28 'Inc\\Base\\Activate' => __DIR__ . '/../..' . '/includes/Base/Activate.php', 29 'Inc\\Base\\ContentLock' => __DIR__ . '/../..' . '/includes/Base/ContentLock.php', 30 'Inc\\Base\\Controllers\\BaseController' => __DIR__ . '/../..' . '/includes/Base/Controllers/BaseController.php', 31 'Inc\\Base\\Controllers\\LockEditController' => __DIR__ . '/../..' . '/includes/Base/Controllers/LockEditController.php', 32 'Inc\\Base\\Controllers\\LockStatusController' => __DIR__ . '/../..' . '/includes/Base/Controllers/LockStatusController.php', 33 'Inc\\Base\\Deactivate' => __DIR__ . '/../..' . '/includes/Base/Deactivate.php', 34 'Inc\\Base\\Enqueue' => __DIR__ . '/../..' . '/includes/Base/Enqueue.php', 35 'Inc\\Base\\SettingLink' => __DIR__ . '/../..' . '/includes/Base/SettingLink.php', 25 'Inc\\Admin\\AdminCallback' => __DIR__ . '/../..' . '/includes/Admin/AdminCallback.php', 26 'Inc\\Admin\\SettingApi' => __DIR__ . '/../..' . '/includes/Admin/SettingApi.php', 27 'Inc\\Admin\\Settings' => __DIR__ . '/../..' . '/includes/Admin/Settings.php', 28 'Inc\\BaseController' => __DIR__ . '/../..' . '/includes/BaseController.php', 29 'Inc\\ContentLock' => __DIR__ . '/../..' . '/includes/ContentLock.php', 36 30 'Inc\\Init' => __DIR__ . '/../..' . '/includes/Init.php', 37 'Inc\\Pages\\Dashboard' => __DIR__ . '/../..' . '/includes/Pages/Dashboard.php',38 31 ); 39 32 … … 41 34 { 42 35 return \Closure::bind(function () use ($loader) { 43 $loader->prefixLengthsPsr4 = ComposerStaticInit f1a069e92d81a6cf3d1b7a46b3624347::$prefixLengthsPsr4;44 $loader->prefixDirsPsr4 = ComposerStaticInit f1a069e92d81a6cf3d1b7a46b3624347::$prefixDirsPsr4;45 $loader->classMap = ComposerStaticInit f1a069e92d81a6cf3d1b7a46b3624347::$classMap;36 $loader->prefixLengthsPsr4 = ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06::$prefixLengthsPsr4; 37 $loader->prefixDirsPsr4 = ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06::$prefixDirsPsr4; 38 $loader->classMap = ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06::$classMap; 46 39 47 40 }, null, ClassLoader::class); -
temple-lock/trunk/README.txt
r2650382 r2666216 1 1 === Temple - Web3 Memberships === 2 Contributors: temple 3 Donate link: https://api.temple.fans 4 Tags: temple, gated content 2 Contributors: Temple 3 Tags: temple, gated content, web3 5 4 Requires at least: 5.0.0 6 Tested up to: 5. 85 Tested up to: 5.9 7 6 Requires PHP: 7.2 8 Stable tag: 1. 0.37 Stable tag: 1.1.0 9 8 License: GPLv2 or later 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html11 9 12 Temple allows Creators to 'lock' pages and blocks so that they can only be accessed by their NFT and Social Token holders.10 Temple allows creators to lock content so that it can only be accessed by holders of their NFTs or social tokens. 13 11 14 12 == Description == 15 13 16 Temple allows Creators to 'lock' pages and blocks so that they can only be accessed by their NFT and Social Token holders. 17 18 == Installation == 19 20 This section describes how to install the plugin and get it working. 21 22 1. Upload the plugin files to the `/wp-content/plugins/temple` directory, or install the plugin through the WordPress plugins screen directly. 23 2. Activate the plugin through the 'Plugins' screen in WordPress admin 24 3. Go to **Temples Website and Register -> ou will need to copy your WP url and add it to gated sites, you will be granted a bearer token, copy this and enter it into WP->Temple and save. 25 4. If you now go to a post, you can lock and set your coin limit 26 27 == Frequently Asked Questions == 28 29 == Screenshots == 14 Temple allows creators to lock content so that it can only be accessed by holders of their NFTs or social tokens. 30 15 31 16 == Changelog == 32 17 33 = 1.0.0 = 34 * First Release 35 36 = 1.0.1 = 37 * Added autoload 38 39 = 1.0.3 = 40 * Updated so that excerpts show full HTML as excerpts break the html, wrapping them in <p> tags 41 42 43 18 = 1.1.0 = 19 * First beta release -
temple-lock/trunk/composer.json
r2642018 r2666216 1 1 { 2 "name": "temple/temple-lock",3 "description": "This wordpress allows user to lock pages/products.",4 "type": "project",5 "license": "GPL",6 "authors": [{7 "name": "Temple",8 "email": "omar.ismail@foundersfactory.co"9 }],10 "minimum-stability": "dev",11 "autoload": {12 "psr-4": {13 "Inc\\": "./includes"14 },15 "classmap": ["includes/"]2 "name": "temple/temple-wordpress-plugin", 3 "description": "Wordpress plugin to allows creators to lock content so that it can only be accessed by holders of their NFTs or social tokens.", 4 "type": "project", 5 "license": "GPL", 6 "authors": [ 7 { 8 "name": "Temple", 9 "email": "support@temple.fans" 10 } 11 ], 12 "minimum-stability": "dev", 13 "autoload": { 14 "psr-4": { 15 "Inc\\": "./includes" 16 16 }, 17 " require": {18 "twbs/bootstrap": "5.0.2",19 "datatables/datatables": "1.10.21"20 }17 "classmap": [ 18 "includes/" 19 ] 20 } 21 21 } -
temple-lock/trunk/composer.lock
r2639455 r2666216 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": "653a7f96b5810b22e7ef3467d20a2a16", 8 "packages": [ 9 { 10 "name": "datatables/datatables", 11 "version": "1.10.21", 12 "source": { 13 "type": "git", 14 "url": "https://github.com/DataTables/DataTables.git", 15 "reference": "83e59694a105225ff889ddfa0d723a3ab24fda78" 16 }, 17 "dist": { 18 "type": "zip", 19 "url": "https://api.github.com/repos/DataTables/DataTables/zipball/83e59694a105225ff889ddfa0d723a3ab24fda78", 20 "reference": "83e59694a105225ff889ddfa0d723a3ab24fda78", 21 "shasum": "" 22 }, 23 "type": "library", 24 "notification-url": "https://packagist.org/downloads/", 25 "license": [ 26 "MIT" 27 ], 28 "description": "DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.", 29 "homepage": "http://www.datatables.net/", 30 "support": { 31 "forum": "https://datatables.net/forums", 32 "source": "https://github.com/DataTables/DataTablesSrc/" 33 }, 34 "time": "2020-05-21T10:08:44+00:00" 35 }, 36 { 37 "name": "twbs/bootstrap", 38 "version": "v5.0.2", 39 "source": { 40 "type": "git", 41 "url": "https://github.com/twbs/bootstrap.git", 42 "reference": "688bce4fa695cc360a0d084e34f029b0c192b223" 43 }, 44 "dist": { 45 "type": "zip", 46 "url": "https://api.github.com/repos/twbs/bootstrap/zipball/688bce4fa695cc360a0d084e34f029b0c192b223", 47 "reference": "688bce4fa695cc360a0d084e34f029b0c192b223", 48 "shasum": "" 49 }, 50 "replace": { 51 "twitter/bootstrap": "self.version" 52 }, 53 "type": "library", 54 "notification-url": "https://packagist.org/downloads/", 55 "license": [ 56 "MIT" 57 ], 58 "authors": [ 59 { 60 "name": "Mark Otto", 61 "email": "markdotto@gmail.com" 62 }, 63 { 64 "name": "Jacob Thornton", 65 "email": "jacobthornton@gmail.com" 66 } 67 ], 68 "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", 69 "homepage": "https://getbootstrap.com/", 70 "keywords": [ 71 "JS", 72 "css", 73 "framework", 74 "front-end", 75 "mobile-first", 76 "responsive", 77 "sass", 78 "web" 79 ], 80 "support": { 81 "issues": "https://github.com/twbs/bootstrap/issues", 82 "source": "https://github.com/twbs/bootstrap/tree/v5.0.2" 83 }, 84 "time": "2021-06-22T18:29:16+00:00" 85 } 86 ], 7 "content-hash": "040beec3966098e0b5392ddce947e90c", 8 "packages": [], 87 9 "packages-dev": [], 88 10 "aliases": [], … … 93 15 "platform": [], 94 16 "platform-dev": [], 95 "plugin-api-version": "2. 0.0"17 "plugin-api-version": "2.2.0" 96 18 } -
temple-lock/trunk/includes/Init.php
r2639455 r2666216 2 2 3 3 /** 4 * @package Temple Lock 5 * 4 * @package Temple 6 5 */ 7 6 8 7 namespace Inc; 9 8 10 use Inc\Base\Controllers\LockEditController;11 use Inc\Base\Controllers\LockStatusController;12 9 13 10 final class Init … … 16 13 { 17 14 return [ 18 Base\Enqueue::class, 19 Base\SettingLink::class, 20 Base\ContentLock::class, 21 Pages\Dashboard::class, 22 LockStatusController::class, 23 LockEditController::class, 15 Admin\Settings::class, 16 ContentLock::class, 24 17 ]; 25 18 } … … 49 42 return new $class(); 50 43 } 51 52 53 44 } -
temple-lock/trunk/index.php
r2639077 r2666216 1 <?php // Silence is golden1 <?php -
temple-lock/trunk/temple-lock.php
r2650382 r2666216 2 2 3 3 /** 4 * Plugin Name: Temple Lock4 * Plugin Name: Temple 5 5 * Plugin URI: https://temple.fans 6 * Description: Temple Lock allows users to lock their products and pages.7 * Version: 1. 0.36 * Description: Temple allows creators to lock content so that it can only be accessed by holders of their NFTs or social tokens. 7 * Version: 1.1.0 8 8 * Author: Temple 9 * Author URI: https://api.temple.fans/ 10 * License: GPL-2.0+ 11 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 12 * Text Domain: temple-lock 13 * Domain Path: /languages 9 * Author URI: https://temple.fans/ 14 10 */ 15 11 … … 18 14 19 15 20 defined('WPINC') or die( 'No script kiddies please!');16 defined('WPINC') or die(); 21 17 22 defined('TEMPLE_LOCK_VERSION') or define('WFW_VERSION', '1.0.0'); 23 24 define('TEMPLE_ API_URL', 'https://api.temple.fans/');18 // Useful constants 19 define('TEMPLE_GQL_URL', 'https://core.temple.fans/graphql'); 20 define('TEMPLE_WEB_URL', 'https://temple.fans/'); 25 21 26 22 if (file_exists(dirname(__FILE__) . '/vendor/autoload.php')) { … … 28 24 } 29 25 30 31 26 if (class_exists('Inc\\Init')) { 32 27 Inc\Init::register_services(); 33 28 } 34 35 /**36 * Runs during plugin activation.37 */38 39 function activate_temple_plugin()40 {41 // require_once plugin_dir_path( __FILE__ ) . 'inc/Base/Activate.php';42 // require_once plugin_dir_path( __FILE__ ) . 'inc/Base/Activate.php';43 Activate::activate();44 }45 46 /**47 * Runs during plugin deactivation.48 */49 50 function deactivate_temple_plugin()51 {52 Deactivate::deactivate();53 }54 55 register_activation_hook(__FILE__, 'activate_temple_plugin');56 57 register_deactivation_hook(__FILE__, 'deactivate_temple_plugin'); -
temple-lock/trunk/uninstall.php
r2639077 r2666216 4 4 * Fired when the plugin is uninstalled. 5 5 * 6 * @package Temple Lock6 * @package Temple 7 7 */ 8 8 … … 12 12 } 13 13 14 15 14 /** 16 15 * Delete options we have saved 17 16 */ 18 delete_option('wfw_db_version'); 19 20 21 /** 22 * Drop tables because users is deleting the plugin 23 */ 24 global $wpdb; 25 26 $tables = [ 27 $wpdb->prefix . 'wp_tl_products', 28 $wpdb->prefix . 'wp_tl_pages', 29 ]; 30 31 foreach ($tables as $table) { 32 $wpdb->query("DROP TABLE IF EXISTS $table"); 33 } 17 delete_option('temple_bearer_token'); 18 delete_option('temple_tiers'); -
temple-lock/trunk/vendor/autoload.php
r2639455 r2666216 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit f1a069e92d81a6cf3d1b7a46b3624347::getLoader();7 return ComposerAutoloaderInit97fdbf34de8779d130c9bf55c3718f06::getLoader(); -
temple-lock/trunk/vendor/composer/ClassLoader.php
r2639455 r2666216 43 43 class ClassLoader 44 44 { 45 /** @var ?string */ 46 private $vendorDir; 47 45 48 // PSR-4 49 /** 50 * @var array[] 51 * @psalm-var array<string, array<string, int>> 52 */ 46 53 private $prefixLengthsPsr4 = array(); 54 /** 55 * @var array[] 56 * @psalm-var array<string, array<int, string>> 57 */ 47 58 private $prefixDirsPsr4 = array(); 59 /** 60 * @var array[] 61 * @psalm-var array<string, string> 62 */ 48 63 private $fallbackDirsPsr4 = array(); 49 64 50 65 // PSR-0 66 /** 67 * @var array[] 68 * @psalm-var array<string, array<string, string[]>> 69 */ 51 70 private $prefixesPsr0 = array(); 71 /** 72 * @var array[] 73 * @psalm-var array<string, string> 74 */ 52 75 private $fallbackDirsPsr0 = array(); 53 76 77 /** @var bool */ 54 78 private $useIncludePath = false; 79 80 /** 81 * @var string[] 82 * @psalm-var array<string, string> 83 */ 55 84 private $classMap = array(); 85 86 /** @var bool */ 56 87 private $classMapAuthoritative = false; 88 89 /** 90 * @var bool[] 91 * @psalm-var array<string, bool> 92 */ 57 93 private $missingClasses = array(); 94 95 /** @var ?string */ 58 96 private $apcuPrefix; 59 97 98 /** 99 * @var self[] 100 */ 101 private static $registeredLoaders = array(); 102 103 /** 104 * @param ?string $vendorDir 105 */ 106 public function __construct($vendorDir = null) 107 { 108 $this->vendorDir = $vendorDir; 109 } 110 111 /** 112 * @return string[] 113 */ 60 114 public function getPrefixes() 61 115 { … … 67 121 } 68 122 123 /** 124 * @return array[] 125 * @psalm-return array<string, array<int, string>> 126 */ 69 127 public function getPrefixesPsr4() 70 128 { … … 72 130 } 73 131 132 /** 133 * @return array[] 134 * @psalm-return array<string, string> 135 */ 74 136 public function getFallbackDirs() 75 137 { … … 77 139 } 78 140 141 /** 142 * @return array[] 143 * @psalm-return array<string, string> 144 */ 79 145 public function getFallbackDirsPsr4() 80 146 { … … 82 148 } 83 149 150 /** 151 * @return string[] Array of classname => path 152 * @psalm-return array<string, string> 153 */ 84 154 public function getClassMap() 85 155 { … … 88 158 89 159 /** 90 * @param array $classMap Class to filename map 160 * @param string[] $classMap Class to filename map 161 * @psalm-param array<string, string> $classMap 162 * 163 * @return void 91 164 */ 92 165 public function addClassMap(array $classMap) … … 103 176 * appending or prepending to the ones previously set for this prefix. 104 177 * 105 * @param string $prefix The prefix 106 * @param array|string $paths The PSR-0 root directories 107 * @param bool $prepend Whether to prepend the directories 178 * @param string $prefix The prefix 179 * @param string[]|string $paths The PSR-0 root directories 180 * @param bool $prepend Whether to prepend the directories 181 * 182 * @return void 108 183 */ 109 184 public function add($prefix, $paths, $prepend = false) … … 148 223 * appending or prepending to the ones previously set for this namespace. 149 224 * 150 * @param string $prefix The prefix/namespace, with trailing '\\'151 * @param array|string $paths The PSR-4 base directories152 * @param bool $prepend Whether to prepend the directories225 * @param string $prefix The prefix/namespace, with trailing '\\' 226 * @param string[]|string $paths The PSR-4 base directories 227 * @param bool $prepend Whether to prepend the directories 153 228 * 154 229 * @throws \InvalidArgumentException 230 * 231 * @return void 155 232 */ 156 233 public function addPsr4($prefix, $paths, $prepend = false) … … 196 273 * replacing any others previously set for this prefix. 197 274 * 198 * @param string $prefix The prefix 199 * @param array|string $paths The PSR-0 base directories 275 * @param string $prefix The prefix 276 * @param string[]|string $paths The PSR-0 base directories 277 * 278 * @return void 200 279 */ 201 280 public function set($prefix, $paths) … … 212 291 * replacing any others previously set for this namespace. 213 292 * 214 * @param string $prefix The prefix/namespace, with trailing '\\'215 * @param array|string $paths The PSR-4 base directories293 * @param string $prefix The prefix/namespace, with trailing '\\' 294 * @param string[]|string $paths The PSR-4 base directories 216 295 * 217 296 * @throws \InvalidArgumentException 297 * 298 * @return void 218 299 */ 219 300 public function setPsr4($prefix, $paths) … … 235 316 * 236 317 * @param bool $useIncludePath 318 * 319 * @return void 237 320 */ 238 321 public function setUseIncludePath($useIncludePath) … … 257 340 * 258 341 * @param bool $classMapAuthoritative 342 * 343 * @return void 259 344 */ 260 345 public function setClassMapAuthoritative($classMapAuthoritative) … … 277 362 * 278 363 * @param string|null $apcuPrefix 364 * 365 * @return void 279 366 */ 280 367 public function setApcuPrefix($apcuPrefix) … … 297 384 * 298 385 * @param bool $prepend Whether to prepend the autoloader or not 386 * 387 * @return void 299 388 */ 300 389 public function register($prepend = false) 301 390 { 302 391 spl_autoload_register(array($this, 'loadClass'), true, $prepend); 392 393 if (null === $this->vendorDir) { 394 return; 395 } 396 397 if ($prepend) { 398 self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; 399 } else { 400 unset(self::$registeredLoaders[$this->vendorDir]); 401 self::$registeredLoaders[$this->vendorDir] = $this; 402 } 303 403 } 304 404 305 405 /** 306 406 * Unregisters this instance as an autoloader. 407 * 408 * @return void 307 409 */ 308 410 public function unregister() 309 411 { 310 412 spl_autoload_unregister(array($this, 'loadClass')); 413 414 if (null !== $this->vendorDir) { 415 unset(self::$registeredLoaders[$this->vendorDir]); 416 } 311 417 } 312 418 … … 315 421 * 316 422 * @param string $class The name of the class 317 * @return bool|null True if loaded, null otherwise423 * @return true|null True if loaded, null otherwise 318 424 */ 319 425 public function loadClass($class) … … 324 430 return true; 325 431 } 432 433 return null; 326 434 } 327 435 … … 368 476 } 369 477 478 /** 479 * Returns the currently registered loaders indexed by their corresponding vendor directories. 480 * 481 * @return self[] 482 */ 483 public static function getRegisteredLoaders() 484 { 485 return self::$registeredLoaders; 486 } 487 488 /** 489 * @param string $class 490 * @param string $ext 491 * @return string|false 492 */ 370 493 private function findFileWithExtension($class, $ext) 371 494 { … … 439 562 * 440 563 * Prevents access to $this/self from included files. 564 * 565 * @param string $file 566 * @return void 567 * @private 441 568 */ 442 569 function includeFile($file) -
temple-lock/trunk/vendor/composer/autoload_classmap.php
r2639455 r2666216 8 8 return array( 9 9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 10 'Inc\\Api\\Callback\\AdminCallback' => $baseDir . '/includes/Api/Callback/AdminCallback.php', 11 'Inc\\Api\\Callback\\ManagerCallback' => $baseDir . '/includes/Api/Callback/ManagerCallback.php', 12 'Inc\\Api\\SettingApi' => $baseDir . '/includes/Api/SettingApi.php', 13 'Inc\\Base\\Activate' => $baseDir . '/includes/Base/Activate.php', 14 'Inc\\Base\\ContentLock' => $baseDir . '/includes/Base/ContentLock.php', 15 'Inc\\Base\\Controllers\\BaseController' => $baseDir . '/includes/Base/Controllers/BaseController.php', 16 'Inc\\Base\\Controllers\\LockEditController' => $baseDir . '/includes/Base/Controllers/LockEditController.php', 17 'Inc\\Base\\Controllers\\LockStatusController' => $baseDir . '/includes/Base/Controllers/LockStatusController.php', 18 'Inc\\Base\\Deactivate' => $baseDir . '/includes/Base/Deactivate.php', 19 'Inc\\Base\\Enqueue' => $baseDir . '/includes/Base/Enqueue.php', 20 'Inc\\Base\\SettingLink' => $baseDir . '/includes/Base/SettingLink.php', 10 'Inc\\Admin\\AdminCallback' => $baseDir . '/includes/Admin/AdminCallback.php', 11 'Inc\\Admin\\SettingApi' => $baseDir . '/includes/Admin/SettingApi.php', 12 'Inc\\Admin\\Settings' => $baseDir . '/includes/Admin/Settings.php', 13 'Inc\\BaseController' => $baseDir . '/includes/BaseController.php', 14 'Inc\\ContentLock' => $baseDir . '/includes/ContentLock.php', 21 15 'Inc\\Init' => $baseDir . '/includes/Init.php', 22 'Inc\\Pages\\Dashboard' => $baseDir . '/includes/Pages/Dashboard.php',23 16 ); -
temple-lock/trunk/vendor/composer/autoload_real.php
r2639455 r2666216 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit f1a069e92d81a6cf3d1b7a46b36243475 class ComposerAutoloaderInit97fdbf34de8779d130c9bf55c3718f06 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit f1a069e92d81a6cf3d1b7a46b3624347', 'loadClassLoader'), true, true);26 self::$loader = $loader = new \Composer\Autoload\ClassLoader( );27 spl_autoload_unregister(array('ComposerAutoloaderInit f1a069e92d81a6cf3d1b7a46b3624347', 'loadClassLoader'));25 spl_autoload_register(array('ComposerAutoloaderInit97fdbf34de8779d130c9bf55c3718f06', 'loadClassLoader'), true, true); 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 27 spl_autoload_unregister(array('ComposerAutoloaderInit97fdbf34de8779d130c9bf55c3718f06', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit f1a069e92d81a6cf3d1b7a46b3624347::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; -
temple-lock/trunk/vendor/composer/autoload_static.php
r2639455 r2666216 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit f1a069e92d81a6cf3d1b7a46b36243477 class ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 23 23 public static $classMap = array ( 24 24 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 25 'Inc\\Api\\Callback\\AdminCallback' => __DIR__ . '/../..' . '/includes/Api/Callback/AdminCallback.php', 26 'Inc\\Api\\Callback\\ManagerCallback' => __DIR__ . '/../..' . '/includes/Api/Callback/ManagerCallback.php', 27 'Inc\\Api\\SettingApi' => __DIR__ . '/../..' . '/includes/Api/SettingApi.php', 28 'Inc\\Base\\Activate' => __DIR__ . '/../..' . '/includes/Base/Activate.php', 29 'Inc\\Base\\ContentLock' => __DIR__ . '/../..' . '/includes/Base/ContentLock.php', 30 'Inc\\Base\\Controllers\\BaseController' => __DIR__ . '/../..' . '/includes/Base/Controllers/BaseController.php', 31 'Inc\\Base\\Controllers\\LockEditController' => __DIR__ . '/../..' . '/includes/Base/Controllers/LockEditController.php', 32 'Inc\\Base\\Controllers\\LockStatusController' => __DIR__ . '/../..' . '/includes/Base/Controllers/LockStatusController.php', 33 'Inc\\Base\\Deactivate' => __DIR__ . '/../..' . '/includes/Base/Deactivate.php', 34 'Inc\\Base\\Enqueue' => __DIR__ . '/../..' . '/includes/Base/Enqueue.php', 35 'Inc\\Base\\SettingLink' => __DIR__ . '/../..' . '/includes/Base/SettingLink.php', 25 'Inc\\Admin\\AdminCallback' => __DIR__ . '/../..' . '/includes/Admin/AdminCallback.php', 26 'Inc\\Admin\\SettingApi' => __DIR__ . '/../..' . '/includes/Admin/SettingApi.php', 27 'Inc\\Admin\\Settings' => __DIR__ . '/../..' . '/includes/Admin/Settings.php', 28 'Inc\\BaseController' => __DIR__ . '/../..' . '/includes/BaseController.php', 29 'Inc\\ContentLock' => __DIR__ . '/../..' . '/includes/ContentLock.php', 36 30 'Inc\\Init' => __DIR__ . '/../..' . '/includes/Init.php', 37 'Inc\\Pages\\Dashboard' => __DIR__ . '/../..' . '/includes/Pages/Dashboard.php',38 31 ); 39 32 … … 41 34 { 42 35 return \Closure::bind(function () use ($loader) { 43 $loader->prefixLengthsPsr4 = ComposerStaticInit f1a069e92d81a6cf3d1b7a46b3624347::$prefixLengthsPsr4;44 $loader->prefixDirsPsr4 = ComposerStaticInit f1a069e92d81a6cf3d1b7a46b3624347::$prefixDirsPsr4;45 $loader->classMap = ComposerStaticInit f1a069e92d81a6cf3d1b7a46b3624347::$classMap;36 $loader->prefixLengthsPsr4 = ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06::$prefixLengthsPsr4; 37 $loader->prefixDirsPsr4 = ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06::$prefixDirsPsr4; 38 $loader->classMap = ComposerStaticInit97fdbf34de8779d130c9bf55c3718f06::$classMap; 46 39 47 40 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.