Changeset 4028 for sites/trunk/wordpress.org/public_html/wp-content/plugins/rosetta/inc/site/class-locale-team.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-locale-team.php
r4027 r4028 5 5 6 6 class Locale_Team implements Site { 7 8 /** 9 * Domain of this site. 10 * 11 * @var string 12 */ 13 public static $domain = '#[a-z-]{2,5}\.wordpress\.org#'; 14 15 /** 16 * Path of this site. 17 * 18 * @var string 19 */ 20 public static $path = '/team/'; 7 21 8 22 /** … … 14 28 */ 15 29 public static function test( WP_Site $site ) { 16 if ( '/team/'=== $site->path ) {30 if ( self::$path === $site->path ) { 17 31 return true; 18 32 }
Note: See TracChangeset
for help on using the changeset viewer.