[wp-hackers] Questions Related To Improving WP Installation

Dan Cole wp at dan-cole.com
Sat Jan 23 03:28:43 UTC 2010

I'm working on Trac Ticket #10396 and have ran into a few questions:

1 ) wp_enqueue_script can't load any scripts during the install process,
because $wp_scripts is empty. What files do I include so I can call:
wp_enqueue_script() and have it find the JavaScript for the

2 ) Is there a better way to get the number of users in the database than
using: count( get_users_of_blog() ), because that function creates an error
due to the fact that there isn't a database table during step 2 of the
install process.

Dan Cole

More information about the wp-hackers mailing list