Changeset 27769
- Timestamp:
- 03/27/2014 02:01:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r27491 r27769 543 543 if ( ! $silent ) { 544 544 /** 545 * Fires before a plugin is activated in activate_plugin() when the $silent parameter is false. 545 * Fires before a plugin is activated. 546 * 547 * If a plugin is silently activated (such as during an update), 548 * this hook does not fire. 546 549 * 547 550 * @since 2.9.0 … … 554 557 555 558 /** 556 * Fires before a plugin is activated in activate_plugin() when the $silent parameter is false. 557 * 558 * The action concatenates the 'activate_' prefix with the $plugin value passed to 559 * activate_plugin() to create a dynamically-named action. 559 * Fires as a specific plugin is being deactivated. 560 * 561 * This hook is the "deactivation" hook used internally by 562 * register_deactivation_hook(). The dynamic portion of the 563 * hook name, $plugin. refers to the plugin basename. 564 * 565 * If a plugin is silently activated (such as during an update), 566 * this hook does not fire. 560 567 * 561 568 * @since 2.0.0 … … 578 585 if ( ! $silent ) { 579 586 /** 580 * Fires after a plugin has been activated in activate_plugin() when the $silent parameter is false. 587 * Fires after a plugin has been activated. 588 * 589 * If a plugin is silently activated (such as during an update), 590 * this hook does not fire. 581 591 * 582 592 * @since 2.9.0 … … 627 637 if ( ! $silent ) { 628 638 /** 629 * Fires for each plugin being deactivated in deactivate_plugins(), before deactivation 630 * and when the $silent parameter is false. 639 * Fires before a plugin is deactivated. 640 * 641 * If a plugin is silently deactivated (such as during an update), 642 * this hook does not fire. 631 643 * 632 644 * @since 2.9.0 … … 658 670 if ( ! $silent ) { 659 671 /** 660 * Fires before a specific plugin is deactivated. 661 * 662 * The dynamic portion of the hook name, $plugin. refers to the plugin basename. 663 * 664 * The hook only first when the $silent parameter is false. 672 * Fires as a specific plugin is being deactivated. 673 * 674 * This hook is the "deactivation" hook used internally by 675 * register_deactivation_hook(). The dynamic portion of the 676 * hook name, $plugin. refers to the plugin basename. 677 * 678 * If a plugin is silently deactivated (such as during an update), 679 * this hook does not fire. 665 680 * 666 681 * @since 2.0.0 … … 672 687 673 688 /** 674 * Fires before a plugin is deactivated. 675 * 676 * The hook only fies when the $silent parameter is false. 689 * Fires after a plugin is deactivated. 690 * 691 * If a plugin is silently deactivated (such as during an update), 692 * this hook does not fire. 677 693 * 678 694 * @since 2.9.0
Note: See TracChangeset
for help on using the changeset viewer.