adding todo's
This commit is contained in:
parent
ca940bfc4e
commit
25ecff16e7
1 changed files with 4 additions and 2 deletions
|
@ -25,7 +25,7 @@ use function Activitypub\site_supports_blocks;
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
abstract class Base {
|
abstract class Base { // todo renmae to Base_tranformer
|
||||||
/**
|
/**
|
||||||
* The WP_Post object.
|
* The WP_Post object.
|
||||||
*
|
*
|
||||||
|
@ -341,6 +341,8 @@ abstract class Base {
|
||||||
* @return string The User-URL.
|
* @return string The User-URL.
|
||||||
*/
|
*/
|
||||||
protected function get_attributed_to() {
|
protected function get_attributed_to() {
|
||||||
|
// todo is this descriptive enough? what if for some people the event should be attributed to the venue?
|
||||||
|
// i would maybe prefer something like "get post author??"
|
||||||
if ( is_single_user() ) { // todo what is if this setting gets changed
|
if ( is_single_user() ) { // todo what is if this setting gets changed
|
||||||
$user = new Blog_User();
|
$user = new Blog_User();
|
||||||
return $user->get_url();
|
return $user->get_url();
|
||||||
|
@ -691,7 +693,7 @@ abstract class Base {
|
||||||
*/
|
*/
|
||||||
protected function get_basic_content_map() {
|
protected function get_basic_content_map() {
|
||||||
return array(
|
return array(
|
||||||
$this->get_locale() => $this->get_content(),
|
$this->get_locale() => $this->get_content(), // todo is this a valid assumption?
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue