@@ -188,6 +188,9 @@ discard block |
||
| 188 | 188 | ); |
| 189 | 189 | } |
| 190 | 190 | |
| 191 | + /** |
|
| 192 | + * @param string $meta_type |
|
| 193 | + */ |
|
| 191 | 194 | private function get_metadata( $ids, $meta_type ) { |
| 192 | 195 | global $wpdb; |
| 193 | 196 | $table = _get_meta_table( $meta_type ); |
@@ -214,6 +217,10 @@ discard block |
||
| 214 | 217 | $this->set_status("updates", 100); |
| 215 | 218 | } |
| 216 | 219 | |
| 220 | + /** |
|
| 221 | + * @param string $name |
|
| 222 | + * @param integer $percent |
|
| 223 | + */ |
|
| 217 | 224 | private function set_status( $name, $percent, $count = 1, $total =1 ) { |
| 218 | 225 | set_transient( self::$status_transient_name.'_'.$name, |
| 219 | 226 | array( |