CyberSpy
Forum Replies Created
-
Forum: Plugins
In reply to: WP and TinyMCE in the popup windowed.windowManager.open({
title : ‘My Plugin’,
file : url + ‘/custom_window.php?my_args=mycustomargs’,
width : 500,
height : 400,
inline : 1
}, {
plugin_url : url
});This problem have happened on sites, that were ok before. I wonder if this anything to do with number of posts in this and other categories, because on clean wp, where I add only posts to check if pagination on that page works ok, it does, but while other posts are beeing submited, it might mess around with something.
Maybe it is another bug corresponding to one, that I have found in query.php before, but as for now, I need to test ir mote before submiting to bugtraq.Forum: Requests and Feedback
In reply to: Bug in custom query when "Front page displays": "A static page"Yeah, sometimes coffee isn’t enought 😉
Now I wonder, if patch wont cause any kind of problems, how should one report it to become part of next official release?
Forum: Requests and Feedback
In reply to: Bug in custom query when "Front page displays": "A static page"Its not a problem of custom front page (on which I could do any kind of query I want). It’s a problem of index.php of a blog attached to a page (by changing in admin panel front page to static page, and blog page to other static page) – then custom taxonomies and queries does not work (on that “new” index page) – try checking that simple test that I was writing about. On dev someone actually did found it as a bug and small patch to tests have been made.
Forum: Requests and Feedback
In reply to: Bug in custom query when "Front page displays": "A static page"Thank You for reply. I have just posted the bug there.
What is even stranger, if i use this code on clean WP installation, it works ok.
Also have found, that:<?php query_posts( '&cat=-X' );?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> . <?php endwhile; endif; ?>'Does what it should, but paging stoped to work, so as a workaround:
<?php $args = array('cat' => -8, 'paged' => $paged ); ?> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts($args); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> . <?php endwhile; endif; ?>'did what it was supposed to do – removed posts from category ID=8 and restored index pagination.
The question is, beside the fact, that solution, maybe not very elegant, why does the first method not work?
How could I check, where my new query is overriten by oryginal (which function to hack in?)?