OH OH! You're right, it didn't show up at first (how weird....).
Huh. So it rejects but adds to approvals. Well that's weird.
Okay, I see why. It LOOKS like it's because we're running a command at the same priority. I can change it by making my higher (10 is the default, 1 would be highest priority).
You can test this, changing line 107 is banhammer.php to this:
add_action('register_post', array(&$this, 'banhammer'), 1, 3);
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 150 تاريخ : پنجشنبه 9 ارديبهشت 1395 ساعت: 4:29