[theme-reviewers] unable to upload please advice
Bryan Hadaway
bhadaway at gmail.com
Thu Aug 23 08:03:15 UTC 2012
Unfortunately, you'll need to update I believe. I understand the reason you
would like to do this, to protect your users/customers a bit with some
backwards compatibility.
However, backwards compatibility as far as I understand it, is strictly
against the WP repo guidelines. Reason being is that they want to make sure
everyone is always using the very latest version of WP, for security as one
example.
So along those lines they want theme/plugin designers/developers to keep
their themes/plugins strictly compatible with the latest WP version and
advise users/customers to stay up-to-date.
But, yes wait for a definitive response from either Otto or Chip,
authorities on the subject of pretty much all things WP.
Thanks, Bryan
Bryan Phillip Hadaway
Web & Graphic Designer
calmestghost.com
bhadaway at gmail.com
*Socialize:* Facebook <http://www.facebook.com/calmestghost> |
Twitter<http://twitter.com/calmestghost> |
LinkedIn <http://www.linkedin.com/in/calmestghost> |
Google+<https://plus.google.com/104582075016689917593>
On Wed, Aug 22, 2012 at 9:26 PM, Petar Genev <petar.genev at gmail.com> wrote:
> Hi there,
>
> I am trying to upload a theme via
> http://wordpress.org/extend/themes/upload/
> I get the following two errors:
>
> - REQUIRED: *add_contextual_help* found in the file *theme-options.php*.
> Deprecated since version *3.3*. Use *
> get_current_screen()->add_help_tab()* instead.
> - RECOMMENDED: *get_current_theme* found in the file *theme-options.php
> *. Deprecated since version *3.4*. Use *wp_get_theme()* instead.
>
> I do not consider those two as errors because in the code I make an IF
> statement that checks if the new function exists and if it does not it
> would call the old one. This is how I make sure I use the new function if
> the wordpress installation is new version and use the old function on old
> wp installations.
> I can easily use only the new functions but then my theme will not work
> fine on old versions of WP which I'd like my theme to support. By old
> versions I mean 3.3 and 3.4.
>
> For example:
> <?php $theme_name = function_exists( 'wp_get_theme' ) ? wp_get_theme() :
> get_current_theme(); ?>
>
> I think the theme checker finds the old function as a text in the codes
> and rises the errors without following the logic in the IF statements.
>
>
>
> Please tell me what can I do so I can upload my theme?
>
> Petar
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120823/866680f4/attachment.htm>
More information about the theme-reviewers
mailing list