[wp-trac] Re: [WordPress Trac] #5656: Options>Discussion should warn if track/pingbacks won't work

WordPress Trac wp-trac at lists.automattic.com
Tue May 20 18:44:35 GMT 2008


#5656: Options>Discussion should warn if track/pingbacks won't work
----------------------------+-----------------------------------------------
 Reporter:  hansengel       |        Owner:  hansengel
     Type:  enhancement     |       Status:  assigned 
 Priority:  normal          |    Milestone:  2.7      
Component:  Administration  |      Version:  2.3.1    
 Severity:  minor           |   Resolution:           
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Comment (by Otto42):

 Suggestion: Since we're using wp_remote_fopen for all this sort of thing
 now, make a checker function near it in functions.php and use that
 instead.

 {{{
 function wp_remote_fopen_check() {
         if (ini_get( 'allow_url_fopen' ) || function_exists( 'curl_init'
 ))
                 return true;
         return false;
 }
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5656#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list