Changeset 4028 for sites/trunk/wordpress.org/public_html/wp-content/plugins/rosetta/inc/site/class-global-wordpress-org.php
- Timestamp:
- 09/11/2016 02:50:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/rosetta/inc/site/class-global-wordpress-org.php
r4027 r4028 5 5 6 6 class Global_WordPress_Org implements Site { 7 8 /** 9 * Domain of this site. 10 * 11 * @var string 12 */ 13 public static $domain = 'global.wordpress.org'; 14 15 /** 16 * Path of this site. 17 * 18 * @var string 19 */ 20 public static $path = '/'; 7 21 8 22 /** … … 14 28 */ 15 29 public static function test( WP_Site $site ) { 16 if ( 'global.wordpress.org'=== $site->domain ) {30 if ( self::$domain === $site->domain ) { 17 31 return true; 18 32 }
Note: See TracChangeset
for help on using the changeset viewer.