Changeset 130776
- Timestamp:
- 06/30/2009 12:35:42 PM (16 years ago)
- Location:
- bbpress-integration/trunk
- Files:
-
- 2 edited
-
bbpress-integration.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bbpress-integration/trunk/bbpress-integration.php
r127291 r130776 4 4 Plugin URI: http://wordpress.org/extend/plugins/bbpress-integration/ 5 5 Description: Provides single sign on login with a bbPress installation. 6 Version: 1.0 -rc-36 Version: 1.0 7 7 Author: <a href="http://blogwaffe.com/">Michael Adams</a> and <a href="http://unlettered.org">Sam Bauers</a> 8 8 Author URI: … … 200 200 } 201 201 202 extract( bbpress_integration_get_cookie_domain_and_path() ); 202 if ( !$cookiedomain_and_path = bbpress_integration_get_cookie_domain_and_path() ) { 203 return false; 204 } 205 extract( $cookiedomain_and_path ); 203 206 204 207 $domain = $cookiedomain; … … 415 418 <?php 416 419 if ( !empty( $uri ) ) { 417 extract( bbpress_integration_get_cookie_domain_and_path() );418 419 420 $wp_settings = ''; 420 if ( $cookiehash ) { 421 $wp_settings .= 'define( \'COOKIEHASH\', \'' . $cookiehash . '\' );' . "\n"; 422 } 423 if ( $cookiedomain ) { 424 $wp_settings .= 'define( \'COOKIE_DOMAIN\', \'' . $cookiedomain . '\' );' . "\n"; 425 } 426 if ( $sitecookiepath ) { 427 $wp_settings .= 'define( \'SITECOOKIEPATH\', \'' . $sitecookiepath . '\' );' . "\n"; 428 } 429 if ( $admincookiepath ) { 430 $wp_settings .= 'define( \'ADMIN_COOKIE_PATH\', \'' . $admincookiepath . '\' );' . "\n"; 431 } 432 $wp_settings .= 'define( \'COOKIEPATH\', \'' . $cookiepath . '\' );'; 421 422 if ( $cookiedomain_and_path = bbpress_integration_get_cookie_domain_and_path() ) { 423 extract( $cookiedomain_and_path ); 424 if ( $cookiehash ) { 425 $wp_settings .= 'define( \'COOKIEHASH\', \'' . $cookiehash . '\' );' . "\n"; 426 } 427 if ( $cookiedomain ) { 428 $wp_settings .= 'define( \'COOKIE_DOMAIN\', \'' . $cookiedomain . '\' );' . "\n"; 429 } 430 if ( $sitecookiepath ) { 431 $wp_settings .= 'define( \'SITECOOKIEPATH\', \'' . $sitecookiepath . '\' );' . "\n"; 432 } 433 if ( $admincookiepath ) { 434 $wp_settings .= 'define( \'ADMIN_COOKIE_PATH\', \'' . $admincookiepath . '\' );' . "\n"; 435 } 436 $wp_settings .= 'define( \'COOKIEPATH\', \'' . $cookiepath . '\' );'; 437 } 433 438 } else { 434 439 $wp_settings = __( '// Options must be set above for manual cookie settings to appear here.', 'bbpress_integration' ); -
bbpress-integration/trunk/readme.txt
r127291 r130776 4 4 Requires at least: 2.7 5 5 Tested up to: 2.8 6 Stable tag: 1.0 -rc-36 Stable tag: 1.0 7 7 8 8 Provides single sign on login with a bbPress installation. … … 54 54 == License == 55 55 56 bbPress Live version 1.0 -rc-3<br />56 bbPress Live version 1.0<br /> 57 57 Copyright (C) 2007 Michael Adams (http://blogwaffe.com/)<br /> 58 58 Copyright (C) 2009 Sam Bauers (http://unlettered.org/) … … 78 78 * 1.0-rc-3 : 79 79 <br />Better support and instructions for WordPress 2.7 and WPMU 80 * 1.0 : 81 <br />Fix a potential warning when no options are set
Note: See TracChangeset
for help on using the changeset viewer.