Changeset 56543
- Timestamp:
- 09/07/2023 08:43:48 PM (17 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user-query.php
r56381 r56543 1123 1123 } 1124 1124 1125 trigger_error( 1125 wp_trigger_error( 1126 __METHOD__, 1126 1127 "The property `{$name}` is not declared. Getting a dynamic property is " . 1127 1128 'deprecated since version 6.4.0! Instead, declare the property on the class.', … … 1146 1147 } 1147 1148 1148 trigger_error( 1149 wp_trigger_error( 1150 __METHOD__, 1149 1151 "The property `{$name}` is not declared. Setting a dynamic property is " . 1150 1152 'deprecated since version 6.4.0! Instead, declare the property on the class.', … … 1167 1169 } 1168 1170 1169 trigger_error( 1171 wp_trigger_error( 1172 __METHOD__, 1170 1173 "The property `{$name}` is not declared. Checking `isset()` on a dynamic property " . 1171 1174 'is deprecated since version 6.4.0! Instead, declare the property on the class.', … … 1189 1192 } 1190 1193 1191 trigger_error( 1194 wp_trigger_error( 1195 __METHOD__, 1192 1196 "A property `{$name}` is not declared. Unsetting a dynamic property is " . 1193 1197 'deprecated since version 6.4.0! Instead, declare the property on the class.', -
trunk/tests/phpunit/tests/user/query.php
r56353 r56543 2254 2254 $this->expectDeprecation(); 2255 2255 $this->expectDeprecationMessage( 2256 'WP_User_Query::__get(): ' . 2256 2257 'The property `undefined_property` is not declared. Getting a dynamic property is ' . 2257 2258 'deprecated since version 6.4.0! Instead, declare the property on the class.' … … 2286 2287 $this->expectDeprecation(); 2287 2288 $this->expectDeprecationMessage( 2289 'WP_User_Query::__set(): ' . 2288 2290 'The property `undefined_property` is not declared. Setting a dynamic property is ' . 2289 2291 'deprecated since version 6.4.0! Instead, declare the property on the class.' … … 2322 2324 $this->expectDeprecation(); 2323 2325 $this->expectDeprecationMessage( 2326 'WP_User_Query::__isset(): ' . 2324 2327 'The property `undefined_property` is not declared. Checking `isset()` on a dynamic property ' . 2325 2328 'is deprecated since version 6.4.0! Instead, declare the property on the class.' … … 2353 2356 $this->expectDeprecation(); 2354 2357 $this->expectDeprecationMessage( 2358 'WP_User_Query::__unset(): ' . 2355 2359 'A property `undefined_property` is not declared. Unsetting a dynamic property is ' . 2356 2360 'deprecated since version 6.4.0! Instead, declare the property on the class.'
Note: See TracChangeset
for help on using the changeset viewer.