WordPress.org

Forums

Bug or feature? ->index.php?cat=13&w=34 (2 posts)

  1. duke556
    Member
    Posted 10 years ago #

    Hello,
    I am stunned as I expected WordPress to act like this:
    index_old.php?cat=13&w=34 > should give me only articles of category 13 of week 34,
    but it gives me others as well. Is the logic of the "&" function that it shows all PLUS the other or
    does it combine both conditions ? Well this is quite crucial to me since I have to provide separate weekly lists for our business blog here....
    Anyone with an Idea ?
    THX
    Jonas

  2. duke556
    Member
    Posted 10 years ago #

    Solved: Strange behaviour with "w" (week).
    Problem was: uncontrollable behaviour if&when "week=x" was used with some other query like "cat=x"
    Solution:
    Delete "intval($w) ||" in Line 242 of wp-blog-header.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.