Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

database

Can posts have parents?

August 1, 2022July 31, 2022 by Magenaut

Are posts supposed to have parents? If so, what would that mean for a post to have a parent?

Categories Q&A, Wordpress Tags database, posts Leave a comment

Does dbDelta delete columns as well?

August 1, 2022July 31, 2022 by Magenaut

I created a table using the dbDelta function and then removed a few columns and added a few. The new columns did get created but the old columns did not get deleted from the table.

Categories Q&A, Wordpress Tags database, dbdelta, wpdb Leave a comment

Does WordPress use the InnoDB engine for MySQL by default?

August 1, 2022July 31, 2022 by Magenaut

I just created a new WordPress site in my server. Normally, WordPress uses MyISAM as the database type. But this time, it created all InnoDB tables! Is this normal? Has WordPress switched to InnoDB in the latest versions?

Categories Q&A, Wordpress Tags database, innodb, mysql Leave a comment

How does WordPress handle MySQL row lock errors?

August 1, 2022July 31, 2022 by Magenaut

If there is a WordPress plugin which updates rows in a custom table, but that update encounters a row lock, what happens? E.g. two users simultaneously fire an update on TABLE1, one setting AGE=1 and the other setting AGE=2:

Categories Q&A, Wordpress Tags database, mysql, plugin-development, plugins Leave a comment

How to increase the character limit for post name of 200?

August 1, 2022July 31, 2022 by Magenaut

I have post name in Thai which uses UTF-8 character. Many of them encode into super long in ASCII e.g. วิธีการหลีกเลี่ยงข้อผิดพลาดทั้ง-8-ในชีวิตการแต่งงาน

Categories Q&A, Wordpress Tags database, encoding, permalinks, urls Leave a comment

How to get the post publish date outside the loop?

August 1, 2022July 31, 2022 by Magenaut

I need to pull out the post publish date in order to make the post post auto expire. The thing is I can’t get the right publish date.

Categories Q&A, Wordpress Tags database, date Leave a comment
Newer posts
← Previous Page1 … Page16 Page17
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress