theme injecting css into wp-admin

The problem is that you are enqueue the CSS file of your theme outside any of the recommended actions. If you want it to be added only in frontend, you should use wp_enqueue_scripts action: add_action( ‘wp_enqueue_scripts’, function() { wp_register_style( ‘mainstyle’, get_stylesheet_uri()); wp_enqueue_style( ‘mainstyle’, get_stylesheet_uri()); });

All of my WordPress sites have Bold Open Sans

I solved the issue. If anyone else has this issue here is the solution. – It ended up being a Creative Cloud problem. – Open up the creative cloud click assests and navigate to fonts. – From there you can enable and disable fonts. – Disabled the Open Sans and it fixed all my dashboards.

Non Object Notice Error – How to fix please

Replace your code with as mentioned below: public function admin_body_class($classes) { global $wpdb, $post; $screen = get_current_screen(); $status=”parent-“; if( isset( $post->post_parent ) && $post->post_parent > 0 ) { $status=”child-“; } $classes .= ‘ ‘ . $status . $screen->post_type; return $classes; }

I want to know if it’s good for SEO [closed]

The /wp-admin/ajax.php file should not be locked – it is used to power all AJAX functionality on the site. Your robots.txt file specifically instructs search engine spiders (like Google) to allow access to /wp-admin/ajax.php: User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php Sitemap: http://example.com/sitemap.xml Either remove the Allow: /wp-admin/admin-ajax.php and keep /wp-admin/ locked (effectively disabling all AJAX … Read more

Is there ever a legitimate reason for an outsider to access wp-admin

Yes, lots of themes and plugins make use of the wp-admin/admin-ajax.php file, and some use wp-admin/admin-post.php. But beyond that there’s little to no reason to access wp-admin. Perhaps a search engine trying to determine if I’m running wordpress? Search engines don’t care so much if you are or aren’t using WordPress, you would be able … Read more

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