@@ -301,6 +301,7 @@ discard block |
||
301 | 301 | * @since 2.02.05 |
302 | 302 | * @param int|string $value |
303 | 303 | * @param string $where |
304 | + * @param string $key |
|
304 | 305 | */ |
305 | 306 | private static function add_query_placeholder( $key, $value, &$where ) { |
306 | 307 | if ( is_numeric( $value ) && strpos( $key, 'meta_value' ) === false ) { |
@@ -318,6 +319,9 @@ discard block |
||
318 | 319 | return $count; |
319 | 320 | } |
320 | 321 | |
322 | + /** |
|
323 | + * @param string $table |
|
324 | + */ |
|
321 | 325 | public static function get_var( $table, $where = array(), $field = 'id', $args = array(), $limit = '', $type = 'var' ) { |
322 | 326 | $group = ''; |
323 | 327 | self::get_group_and_table_name( $table, $group ); |