Changeset 1193008
- Timestamp:
- 07/06/2015 02:34:31 AM (11 years ago)
- Location:
- wp-booklet/trunk
- Files:
-
- 9 edited
-
classes/class-wp-booklet2-booklet.php (modified) (1 diff)
-
classes/class-wp-booklet2-command.php (modified) (3 diffs)
-
classes/class-wp-booklet2-importer.php (modified) (1 diff)
-
classes/class-wp-booklet2-page.php (modified) (1 diff)
-
classes/class-wp-booklet2-pdf.php (modified) (1 diff)
-
classes/class-wp-booklet2-theme-manager.php (modified) (1 diff)
-
classes/class-wp-booklet2-theme.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
wp-booklet.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-booklet/trunk/classes/class-wp-booklet2-booklet.php
r1172736 r1193008 20 20 21 21 protected $_pages; 22 22 23 /** 24 * The constructor 25 * 26 * @param int $id - booklet ID 27 * 28 * @return WP_Booklet2_Booklet 29 */ 23 30 function __construct($id) { 24 31 -
wp-booklet/trunk/classes/class-wp-booklet2-command.php
r1166511 r1193008 12 12 * @param $modifiers string - command arguments/options 13 13 * 14 * @return void14 * @return WP_Booklet2_Command 15 15 */ 16 16 function __construct( $command, $modifiers) { … … 18 18 $this->_command = $command; 19 19 $this->_modifiers = $modifiers; 20 20 21 if ( !$this->_can_run_exec() ) { 22 throw new Exception("Running external programs is disabled"); 23 } 24 21 25 if ( !$this->_command_exists() ) { 22 26 throw new Exception("Command or program doesn't exist"); … … 60 64 return $result; 61 65 } 66 67 /** 68 * Checks if 'exec' is executable 69 * 70 * @return bool; 71 */ 72 protected function _can_run_exec() { 73 return function_exists('exec') && 74 !in_array('exec', array_map('trim', explode(', ', ini_get('disable_functions')))) && 75 strtolower(ini_get('safe_mode')) != 1; 76 } 62 77 63 78 } -
wp-booklet/trunk/classes/class-wp-booklet2-importer.php
r1172736 r1193008 10 10 * @param int $limit - (optional) number of booklets to be imported each time the function runs. Defaults to 1 11 11 * 12 * @return void12 * @return WP_Booklet2_Importer 13 13 */ 14 14 function __construct($limit=1) { -
wp-booklet/trunk/classes/class-wp-booklet2-page.php
r1166511 r1193008 8 8 9 9 protected $_meta; 10 10 11 /** 12 * The constructor 13 * 14 * @param int $id - the page ID 15 * 16 * @return WP_Booklet2_Page 17 */ 11 18 function __construct($id) { 12 19 -
wp-booklet/trunk/classes/class-wp-booklet2-pdf.php
r1166511 r1193008 10 10 * @param $file string - path to the PDF file 11 11 * 12 * @return void12 * @return WP_Booklet2_PDF 13 13 */ 14 14 function __construct( $file ) { -
wp-booklet/trunk/classes/class-wp-booklet2-theme-manager.php
r1179381 r1193008 6 6 private $_default_theme; 7 7 8 /** 9 * The constructor 10 * 11 * @return WP_Booklet2_Theme_Manager 12 */ 8 13 function __construct() { 9 14 -
wp-booklet/trunk/classes/class-wp-booklet2-theme.php
r1179381 r1193008 7 7 private $_url; 8 8 9 /** 10 * The constructor 11 * 12 * @param string $name - the name of the theme 13 * 14 * @return WP_Booklet2_Theme 15 */ 9 16 function __construct($name) { 10 17 $this->_name = $name; -
wp-booklet/trunk/readme.txt
r1188386 r1193008 5 5 Requires at least: 3.9 6 6 Tested up to: 4.2.2 7 Stable tag: 2.0. 77 Stable tag: 2.0.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 87 87 == Changelog == 88 88 89 = 2.0.8 = 90 * Added checking for 'exec' 91 89 92 = 2.0.7 = 90 93 * Popups are now scrollable on small screens … … 170 173 == Upgrade Notice == 171 174 175 = 2.0.8 = 176 * Added checking for 'exec' 177 172 178 = 2.0.7 = 173 179 * Popups are now scrollable on small screens -
wp-booklet/trunk/wp-booklet.php
r1188386 r1193008 3 3 * Plugin Name: WP Booklet 4 4 * Description: Allows creation of flip books using the jQuery Booklet plugin. Successor to WP Booklet 1.x 5 * Version: 2.0. 75 * Version: 2.0.8 6 6 * Author: BinaryStash 7 7 * Author URI: http://www.binarystash.net
Note: See TracChangeset
for help on using the changeset viewer.