Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in the variable name on hook_boot() and hook_exit() pages #229

Open
findlabnet opened this issue Oct 22, 2023 · 2 comments
Open

Typo in the variable name on hook_boot() and hook_exit() pages #229

findlabnet opened this issue Oct 22, 2023 · 2 comments

Comments

@findlabnet
Copy link

findlabnet commented Oct 22, 2023

On documentation pages https://docs.backdropcms.org/api/backdrop/core%21modules%21system%21system.api.php/function/hook_boot/1
and
https://docs.backdropcms.org/api/backdrop/core!modules!system!system.api.php/function/hook_exit/1

we have typo: instead 'page_cache_invoke_hook' should be 'page_cache_invoke_hooks' as in bootstrap.inc file, lines 3099 and 3116.

@argiepiano
Copy link

Good catch! Those pages are produced from the actual documentation in the code. So this typo must be fixed in core, in file system.api.php; then it will be fixed on that documentation page. Can you please open an issue in the main backdrop issues queue?

By the way, there is another spot where this is mistyped in core - documentation for hook_exit()

@findlabnet findlabnet changed the title Typo in the variable name on hook_boot() page Typo in the variable name on hook_boot() and hook_exit() pages Oct 22, 2023
@findlabnet
Copy link
Author

Done. backdrop/backdrop-issues#6273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants