[wp-trac] [WordPress Trac] #14179: Theme asking to update (theme with same name on WordPress.org)

WordPress Trac noreply at wordpress.org
Thu Jul 20 22:27:51 UTC 2017


#14179: Theme asking to update (theme with same name on WordPress.org)
----------------------------+----------------------------
 Reporter:  design_dolphin  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  WordPress.org
Component:  Themes          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+----------------------------

Comment (by dingdang):

 @earnjam it's about just 3 fields, that the user is not supposed to touch:
 theme name, author and author URI. If I'm a user and I change those, that
 means I don't want to get updates. I am not supposed to change the author
 or his URI nor the theme name. I think this is not a problem, but if there
 is a change it is not a screw by accident, but with purpose.

 So that's the same as to adding UID manually, but:
 - it is handled automatically
 - theme authors don't have to do anything - no changes to style.css or
 anywhere from their standpoint
 - external authors don't have to do anything to prevent their themes to be
 messed by accidental updates - no need for "private" tag
 - active installs will count automatically just the real active installs
 of the wp.org's theme even for the old so-discussed cases
 - very little code for the core (which is just for calculations
 optimization)
 - check for updates at the backend (API) is almost the same, the search is
 performed in a table of hashes instead of names (no real complexity that's
 just a tweak)
 - **backward compatibility** for the old versions of WP and old versions
 of the themes w/o the need to change them **which is the most exciting
 part of the idea**(!)

 Generating of hashes for the current themes and all of their versions is a
 one-time job and is trivial, shouldn't take long:
 themes: 4876
 total versions: 56730
 average versions per theme: 11.6

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14179#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list