Skip to content

Commit 2ee779b

Browse files
committed
UI: Update API index page to remove version specific language, go to 1.11
1 parent 89c93ed commit 2ee779b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

themes/api.jqueryui.com/functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
function jq_ui_api_versions() {
44
// Must be listed with newest first
55
return array(
6+
"1.11" => "1.6 and newer",
67
"1.10" => "1.6 and newer",
78
"1.9" => "1.6 and newer",
89
"1.8" => "1.3.2 and newer",

themes/api.jqueryui.com/index.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@
2323
also be interested in the <a href="http://learn.jquery.com/">jQuery
2424
Learning Center</a> tutorials.</p>
2525

26-
<p>This site provides API documentation for jQuery UI 1.10. If
27-
you're working with jQuery UI 1.9, you can find the API documentation
28-
on <a href="http://api.jqueryui.com/1.9/">api.jqueryui.com/1.9/</a>.
29-
However, we would encourage you to upgrade to jQuery UI 1.10 in order
26+
<p>This site provides API documentation for jQuery UI <?php echo $thisVersion; ?>. If
27+
you're working with an older version, you can find the API documentation
28+
at the links below.
29+
However, we would encourage you to upgrade to jQuery UI <?php echo $thisVersion; ?> in order
3030
to receive the best support and take advantage of recent bug fixes
3131
and enhancements. Check out the
32-
<a href="http://blog.jqueryui.com/2013/01/jquery-ui-1-10-0/">release announcement</a>
33-
and <a href="http://jqueryui.com/upgrade-guide/1.10/">upgrade guide</a>
34-
to find out more about jQuery UI 1.10.</p>
32+
<a href="http://jqueryui.com/upgrade-guide/<?php echo $thisVersion; ?>/">upgrade guide</a>
33+
to find out more about jQuery UI <?php echo $thisVersion; ?>.</p>
3534

3635
<?php } else { ?>
3736

0 commit comments

Comments
 (0)