Contents
Because of the deprecation of the Zend\Mail
library and it's replacement by the Laminas\Mail
all references have been updated.
The Web Services plugin received a complete rewrite, this is mostly related to the internals of the plugin.
ElggHMACCache
has been replaced by_elgg_services()->hmacCacheTable
(for internal use only)Elgg\Notifications\Event
has been replaced byElgg\Notifications\SubscriptionNotificationEvent
create_api_user()
has been replaced by_elgg_services()->apiUsersTable->createApiUser()
create_user_token()
has been replaced by_elgg_services()->usersApiSessions->createToken()
get_api_user()
has been replaced by_elgg_services()->apiUsersTable->getApiUser()
get_standard_api_key_array()
use\Elgg\WebServices\ElggApiClient::setApiKeys()
get_user_tokens()
has been replaced by_elgg_services()->usersApiSessions->getUserTokens()
pam_auth_session()
remove_api_user()
has been replaced by_elgg_services()->apiUsersTable->removeApiUser()
remove_expired_user_tokens()
has been replaced by_elgg_services()->usersApiSessions->removeExpiresTokens()
remove_user_token()
has been replaced by_elgg_services()->usersApiSessions->removeToken()
send_api_call()
use\Elgg\WebServices\ElggApiClient
send_api_get_call()
use\Elgg\WebServices\ElggApiClient
send_api_post_call()
use\Elgg\WebServices\ElggApiClient
service_handler()
validate_user_token()
has been replaced by_elgg_services()->usersApiSessions->validateToken()
ws_page_handler()
ws_rest_handler()
has been replaced by\Elgg\WebServices\RestServiceController
- The config value for
servicehandler
has been removed - In certain edge cases the default value of an API parameter will not be applied
Pre Elgg 1.9 notification handling has been removed. Related functions and hooks no longer exist.
This plugin has been removed, but the action to generate a report is still available. You can find it on the Information/Server
admin page.
- This plugin no longer adds a tab to the filter menu on the groups pages
- The
discussions
site menu item is now always present
Instead of registering the _elgg_setup_vertical_menu
and _elgg_menu_transform_to_dropdown
for menus, this is replaced by using the menu vars prepare_vertical
and prepare_dropdown
. Setting them to true
will give you the same effect. This allows for individual control in views when this is required.
The automatic marking as 'selected' of parent menu items of the selected menu item will now always happen for every menu.
Because of various limitations of this implementation it has been removed from the system. The following related API functions have been removed:
elgg_get_registered_tag_metadata_names()
elgg_register_tag_metadata_name()
elgg_unregister_tag_metadata_name()
If you need specific fields to be searchable you need to register them with the related search:fields
hooks. The related tagnames:xxx
tag language keys are no longer registered in the system.
The function ElggEntity::getTags()
will now return only tag metadata with the name tags
by default. If you want to check extra fields containing tags, you need to request this specifically.
The classes Elgg\Http\ErrorResponse
and Elgg\Http\RedirectResponse
were extensions of Elgg\Http\OkReponse
this complicated validating responses (for example in hooks). The classes have been split apart to allow for easier and clearer checks.
All classes now extend Elgg\Http\Response
and implement Elgg\Http\ReponseBuilder
. The default HTTP error code when using elgg_error_response()
has been changed to return a 400 status.
The magic handling the creation of default widgets has been reduced. You now need to register the Elgg\Widgets\CreateDefaultWidgetsHandler
callback to the event when you want default widgets to be created. The configuration default_widget_info
is no longer present in the system. Use the get_list
, default_widgets
hook to get the value.
The following Ajax helper functions have been removed in favor of their counterparts in asynchronous module elgg/Ajax
. * elgg.action()
* elgg.get()
* elgg.getJSON()
* elgg.post()
The ajax function elgg.api
has been moved to the executeMethod
function in the asynchronous module elgg/webservices
in the webservices plugin. Other elgg.ajax
functions and attributes have been removed from the system. Also the legacy handling of ajax calls have been removed from the system.
The javascript logic for automatically booting some javascript for your plugin and registering hooks via the Elgg/Plugin
class has been removed from the system. This functionality was never used by core and hardly seen in plugins. Use AMD loaded javascript or extend elgg.js
for always loaded javascript.
The ElggPriorityList
javascript class has been removed from the system.
The jQuery UI library has been updated to v1.12.x. The library is no longer loaded in full by default. If you need to use features from the library you can require them in your own script. For example to be able to use the sortable functionality do the following:
require('jquery-ui/widgets/sortable');
// or in your own AMD script
define(['jquery-ui/widgets/sortable'], function() {
// use the sortable
});
The following files are no longer included during bootstrapping of a plugin:
activate.php
usePluginBootstrap->activate()
deactivate.php
usePluginBootstrap->deactivate()
views.php
useelgg-plugin.php
start.php
useelgg-plugin.php
and/orPluginBootstrap
The function parameters for ElggEntity::canWriteToContainer()
now require a $type
and $subtype
to be passed. This is to give more information to the resulting hook in order to be able to determine if a user is allowed write access to the container.
- The
access_id
,owner_guid
andenabled
columns in themetadata
table have been removed - The
enabled
column in theriver
table has been removed
The following functions now have their arguments type-hinted, this can cause TypeError
errors.
ElggEntity::setLatLong()
now requires afloat
for$lat
and$long
Elgg\Database\Seeds\Seed::__construct()
now requires anint
for$limit
Elgg\Http\ErrorResponse::__construct()
now requires anint
for$status_code
Elgg\Http\OkResponse::__construct()
now requires anint
for$status_code
Elgg\Http\RedirectResponse::__construct()
now requires anint
for$status_code
Elgg\I18n\Translator::getInstalledTranslations()
now requires abool
for$calculate_completeness
add_user_to_access_collection()
now requires anint
for$user_guid
and$collection_id
can_edit_access_collection()
now requires anint
for$collection_id
and$user_guid
create_access_collection()
now requires anstring
for$name
andint
for$owner_guid
delete_access_collection()
now requires anint
for$collection_id
elgg_action_exists()
now requires astring
for$action
elgg_add_admin_notice()
now requires astring
for$id
and$message
elgg_add_subscription()
now requires anint
for$user_guid
and$target_guid
and astring
for$method
elgg_admin_notice_exists()
now requires astring
for$id
elgg_annotation_exists()
now requires aint
for$entity_guid
, astring
for$name
andint
for$owner_guid
elgg_delete_admin_notice()
now requires astring
for$id
elgg_delete_annotation_by_id()
now requires aint
for$id
elgg_error_response()
now requires anint
for$status_code
elgg_get_access_collections()
now requires anarray
for$options
elgg_get_annotation_from_id()
now requires anint
for$id
elgg_get_subscriptions_for_container()
now requires anint
for$container_guid
elgg_list_annotations()
now requires anarray
for$options
elgg_ok_response()
now requires anint
for$status_code
elgg_redirect_response()
now requires anint
for$status_code
elgg_register_action()
now requires astring
for$action
and$access
elgg_remove_subscription()
now requires anint
for$user_guid
and$target_guid
and astring
for$method
elgg_send_email()
now requires an\Elgg\Email
for$email
elgg_unregister_action()
now requires astring
for$action
get_access_array()
now requires anint
for$user_guid
get_access_collection()
now requires anint
for$collection_id
get_entity_statistics()
now requires anint
for$owner_guid
get_members_of_access_collection()
now requires anint
for$collection_id
andbool
for$guids_only
get_readable_access_level()
now requires anint
for$entity_access_id
get_write_access_array()
now requires anint
for$user_guid
andbool
for$flush
has_access_to_entity()
now requires anElggEntity
for$entity
andElggUser
for$user
remove_user_from_access_collection()
now requires anint
for$user_guid
and$collection_id
system_log_get_log()
now requires anarray
for$options
messageboard_add()
now requires anElggUser
,ElggUser
,string
and anint
Elgg\Http\ResponseBuilder::setStatusCode()
no longer has a default valueElggEntity::canWriteToContainer()
no longer has a default value for$type
and$subtype
but these are required
elgg_get_page_owner_guid()
no longer accepts$guid
as a parameterget_access_array()
no longer accepts$flush
as a parameter
Special attention is required if you unregister the callbacks in your plugins as you might need to update your code.
access_friends_acl_get_name()
changed toElgg\Friends\AclNameHandler::class
access_friends_acl_add_friend()
changed toElgg\Friends\AddToAclHandler::class
access_friends_acl_create()
changed toElgg\Friends\CreateAclHandler::class
access_friends_acl_remove_friend()
changed toElgg\Friends\RemoveFromAclHandler::class
_elgg_add_admin_widgets()
changed toElgg\Widgets\CreateAdminWidgetsHandler::class
_elgg_admin_check_admin_validation()
changed toElgg\Users\Validation::checkAdminValidation()
_elgg_admin_header_menu()
changed toElgg\Menus\AdminHeader::register()
andElgg\Menus\AdminHeader::registerMaintenance()
_elgg_admin_footer_menu()
changed toElgg\Menus\AdminFooter::registerHelpResources()
_elgg_admin_get_admin_subscribers_admin_action()
changed toElgg\Notification\ChangeAdminNotification::addSiteAdminSubscribers()
_elgg_admin_get_user_subscriber_admin_action()
changed toElgg\Notification\ChangeAdminNotification::addUserSubscriber()
_elgg_admin_maintenance_action_check()
changed toElgg\Maintenance\Routing::preventAction()
_elgg_admin_maintenance_handler()
changed toElgg\Maintenance\Routing::redirectRoute()
_elgg_admin_notify_admins_pending_user_validation()
changed toElgg\Users\Validation::notifyAdminsAboutPendingUsers()
_elgg_admin_page_menu()
changed toElgg\Menus\Page::registerAdminAdminister()
andElgg\Menus\Page::registerAdminConfigure()
andElgg\Menus\Page::registerAdminInformation()
_elgg_admin_page_menu_plugin_settings()
changed toElgg\Menus\Page::registerAdminPluginSettings()
_elgg_admin_prepare_admin_notification_make_admin()
changed toElgg\Notifications\ChangeAdminNotification::prepareMakeAdminNotificationToAdmin()
_elgg_admin_prepare_admin_notification_remove_admin()
changed toElgg\Notifications\ChangeAdminNotification::prepareRemoveAdminNotificationToAdmin()
_elgg_admin_prepare_user_notification_make_admin()
changed toElgg\Notifications\ChangeAdminNotification::prepareMakeAdminNotificationToUser()
_elgg_admin_prepare_user_notification_remove_admin()
changed toElgg\Notifications\ChangeAdminNotification::prepareRemoveAdminNotificationToUser()
_elgg_admin_save_notification_setting()
changed toElgg\Users\Settings::setAdminValidationNotification()
_elgg_admin_set_registration_forward_url()
changed toElgg\Users\Validation::setRegistrationForwardUrl()
_elgg_admin_user_unvalidated_bulk_menu()
changed toElgg\Menus\UserUnvalidatedBulk::registerActions()
_elgg_admin_user_validation_login_attempt()
changed toElgg\Users\Validation::preventUserLogin()
_elgg_admin_user_validation_notification()
changed toElgg\Users\Validation::notifyUserAfterValidation()
_elgg_admin_upgrades_menu()
changed toElgg\Menus\Filter::registerAdminUpgrades()
_elgg_cache_init()
actions combined inElgg\Application\SystemEventHandlers::ready()
_elgg_clear_caches()
changed toElgg\Cache\EventHandlers::clear()
_elgg_comments_access_sync()
changed toElgg\Comments\SyncContainerAccessHandler::class
_elgg_comments_add_content_owner_to_subscriptions()
changed toElgg\Comments\CreateNotification::addOwnerToSubscribers()
_elgg_comments_container_permissions_override()
changed toElgg\Comments\ContainerPermissionsHandler::class
_elgg_comments_notification_email_subject()
changed toElgg\Comments\EmailSubjectHandler::class
_elgg_comments_permissions_override()
changed toElgg\Comments\EditPermissionsHandler::class
_elgg_comments_prepare_content_owner_notification()
changed toElgg\Comments\CreateNotification::prepareContentOwnerNotification()
_elgg_comments_prepare_notification()
changed toElgg\Comments\CreateNotification::prepareNotification()
_elgg_comments_social_menu_setup()
changed toElgg\Menus\Social::registerComments()
_elgg_create_default_widgets()
changed toElgg\Widgets\CreateDefaultWidgetsHandler::class
_elgg_create_notice_of_pending_upgrade()
changed toElgg\Upgrade\CreateAdminNoticeHandler::class
_elgg_db_register_seeds()
changed toElgg\Database\RegisterSeedsHandler::class
_elgg_disable_caches()
changed toElgg\Cache\EventHandlers::disable()
_elgg_default_widgets_permissions_override()
changed toElgg\Widgets\DefaultWidgetsContainerPermissionsHandler::class
_elgg_disable_password_autocomplete()
changed toElgg\Input\DisablePasswordAutocompleteHandler::class
_elgg_enable_caches()
changed toElgg\Cache\EventHandlers::enable()
_elgg_filestore_move_icons()
changed toElgg\Icons\MoveIconsOnOwnerChangeHandler::class
_elgg_filestore_touch_icons()
changed toElgg\Icons\TouchIconsOnAccessChangeHandler::class
_elgg_head_manifest()
changed toElgg\Views\AddManifestLinkHandler::class
_elgg_annotations_default_menu_items()
changed toElgg\Menus\Annotation::registerDelete()
_elgg_walled_garden_menu()
changed toElgg\Menus\WalledGarden::registerHome()
_elgg_site_menu_init()
changed toElgg\Menus\Site::registerAdminConfiguredItems()
_elgg_site_menu_setup()
changed toElgg\Menus\Site::reorderItems()
_elgg_entity_menu_setup()
changed toElgg\Menus\Entity::registerEdit()
andElgg\Menus\Entity::registerDelete()
_elgg_entity_navigation_menu_setup()
changed toElgg\Menus\EntityNavigation::registerPreviousNext()
_elgg_enqueue_notification_event()
changed toElgg\Notifications\EnqueueEventHandler::class
_elgg_groups_container_override()
changed toElgg\Groups\MemberPermissionsHandler::class
_elgg_groups_comment_permissions_override()
changed toElgg\Comments\GroupMemberPermissionsHandler::class
_elgg_htmlawed_filter_tags()
changed toElgg\Input\ValidateInputHandler::class
_elgg_invalidate_caches()
changed toElgg\Cache\EventHandlers::invalidate()
_elgg_widget_menu_setup()
changed toElgg\Menus\Widget::registerEdit()
andElgg\Menus\Widget::registerDelete()
_elgg_login_menu_setup()
changed toElgg\Menus\Login::registerRegistration()
andElgg\Menus\Widget::registerResetPassword()
_elgg_nav_public_pages()
changed toElgg\WalledGarden\ExtendPublicPagesHandler::class
_elgg_notifications_cron()
changed toElgg\Notifications\ProcessQueueCronHandler::class
_elgg_notifications_smtp_default_message_id_header()
changed toElgg\Email\DefaultMessageIdHeaderHandler::class
_elgg_notifications_smtp_thread_headers()
changed toElgg\Email\ThreadHeadersHandler::class
_elgg_rebuild_public_container()
changed toElgg\Cache\EventHandlers::rebuildPublicContainer()
_elgg_river_update_object_last_action()
changed toElgg\River\UpdateLastActionHandler::class
_elgg_rss_menu_setup()
changed toElgg\Menus\Footer::registerRSS()
_elgg_plugin_entity_menu_setup()
changed toElgg\Menus\Entity::registerPlugin()
_elgg_purge_caches()
changed toElgg\Cache\EventHandlers::purge()
_elgg_river_menu_setup()
changed toElgg\Menus\River::registerDelete()
_elgg_save_notification_user_settings()
changed toElgg\Notifications\SaveUserSettingsHandler::class
_elgg_session_cleanup_persistent_login()
changed toElgg\Users\CleanupPersistentLoginHandler::class
_elgg_set_lightbox_config()
changed toElgg\Javascript\SetLightboxConfigHandler::class
_elgg_set_user_default_access()
changed toElgg\Users\Settings::setDefaultAccess()
_elgg_set_user_email()
changed toElgg\Users\Settings::setEmail()
_elgg_set_user_password()
changed toElgg\Users\Settings::setPassword()
_elgg_set_user_language()
changed toElgg\Users\Settings::setLanguage()
_elgg_set_user_name()
changed toElgg\Users\Settings::setName()
_elgg_set_user_username()
changed toElgg\Users\Settings::setUsername()
_elgg_send_email_notification()
changed toElgg\Notifications\SendEmailHandler::class
_elgg_upgrade_completed()
changed toElgg\Upgrade\UpgradeCompletedAdminNoticeHandler::class
_elgg_upgrade_entity_menu()
changed toElgg\Menus\Entity::registerUpgrade()
_elgg_user_ban_notification()
changed toElgg\Users\BanUserNotificationHandler::class
_elgg_user_get_subscriber_unban_action()
changed toElgg\Notifications\UnbanUserNotification::getUnbanSubscribers()
_elgg_user_prepare_unban_notification()
changed toElgg\Notifications\UnbanUserNotification::prepareUnbanNotification()
_elgg_user_settings_menu_register()
changed toElgg\Menus\Page::registerUserSettings()
andElgg\Menus\Page::registerUserSettingsPlugins()
_elgg_user_settings_menu_prepare()
changed toElgg\Menus\Page::cleanupUserSettingsPlugins()
elgg_user_hover_menu()
changed toElgg\Menus\UserHover::registerAvatarEdit()
andElgg\Menus\UserHover::registerAdminActions()
_elgg_user_set_icon_file()
changed toElgg\Icons\SetUserIconFileHandler::class
_elgg_user_title_menu()
changed toElgg\Menus\Title::registerAvatarEdit()
_elgg_user_page_menu()
changed toElgg\Menus\Page::registerAvatarEdit()
_elgg_user_topbar_menu()
changed toElgg\Menus\Topbar::registerUserLinks()
_elgg_user_unvalidated_menu()
changed toElgg\Menus\UserUnvalidated::register()
_elgg_views_amd()
changed toElgg\Views\AddAmdModuleNameHandler::class
_elgg_views_file_help_upload_limit()
changed toElgg\Input\AddFileHelpTextHandler::class
_elgg_views_init()
combined intoElgg\Application\SystemEventHandlers::init()
_elgg_views_minify()
changed toElgg\Views\MinifyHandler::class
_elgg_views_prepare_favicon_links()
changed toElgg\Page\AddFaviconLinksHandler::class
_elgg_views_preprocess_css()
changed toElgg\Views\PreProcessCssHandler::class
_elgg_views_send_header_x_frame_options()
changed toElgg\Page\SetXFrameOptionsHeaderHandler::class
_elgg_walled_garden_init()
merged intoElgg\Application\SystemEventHandlers::initLate()
_elgg_walled_garden_remove_public_access()
changed toElgg\WalledGarden\RemovePublicAccessHandler::class
_elgg_widgets_widget_urls()
changed toElgg\Widgets\EntityUrlHandler::class
elgg_prepare_breadcrumbs()
changed toElgg\Page\PrepareBreadcrumbsHandler::class
Elgg\Profiler::handleOutput
changed toElgg\Debug\Profiler::class
users_init
combined intoElgg\Application\SystemEventHandlers::initLate()
_developers_entity_menu
changed toElgg\Developers\Menus\Entity::registerEntityExplorer
_developers_page_menu
changed toElgg\Developers\Menus\Page::register
_elgg_activity_owner_block_menu
changed toElgg\Activity\Menus\OwnerBlock::registerUserItem
andElgg\Activity\Menus\OwnerBlock::registerGroupItem
blog_archive_menu_setup
changed toElgg\Blog\Menus\BlogArchive::register
blog_owner_block_menu
changed toElgg\Blog\Menus\OwnerBlock::registerUserItem
andElgg\Blog\Menus\OwnerBlock::registerGroupItem
blog_prepare_notification
changed toElgg\Blog\Notifications::preparePublishBlog
blog_register_db_seeds
changed toElgg\Blog\Database::registerSeeds
bookmarks_footer_menu
changed toElgg\Bookmarks\Menus\Footer::register
bookmarks_owner_block_menu
changed toElgg\Bookmarks\Menus\OwnerBlock::registerUserItem
andElgg\Bookmarks\Menus\OwnerBlock::registerGroupItem
bookmarks_page_menu
changed toElgg\Bookmarks\Menus\Page::register
bookmarks_prepare_notification
changed toElgg\Bookmarks\Notifications::prepareCreateBookmark
bookmarks_register_db_seeds
changed toElgg\Bookmarks\Database::registerSeeds
ckeditor_longtext_id
changed toElgg\CKEditor\Views::setInputLongTextIDViewVar
ckeditor_longtext_menu
changed toElgg\CKEditor\Menus\LongText::registerToggler
dashboard_default_widgets
changed toElgg\Dashboard\Widgets::extendDefaultWidgetsList
developers_log_events
changed toElgg\Developers\HandlerLogger::trackEvent
andElgg\Developers\HandlerLogger::trackHook
diagnostics_basic_hook
changed toElgg\Diagnostics\Reports::getBasic
diagnostics_globals_hook
changed toElgg\Diagnostics\Reports::getGlobals
diagnostics_phpinfo_hook
changed toElgg\Diagnostics\Reports::getPHPInfo
diagnostics_sigs_hook
changed toElgg\Diagnostics\Reports::getSigs
discussion_comment_permissions
changed toElgg\Discussions\Permissions::preventCommentOnClosedDiscussion
discussion_get_subscriptions
changed toElgg\Discussions\Notifications::addGroupSubscribersToCommentOnDiscussionSubscriptions
discussion_owner_block_menu
changed toElgg\Discussions\Menus\OwnerBlock::registerGroupItem
discussion_prepare_comment_notification
changed toElgg\Discussions\Notifications::prepareCommentOnDiscussionNotification
discussion_prepare_notification
changed toElgg\Discussions\Notifications::prepareDiscussionCreateNotification
discussion_register_db_seeds
changed toElgg\Discussions\Database::registerSeeds
discussion_setup_groups_filter_tabs
changed toElgg\Discussions\Menus\Filter::registerGroupsAll
Elgg\DevelopersPlugins\*
changed toElgg\Developers\*
Elgg\Discussions\Menus::registerSiteMenuItem
changed toElgg\Discussions\Menus\Site::register
Elgg\Discussions\Menus::filterTabs
changed toElgg\Discussions\Menus\Filter::filterTabsForDiscussions
embed_longtext_menu
changed toElgg\Embed\Menus\LongText::register
embed_select_tab
changed toElgg\Embed\Menus\Embed::selectCorrectTab
embed_set_thumbnail_url
changed toElgg\Embed\Icons::setThumbnailUrl
expages_menu_register_hook
changed toElgg\ExternalPages\Menus\ExPages::register
file_handle_object_delete
changed toElgg\File\Icons::deleteIconOnElggFileDelete
file_prepare_notification
changed toElgg\File\Notifications::prepareCreateFile
file_register_db_seeds
changed toElgg\File\Database::registerSeeds
file_set_custom_icon_sizes
changed toElgg\File\Icons::setIconSizes
file_set_icon_file
changed toElgg\File\Icons::setIconFile
file_set_icon_url
changed toElgg\File\Icons::setIconUrl
file_owner_block_menu
changed toElgg\File\Menus\OwnerBlock::registerUserItem
andElgg\File\Menus\OwnerBlock::registerGroupItem
_elgg_friends_filter_tabs
changed toElgg\Friends\Menus\Filter::registerFilterTabs
_elgg_friends_page_menu
changed toElgg\Friends\Menus\Page::register
_elgg_friends_register_access_type
changed toElgg\Friends\Access::registerAccessCollectionType
_elgg_friends_setup_title_menu
changed toElgg\Friends\Menus\Title::register
_elgg_friends_setup_user_hover_menu
changed toElgg\Friends\Menus\UserHover::register
_elgg_friends_topbar_menu
changed toElgg\Friends\Menus\Topbar::register
_elgg_friends_widget_urls
changed toElgg\Friends\Widgets::setWidgetUrl
_elgg_send_friend_notification
changed toElgg\Friends\Notifications::sendFriendNotification
Elgg\Friends\FilterMenu::addFriendRequestTabs
changed toElgg\Friends\Menus\Filter::addFriendRequestTabs
Elgg\Friends\RelationshipMenu::addPendingFriendRequestItems
changed toElgg\Friends\Menus\Relationship::addPendingFriendRequestItems
Elgg\Friends\RelationshipMenu::addPendingFriendRequestItems
changed toElgg\Friends\Menus\Relationship::addPendingFriendRequestItems
_groups_gatekeeper_allow_profile_page
changed toElgg\Groups\Access::allowProfilePage
_groups_page_menu
changed toElgg\Groups\Menus\Page::register
_groups_page_menu_group_profile
changed toElgg\Groups\Menus\Page::registerGroupProfile
_groups_relationship_invited_menu
changed toElgg\Groups\Menus\Relationship::registerInvitedItems
_groups_relationship_member_menu
changed toElgg\Groups\Menus\Relationship::registerRemoveUser
_groups_relationship_membership_request_menu
changed toElgg\Groups\Menus\Relationship::registerMembershipRequestItems
_groups_title_menu
changed toElgg\Groups\Menus\Title::register
_groups_topbar_menu_setup
changed toElgg\Groups\Menus\Topbar::register
groups_access_default_override
changed toElgg\Groups\Access::overrideDefaultAccess
groups_create_event_listener
changed toElgg\Groups\Group::createAccessCollection
groups_default_page_owner_handler
changed toElgg\Groups\PageOwner::detectPageOwner
groups_entity_menu_setup
changed toElgg\Groups\Menus\Entity::register
andElgg\Groups\Menus\Entity::registerFeature
groups_fields_setup
changed toElgg\Groups\Group::setupProfileFields
groups_members_menu_setup
changed toElgg\Groups\Menus\GroupsMembers::register
groups_set_access_collection_name
changed toElgg\Groups\Access::getAccessCollectionName
groups_set_url
changed toElgg\Groups\Group::getEntityUrl
groups_setup_filter_tabs
changed toElgg\Groups\Menus\Filter::registerGroupsAll
groups_update_event_listener
changed toElgg\Groups\Group::updateGroup
groups_user_join_event_listener
changed toElgg\Groups\Group::joinGroup
groups_user_leave_event_listener
changed toElgg\Groups\Group::leaveGroup
groups_write_acl_plugin_hook
changed toElgg\Groups\Access::getWriteAccess
invitefriends_add_friends
changed toElgg\InviteFriends\Users::addFriendsOnRegister
invitefriends_register_page_menu
changed toElgg\InviteFriends\Menus\Page::register
likes_permissions_check
changed toElgg\Likes\Permissions::allowLikedEntityOwner
likes_permissions_check_annotate
changed toElgg\Likes\Permissions::allowLikeOnEntity
likes_social_menu_setup
changed toElgg\Likes\Menus\Social::register
members_register_filter_menu
changed toElgg\Members\Menus\Filter::register
messages_can_edit
changed toElgg\Messages\Permissions::canEdit
messages_can_edit_container
changed toElgg\Messages\Permissions::canEditContainer
messages_purge
changed toElgg\Messages\User::purgeMessages
messages_register_topbar
changed toElgg\Messages\Menus\Topbar::register
messages_user_hover_menu
changed toElgg\Messages\Menus\UserHover::register
andElgg\Messages\Menus\Title::register
notifications_update_collection_notify
changed toElgg\Notifications\Relationships::updateUserNotificationsPreferencesOnACLChange
notifications_update_friend_notify
changed toElgg\Notifications\Relationships::createFriendNotificationsRelationship
notifications_relationship_remove
changed toElgg\Notifications\Relationships::deleteFriendNotificationsSubscription
_notifications_page_menu
changed toElgg\Notifications\Menus\Page::register
_notification_groups_title_menu
changed toElgg\Notifications\Menus\Title::register
pages_container_permission_check
changed toElgg\Pages\Permissions::allowContainerWriteAccess
pages_entity_menu_setup
changed toElgg\Pages\Menus\Entity::register
pages_icon_url_override
changed toElgg\Pages\Icons::getIconUrl
pages_owner_block_menu
changed toElgg\Pages\Menus\OwnerBlock::registerUserItem
andElgg\Pages\Menus\OwnerBlock::registerGroupItem
pages_prepare_notification
changed toElgg\Pages\Notifications::preparePageCreateNotification
pages_register_db_seeds
changed toElgg\Pages\Database::registerSeeds
pages_set_revision_url
changed toElgg\Pages\Extender::setRevisionUrl
pages_write_access_options_hook
changed toElgg\Pages\Views::removeAccessPublic
pages_write_access_vars
changed toElgg\Pages\Views::preventAccessPublic
pages_write_permission_check
changed toElgg\Pages\Permissions::allowWriteAccess
Elgg\Pages\Menus::registerPageMenuItems
changed toElgg\Pages\Menus\PagesNav::register
_profile_admin_page_menu
changed toElgg\Profile\Menus\Page::registerAdminProfileFields
_profile_fields_setup
changed toElgg\Profile\ProfileFields::setup
_profile_title_menu
changed toElgg\Profile\Menus\Title::register
_profile_topbar_menu
changed toElgg\Profile\Menus\Topbar::register
_profile_user_hover_menu
changed toElgg\Profile\Menus\UserHover::register
_profile_user_page_menu
changed toElgg\Profile\Menus\Page::registerProfileEdit
profile_default_widgets_hook
changed toElgg\Profile\Widgets::getDefaultWidgetsList
reportedcontent_user_hover_menu
changed toElgg\ReportedContent\Menus\UserHover::register
search_exclude_robots
changed toElgg\Search\Site::preventSearchIndexing
search_output_tag
changed toElgg\Search\Views::setSearchHref
site_notifications_register_entity_menu
changed toElgg\SiteNotifications\Menus\Entity::register
site_notifications_send
changed toElgg\SiteNotifications\Notifications::createSiteNotifications
_uservalidationbyemail_user_unvalidated_bulk_menu
changed toElgg\UserValidationByEmail\Menus\UserUnvalidatedBulk::register
_uservalidationbyemail_user_unvalidated_menu
changed toElgg\UserValidationByEmail\Menus\UserUnvalidated::register
uservalidationbyemail_after_registration_url
changed toElgg\UserValidationByEmail\Response::redirectToEmailSent
uservalidationbyemail_check_manual_login
changed toElgg\UserValidationByEmail\User::preventLogin
uservalidationbyemail_disable_new_user
changed toElgg\UserValidationByEmail\User::disableUserOnRegistration
system_log_archive_cron
changed toElgg\SystemLog\Cron::rotateLogs
system_log_default_logger
changed toElgg\SystemLog\Logger::log
system_log_delete_cron
changed toElgg\SystemLog\Cron::deleteLogs
system_log_listener
changed toElgg\SystemLog\Logger::listen
system_log_user_hover_menu
changed toElgg\SystemLog\Menus\UserHover::register
thewire_add_original_poster
changed toElgg\TheWire\Notifications::addOriginalPoster
thewire_owner_block_menu
changed toElgg\TheWire\Menus\OwnerBlock::register
thewire_prepare_notification
changed toElgg\TheWire\Notifications::prepareCreateTheWireNotification
thewire_setup_entity_menu_items
changed toElgg\TheWire\Menus\Entity::register
- The defaults for
ignore_empty_body
andprevent_double_submit
when usingelgg_view_form
have been changed totrue
. - The plugin settings forms (
plugins/{$plugin_id}/settings
) no longer receive$vars['plugin']
use$vars['entity']
Elgg\Router\Middleware\WalledGarden::isPublicPage()
can no longer be called statically- An
\ElggBatch
no longer implements the interfaceElgg\BatchResult
but still has the same features - An
\ElggEntity
no longer implements the interfaceLocatable
but still has the same features - An
\Elgg\Event
no longer implements the interfaces\Elgg\ObjectEvent
and\Elgg\UserEvent
but still has the same features - The view
output/icon
no longer uses theconvert
view var ElggData::save()
now always returns abool
as documented. All extending classes have been updated (eg.ElggEntity
,ElggMetadata
,ElggRelationship
, etc.)
forward()
useElgg\Exceptions\HttpException
instances orelgg_redirect_response()
Elgg\Notifications\NotificationsService::getDeprecatedHandler()
Elgg\Notifications\NotificationsService::getMethodsAsDeprecatedGlobal()
useelgg_get_notification_methods()
Elgg\Notifications\NotificationsService::registerDeprecatedHandler()
Elgg\Notifications\NotificationsService::setDeprecatedNotificationSubject()
Elgg\Entity::getLocation()
use$entity->location
Elgg\Entity::setLocation()
use$entity->location = $location
access_get_show_hidden_status()
useelgg()->session->getDisabledEntityVisibility()
diagnostics_md5_dir()
elgg_get_available_languages()
useelgg()->translator->getAvailableLanguages()
elgg_get_loaded_css()
useelgg_get_loaded_external_files('css', 'head')
elgg_get_loaded_js()
useelgg_get_loaded_external_files('js', $location)
elgg_get_system_messages()
useelgg()->system_messages->loadRegisters()
elgg_prepend_css_urls()
elgg_set_system_messages()
useelgg()->system_messages->saveRegisters()
get_language_completeness()
useelgg()->translator->getLanguageCompleteness()
get_installed_translations()
useelgg()->translator->getInstalledTranslations()
group_access_options()
pages_is_page()
system_log_get_log()
system_log_get_log_entry()
system_log_get_object_from_log_entry()
system_log_get_seconds_in_period()
system_log_archive_log()
system_log_browser_delete_log()
validate_email_address()
useelgg()->accounts->assertValidEmail()
validate_password()
useelgg()->accounts->assertValidPassword()
validate_username()
useelgg()->accounts->assertValidUsername()
admin/develop_tools/inspect/webservices
elgg/thewire.js
messages/js
moved toforms/messages/process.js
navigation/menu/elements/item_deps
the functionality has been merged intonavigation/menu/elements/item
resources/comments/view
use\Elgg\Controllers\CommentEntityRedirector
reportedcontent/admin_css
thewire/previous
- Hook
output, ajax
has been removed. Use theajax_response
hook if you want to influence the results. - Hook
reportedcontent:add
has been removed. Use thecreate, object
event to prevent creation. - Hook
reportedcontent:archive
has been removed. Use thepermissions_check, object
hook. - Hook
reportedcontent:delete
has been removed. Use thedelete, object
event to prevent deletion.
- The action
reportedcontent/delete
has been replaced with a generic entity delete action
All exceptions in the Elgg system now extend the Elgg\Exceptions\Exception
and are in the namespace Elgg\Exceptions
ClassException
useElgg\Exceptions\ClassException
ConfigurationException
useElgg\Exceptions\ConfigurationException
CronException
useElgg\Exceptions\CronException
DatabaseException
useElgg\Exceptions\DatabaseException
DataFormatException
useElgg\Exceptions\DataFormatException
InstallationException
useElgg\Exceptions\Configuration\InstallationException
InvalidParameterException
useElgg\Exceptions\InvalidParameterException
IOException
useElgg\Exceptions\FileSystem\IOException
LoginException
useElgg\Exceptions\LoginException
PluginException
useElgg\Exceptions\Http\PluginException
RegistrationException
useElgg\Exceptions\Configuration\RegistrationException
SecurityException
useElgg\Exceptions\SecurityException
Elgg\Database\EntityTable\UserFetchFailureException
useElgg\Exceptions\Database\UserFetchFailureException
Elgg\Di\FactoryUncallableException
useElgg\Exceptions\Di\FactoryUncallableException
Elgg\Di\MissingValueException
useElgg\Exceptions\Di\MissingValueException
Elgg\Http\Exception\AdminGatekeeperException
useElgg\Exceptions\Http\Gatekeeper\AdminGatekeeperException
Elgg\Http\Exception\AjaxGatekeeperException
useElgg\Exceptions\Http\Gatekeeper\AjaxGatekeeperException
Elgg\Http\Exception\GroupToolGatekeeperException
useElgg\Exceptions\Http\Gatekeeper\GroupToolGatekeeperException
Elgg\Http\Exception\LoggedInGatekeeperException
useElgg\Exceptions\Http\Gatekeeper\LoggedInGatekeeperException
Elgg\Http\Exception\LoggedOutGatekeeperException
useElgg\Exceptions\Http\Gatekeeper\LoggedOutGatekeeperException
Elgg\Http\Exception\UpgradeGatekeeperException
useElgg\Exceptions\Http\Gatekeeper\UpgradeGatekeeperException
Elgg\I18n\InvalidLocaleException
useElgg\Exceptions\I18n\InvalidLocaleException
Elgg\BadRequestException
useElgg\Exceptions\Http\BadRequestException
Elgg\CsrfException
useElgg\Exceptions\Http\CsrfException
Elgg\EntityNotFoundException
useElgg\Exceptions\Http\EntityNotFoundException
Elgg\EntityPermissionsException
useElgg\Exceptions\Http\EntityPermissionsException
Elgg\GatekeeperException
useElgg\Exceptions\Http\GatekeeperException
Elgg\GroupGatekeeperException
useElgg\Exceptions\Http\Gatekeeper\GroupGatekeeperException
Elgg\HttpException
useElgg\Exceptions\HttpException
Elgg\PageNotFoundException
useElgg\Exceptions\Http\PageNotFoundException
Elgg\ValidationException
useElgg\Exceptions\Http\ValidationException
Elgg\WalledGardenException
useElgg\Exceptions\Http\Gatekeeper\WalledGardenException
CallException
ClassNotFoundException
IncompleteEntityException
InvalidClassException
NotificationException
NotImplementedException
from the Web Services plugin
bower-asset/jquery-treeview
the related js and css are no longer available in the systembower-asset/jquery.imgareaselect
the related js and css are no longer available in the systemnpm-asset/formdata-polyfill
all modern browser have support, no longer a need for a polyfillnpm-asset/jquery-form
use native FormData functionalitynpm-asset/weakmap-polyfill
all modern browser have support, no longer a need for a polyfillsimpletest/simpletest