Changeset 44169 for trunk/src/wp-includes/class-wp-dependency.php
- Timestamp:
- 12/14/2018 05:51:31 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-wp-dependency.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43825,43828,43859,43898
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/class-wp-dependency.php
r42343 r44169 69 69 70 70 /** 71 * Translation textdomain set for this dependency. 72 * 73 * @since 5.0.0 74 * @var string 75 */ 76 public $textdomain; 77 78 /** 79 * Translation path set for this dependency. 80 * 81 * @since 5.0.0 82 * @var string 83 */ 84 public $translations_path; 85 86 /** 71 87 * Setup dependencies. 72 88 * … … 97 113 } 98 114 115 public function set_translations( $domain, $path = null ) { 116 if ( ! is_string( $domain ) ) { 117 return false; 118 } 119 $this->textdomain = $domain; 120 $this->translations_path = $path; 121 return true; 122 } 99 123 }
Note: See TracChangeset
for help on using the changeset viewer.