Merge 'main' into eventprime
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 58s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m8s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m3s
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 58s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m8s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m3s
This commit is contained in:
commit
15f61e4e9c
3 changed files with 9 additions and 1 deletions
|
@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
* Integration for EventPrime – Events Calendar, Bookings and Tickets
|
* Integration for EventPrime – Events Calendar, Bookings and Tickets
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Fixed that transformer hook function might also return `null`.
|
||||||
|
|
||||||
## [0.2.1] - 2024-11-16
|
## [0.2.1] - 2024-11-16
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -107,6 +107,10 @@ We're always interested in your feedback. Feel free to reach out to us via [E-Ma
|
||||||
|
|
||||||
* Integration for EventPrime – Events Calendar, Bookings and Tickets
|
* Integration for EventPrime – Events Calendar, Bookings and Tickets
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Fixed that transformer hook function might also return `null`.
|
||||||
|
|
||||||
### [0.2.1] 2024-11-16 ###
|
### [0.2.1] 2024-11-16 ###
|
||||||
|
|
||||||
* Initial release on https://wordpress.org/
|
* Initial release on https://wordpress.org/
|
||||||
|
|
|
@ -253,7 +253,7 @@ class Setup {
|
||||||
*
|
*
|
||||||
* @return \Activitypub\Transformer\Base|null
|
* @return \Activitypub\Transformer\Base|null
|
||||||
*/
|
*/
|
||||||
public function register_activitypub_event_transformer( $transformer, $wp_object, $object_class ): \Activitypub\Transformer\Base {
|
public function register_activitypub_event_transformer( $transformer, $wp_object, $object_class ): ?\Activitypub\Transformer\Base {
|
||||||
// If the current WordPress object is not a post (e.g., a WP_Comment), don't change the transformer.
|
// If the current WordPress object is not a post (e.g., a WP_Comment), don't change the transformer.
|
||||||
if ( 'WP_Post' !== $object_class ) {
|
if ( 'WP_Post' !== $object_class ) {
|
||||||
return $transformer;
|
return $transformer;
|
||||||
|
|
Loading…
Reference in a new issue