Replace core wordpress file with my own

Yes, it is possible. You can modify that file and use it. But… It will be a lot of work to maintain those changes. You’ll have to merge them after every WordPress update and check if these changes don’t break anything in WP. That’s why such modifications aren’t very common practice and they’re not recommended.

How to: Avoid a bunch of useless Auto Draft ID entries related in posts table and disable autosave feature in ‘post-new.php’?

Read the thread Disable/ Stop “auto-draft” posts on wp-hackers to understand why this is a very bad idea. Let me quote the explanations from @Otto: Auto-drafts exist because of the fact that multiple users can create new posts at the same time. If two people enter post-new at roughly the same moment, then have their … Read more

Possible to fix admin URL behind proxy issue without hacking core?

I threw this question around on Twitter and asked for feedback from some other core developers. My gut instinct was to make $current_url either filterable or generated by a function that could be overridden. This is, apparently, the wrong way about it. @markoheijnen: @EricMann Resetting $_SERVER[‘HTTP_HOST’] sounds like a hackish solution. Same code then can … Read more

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