deprecated/classes/Pods.php 1 location
|
@@ 166-172 (lines=7) @@
|
| 163 |
|
$pick_field_name = 'post_title'; |
| 164 |
|
$pick_where = "t.`post_type` = '{$pick_val}'"; |
| 165 |
|
break; |
| 166 |
|
case 'taxonomy': |
| 167 |
|
$pick_table = '@wp_terms'; |
| 168 |
|
$pick_field_id = 'term_id'; |
| 169 |
|
$pick_field_name = 'name'; |
| 170 |
|
$pick_join = '`@wp_term_taxonomy` AS tx ON tx.`term_id` = t.`term_id'; |
| 171 |
|
$pick_where = "tx.`taxonomy` = '{$pick_val}' AND tx.`taxonomy` IS NOT NULL"; |
| 172 |
|
break; |
| 173 |
|
case 'user': |
| 174 |
|
$pick_table = '@wp_users'; |
| 175 |
|
$pick_field_id = 'ID'; |
deprecated/list_filters.php 1 location
|
@@ 37-42 (lines=6) @@
|
| 34 |
|
$pick_column_id = 'ID'; |
| 35 |
|
$pick_where = "t.`post_type` = '{$pick_val}'"; |
| 36 |
|
break; |
| 37 |
|
case 'taxonomy': |
| 38 |
|
$pick_table = '@wp_terms'; |
| 39 |
|
$pick_column_id = 'term_id'; |
| 40 |
|
$pick_join = '`@wp_term_taxonomy` AS tx ON tx.`term_id` = t.`term_id'; |
| 41 |
|
$pick_where = "tx.`taxonomy` = '{$pick_val}' AND tx.`taxonomy` IS NOT NULL"; |
| 42 |
|
break; |
| 43 |
|
case 'user': |
| 44 |
|
$pick_table = '@wp_users'; |
| 45 |
|
$pick_column_id = 'ID'; |