Changeset 913444
- Timestamp:
- 05/13/2014 05:29:48 PM (11 years ago)
- Location:
- image-formatr/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
image-formatr/trunk/image-formatr.php
r913035 r913444 4 4 * Plugin URI: http://warriorself.com/blog/about/image-formatr/ 5 5 * Description: Formats all content images on a page / post giving them borders and captions. 6 * Version: 1.2. 26 * Version: 1.2.3 7 7 * Author: Steven Almeroth 8 8 * Author URI: http://warriorself.com/sma/ … … 49 49 add_filter($action_links , array($if_instance, 'set_link'), 10); 50 50 add_filter('post_thumbnail_html' , array($if_instance, 'featured_image'), 10, 3 ); 51 add_filter('the_content' , array($if_instance, 'filter'), 12); 51 #$debug_sma_eval ='$if_instance'; $debug_sma_title =__METHOD__.':'.__LINE__; include('debug_output_sma.php'); 52 #$debug_sma_eval ='$if_instance->get_option("priority")'; $debug_sma_title =__METHOD__; include('debug_output_sma.php'); 53 add_filter('the_content' , array($if_instance, 'filter'), $if_instance->get_option('priority')); 52 54 } -
image-formatr/trunk/src/class.admin.php
r912252 r913444 5 5 class ImageFormatrAdmin extends ImageFormatrBase { 6 6 7 // default htmladmin options for activation7 // default admin options for activation 8 8 var $def_options = array( 9 9 'capatt' => "title", … … 26 26 'capclass' => "", 27 27 'group' => "main", 28 'imgdefs' => "", 29 'imgaddl' => "", 30 'flenable' => "", 31 'flusername'=> "", 32 'flnsid' => "", 33 'flfrob' => "", 34 'fltoken' => "", 35 'flapikey' => "", 36 'flsecret' => "", 28 37 'uninstal' => "", 29 38 'prettyuse' => "on", 39 'priority' => "10", 30 40 # legacy options used for deactivation removal 31 41 'highuse' => null, # old Highslide library … … 169 179 ), 170 180 181 'priority' => array( 182 'title' => 'Plugin load priority', 183 'desc' => 'What priority should this plugin be loaded? (default 10)', 184 'html' => array('An optional integer argument used to specify the order in which the functions associated with a particular action are executed. Lower numbers correspond with earlier execution', 185 'Note: change this priority to <b>12</b> to execute the plugin later, after all <em>short-codes</em> have executed which will add the popup effect to galleries, as well as the regular images.', 186 'See the <a href="http://codex.wordpress.org/Plugin_API#Hook_to_WordPress">Wordpress Codex Plugin API</a>.'), 187 ), 171 188 'prettyuse' => array( 172 189 'title' => 'PrettyPhoto enabled', … … 210 227 211 228 add_settings_section('adv_section', 'Advanced settings', array($this, 'admin_overview'), __FILE__); 229 $this-> add_settings(array('priority'), 'print_textbox', 'adv_section'); 212 230 $this-> add_settings(array('prettyuse', 'uninstal'), 'print_checkbox', 'adv_section'); 213 231 } -
image-formatr/trunk/src/class.formatr.php
r913035 r913444 123 123 } 124 124 125 $debug_sma_eval ='$markup'; $debug_sma_title =__METHOD__; include('debug_output_sma.php');126 $debug_sma_eval ='has_post_thumbnail()'; $debug_sma_title =__METHOD__; include('debug_output_sma.php');127 # ∫$debug_sma_eval ='get_the_post_thumbnail()'; $debug_sma_title =__METHOD__; include('debug_output_sma.php');125 #$debug_sma_eval ='$markup'; $debug_sma_title =__METHOD__; include('debug_output_sma.php'); 126 #$debug_sma_eval ='has_post_thumbnail()'; $debug_sma_title =__METHOD__; include('debug_output_sma.php'); 127 #$debug_sma_eval ='get_the_post_thumbnail()'; $debug_sma_title =__METHOD__; include('debug_output_sma.php'); 128 128 129 129 //////////////////////////////// [flickr ]
Note: See TracChangeset
for help on using the changeset viewer.