Prechádzať zdrojové kódy

one more identity action to process

tokul 20 rokov pred
rodič
commit
8a9d2b6f7e
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  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;