fatal error get_page_permastruct()

This happens because plugins_loaded fires before the global variable $wp_rewrite exists. From wp-settings.php: // Load active plugins. foreach ( wp_get_active_and_valid_plugins() as $plugin ) include_once( $plugin ); unset( $plugin ); // Load pluggable functions. require( ABSPATH . WPINC . ‘/pluggable.php’ ); require( ABSPATH . WPINC . ‘/pluggable-deprecated.php’ ); // Set internal encoding. wp_set_internal_encoding(); // Run wp_cache_postload() … Read more

Can i do plugin commits directly from a plugin folder inside an installation using the Trunk SVN

I run a WordPress checkout of trunk, a branch, or a tag. This way I can switch WordPress versions easily: svn sw http://svn.automattic.com/wordpress/trunk svn sw http://svn.automattic.com/wordpress/tags/3.1 In wp-content/plugins I have a trunk checkout for each of my plugins: cd wp-content/plugins svn co http://plugins.svn.wordpress.org/stats/trunk/ stats I do my work on the stats plugin (updating the changelog … Read more

Creating custom field with drop down on new post page

Instead of defining the default values for custom fields, you should do like Milo says. You should have something like this in your functions.php. I tried to follow what you need, but didn’t test it. <?php // action to add meta boxes add_action( ‘add_meta_boxes’, ‘voodoo_dropdown_metabox’ ); // action on saving post add_action( ‘save_post’, ‘voodoo_dropdown_save’ ); … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)