How to align the top of an admin pointer to the target element?

that’s a great question, Alex! Not exactly an answer to the question, but the following will work: jQuery(‘#menu-settings’).first().pointer( { “content”: “<h3>Pointer header<\/h3>” + “<h4>Pointer subheader<\/h4>” + “<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Levatio igitur vitiorum magna fit in iis, qui habent ad virtutem progressionis aliquantum. Rationis enim perfectio est virtus; Sed ego in … Read more

Custom default filtering in the user admin panel disables the other sortable columns

First, use $query->query_vars and not $query->query. Secondly, you should run this conditional check before overriding the corresponding query var: empty( $_REQUEST[‘{VAR}’] ) || !isset($query->query_vars[‘{VAR}’]) where {VAR} corresponds to the query var’s name/key such as orderby. So try this, which worked for me: // Set default `orderby` to ‘registered’. if( empty( $_REQUEST[‘orderby’] ) || !isset($query->query_vars[‘orderby’]) ) … Read more

Broken admin – clean install [duplicate]

Chrome 45 has a rendering bug. There is a ticket open on Chrome’s bug tracker about this issue, hopefully they will fix it soon. In the meantime, here is a workaround to eliminate the issue in Chrome. – Go to chrome://flags/#disable-slimming-paint – Enable the “Disable slimming paint” option. – Ensure that the “Enable slimming paint” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)