Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 4 additions and 4 deletions.
  1. +4 −4 taxonomy-meta.php
8 taxonomy-meta.php
View
@@ -46,11 +46,11 @@ function check_field_upload() {
add_action('wp_ajax_rw_delete_file', array(&$this, 'delete_file')); // ajax delete files
}
}
-
+
function enqueue_scripts() {
wp_enqueue_script('media-upload');
wp_enqueue_script('thickbox');
- wp_enqueue_style('thickbox');
+ wp_enqueue_style('thickbox');
}
// Add scripts for handling add/delete images
@@ -531,9 +531,9 @@ function save($term_id, $tt_id) {
// call defined method to save meta value, if there's no methods, call common one
$save_func = 'save_field_' . $type;
if (method_exists($this, $save_func)) {
- call_user_func(array(&$this, 'save_field_' . $type), &$meta, $field, $old, $new);
+ call_user_func(array(&$this, 'save_field_' . $type), $meta, $field, $old, $new);
} else {
- $this->save_field(&$meta, $field, $old, $new);
+ $this->save_field($meta, $field, $old, $new);
}
}

No commit comments for this range

Something went wrong with that request. Please try again.