Changeset 1227386
- Timestamp:
- 08/21/2015 04:07:43 PM (10 years ago)
- Location:
- post-meta
- Files:
-
- 2 edited
-
tags/1.0.9/post-meta.php (modified) (1 diff)
-
trunk/post-meta.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post-meta/tags/1.0.9/post-meta.php
r822567 r1227386 5 5 Description: Post Meta is a wordpress custom post field, post type and taxonomy management Plugin. It has smart and modern (ajax and jquery based) interface to create post meta option or custom meta field as group or field. 6 6 Author: Mahbubur Rahman 7 Version: 1.0. 87 Version: 1.0.9 8 8 Author URI: http://post-meta.com 9 9 */ -
post-meta/trunk/post-meta.php
r822567 r1227386 5 5 Description: Post Meta is a wordpress custom post field, post type and taxonomy management Plugin. It has smart and modern (ajax and jquery based) interface to create post meta option or custom meta field as group or field. 6 6 Author: Mahbubur Rahman 7 Version: 1.0. 87 Version: 1.0.9 8 8 Author URI: http://post-meta.com 9 9 */ … … 13 13 } 14 14 15 require_once ( 'lib/init.php' ); 16 require_once ( 'lib/api.php' ); 15 require_once ( 'lib/init.php' ); 16 require_once ( 'lib/api.php' ); 17 17 18 18 if (!class_exists( 'postMeta' )){ 19 19 class postMeta extends pluginCore { 20 20 21 21 public $title = 'Post Meta'; 22 22 public $name = 'post-meta'; 23 23 public $version = '1.0.8'; 24 public $prefix = 'pm_'; 24 public $prefix = 'pm_'; 25 25 public $prefixLong = 'post_meta_'; 26 public $website = 'http://post-meta.com'; 27 28 29 function __construct(){ 26 public $website = 'http://post-meta.com'; 27 28 29 function __construct(){ 30 30 $this->file = __FILE__; 31 31 $this->pluginSlug = plugin_basename(__FILE__); … … 35 35 $this->viewsPath = $this->pluginPath . '/lib/views/'; 36 36 $this->helperPath = $this->pluginPath . '/lib/helpers/'; 37 38 $this->pluginUrl = plugins_url( '' , __FILE__ ); 39 $this->assetsUrl = $this->pluginUrl . '/assets/'; 37 38 $this->pluginUrl = plugins_url( '' , __FILE__ ); 39 $this->assetsUrl = $this->pluginUrl . '/assets/'; 40 40 $this->helperUrl = $this->pluginUrl .'/lib/helpers/'; 41 define('PM_PATH',dirname( __FILE__ )); 41 define('PM_PATH',dirname( __FILE__ )); 42 42 define('PM_PLUGIN_URL',plugins_url( '' , __FILE__ )).'/'; 43 43 define('PM_ASSECTS_URL', PM_PLUGIN_URL.'/assets/'); 44 44 define('PM_HELPER_URL', PM_PLUGIN_URL.'/lib/helpers/'); 45 46 45 46 47 47 $this->loadModels( $this->modelsPath ); 48 48 $this->loadModels( $this->modelsPath.'enc/' , true); 49 49 50 50 $this->options=array( 51 51 'post_meta' =>'pm_post_meta', … … 55 55 'cache' =>'pm_cache' 56 56 ); 57 57 58 58 59 59 } 60 60 function init(){ 61 62 $this->pluginInit(); 61 62 $this->pluginInit(); 63 63 } 64 65 64 65 66 66 } 67 67 global $postMeta;
Note: See TracChangeset
for help on using the changeset viewer.