Changeset 2688 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-help/wporg-gp-help.php
- Timestamp:
- 03/03/2016 09:20:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-help/wporg-gp-help.php
r2275 r2688 39 39 update_user_meta( get_current_user_id(), $this->hide_notice, true ); 40 40 } 41 setcookie( $this->hide_notice, '1', time() + 3600*24*30, gp_url( '/' )); // a month41 setcookie( $this->hide_notice, '1', time() + 3600*24*30, SITECOOKIEPATH, COOKIE_DOMAIN ); // a month 42 42 } 43 43 … … 72 72 73 73 function getting_started() { 74 wporg_gp_help_page()->remove_action( 'after_notices');74 remove_action( 'gp_after_notices', array( wporg_gp_help_page(), 'after_notices' ) ); 75 75 76 wp_redirect( GP_Help_Page_Plugin::handbook_link, 301 );76 wp_redirect( WPorg_GP_Help_Page::handbook_link, 301 ); 77 77 exit; 78 78 }
Note: See TracChangeset
for help on using the changeset viewer.