Make WordPress Core


Ignore:
Timestamp:
09/19/2006 06:11:42 AM (18 years ago)
Author:
matt
Message:

Options cleanup and some styling changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r4194 r4196  
    10031003}
    10041004
    1005 function wp_proxy_check($ipnum) {
    1006     if ( get_option('open_proxy_check') && isset($ipnum) ) {
    1007         $ipnum = preg_replace( '/([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/', '$1', $ipnum );
    1008         $rev_ip = implode( '.', array_reverse( explode( '.', $ipnum ) ) );
    1009         $lookup = $rev_ip . '.sbl-xbl.spamhaus.org.';
    1010         if ( $lookup != gethostbyname( $lookup ) )
    1011             return true;
    1012     }
    1013 
    1014     return false;
    1015 }
    1016 
    10171005function wp_explain_nonce($action) {
    10181006    if ( $action !== -1 && preg_match('/([a-z]+)-([a-z]+)(_(.+))?/', $action, $matches) ) {
Note: See TracChangeset for help on using the changeset viewer.