Emil ... Thanks for the extra input. I am already looking at editing anvil-options.php and will take a look at the use of ( <font color="#333333" face="arial, helvetica, sans-serif">!is_admin()) in functions.php</font>.<br>
<br clear="all"><b style="color: rgb(0, 102, 0);"><span style="font-family: trebuchet ms,sans-serif;">Best Regards</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">Tom Matteson</span></b><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;"></span><br>
<br><br><div class="gmail_quote">On Sat, Oct 8, 2011 at 8:45 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@themeid.com">emil@themeid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#333333"><font size="2"><font face="arial,helvetica,sans-serif">I apologize to interject here, however I am also seeing few potential issues with current version. Upon Theme activation, Theme styles are being set outside of your Theme Options, for example:</font></font></font><div>
<font color="#333333" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><link rel='stylesheet' id='anvil-admin-css-css' href='<a href="http://example.com/wp-content/themes/wordsmith-anvil/functions/styles/admin.css?ver=1.0" target="_blank">http://example.com/wp-content/themes/wordsmith-anvil/functions/styles/admin.css?ver=1.0</a>' type='text/css' media='all' /> and in right away you will have few changes to WordPress Core styles such as: <a href="http://cl.ly/2P3u1w0K1n2r2E0c2f1R" target="_blank">http://cl.ly/2P3u1w0K1n2r2E0c2f1R</a></font></div>
<div><font color="#333333" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#333333" face="arial, helvetica, sans-serif">And also JS files are not enqued properly either:</font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><script type='text/javascript' src='<a href="http://themeid.com/dev/wp-content/themes/wordsmith-anvil/functions/js/admin.js?ver=1.0" target="_blank">http://themeid.com/dev/wp-content/themes/wordsmith-anvil/functions/js/admin.js?ver=1.0</a>'></script></font></div>
<div><font color="#333333" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#333333" face="arial, helvetica, sans-serif">Not sure if this is the main reason, however it is highly suggested to use JS/CSS only where you actually need them and that's Theme Options. I also see bunch of separated if ( !is_admin() ) { that is not necessary. To simplify and to isolate your scripts see how this was done in Twenty Eleven Theme: /inc/theme-options.php</font></div>
<div><font color="#333333" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><div>/**</div><div> * Properly enqueue styles and scripts for our theme options page.</div>
<div> *</div><div> * This function is attached to the admin_enqueue_scripts action hook.</div><div> *</div><div> * @since Twenty Eleven 1.0</div><div> *</div><div> */</div><div>function twentyeleven_admin_enqueue_scripts( $hook_suffix ) {</div>
<div><span style="white-space: pre-wrap;">        </span>wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, '2011-04-28' );</div>
<div><span style="white-space: pre-wrap;">        </span>wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '2011-06-10' );</div>
<div><span style="white-space: pre-wrap;">        </span>wp_enqueue_style( 'farbtastic' );</div><div>}</div><div>add_action( 'admin_print_styles-appearance_page_theme_options', 'twentyeleven_admin_enqueue_scripts' );</div>
<div><br></div><div>Even if this is not the answer to your problems you should alter your enqueue in next release. There is no need to use any of them outside of Theme Options period.</div><div><br></div><div><b>Additional Info:</b></div>
<div>In <a href="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js?ver=3.2.1" target="_blank">http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js?ver=3.2.1</a> you are not assigning proper version numbers as well, ver=3.2.1 should be ver=1.6.1. somehow you're passing WordPress version into your scripts. This will not break anything, but it does not look right :) After, false your can add the actual version see above.</div>
<div><br></div><div><br></div><div><br></div><div>Cheers,</div><div>Emil</div></font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><br></font><div><font color="#333333"><font size="2"><font face="arial,helvetica,sans-serif"><br>
</font></font></font></div><div><font color="#333333"><font size="2"><font face="arial,helvetica,sans-serif"><br clear="all"></font></font></font><div><b><font face="arial, helvetica, sans-serif">----</font></b></div>
<div><font face="arial, helvetica, sans-serif"><b>Emil Uzelac</b> | ThemeID | T: <a href="tel:224-444-0006" value="+12244440006" target="_blank">224-444-0006</a> | Twitter: @EmilUzelac | E: <a href="mailto:emil@themeid.com" target="_blank">emil@themeid.com</a> | <a href="http://themeid.com/" target="_blank">http://themeid.com</a></font></div>
<font color="#888888">
<div><font color="#999999" face="arial, helvetica, sans-serif">Make everything as simple as possible, but not simpler. - Albert Einstein</font></div></font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Sat, Oct 8, 2011 at 10:22 PM, Dion Hulse (dd32) <span dir="ltr"><<a href="mailto:wordpress@dd32.id.au" target="_blank">wordpress@dd32.id.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
No, not at all, was just giving you a heads up on a potential issue for future theme releases!<div><div></div><div><br><br><div class="gmail_quote">On 9 October 2011 14:16, Tom Matteson <span dir="ltr"><<a href="mailto:perspectivevision@gmail.com" target="_blank">perspectivevision@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Dion ...<br><br>Are you saying that enqueuing the admin css and js could be causing this? <br>
<br clear="all"><b style="color: rgb(0, 102, 0);"><span style="font-family: trebuchet ms,sans-serif;">Best Regards</span><br style="font-family: trebuchet ms,sans-serif;">
<font color="#888888">
<span style="font-family: trebuchet ms,sans-serif;">Tom Matteson</span></font></b><div><div><span style="font-family: trebuchet ms,sans-serif;"><br>
</span><br>
<br><br><div class="gmail_quote">On Sat, Oct 8, 2011 at 7:08 PM, Dion Hulse (dd32) <span dir="ltr"><<a href="mailto:wordpress@dd32.id.au" target="_blank">wordpress@dd32.id.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>It doesn't do any user tracking, nor does it care about where you're running.<br></div><div><br></div><div>Try changing the version string on one of those sites to a older version, and reloading the themes page, see if it picks it up then?</div>
<div><br></div><div>The other thing that comes to mind, is if all the servers you're testing on are on a slower network, the update checks might be timing out, so it's only the once-ever-24hrs check that waits longer for a response that's working, and so not picking up the updates.. </div>
<div><br></div><div>Assuming everything else is working, there's not much else that can be impacting upon it (except maybe a plugin..). If you've got a test install you don't mind letting me run a few debug items on, I can give you an exact reason why the alert isn't showing for you. (contact me off-list)</div>
<div><br></div><div>FYI, I'm getting this warning on 3.3: </div><div>( ! ) Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. (This message was added in version 3.3.) in .... ..\anvil-options.php Lines 37 and 38 </div>
<div><div>
<div><br></div><div class="gmail_quote">On 9 October 2011 12:57, Tom Matteson <span dir="ltr"><<a href="mailto:perspectivevision@gmail.com" target="_blank">perspectivevision@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Caroline & Dion ... <br><br>Thanks for the quick feedback. However, I thought of this. Actually, to test this before posting on the list, I tried installing older versions of the theme on a couple different sites; including a site that is not registered to me. The update message still didnt appear. I wonder if WordPress recognizes my IP address, or the email associated or domain associated with my user login; and that is why it does not appear for me. Any other thoughts on this. Dion, thx also for testing this. Glad it is working on your computer, anyway.<br>
<br clear="all"><b style="color: rgb(0, 102, 0);"><span style="font-family: trebuchet ms,sans-serif;">Best Regards</span><br style="font-family: trebuchet ms,sans-serif;"><font color="#888888"><span style="font-family: trebuchet ms,sans-serif;">Tom Matteson</span></font></b><div>
<div><span style="font-family: trebuchet ms,sans-serif;"><br>
</span><br>
<br><br><div class="gmail_quote">On Sat, Oct 8, 2011 at 6:23 PM, Dion Hulse (dd32) <span dir="ltr"><<a href="mailto:wordpress@dd32.id.au" target="_blank">wordpress@dd32.id.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Hi Tom,<br></div><div>I've just tested out your theme and the update API seems to be working correctly for it for me.</div><div>(I installed the latest 2.1.1 version, changed the version in the style.css to 2.1.0 and reloaded the themes page, and got a notice for it)</div>
<div><br></div><div>The main reason I can think of why you're not getting the alerts, would simply be due to your version number always matching the latest release or being up to date already? You'll never see the notice if you've already updated the theme on the site for testing before the theme was approved/published on WordPress.org.</div>
<div><br></div><font color="#888888"><div>D</div><br></font><div class="gmail_quote"><div><div>On 9 October 2011 12:14, Tom Matteson <span dir="ltr"><<a href="mailto:perspectivevision@gmail.com" target="_blank">perspectivevision@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div>
Greetings ...<br><br>I have a theme on the Repository that has been updated a half-dozen times or so. My understanding is that WordPress.org runs a cron job twice a day that checks all the self installed WordPress installations to query which themes, plugins etc are installed. From what I have read the theme_update_available function in theme.php is supposed to display '<b>There is a new version of %1<a href="http://../../_variables/s.html" target="_blank">$s</a> available'</b> <i>with an update url</i>, whenever there is a new version of the theme, if it detects a there is a newer version of any of the installed themes that reside in the Repository. Unless I am misunderstanding something, this is the default behavior, unless the theme has added some code to bypass the this function. <br>
<br>I have not added any functions to bypass the theme_update_available(). However, even though I see the update message displayed for other themes, I have never seen it displayed for my theme, Wordsmith-Anvil. Does anyone know what would cause this function not to work for my theme?<br>
<br clear="all"><b style="color: rgb(0, 102, 0);"><span style="font-family: trebuchet ms,sans-serif;">Best Regards</span><br style="font-family: trebuchet ms,sans-serif;"><font color="#888888"><span style="font-family: trebuchet ms,sans-serif;">Tom Matteson</span></font></b><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;"><br>
</span><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>
<br></div></blockquote></div><br>
<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><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><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><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><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></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>