Changes between Version 1 and Version 2 of Ticket #51850, comment 5
- Timestamp:
- 11/24/2020 12:26:23 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51850, comment 5
v1 v2 9 9 10 10 I opted for (2) because (1) involves doing unnecessary work in the constructor and `WP_Block::render()` is a fairly warm path that is called when viewing a post. 11 12 Note that the dynamic properties are documented using `@property` PHPDoc attributes and so auto completion will still work for these properties in most IDEs.