瀏覽代碼

Rename Pico 1.1 to Pico 2.0

Daniel Rudolf 8 年之前
父節點
當前提交
8f7e4da53d

+ 1 - 1
config/config.php.template

@@ -12,7 +12,7 @@
  *
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.1
+ * @version 2.0
  */
 
 /*

+ 1 - 1
lib/AbstractPicoPlugin.php

@@ -8,7 +8,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.0
+ * @version 2.0
  */
 abstract class AbstractPicoPlugin implements PicoPluginInterface
 {

+ 4 - 4
lib/Pico.php

@@ -24,7 +24,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.1
+ * @version 2.0
  */
 class Pico
 {
@@ -33,7 +33,7 @@ class Pico
      *
      * @var string
      */
-    const VERSION = '1.1.0-dev';
+    const VERSION = '2.0.0-dev';
 
     /**
      * Pico version ID
@@ -773,7 +773,7 @@ class Pico
      *
      * With Pico 1.0 you had to setup URL rewriting (e.g. using `mod_rewrite`
      * on Apache) in a way that rewritten URLs follow the `QUERY_STRING`
-     * principles. Starting with version 1.1, Pico additionally supports the
+     * principles. Starting with version 2.0, Pico additionally supports the
      * `REQUEST_URI` routing method, what allows you to simply rewrite all
      * requests to just `index.php`. Pico then reads the requested page from
      * the `REQUEST_URI` environment variable provided by the webserver.
@@ -1672,7 +1672,7 @@ class Pico
      * {@link Pico::getBaseUrl()} as origin of the theme URL. Otherwise Pico
      * falls back to the basename of {@link Pico::$themesDir} (i.e. assuming
      * that `Pico::$themesDir` is `foo/bar/baz`, the base URL of the themes
-     * folder will be `baz/`; this ensures BC to Pico < 1.1). Pico's base URL
+     * folder will be `baz/`; this ensures BC to Pico < 2.0). Pico's base URL
      * always gets prepended appropriately.
      *
      * @return string the URL of the themes folder

+ 1 - 1
lib/PicoPluginInterface.php

@@ -23,7 +23,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.0
+ * @version 2.0
  */
 interface PicoPluginInterface
 {

+ 1 - 1
lib/PicoTwigExtension.php

@@ -6,7 +6,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.0
+ * @version 2.0
  */
 class PicoTwigExtension extends Twig_Extension
 {

+ 3 - 3
plugins/00-PicoDeprecated.php

@@ -1,7 +1,7 @@
 <?php
 
 /**
- * Serve features of Pico deprecated since v1.0
+ * Maintain backward compatibility to older Pico releases
  *
  * This plugin exists for backward compatibility and is disabled by default.
  * It gets automatically enabled when a plugin which doesn't implement
@@ -39,7 +39,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.0
+ * @version 2.0
  */
 class PicoDeprecated extends AbstractPicoPlugin
 {
@@ -402,7 +402,7 @@ class PicoDeprecated extends AbstractPicoPlugin
      */
     public function onPageRendering(Twig_Environment &$twig, array &$twigVariables, &$templateName)
     {
-        // rewrite_url and is_front_page are deprecated since Pico 1.1
+        // rewrite_url and is_front_page are deprecated since Pico 2.0
         if (!isset($twigVariables['rewrite_url'])) {
             $twigVariables['rewrite_url'] = $this->isUrlRewritingEnabled();
         }

+ 1 - 1
plugins/DummyPlugin.php

@@ -9,7 +9,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.0
+ * @version 2.0
  */
 final class DummyPlugin extends AbstractPicoPlugin
 {

+ 1 - 1
themes/default/js/pico.js

@@ -6,7 +6,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.1
+ * @version 2.0
  */
 
 function main()

+ 1 - 1
themes/default/js/utils.js

@@ -6,7 +6,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.1
+ * @version 2.0
  */
 
 utils = {};

+ 1 - 1
themes/default/style.css

@@ -11,7 +11,7 @@
  * @author  Daniel Rudolf
  * @link    http://picocms.org
  * @license http://opensource.org/licenses/MIT The MIT License
- * @version 1.1
+ * @version 2.0
  */
 
 * {