Can we have an ‘Update metadata’ button in Image Gallery for all image instances?

This is the screen you’re referring to: That interface is a modal dialog created using javascript. Specifically, backbone.js. Internally WordPress stores files in the file system and creates a post for them of type attachment. This attachment post stores the title, caption and other information. Because of this, it’s possible to have comments on an … Read more

What’s the best way to go about updating WordPress plugins when using SVN and multiple environments?

It’s a bad practice to use version control for site deployments/updates. Consider using a deployment tool which uses SVN like Capistrano. Start Googling around and you’ll articles like this one. Advantages of using Capistrano Easy deployments (more error proof than vcs deployments) Easy rollbacks (maintains previous versions of your codebase) More secure (doesn’t expose a … Read more

do_action() hook into load-(page)

I have changed the do_action() for a apply_filter(). This worked as follows: // Filter save settings $settings = apply_filters( ‘gtp_theme_settings_tab_save’, $settings, $tab, $_POST ); $updated = update_option( ‘gtp_theme_settings’, $settings ); And then my add_filter in plugin file looks like: function ac_theme_settings_tab_save( $settings, $tab, $postdata ) { if( $tab == ‘adcalls’ ) { $settings[‘gtp_adcalls_domain_id’] = $postdata[‘gtp_adcalls_domain_id’]; … Read more