Attachments (4)
Change History (14)
#2
@
16 years ago
The whole naming convention in this function is a little sucky it seems.
I guess we should clear some of that up too.
#3
@
16 years ago
$current_theme->active_stylesheet = get_option( 'stylesheet' );
Should probably add so we get parent and child theme
#4
@
16 years ago
Does api.wordpress.org need any fields other than Name and Version. It seems we are sending a lot of useless data.
#5
@
16 years ago
Also, current_theme is being filled with the previous update response and then stuck into the request. Seems current_theme when sent in the request should not have checked and response fields.
#6
@
16 years ago
That cleans things up a bit. $current_theme is gone. Instead the current theme slug is assigned to the 'current_theme' key of the themes array. This gets rid of all of the local cache junk that was being sent to api under the current_theme key. The themes array is populated with only the Name and Version for each theme. That's all I see being used api side. The last cached update and the new update are in better named $last_update and $new_update variables.
#7
@
16 years ago
It seems we need to send more than just version, name, and slug to help with disambiguation. Updated patch to blacklist certain fields and let the rest through.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Should it use 'stylesheet' instead of 'template'?