Changeset 38459 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 08/31/2016 05:48:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r38275 r38459 414 414 * 415 415 * @since 2.6.0 416 *417 * @global string $wp_version418 416 */ 419 417 public function initialise_blog_option_info() { 420 global $wp_version;421 422 418 $this->blog_options = array( 423 419 // Read only options … … 430 426 'desc' => __( 'Software Version' ), 431 427 'readonly' => true, 432 'value' => $wp_version428 'value' => get_bloginfo( 'version' ) 433 429 ), 434 430 'blog_url' => array( … … 6187 6183 * @since 1.5.0 6188 6184 * 6189 * @global string $wp_version6190 *6191 6185 * @param array $args { 6192 6186 * Method arguments. Note: arguments must be ordered as documented. … … 6198 6192 */ 6199 6193 public function pingback_ping( $args ) { 6200 global $wp_version;6201 6202 6194 /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */ 6203 6195 do_action( 'xmlrpc_call', 'pingback.ping' ); … … 6286 6278 6287 6279 /** This filter is documented in wp-includes/class-http.php */ 6288 $user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version. '; ' . get_bloginfo( 'url' ) );6280 $user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ) ); 6289 6281 6290 6282 // Let's check the remote site
Note: See TracChangeset
for help on using the changeset viewer.