Plugin Directory

Changeset 1185853


Ignore:
Timestamp:
06/23/2015 12:28:56 AM (11 years ago)
Author:
sebwordpress
Message:

Updated trunk - Fixed section_id on a multisite installation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • the-welcomizer/trunk/includes/twiz.output.class.php

    r1179920 r1185853  
    964964                    $category_id = 'c_'.get_query_var('cat');
    965965                   
     966                    if( $this->override_network_settings == '1' ){
     967
     968                        $category_id  = $category_id .'_'.$this->BLOG_ID;
     969                    } 
     970           
    966971                    if($this->hardsections[$this->DEFAULT_SECTION_ALL_CATEGORIES][parent::F_STATUS] == parent::STATUS_ACTIVE){
    967972                   
     
    10131018                   
    10141019                    $page_id = 'p_'.$post->ID;
     1020
     1021                    if( $this->override_network_settings == '1' ){
     1022
     1023                        $page_id  = $page_id .'_'.$this->BLOG_ID;
     1024                    } 
    10151025                   
    10161026                    if($this->hardsections[$this->DEFAULT_SECTION_ALL_PAGES][parent::F_STATUS] == parent::STATUS_ACTIVE){
     
    10641074                   
    10651075                    $post_id = 'a_'.$post->ID;
     1076
     1077                    if( $this->override_network_settings == '1' ){
     1078
     1079                        $post_id  = $post_id .'_'.$this->BLOG_ID;
     1080                    }
    10661081                   
    10671082                    if($this->hardsections[$this->DEFAULT_SECTION_ALL_ARTICLES][parent::F_STATUS] == parent::STATUS_ACTIVE){
Note: See TracChangeset for help on using the changeset viewer.