parent
f80f6a791f
commit
da155405ee
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ namespace Activitypub;
|
||||||
* Initialize plugin
|
* Initialize plugin
|
||||||
*/
|
*/
|
||||||
function init() {
|
function init() {
|
||||||
defined( 'ACTIVITYPUB_HASHTAGS_REGEXP' ) || define( 'ACTIVITYPUB_HASHTAGS_REGEXP', '(^|\s|\/>)#([^\s<>]+)\b' );
|
defined( 'ACTIVITYPUB_HASHTAGS_REGEXP' ) || define( 'ACTIVITYPUB_HASHTAGS_REGEXP', '(?<=[\s>]|^)#(\w*[A-Za-z_]+\w*)\b(?!;)' );
|
||||||
|
|
||||||
require_once dirname( __FILE__ ) . '/includes/class-signature.php';
|
require_once dirname( __FILE__ ) . '/includes/class-signature.php';
|
||||||
require_once dirname( __FILE__ ) . '/includes/class-activity.php';
|
require_once dirname( __FILE__ ) . '/includes/class-activity.php';
|
||||||
|
|
Loading…
Reference in a new issue