[wp-trac] [WordPress Trac] #15036: Add 2nd boolean parameter of wp_error to wp_update_post() to allow passthru to wp_insert_post()

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 6 10:14:32 UTC 2010


#15036: Add 2nd boolean parameter of wp_error to wp_update_post() to allow passthru
to wp_insert_post()
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:                 
     Type:  enhancement   |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Post Types    |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:5 mikeschinkel]:
 > I'm still struggling with how to keep from having to set up a new
 version of WordPress every time I want to start coding a new patch.

 You don't need to. Just just make one install that is working out of the
 local SVN copy. Just don't put {{{wp-config.php}}} under version control.
 Then you can create your patch and revert afterwards. Next time you need
 to create a patch, you only need to update to HEAD. That's how I'm doing
 it for years. For outdated patches I even have another install I can
 switch the revision so to apply old patches, then update to head and then
 to refresh the patch. But that's more or less for special cases.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15036#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list