<div dir="ltr">The issue is with the variable name, which is usually $args. Everything the Theme defines/places into the public namespace must be uniquely prefixed. That's perfectly acceptable here:<div><br></div><div>
$themeslug_primary_menu_args = array();</div><div>wp_nav_menu( $themeslug_primary_menu_args );</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 3:36 PM, Doug Stewart <span dir="ltr"><<a href="mailto:zamoose@gmail.com" target="_blank">zamoose@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In re: point #4: why? Adding the arrays in-line can contribute to greater illegibility, particularly when the number of array elements grows large.<div>
<br></div><div>Color me old-fashioned, but doing it that way strikes me as a hard requirement with little actual utility.</div>

</div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 10:28 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Nice! Please see my comment: <a href="https://gist.github.com/GaryJones/1698719" target="_blank">https://gist.github.com/GaryJones/1698719</a> we need small change :)</div><div><div>

<div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Sep 4, 2013 at 9:26 PM, Dane Morgan <span dir="ltr"><<a href="mailto:dane@danemorganmedia.com" target="_blank">dane@danemorganmedia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div bgcolor="#FFFFFF" text="#000000">I'm sorry, I had meant to 
ask if that could be done with scripts as well. I initially found it in a
 reference that implied that you could do the same thing to enqueued 
scripts, but I never chased it down to see how.<br>
<br>
<blockquote style="border:0px none" type="cite"><div>
  <div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px">   <div style="display:table-cell;vertical-align:middle;padding-right:6px"><img src="cid:part1.08080804.06070106@danemorganmedia.com" name="140f4c75e672213a_140ebf3492fe9b83_140ebf128be576f0_postbox-contact.jpg" height="25px" width="25px"></div>



   <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a href="mailto:emil@uzelac.me" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Emil Uzelac</a></div>   <div style="display:table-cell;white-space:nowrap;vertical-align:middle">



   
  <font color="#9FA2A5"><span style="padding-left:6px">Wednesday, 
September 04, 2013 20:58</span></font></div></div></div>
  </div><div style="color:#888888;margin-left:24px;margin-right:24px"><div dir="ltr"><a href="http://lists.wordpress.org/pipermail/theme-reviewers/2013-June/013545.html" target="_blank">http://lists.wordpress.org/pipermail/theme-reviewers/2013-June/013545.html</a><br>



</div><div class="gmail_extra"><br><br><br></div><div>

<div>_______________________________________________<br>theme-reviewers 
mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>



</div></div></div><div>
  <div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px">   <div style="display:table-cell;vertical-align:middle;padding-right:6px"><img src="cid:part2.08020400.07080908@danemorganmedia.com" name="140f4c75e672213a_140ebf3492fe9b83_140ebf128be576f0_postbox-contact.jpg" height="25px" width="25px"></div>



   <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a href="mailto:dane@danemorganmedia.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Dane Morgan</a></div>   <div style="display:table-cell;white-space:nowrap;vertical-align:middle">



   
  <font color="#9FA2A5"><span style="padding-left:6px">Wednesday, 
September 04, 2013 20:12</span></font></div></div></div>
  </div><div><div style="color:#888888;margin-left:24px;margin-right:24px">

I was wondering the same 
thing<br>
<br>
  </div>
  </div><div><div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px">    <div style="display:table-cell;vertical-align:middle;padding-right:6px">
<img src="cid:part3.02030305.00080800@danemorganmedia.com" name="140f4c75e672213a_140ebf3492fe9b83_140ebf128be576f0_postbox-contact.jpg" height="25px" width="25px"></div>   <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">




        <a href="mailto:jpollock412@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Josh Pollock</a></div>   <div style="display:table-cell;white-space:nowrap;vertical-align:middle">



   
  <font color="#9FA2A5"><span style="padding-left:6px">Wednesday, 
September 04, 2013 19:17</span></font></div></div></div>
  </div><div style="color:#888888;margin-left:24px;margin-right:24px"><div><div dir="ltr">Why are the IE 
compatibility scripts hardcoded instead of echoed in a function hooked 
to wp_head? I'm wondering both in terms of why hardcoding is standard 
practice and why hooking to wp_head isn't required.</div>

<div class="gmail_extra"><br><br><br></div>

</div><div><div>_______________________________________________<br>theme-reviewers 
mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>



</div></div></div><div>
  <div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px">   <div style="display:table-cell;vertical-align:middle;padding-right:6px"><img src="cid:part4.03030707.01010606@danemorganmedia.com" name="140f4c75e672213a_140ebf3492fe9b83_140ebf128be576f0_postbox-contact.jpg" height="25px" width="25px"></div>



   <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a href="mailto:chip@chipbennett.net" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Chip Bennett</a></div>   <div style="display:table-cell;white-space:nowrap;vertical-align:middle">



   
  <font color="#9FA2A5"><span style="padding-left:6px">Wednesday, 
September 04, 2013 18:53</span></font></div></div></div>
  </div><div style="color:#888888;margin-left:24px;margin-right:24px"><div><div dir="ltr">There's not much
 that can be done right now, until this ticket makes it into core:<div><a href="http://core.trac.wordpress.org/ticket/16024" target="_blank">http://core.trac.wordpress.org/ticket/16024</a><br></div><div>
<br></div><div>In the meantime, those scripts can optionally be 
hard-coded in the document head (though they could be recommended to be 
added via callback hooked into wp_head).</div></div><div class="gmail_extra"><br><br>
<br></div>

</div><div><div>_______________________________________________<br>theme-reviewers 
mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>



</div></div></div><div>
  <div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px">   <div style="display:table-cell;vertical-align:middle;padding-right:6px"><img src="cid:part5.04040709.00020903@danemorganmedia.com" name="140f4c75e672213a_140ebf3492fe9b83_140ebf128be576f0_postbox-contact.jpg" height="25px" width="25px"></div>



   <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a href="mailto:grapplerulrich@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Ulrich Pogson</a></div>   <div style="display:table-cell;white-space:nowrap;vertical-align:middle">



   
  <font color="#9FA2A5"><span style="padding-left:6px">Wednesday, 
September 04, 2013 18:35</span></font></div></div></div>
  </div><div style="color:#888888;margin-left:24px;margin-right:24px"><p dir="ltr">@chip what is your
 recommendation for including IE specific scripts in the header? I am 
talking about the second point you mentioned. </p><div>

<div>_______________________________________________<br>theme-reviewers 
mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>



</div></div></div>
</blockquote>
</div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>-Doug<br><br><br>
</font></span></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>