Changeset 1921080
- Timestamp:
- 08/07/2018 03:21:38 PM (8 years ago)
- Location:
- thrivehive/trunk
- Files:
-
- 3 edited
-
README.md (modified) (2 diffs)
-
controllers/core.php (modified) (1 diff)
-
thrivehive.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
thrivehive/trunk/README.md
r1918447 r1921080 54 54 ``` 55 55 cd ~/thrivehive/repos/warp-prism 56 git pull 56 57 zip -r /tmp/thrivehive.zip . 57 for c in customers customers2 customers3 customers4; do58 for c in customers2 customers3 customers4; do 58 59 server="${c}.thrivehivesite.com" 59 60 scp /tmp/thrivehive.zip $server:/tmp/ 60 61 ssh $server "cp /tmp/thrivehive.zip /root/plugins/" 61 62 ssh $server "unzip -o /tmp/thrivehive.zip -d /root/cpanel3-skel/public_html/wp-content/plugins/thrivehive/" 62 ssh -t $server screen"/scripts/update_thrivehive_plugin.py"63 ssh $server screen -d -m "/scripts/update_thrivehive_plugin.py" 63 64 done 64 65 ``` … … 78 79 79 80 ## Changelog 81 * V 2.2 - Added endpoint to expose the website vertical/template 80 82 * V 2.1 Added endpoint to search for Global Styling categories and values 81 83 * V 2.0 Enable support for new ThriveHive website editor -
thrivehive/trunk/controllers/core.php
r1896065 r1921080 155 155 156 156 /** 157 * Gets the wp_option record that contains the site vertical/template name 158 * @example URL - /get_template_name/ 159 * @api 160 * @return array containing template name 161 **/ 162 public function get_template_name() 163 { 164 $vertical = get_option('th_vertical'); 165 166 if($vertical) 167 { 168 return array('vertical'=>$vertical); 169 } 170 171 return array('vertical'=>'generic'); 172 } 173 174 /** 157 175 *Removes all preview drafts from the given posts 158 176 *@param post[] posts - array of all posts -
thrivehive/trunk/thrivehive.php
r1914280 r1921080 5 5 *Plugin URI: http://thrivehive.com 6 6 *Description: A plugin to include ThriveHive's tracking code 7 *Version: 2. 17 *Version: 2.2 8 8 *Author: ThriveHive 9 9 *Author URI: http://thrivehive.com
Note: See TracChangeset
for help on using the changeset viewer.