remi5737
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: get_queried_object() returns NULL during pre_get_postsHi I’d like o confirm Mitevski’s finding.
I find that in pre_get_posts get_queried_object is NULL always on category pages.
Furtermore get_queried_object_id and query_vars[‘category_name’] do return results depending on permalinks configuration.I find for add_action( ‘pre_get_posts’, function( $query ) {
the following behaviour:Permalinks off behaviour:
Url: /?cat=80
var_dump( $query->get_queried_object_id ());
int(80) string(0) ""var_dump( $query->query_vars['category_name']);
string(0) ""var_dump( $query->get_queried_object ());
NULLPermalinks on behaviour:
Url: /category/december
var_dump( $query->get_queried_object_id ());
string(0) ""var_dump( $query->query_vars['category_name']);
string(8) "december"var_dump( $query->get_queried_object ());
NULLForum: Plugins
In reply to: [Better WordPress Minify] admin toolbar icons missingBtw BWP Minify doesn’t run inside wp-admin, maybe you mean that you want to disable any scripts/css from wp-admin, even when they are called from the front end?
Ooops I stand corrected.
It runs ONLY on the login screen.
Forum: Plugins
In reply to: [Better WordPress Minify] admin toolbar icons missingSame issue here:
at the login screen at /wp-admin/wp-login.php the BWP parsed css for the ‘.login h1 a’ element has ‘wrong’ image path:
.login h1 a { background-image: url('../images/wordpress-logo.png?ver=20120216'); }Which is the wrong path obiously.
A pitty … No WordPress logo.
AND a lot of 404 errors in out access.log’s … 🙁Finally:
Better WordPress Minify is a great plugin but it MISSES ONE feature I’d like to have; disable BWP Minify entirely for wp-admin/*.
I’d shouldn’t be too hard for the Developer to add this and I sure hope he will.
THX