Changeset 659578
- Timestamp:
- 01/27/2013 07:54:18 AM (13 years ago)
- Location:
- image-wall/trunk
- Files:
-
- 2 edited
-
image-wall.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
image-wall/trunk/image-wall.php
r659491 r659578 4 4 Plugin URI: http://www.themodernnomad.com/image-wall-plugin/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=plugin_link 5 5 Description: Browse posts/pages by their images, displayed randomly on an infinitely scrollable page. The images link back to the posts where they are attached. 6 Version: 2. 66 Version: 2.7 7 7 Author: Gustav Andersson 8 8 Author URI: http://www.themodernnomad.com/about/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=author_link … … 46 46 wp_schedule_single_event(time(), 'iw_attachment_hash_regenerate'); 47 47 48 tmn_iw_set_default_variables(); 49 } 50 51 function tmn_iw_set_default_variables() 52 { 48 53 // Set up our initial variables. 49 update_option( "image_wall_regen", "tmn_iw_never" );50 update_option( "image_wall_regen_method", "hashing" );51 update_option( "image_wall_regen_salt", rand(1, 1000) );54 add_option( "image_wall_regen", "tmn_iw_never" ); 55 add_option( "image_wall_regen_method", "hashing" ); 56 add_option( "image_wall_regen_salt", rand(1, 1000) ); 52 57 } 53 58 … … 132 137 function image_wall_options() { 133 138 if ( !current_user_can( 'manage_options' ) ) { wp_die( __( 'You do not have sufficient permissions to access this page.' ) );} 139 tmn_iw_set_default_variables(); 134 140 ?> 141 142 135 143 <div class="wrap" style="max-width: 730px;"> 136 144 <style> … … 542 550 $expect_more_posts = true; 543 551 552 tmn_iw_set_default_variables(); 553 544 554 $iw_image_wall_regen_method = get_option( "image_wall_regen_method" ); 545 555 -
image-wall/trunk/readme.txt
r659491 r659578 4 4 Requires at least: 3.5 5 5 Tested up to: 3.5.1 6 Stable tag: 2. 66 Stable tag: 2.7 7 7 Donate link: http://www.themodernnomad.com/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=donation 8 8 License: GPLv2 or later … … 79 79 = 2.6 = 80 80 * Overriding max-height CSS styles from parent stylesheets wich could make the images seem very short. 81 82 = 2.7 = 83 * Fixed an error where upgrading from v2.5 would break the image wall.
Note: See TracChangeset
for help on using the changeset viewer.