WP 5 upgrade and ALTER TABLE wp_post … post_password

Maybe I’m blind or I’m overlooking something, but… I don’t see any tickets related to that subject in any of these releases: https://core.trac.wordpress.org/query?status=closed&milestone=5.0&group=component&order=priority https://core.trac.wordpress.org/query?status=closed&milestone=5.0.2&group=component I also don’t see any DB operations in code: https://core.trac.wordpress.org/browser/tags/5.0.2/src/wp-admin/includes/upgrade.php#L1820 https://core.trac.wordpress.org/browser/tags/5.0.2/src/wp-admin/includes/upgrade.php#L1946 So I don’t think that these ALTERS come with WP. Maybe some plugin (or theme) is responsible for this. If … Read more

How a deprecated function can crash WordPress site while upgrading

Where… The following files hold the deprecated functions: ~/wp-includes/deprectated.php ~/wp-includes/pluggable-deprectated.php … Take a look at them and then through their replacement functions, where the calls to _deprecated_function() happen. Why… Normally a crash shouldn’t happen. In the “real” PHP world, you’d get an E_DEPRECATED Warning. In WordPress you’ll get a trigger_error() return caused by _deprecated_function() calls. … Read more

Why is it bad to use the GUID?

In a nutshell – GUID is not supposed to hold meaningful data and the fact that at this moment the data in it happens to be meaningful is coincidental. WordPress does no verification whatsoever that GUIDs mean anything. They are not guaranteed to stay immutable if you rely on that and they are not changed … Read more

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