Recently I was having an issue with the WordPress autosave running on my posts in a custom post type. I am running a lot of scripts in the “save_post” action and couldn’t find a good way to exclude autosaves from running this code. Note that I looked at the info being passed to the functions…
PHP Archives
-
-
When using functions like add_submenu_page etc, make sure that you add them at the admin_menu action. If you try to add them any place other than that you will get “Insufficient Privileges” errors when trying to go to the page. NOTE: If you are in WP 2.8 WordPress allows you to run those functions at…
-
For the WordPress Media Gallery to work properly on a server, PHP Safe Mode must be turned off. From what I am told when PHP Safe mode is on, PHP runs as a different user than apache and this causes folder creation/modification problems. So for the uploader to work it must be turned off. Also…