What are custom_css and customize_changeset used for?

A fresh wordpress install has the following post types: Post (Post Type: ‘post’) Page (Post Type: ‘page’) Attachment (Post Type: ‘attachment’) Revision (Post Type: ‘revision’) Navigation Menu (Post Type: ‘nav_menu_item’) Custom CSS (Post Type: ‘custom_css’) Changesets (Post Type: ‘customize_changeset’) https://codex.wordpress.org/Post_Types doesn’t address what the final two are used for. Could anyone explain? 1 1 The … Read more

Looking for WordPress System Diagrams

I am looking for WordPress chart/diagram system design. I found only the template hierarchy diagram, but it’s only part of the system. source: http://upload.wikimedia.org/wikipedia/commons/3/3d/Wordpress_Template_Hierarchy.png 2 s 2 More than an , this is a research and a compilation. Database Description already in Damien answer. A Google search reveals this in WordPress forums: UML documentation of … Read more

WordPress 5.3 update causes media library file upload to break – Cannot convert undefined or null to object

So after updating to WP 5.3 I can no longer use the file upload to choose files to add. I get the following error: Uncaught TypeError: Cannot convert undefined or null to object at g.cleanup (backbone.min.js:1) Error in console: How it shows when I try to choose an image: I have the Classic Editor plugin … Read more

$GLOBALS array for WordPress

Is there a file where WordPress defines $GLOBALS? I’m just curious as to what WordPress uses it for and for what purpose. That’s all! 3 I’m not sure if all of these are WordPress globals, but I did a quick grep type search of the WordPress files and tried to extract all the globals I … Read more

Why do some core functions get wp_ while others do not? What’s the rule?

Is there some guideline or rationale behind why some WP code functions are prefixed with wp_ ? eg: wp_insert_post() vs. update_post_meta() 4 This makes not that impressive answer, but – none. get_ is suffix usually means function returns something, the_ that function echoes something. wp_ doesn’t carry technical meaning and inconsistency in naming is from … Read more