Changeset 1789918
- Timestamp:
- 12/20/2017 08:53:31 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
categories-multiple-images/trunk/categories-multiple-images.php
r1375150 r1789918 4 4 * Plugin Name: Categories Multiple Images 5 5 * Description: Categories Multiple Images Plugin allows you to add multiple images to categories or any other custom taxonomy. 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Author: Lior Broshi, Binternet 8 8 * Author URI: http://www.binternet.co.il … … 271 271 272 272 for ( $i = 1, $n = $this->settings['total_images']; $i <= $n; $i++ ) { 273 update_option( "cmi_taxonomy_image{$i}_{$term_id}", $_POST["cmi_taxonomy_image{$i}"] ); 273 $post_field = "cmi_taxonomy_image{$i}"; 274 if ( isset( $_POST[ $post_field ] ) ) { 275 update_option( $post_field . "_{$term_id}", $_POST[ $post_field ] ); 276 } 274 277 } 275 278 }
Note: See TracChangeset
for help on using the changeset viewer.