Skip to content
Snippets Groups Projects
Commit 2c1df41a authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

debug: optimize wp_log_level_is_enabled()

Add the 'const' attribute to let the compiler know that it doesn't
need to call it multiple times for the same debug level argument,
since the enabled log levels cannot change at runtime.
parent 1faa752c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment