[wp-trac] [WordPress Trac] #34745: Call to undefined function wp_generate_password when using `wp_tempnam`

WordPress Trac noreply at wordpress.org
Fri Nov 20 01:00:42 UTC 2015


#34745: Call to undefined function wp_generate_password when using `wp_tempnam`
----------------------------+-----------------------
 Reporter:  migueluy        |       Owner:  dd32
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  4.4
Component:  Filesystem API  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------

Comment (by juliobox):

 Since ''wp_generate_password()'' is a plugglable function and since
 pluggable functions are included before the ''plugins_loaded'' hook, you
 have to do your stuff on that first hook, not directly at your plugin's
 file root.
 thanks!
 ''ps : @dd32 just posted the same, but i click on "submit" too ;)''

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34745#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list