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 when that needs to happen if they are treated as data, for example on migration with domain changes.
In all my history of using WP GUIDs were one of very few things that got slapped with backwards incompatible change (sanitizing strategy for them was tightened) and it exploded long deployed work project.
You got very accurate and very practical advice – forget GUIDs exist in WordPress. Follow that advice.
Related Posts:
- Upgrading Node.js to latest version
- upgade python version using pip
- Not able to access admin panel after updating WordPress database fails
- Update WordPress with SFTP instead of FTP
- WP upgrade can’t create directory even though perms are 777 [closed]
- How can I migrate a super old version (2.0) of my blog to 3.1?
- How do WordPress veterans deal with the issues of upgrading WordPress?
- Release Model for WordPress?
- 4.3.1 to 4.4 – WYSIWYG Editor Issues
- From 3.5 to 5.6.2 – Recommendation on how to get there with the least amount of pain?
- Permissions issue when trying to update WordPress
- Best Way to Upgrade from WP 2.8 (!)?
- Site needs massive upgrade – how to proceed?
- How to configure site for automatic upgrades
- How to prepare images for a layout width change?
- Upgrade WordPress Database from 2.6 to 3.2
- Why did my manual upgrade fail?
- Getting rid of files not used by latest upgrade
- WP already installed is asking to install
- Is the built-in updater the “best” way to upgrade WP installations?
- 3.1.3 auto-upgrade
- Empty space instead of admin bar
- Which database table does “Featured images” save under?
- What files to keep after upgrading WordPress?
- Upgrading an old WordPress install to a new one on a new host
- Upgrading wordpress 2.7 to 4.1 – posts are not listing after importing old db to new
- Updating servers at once in web cluster
- Client is using Softaculous to upgrade WordPress versions. How do I upgrade from the WordPress dashboard?
- WordPress 3.8 keeps asking me to upgrade to 3.8
- wp_list_categories
- Upgraded from 2.8.x to 3.3.1 and lost content
- Interrupted Upgrade to 4.5.1
- Can I degrade back to 3.7.1 from 3.8 by just coping old wp files?
- redirected to “welcome to 3.8.5” after automatic upgrade to 4.1.1 now other admin links give 500 error
- Running WP_Upgrader via Cron
- Warnings On Updating WordPress
- Problems updating wordpress
- Upgrading from 3.2.1 to current
- Upgrading Across Multiple Versions
- Upgrade to 3.4 error: Call to undefined function get_option()
- Is WordPress 4.0 a Major update?
- Why does WordPress 4.1 have an auto-update entry in wp_options?
- WordPress automatic update error. Download failed : SSL certificate problem: unable to get local issuer certificate, “Installation Failed”
- Upgrading existing WordPress 4.1 to 4.6. What are some obstacles I might encounter?
- Upgrading from Old Version to Latest Version
- Installed WordPress with Softaculous. Should I upgradeManually or with Softaculous?
- Upgrade to 3.3.2 return a blank admin page
- WordPress 2.7 upgrade protocol
- Requirements for hosting a single WordPress Blog (upgrades / backups)
- When will be the next major update for wordpress?
- How is FTP used for upgrade?
- Maximum execution time exceeded while upgrading network on multisite local install [closed]
- WP not displaying the latest version upgrade button
- Upgrading to 4.1 fixed parse error
- _.omit is not function
- Publish issue after upgrading to 3.3
- Upgrade to 3.1 – Fatal error: Call to undefined function wp_cache_get()
- The new WordPress 3.1 “Admin Menu” isn’t appearing on my site or in the Dashboard
- WordPress cannot auto update and cannot find .maintenance file
- WordPress GUI and wp-cli are saying we have the latest version, but we don’t
- How to upgrade wordpress version?
- WP website won’t accept any new content – need dedicated hosting?
- Site showing version 4.1.16 as latest version
- Best method to upgrade WordPress and Plugins
- WordPress not updated correctly
- Upgrade local version of WordPress – links point to live site
- upgrade v. 2.8.5 to latest version of wordpress
- Upgraded to 3.8.1 on wp-admin but unable to upgrade in godaddy cpanel
- Upgrading from 3.4.2 [duplicate]
- plugin not updated after update wordpress 3.5.2
- Production Website Frozen at /wp-admin/upgrade.php
- Upgrading WP Version + Keeping Customized Core Code?
- Automatic Theme Upgrade hooks?
- Upgrading WordPress (File permission group owner)
- Stuck on Database Update Required after downgrading to 4.9.9 from backup
- Upgraded to 3.6.1. and cannot open my website anymore [closed]
- Do I have to buy a WordPress plan if I have Bluehost? [closed]
- upgrade wordpress 2.1.2 to wordpress latest version (3.6)
- Is it safe update WordPress 3.4.2. to 3.5? [closed]
- Upgrading from WordPress 3.8.2 to latest – only files and SQL dump available
- Plugin upgrading: Widget settings
- wp_posts – guid update
- “Upgrade Network” error: stuck with SSL certificate verification
- Is database safe after merging a branch of a more recent version over an older one?
- How to identifty post from its URL in 404 page?
- Forbidden 403 error, permission to access, unable to read htaccess
- Upgrade Private Plugin without Deleting
- WordPress DATABASE Update Manually?
- “The package could not be installed” when updating plugins, themes, and core files on WampServer
- How a deprecated function can crash WordPress site while upgrading
- No option to update WP in client’s backend
- Upgrade private plugin without deleting files?
- WordPress independent plugin upgrade notification system [duplicate]
- Can’t upgrade WP 5.6 to 5.6.1: version-current.php is missing
- How to find wordpress db schema changes when upgrading from 4.9 to 5.2
- How much maintenance is required to run a WordPress server?
- GUID field in wp_posts – relevance for attachments?
- What is a good way to test that plugin upgrades have completed properly?
- Warning: preg_replace(): Compilation failed: unknown option bit(s) set at offset -1
- Upgrade wordpress core programmatically with PHP [closed]