Changeset 49152
- Timestamp:
- 10/14/2020 09:33:10 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/dashboard.js
r49151 r49152 624 624 * the user's current time zone, locale, etc. 625 625 * 626 * @since 5. 6.0626 * @since 5.5.2 627 627 * 628 628 * @param {Array} rawEvents The events that should have dynamic fields added to them. … … 659 659 * Returns the user's local/browser time zone, in a form suitable for `wp.date.i18n()`. 660 660 * 661 * @since 5. 6.0661 * @since 5.5.2 662 662 * 663 663 * @param startTimestamp … … 694 694 * See https://stackoverflow.com/questions/21102435/why-does-javascript-date-gettimezoneoffset-consider-0500-as-a-positive-off. 695 695 * 696 * @since 5. 6.0696 * @since 5.5.2 697 697 * 698 698 * @param {number} startTimestamp … … 707 707 * Get a short time zone name, like `PST`. 708 708 * 709 * @since 5. 6.0709 * @since 5.5.2 710 710 * 711 711 * @param {number} startTimestamp … … 749 749 * Format a start/end date in the user's local time zone and locale. 750 750 * 751 * @since 5. 6.0751 * @since 5.5.2 752 752 * 753 753 * @param {int} startDate The Unix timestamp in milliseconds when the the event starts. -
trunk/src/wp-admin/includes/class-wp-community-events.php
r49146 r49152 78 78 * 79 79 * @since 4.8.0 80 * @since 5. 6.0Response no longer contains formatted date field. They're added80 * @since 5.5.2 Response no longer contains formatted date field. They're added 81 81 * in `wp.communityEvents.populateDynamicEventFields()` now. 82 82 * … … 346 346 * 347 347 * @since 4.8.0 348 * @since 5. 6.0Response no longer contains formatted date field. They're added348 * @since 5.5.2 Response no longer contains formatted date field. They're added 349 349 * in `wp.communityEvents.populateDynamicEventFields()` now. 350 350 * … … 378 378 _deprecated_function( 379 379 __METHOD__, 380 '5. 6.0',380 '5.5.2', 381 381 'This is no longer used by Core, and only kept for backwards-compatibility.' 382 382 ); … … 452 452 * @since 4.8.0 453 453 * @since 4.9.7 Stick a WordCamp to the final list. 454 * @since 5. 6.0Accepts and returns only the events, rather than an entire HTTP response.454 * @since 5.5.2 Accepts and returns only the events, rather than an entire HTTP response. 455 455 * 456 456 * @param array $events The events that will be prepared. -
trunk/tests/phpunit/tests/admin/includesCommunityEvents.php
r49147 r49152 281 281 * @covers WP_Community_Events::trim_events 282 282 * 283 * @since 5. 6.0283 * @since 5.5.2 284 284 */ 285 285 public function test_trim_expired_events() { … … 310 310 * 311 311 * @since 4.9.7 312 * @since 5. 6.0Tests `trim_events()` directly instead of indirectly via `get_events()`.312 * @since 5.5.2 Tests `trim_events()` directly instead of indirectly via `get_events()`. 313 313 */ 314 314 public function test_trim_events_pin_wordcamp() { … … 332 332 * 333 333 * @since 4.9.7 334 * @since 5. 6.0Accepts and returns only the events, rather than an entire HTTP response.334 * @since 5.5.2 Accepts and returns only the events, rather than an entire HTTP response. 335 335 * 336 336 * @return array A list of mock events. … … 415 415 * 416 416 * @since 4.9.7 417 * @since 5. 6.0Tests `trim_events()` directly instead of indirectly via `get_events()`.417 * @since 5.5.2 Tests `trim_events()` directly instead of indirectly via `get_events()`. 418 418 */ 419 419 public function test_trim_events_dont_pin_multiple_wordcamps() { … … 438 438 * 439 439 * @since 4.9.7 440 * @since 5. 6.0Tests `trim_events()` directly instead of indirectly via `get_events()`.440 * @since 5.5.2 Tests `trim_events()` directly instead of indirectly via `get_events()`. 441 441 * 442 442 * @return array A mock HTTP response.
Note: See TracChangeset
for help on using the changeset viewer.