#3832 - Review and document new API changes for v11 (holding issue)

Identifier #3832
Issue type Feature request or suggestion
Title Review and document new API changes for v11 (holding issue)
Status Open
Tags

Roadmap: v11 final phase (custom)

Handling member Chris Graham
Addon core
Description v11 contains many API or coding style changes, and these need to be consistent upon release, and documented for users to see. However it's easy to forget to uphold things, or merge v10 code changes without updating it properly.

Here is a rough list of changes, that I understand. I realise it's pretty cryptic.

is_null(
Make sure no inline JS, <script> or on events
find_all_hooks
do_lang_tempcode\('\w+', \$\w+(,|\)) Forgotten escaping
natsort
get_timezoned_date changes
= null --> = array() parameters
http_download_file -> http_get_contents
member_profile_url fewer parameters
NO_DB_SCOPE_CHECK and NO_QUERY_LIMIT gone to push
decache -> delete_cache_entry
mail_wrap -> dispatch_mail
THEME_WIZARD -> THEMEWIZARD
SETUP_WIZARD -> SETUPWIZARD
{$NOT,{$MOBILE}} -> {$DESKTOP}
Should not have {+START,IF,{$MOBILE} at all
constrain_field gone
removed addons: bookmarks, staff, supermember_directory, tester, collaboration_zone
INPUT_FILTER_URL_INTERNAL etc _param_string('(content_url|from|live_preview_url|redirect|redirect_passon|return_url|url)'
[/:']start -> /home (DEFAULT_ZONE_PAGE_NAME)
find_all_themes now returns a map not an array
main_news/side_news/bottom_news selectcode now works on record IDs not category IDs (unless * used)
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated