Просмотр исходного кода

one more identity action to process

tokul 20 лет назад
Родитель
Сommit
8a9d2b6f7e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      functions/identity.php

+ 3 - 0
functions/identity.php

@@ -174,6 +174,9 @@ function sqfixidentities( $identities, $id, $action ) {
             case 'delete':
 
                 if ($key == $id) {
+                    // inform plugins about deleted id
+                    do_hook('options_identities_process', $action, $id);
+
                     continue 2;
                 } else {
                     $fixed[$i] = $ident;