Changeset 56542
- Timestamp:
- 09/07/2023 08:39:07 PM (13 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r56450 r56542 187 187 } 188 188 189 trigger_error( 189 wp_trigger_error( 190 __METHOD__, 190 191 "The property `{$name}` is not declared. Getting a dynamic property is " . 191 192 'deprecated since version 6.4.0! Instead, declare the property on the class.', … … 210 211 } 211 212 212 trigger_error( 213 wp_trigger_error( 214 __METHOD__, 213 215 "The property `{$name}` is not declared. Setting a dynamic property is " . 214 216 'deprecated since version 6.4.0! Instead, declare the property on the class.', … … 231 233 } 232 234 233 trigger_error( 235 wp_trigger_error( 236 __METHOD__, 234 237 "The property `{$name}` is not declared. Checking `isset()` on a dynamic property " . 235 238 'is deprecated since version 6.4.0! Instead, declare the property on the class.', … … 253 256 } 254 257 255 trigger_error( 258 wp_trigger_error( 259 __METHOD__, 256 260 "A property `{$name}` is not declared. Unsetting a dynamic property is " . 257 261 'deprecated since version 6.4.0! Instead, declare the property on the class.', -
trunk/tests/phpunit/tests/admin/wpListTable.php
r56356 r56542 390 390 $this->expectDeprecation(); 391 391 $this->expectDeprecationMessage( 392 'WP_List_Table::__get(): ' . 392 393 'The property `undeclared_property` is not declared. Getting a dynamic property is ' . 393 394 'deprecated since version 6.4.0! Instead, declare the property on the class.' … … 419 420 $this->expectDeprecation(); 420 421 $this->expectDeprecationMessage( 422 'WP_List_Table::__set(): ' . 421 423 'The property `undeclared_property` is not declared. Setting a dynamic property is ' . 422 424 'deprecated since version 6.4.0! Instead, declare the property on the class.' … … 451 453 $this->expectDeprecation(); 452 454 $this->expectDeprecationMessage( 455 'WP_List_Table::__isset(): ' . 453 456 'The property `undeclared_property` is not declared. Checking `isset()` on a dynamic property ' . 454 457 'is deprecated since version 6.4.0! Instead, declare the property on the class.' … … 478 481 $this->expectDeprecation(); 479 482 $this->expectDeprecationMessage( 483 'WP_List_Table::__unset(): ' . 480 484 'A property `undeclared_property` is not declared. Unsetting a dynamic property is ' . 481 485 'deprecated since version 6.4.0! Instead, declare the property on the class.'
Note: See TracChangeset
for help on using the changeset viewer.