Pārlūkot izejas kodu

one more identity action to process

tokul 20 gadi atpakaļ
vecāks
revīzija
8a9d2b6f7e
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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;