Laurence Bahiirwa
Laurence Bahiirwa
This was a similar question on my mind. Is a code sample in the docs possible?
Not to push however if you can do a rough structure, am sure different people could send in some PRs, myself inclusive. Cheers!
I found a plugin to help with this hack i.e unattach the featured images "Unattach and Re-attach Media Attachments". However doesn't help make the code more error proof.
Look at the lesson (WordPress Plugin Development - Part 10 - Namespaces and Composer Autoload ) https://www.youtube.com/watch?v=nbF4hWJ1hJA. It will explain everything.
Exactly change the namespace of one in composer on the PSR-4 line and do a composer dump-autoload
You are right. I deregistered all my services, changed initial file names in plugin folder, namespace and did a whole new composer install and something still duplicated.
Building something in relation as well. Thanks for the companion plugin. https://wordpress.org/plugins/cleanup-action-scheduler/
Unfortunately, the branch is closed. Needs re-opening.
Might need to reopen and have this for a future release.
I had to introduce [Changeset 47451](https://core.trac.wordpress.org/changeset/47451) which allows the tests to pass. It Introduces wpdb::db_server_info() to retrieve full MySQL server information string as supplied by mysqli_get_server_info(). This complements wpdb::db_version(), which...