title: Wordpress admin_ini declared in theme and plugin, breaks
body: <p>I ran into a problem with a new, off the shelf, wordpress theme I just finished customizing. When I install it on my production machine (with many plugins) the site throws an error:</p>
  
  <p>Fatal error: Cannot redeclare admin_init()</p>
  
  <p>along with the path to the two instances. When I look them up, I see this function declared in a theme file:</p>
  
  <pre><code>add_action('admin_init', 'admin_init');
  function admin_init()
  {....
  </code></pre>
  
  <p>and this one declared in a plugin file:</p>
  
  <pre><code>add_action("admin_init", "admin_init");
  function admin_init(){...
  </code></pre>
  
  <p>Obviously the error states this is not allowed. But my question is, what is the <b>best</b> way to fix this so both the theme and plugin get what they need to work? In this case, I would define "best" as the solution that will require the least amount of babysitting when it comes to updates (of the plugin and theme...thought the plugin is likely to be updated more frequently than the theme).</p>
  
  <p>Thanks!</p>