简体   繁体   English

Wordpress-在WordPress的phpmyadmin中手动更新mysql表后,实时帖子​​反映了所做的更改,但帖子编辑器没有

[英]Wordpress - After manually updating mysql table in phpmyadmin for wordpress, the live post reflects the changes, but the post editor does not

Every year we update our posts with new data. 每年我们都会用新数据更新帖子。 For example, the best places to live in 2018. 例如,2018年最佳居住地。

I am trying to write a python script this year that updates the post_content in mysql so we don't have to do a bunch of copying and pasting into the html post editor. 我今年尝试编写一个python脚本来更新mysql中的post_content,因此我们不必进行大量复制和粘贴到html帖子编辑器中。

However, as a test, I manually updated wp_post in phpmyadmin for one article. 但是,作为测试,我手动更新了phpmyadmin中的wp_post一篇文章。 After updating, the following happens: 更新后,将发生以下情况:

  1. The mysql table correctly updates. mysql表正确更新。 I can export the table with the changes and they are all in there. 我可以导出带有更改的表,它们都在其中。
  2. The LIVE article is updated. 实时文章已更新。
  3. However, when I go to edit the article in wordpress's post editor, it's still showing the previous version. 但是,当我在wordpress的帖子编辑器中编辑文章时,它仍显示先前的版本。
  4. Therefore, if I save the post in post editor, it will revert back to the old version. 因此,如果我将帖子保存在帖子编辑器中,它将恢复为旧版本。

I am completely out of ideas. 我完全没有主意。 I've been googling for hours and no one seems to have this problem. 我已经搜寻了几个小时,似乎没有人遇到这个问题。

More background on my setup: 我的设置的更多背景信息:

  • Wordpress version 4.9.1 WordPress版本4.9.1
  • Using dreampress from dreamhost as the host 使用Dreamhost的Dreampress作为主机

Here's a link to the working page: https://www.homesnacks.net/best-places-to-live-in-georgia-122131/ 这是工作页面的链接: https : //www.homesnacks.net/best-places-to-live-in-georgia-122131/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 合并MySQL phpMyAdmin中的两个WordPress Post / Comments表 - Merging two WordPress Post/Comments tables in MySQL phpMyAdmin 使用MySql在Wordpress中插入帖子 - Inserting a post in Wordpress using MySql wordpress mysql查询帖子缩略图 - wordpress mysql query for post thumbnail 错误#1064 mysql更新wordpress wp_posts-post_content phpmyadmin - Error #1064 mysql update wordpress wp_posts - post_content phpmyadmin HTTP 500错误,但确实将数据存储到数据库 - 更新数据结构和插件后,Wordpress new-post.php,post.php,edit-post.php无法正常工作 - HTTP 500 Error but does store data to database - Wordpress new-post.php, post.php, edit-post.php not working after updating data structure and plugins Wordpress-基于MySQL视图中的数据创建带有表的帖子 - Wordpress - create a post with a table based on data from MySQL view 手动更新Wordpress数据库 - Manually updating a Wordpress database 在Phpmyadmin中搜索所有包含“ fileadmin”和“ .pdf”的Wordpress帖子 - Search in Phpmyadmin all Wordpress post that contains “fileadmin” and “.pdf” 如何通过phpmyadmin批量删除Wordpress发布内容中的样式? - How to bulk remove styles in wordpress post content by phpmyadmin? 根据 phpmyadmin 中的类别 ID 获取 wordpress 帖子 ID 的列表 - Get list of wordpress Post ID's based on category ID in phpmyadmin
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM