Previously, shortcodes were being counted when the `init` action fired, even though it's possible for shortcodes to be registered later than that. By leaving the counting until just before the script is printed, we get a more accurate list of shortcodes. Props ocean90. Fixes #41917. Built from https://develop.svn.wordpress.org/trunk@41844 git-svn-id: http://core.svn.wordpress.org/trunk@41678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
76 KiB
76 KiB