File tree 2 files changed +1
-18
lines changed
2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ class ATBDP_Installation {
50
50
],
51
51
'8.3.0 ' => [
52
52
'directorist_830_migrate_directory_sorting_order ' ,
53
- 'directorist_830_sync_listing_author_and_order_author ' ,
54
53
'directorist_830_update_db_version ' ,
55
54
],
56
55
);
Original file line number Diff line number Diff line change @@ -246,20 +246,4 @@ function directorist_830_update_db_version() {
246
246
247
247
function directorist_830_migrate_directory_sorting_order () {
248
248
Directorist \Multi_Directory \Multi_Directory_Manager::add_directory_type_sorting_order_to_missing_ones ( false );
249
- }
250
-
251
- function directorist_830_sync_listing_author_and_order_author () {
252
- global $ wpdb ;
253
-
254
- $ wpdb ->query ( $ wpdb ->prepare (
255
- "UPDATE wp_posts AS p
256
- INNER JOIN wp_postmeta AS pm
257
- ON p.ID = pm.post_id
258
- AND pm.meta_key = '_listing_id'
259
- INNER JOIN wp_posts AS p2
260
- ON p2.ID = CAST(pm.meta_value AS UNSIGNED)
261
- SET p.post_author = p2.post_author
262
- WHERE p.post_type = 'atbdp_orders'
263
- AND p.post_author <> p2.post_author; " ,
264
- ) );
265
- }
249
+ }
You can’t perform that action at this time.
0 commit comments