Changeset 502274
- Timestamp:
- 02/08/2012 03:03:54 PM (14 years ago)
- Location:
- wp-simple-galleries/trunk
- Files:
-
- 3 edited
-
admin/options.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-simple-gallery.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-simple-galleries/trunk/admin/options.php
r502269 r502274 38 38 "type" => "text"); 39 39 40 $options[] = array("name" => "Content Filter Priority", 41 "desc" => "Used to specify the order execution. Lower numbers correspond with earlier execution, so set it to 1 to make it appear before all other plugins on content pages.", 42 "id" => "wpsimplegallery_filter_priority", 43 "std" => "10", 44 "class" => "mini", 45 "type" => "text"); 46 47 48 40 49 $post_types_default = array('post' => '1', 'page' => '1'); 41 50 $post_types = get_post_types(); … … 57 66 "url" => "http://maca134.co.uk/blog/wp-simple-galleries/", 58 67 "type" => "donate"); 59 68 60 69 return $options; 61 70 } -
wp-simple-galleries/trunk/readme.txt
r502269 r502274 4 4 Requires at least: 3.0.0 5 5 Tested up to: 3.3 6 Stable tag: 0.1 36 Stable tag: 0.14 7 7 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LDZBJ2YP5GBRE 8 8 … … 46 46 47 47 == ChangeLog == 48 49 = Version 0.14 = 50 51 * Add option to set the position of galleries if you have a number of plugins which use the 'the_content' filter. 48 52 49 53 = Version 0.13 = -
wp-simple-galleries/trunk/wp-simple-gallery.php
r502269 r502274 2 2 /* 3 3 Plugin Name: WP Simple Galleries 4 Version: 0.1 34 Version: 0.14 5 5 Description: A simple plugin that adds an image gallery to each post and page. 6 6 Plugin URI: http://maca134.co.uk/blog/wp-simple-galleries/ … … 48 48 add_action('wp_print_scripts', array(&$this, 'print_scripts')); 49 49 add_action('wp_print_styles', array(&$this, 'print_styles')); 50 add_filter('the_content', array(&$this, 'output_gallery') );50 add_filter('the_content', array(&$this, 'output_gallery'), of_get_option('wpsimplegallery_filter_priority', 10)); 51 51 add_image_size('wpsimplegallery_admin_thumb', $this->admin_thumbnail_size, $this->admin_thumbnail_size, true); 52 52 add_image_size('wpsimplegallery_thumb', $this->thumbnail_size_w, $this->thumbnail_size_h, true);
Note: See TracChangeset
for help on using the changeset viewer.