Version 5.0.0 beta 1

This commit is contained in:
Neo committed 2025-12-19 16:27:35 -08:00
1 parent 25ddeb65d6
commit 15c7beabc5
6736 files changed
+627902 -497943

No files matched your search

+7 -3
View File
@@ -1,6 +1,10 @@
//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Member;
use IPS\Settings;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
exit;
@@ -23,7 +27,7 @@ class convert_hook_LegacyParser extends _HOOK_CLASS_
foreach( $matches[0] as $idx => $m )
{
$member = \IPS\Member::load( $matches[1][ $idx ] );
$member = Member::load( $matches[1][ $idx ] );
if ( $member->member_id )
{
@@ -35,14 +39,14 @@ class convert_hook_LegacyParser extends _HOOK_CLASS_
}
}
return str_replace( \IPS\Settings::i()->base_url, '<___base_url___>/', $result );
return str_replace( Settings::i()->base_url, '<___base_url___>/', $result );
}
/**
* Parse statically
*
* @param string $value The value to parse
* @param \IPS\Member|null $member The member posting. NULL will use currently logged in member.
* @param Member|null $member The member posting. NULL will use currently logged in member.
* @param bool $allowHtml Allow HTML
* @param string $attachClass Key to use for attachments
* @param int $id1 ID1 to use for attachments