all repos — wp-ffpc @ c8674830878bb48813b36788744d9aee1843e540

bugfix:  Call to undefined function get_blog_option()
Peter Molnar hello@petermolnar.eu
Mon, 22 Jul 2013 09:17:58 +0100
commit

c8674830878bb48813b36788744d9aee1843e540

parent

06e2d111d09399b9226f53d551fa083c25520323

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M wp-ffpc-class.phpwp-ffpc-class.php

@@ -1075,7 +1075,8 @@ if ( $site !== false ) {

$current_blog = get_current_blog_id(); switch_to_blog( $site ); - $url = get_blog_option ( $site, 'siteurl' ); + $url = $this->_site_url(); + //$url = get_blog_option ( $site, 'siteurl' ); if ( substr( $url, -1) !== '/' ) $url = $url . '/';

@@ -1114,7 +1115,7 @@ break;

} /* in case the bloglinks are relative links add the base url, site specific */ - $baseurl = get_blog_option ( $site, 'siteurl' ); + $baseurl = $this->_site_url(); if ( !strstr( $permalink, $baseurl ) ) { $permalink = $baseurl . $permalink; }