WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17090, comment 11


Ignore:
Timestamp:
04/09/11 12:44:19 (4 years ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17090, comment 11

    initial v1  
    66var_dump( $wpdb->get_row( "SELECT * FROM $wpdb->site WHERE site_id = 1" ) ); 
    77foreach ( array( 'DOMAIN_CURRENT_SITE', 'PATH_CURRENT_SITE', 'SITE_ID_CURRENT_SITE', 'BLOG_ID_CURRENT_SITE', 'BLOGID_CURRENT_SITE' ) as $constant ) { 
    8         if ( defined( $constant ) 
     8        if ( defined( $constant ) ) 
    99                echo "$constant is " . constant( $constant ) . "\n"; 
    1010}