[wp-trac] [WordPress Trac] #16650: wp-includes/pluggable.php is not included after updating to 3.1

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 24 19:16:23 UTC 2011


#16650: wp-includes/pluggable.php is not included after updating to 3.1
----------------------------+-----------------------------
 Reporter:  TinkerWorkshop  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Validation      |    Version:  3.1
 Severity:  critical        |   Keywords:
----------------------------+-----------------------------
 Developing a plugin using wp_verify_nonce.
 '''if(!wp_verify_nonce('VALUE','KEY')) die('UHOH!');'''
 Yesterday (February 23rd 2011) everything worked fine. Then I have updated
 to 3.1 and have not tested my code until today.
 Today (February 24th 2011), I an getting:
 '''Fatal error: Call to undefined function wp_verify_nonce()'''
 I have tried putting a "die('OK');" line at the top of pluggable.php,
 where wp_verify_once lives and it is not executing.
 A simple workaround of
 '''require_once(ABSPATH .'wp-includes/pluggable.php');'''
 got everything to work again.
 I am using pure vanilla setup of 3.0, updated to 3.1.
 No other plugins, no changes, no functions.php custom code. All pure and
 clear dev station.
 My setup is latest WAMP with PHP 5 (also latest).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16650>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list