Changeset 3505 for branches/plugin/bbp-includes/bbp-core-shortcodes.php
- Timestamp:
- 09/10/2011 10:27:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-shortcodes.php
r3395 r3505 757 757 * @since bbPress (r3302) 758 758 * 759 * @global bbPress $bbp760 *761 759 * @return string 762 760 */ 763 761 public function display_login() { 764 global $bbp;765 762 766 763 // Unset globals … … 785 782 * @since bbPress (r3302) 786 783 * 787 * @global bbPress $bbp788 *789 784 * @return string 790 785 */ 791 786 public function display_register() { 792 global $bbp;793 787 794 788 // Unset globals … … 813 807 * @since bbPress (r3302) 814 808 * 815 * @global bbPress $bbp816 *817 809 * @return string 818 810 */ 819 811 public function display_lost_pass() { 820 global $bbp;821 812 822 813 // Unset globals … … 842 833 * 843 834 * @since bbPress (r3302) 844 *845 * @global bbPress $bbp846 835 * 847 836 * @return string … … 875 864 global $bbp; 876 865 866 // Bail if bbPress is not loaded 867 if ( 'bbPress' !== get_class( $bbp ) ) return; 868 877 869 $bbp->shortcodes = new BBP_Shortcodes(); 878 870 }
Note: See TracChangeset
for help on using the changeset viewer.