Year: 2026
-
Post Views: 13 1. The first problem of the problem When using Thunderbird on Ubuntu 26.04 recently, an error pops up in a pop-up window: Although the maximum number of connections is adjusted to 1, even all Google-related cookies and saved passwords are cleared, and the OAuth 2.0 authentication is re-authenticated, the problem still exists. What’s even more strange is…
-
Post Views: 13 problem background When using the Polylang plugin to synchronize Chinese and English tags, it is found that there is an intermittent inaccurate counting problem in batch translation scripts. The script shows that 8324 tags are processed, but there are actually 8328 Chinese tags in the background, and the results of each execution are not consistent. problem antecedent…
-
AI generates code to avoid the pit: the database operation code must not be directly executed online
Post Views: 15 1. PrefaceThe whole process of WordPress tag synchronization script debugging, database damage, and data recovery has made me deeply realize that the AI generation code is extremely efficient, but it definitely does not have the security of the production environment, especially the code that operates the database. Blind execution will cause devastating data accidents.Many developers are accustomed…
-
Post Views: 14 The background of the accidentIn the process of debugging the WordPress multi-language tag synchronization script, the script adds batch query and deletes the logic of dirty labels in the script, and the script runs free of the script running under the massive data cycle. After the process is forced to terminate, the database is irreversible and severely…
-
Post Views: 16 1. Preface Reference: Blog Label Translation Practice | 8060 tags, implement the whole process based on PHP scripts. Use a set of custom PHP scripts to traverse Chinese labels in batches, and automatically synchronize the missing English translation tags. The script runs stably in WordPress version 6.9, with zero errors and zero data exceptions, which can perfectly…
-
Post Views: 14 Preface A few days ago, a reader found me on WeChat and sent such a message: ‘Hello, I followed the server according to the process of your blog article, and the server firewall is also opened, but there is still no handshake prompt for the mobile phone to modify the port, and I can’t access the Internet.…
-
Post Views: 25 1. Discover problems Recently, in Tools → Site Health in the WordPress background, I found a ‘critical problem’: Page cache is not detected, and the server response time is slow As shown in Figure 1, site health directly suggests that this is a problem that may have a major impact on performance or security and needs to…
-
Post Views: 10 Recently, on Ubuntu 26.04, the memory usage problem of Chrome has become more and more serious, often approaching or even more than 10GB, which makes me have to consider switching to Firefox. However, there are many pits during the migration process, especially the problem of Snap version of Firefox and the problem of unable to import passwords.…