add prefixes

This commit is contained in:
Matthias Pfefferle 2020-07-21 09:27:35 +02:00
parent d260d7c276
commit edc334a1fb
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ class Inbox {
*/
public static function shared_inbox( $request ) {
$data = $request->get_params();
$type = strtoloer( $request->get_param( 'type' ) );
$type = \strtoloer( $request->get_param( 'type' ) );
foreach ( $users as $user ) {
\do_action( 'activitypub_inbox', $data, $user_id, $type );

View file

@ -40,7 +40,7 @@
<li><code>%shortlink%</code> - <?php \printf( \esc_html( 'The Post-Shortlink. I can recommend %sHum%s, to prettify the Shortlinks', 'activitypub' ), '<a href="https://wordpress.org/plugins/hum/" target="_blank">', '</a>' ); ?></li>
<li><code>%hashtags%</code> - <?php \esc_html_e( 'The Tags as Hashtags.', 'activitypub' ); ?></li>
</ul>
<?php printf( \__( '%sLet me know%s if you miss a template placeholder.', 'activitypub' ), '<a href="https://github.com/pfefferle/wordpress-activitypub/issues/new" target="_blank">', '</a>' ); ?>
<?php \printf( \__( '%sLet me know%s if you miss a template placeholder.', 'activitypub' ), '<a href="https://github.com/pfefferle/wordpress-activitypub/issues/new" target="_blank">', '</a>' ); ?>
</div>
</p>
</td>