Plugin Directory

Changeset 3057803

Timestamp:
03/24/2024 05:37:35 PM (4 months ago)
Author:
joppuyo
Message:

Update to version 3.1.0 from GitHub

Location:
disable-media-pages
Files:
6 added
22 edited
1 copied

Legend:

Unmodified
Added
Removed
  • disable-media-pages/tags/3.1.0/README.md

    r2993415 r3057803  
    3636Also, it seems like this feature does not work as intended, because it will disable attachment pages only for users who are logged in. Anonymous users will still be able to access attachment pages. You can follow the progress of this issue on [WordPress Trac](https://core.trac.wordpress.org/ticket/59866).
    3737
    38 Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
     38Also, there is no user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
    3939
    4040Because of these issues, I recommend you to use this plugin instead of the built-in feature. The plugin will be updated in the foreseeable future, at least until attachment pages are completely removed from WordPress core and older WordPress versions are no longer in use.
  • disable-media-pages/tags/3.1.0/composer.json

    r2926456 r3057803  
    1313    },
    1414    "require-dev": {
    15         "lucatume/wp-browser": "^3.0",
     15        "lucatume/wp-browser": "",
    1616        "codeception/module-asserts": "^1.3",
    1717        "codeception/module-phpbrowser": "^1.0",
  • disable-media-pages/tags/3.1.0/disable-media-pages.php

    r2993415 r3057803  
    66 * Author: Johannes Siipola
    77 * Author URI: https://siipo.la
    8  * Version: 3.0.5
     8 * Version: 3.
    99 * License: GPL v2 or later
    1010 * Text Domain: disable-media-pages
  • disable-media-pages/tags/3.1.0/lib/Modules/REST.php

    r2736897 r3057803  
    128128    public function rest_api_get_all_attachments(WP_REST_Request $data)
    129129    {
    130         global $wpdb;
    131130
    132         $result = $wpdb->get_col(
    133             "SELECT ID FROM  $wpdb->posts WHERE post_type = 'attachment' AND post_name NOT RLIKE '^[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}$'"
    134         );
     131        $
     132
     133        );
    135134
    136135        $json = [
     
    145144    public function rest_api_process_attachment(WP_REST_Request $data)
    146145    {
    147         $plugin = Plugin::get_instance();
    148         $attachment = get_post($data->get_param('id'));
    149         $slug = $attachment->post_name;
     146        $mangle = Mangle::get_instance();
    150147
    151         $is_uuid = Plugin::is_uuid($slug);
     148        $);
    152149
    153         if (!$is_uuid) {
    154             $new_attachment = [
    155                 'ID' => $attachment->ID,
    156                 'post_name' => $plugin->generate_uuid_v4(),
    157             ];
    158 
    159             wp_update_post($new_attachment);
    160         }
     150        $mangle->mangle_attachment($post_id);
    161151
    162152        return new WP_REST_Response([]);
     
    165155    public function rest_api_get_attachments_to_restore(WP_REST_Request $data)
    166156    {
    167         global $wpdb;
     157        ;
    168158
    169         $result = $wpdb->get_col(
    170             "SELECT ID FROM $wpdb->posts WHERE post_type = 'attachment' AND post_name RLIKE '^[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}$' ORDER BY post_date ASC;"
    171         );
     159        $result = $restore->get_attachments_to_restore();
    172160
    173161        $json = [
     
    182170    public function rest_api_restore_attachment(WP_REST_Request $data)
    183171    {
    184         $plugin = Plugin::get_instance();
     172        $p);
    185173
    186         $post_id = $data->get_param('id');
    187         $attachment = get_post($post_id);
    188         $slug = $attachment->post_name;
     174        $restore = Restore::get_instance();
    189175
    190         $is_uuid = Plugin::is_uuid($slug);
    191 
    192         if ($is_uuid) {
    193             $new_slug = sanitize_title($attachment->post_title);
    194 
    195             global $wp_filter;
    196             $plugin::debug($wp_filter['wp_unique_post_slug']);
    197 
    198             // Remove our filter so we get a real slug instead of UUID
    199             remove_filter('wp_unique_post_slug', [$plugin, 'unique_slug'], 10);
    200 
    201             global $wp_filter;
    202             $plugin::debug($wp_filter['wp_unique_post_slug']);
    203 
    204             $new_attachment = [
    205                 'ID' => $attachment->ID,
    206                 'post_name' => $new_slug,
    207             ];
    208             wp_update_post($new_attachment);
    209         }
     176        $restore->restore_attachment($post_id);
    210177
    211178        return new WP_REST_Response([]);
  • disable-media-pages/tags/3.1.0/lib/Plugin.php

    r2993018 r3057803  
    44
    55use NPX\DisableMediaPages\Modules\Admin;
     6
    67use NPX\DisableMediaPages\Modules\REST;
    78use WP_Query;
     
    2930        add_filter('redirect_canonical', [$this, 'redirect_canonical'], 0, 2);
    3031        add_filter('attachment_link', [$this, 'change_attachment_link'], 10, 2);
     32
     33
    3134    }
    3235
     
    3639        REST::get_instance();
    3740        Admin::get_instance();
     41
    3842    }
    3943
     
    4751    function set_404()
    4852    {
     53
     54
    4955        if (is_attachment()) {
    5056            global $wp_query;
  • disable-media-pages/tags/3.1.0/readme.txt

    r2993415 r3057803  
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Donate link: https://github.com/sponsors/joppuyo
    11 Stable tag: 3.0.5
     11Stable tag: 3.
    1212
    1313Completely remove "attachment" pages for WordPress media. Improve SEO and prevent conflicts between page and image permalinks.
     
    3333You can also mangle any existing attachment slugs so they won't cause any issues in the future.
    3434
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
    3551### Note for WordPress 6.4
    3652
    3753WordPress 6.4 includes [a new feature](https://make.wordpress.org/core/2023/10/16/changes-to-attachment-pages/) that allows you to disable attachment pages. However, this feature redirects attachment pages to the file URL instead of returning a 404 error. To completely disable attachment pages, you should use this plugin instead. The WP 6.4 feature also does not fix the issue where attachment pages reserve slugs for pages.
    38 
    39 Also, it seems like this feature does not work as intended, because it will disable attachment pages only for users who are logged in. Anonymous users will still be able to access attachment pages. You can follow the progress of this issue on [WordPress Trac](https://core.trac.wordpress.org/ticket/59866).
    4054
    4155Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
     
    91105## Changelog
    92106
     107
     108
     109
    93110### 3.0.5 (2023‐11‐09)
    94111* Update readme
     
    102119  Also, it seems like this feature does not work as intended, because it will disable attachment pages only for users who are logged in. Anonymous users will still be able to access attachment pages. You can follow the progress of this issue on [WordPress Trac](https://core.trac.wordpress.org/ticket/59866).
    103120
    104   Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
     121  Also, there is no user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
    105122
    106123  Because of these issues, I recommend you to use this plugin instead of the built-in feature. The plugin will be updated in the foreseeable future, at least until attachment pages are completely removed from WordPress core and older WordPress versions are no longer in use.
  • disable-media-pages/tags/3.1.0/vendor/autoload.php

    r2993415 r3057803  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInite8f34a808819dd59f935880da5965216::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • disable-media-pages/tags/3.1.0/vendor/composer/autoload_classmap.php

    r2668395 r3057803  
    99    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    1010    'NPX\\DisableMediaPages\\Modules\\Admin' => $baseDir . '/lib/Modules/Admin.php',
     11
     12
    1113    'NPX\\DisableMediaPages\\Modules\\REST' => $baseDir . '/lib/Modules/REST.php',
     14
    1215    'NPX\\DisableMediaPages\\Plugin' => $baseDir . '/lib/Plugin.php',
    1316);
  • disable-media-pages/tags/3.1.0/vendor/composer/autoload_real.php

    r2993415 r3057803  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInite8f34a808819dd59f935880da5965216
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInite8f34a808819dd59f935880da5965216', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    27         spl_autoload_unregister(array('ComposerAutoloaderInite8f34a808819dd59f935880da5965216', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInite8f34a808819dd59f935880da5965216::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • disable-media-pages/tags/3.1.0/vendor/composer/autoload_static.php

    r2993415 r3057803  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInite8f34a808819dd59f935880da5965216
     7class ComposerStaticInit
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2424        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    2525        'NPX\\DisableMediaPages\\Modules\\Admin' => __DIR__ . '/../..' . '/lib/Modules/Admin.php',
     26
     27
    2628        'NPX\\DisableMediaPages\\Modules\\REST' => __DIR__ . '/../..' . '/lib/Modules/REST.php',
     29
    2730        'NPX\\DisableMediaPages\\Plugin' => __DIR__ . '/../..' . '/lib/Plugin.php',
    2831    );
     
    3134    {
    3235        return \Closure::bind(function () use ($loader) {
    33             $loader->prefixLengthsPsr4 = ComposerStaticInite8f34a808819dd59f935880da5965216::$prefixLengthsPsr4;
    34             $loader->prefixDirsPsr4 = ComposerStaticInite8f34a808819dd59f935880da5965216::$prefixDirsPsr4;
    35             $loader->classMap = ComposerStaticInite8f34a808819dd59f935880da5965216::$classMap;
     36            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     37            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     38            $loader->classMap = ComposerStaticInit::$classMap;
    3639
    3740        }, null, ClassLoader::class);
  • disable-media-pages/tags/3.1.0/vendor/composer/installed.php

    r2993415 r3057803  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => 'v3.0.5',
    4         'version' => '3.0.5.0',
     3        'pretty_version' => 'v3.',
     4        'version' => '3..0',
    55        'type' => 'library',
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => '90be4edb4ce1f02860356f0d4629af1d2424372a',
     8        'reference' => '',
    99        'name' => 'joppuyo/disable-media-pages',
    1010        'dev' => false,
     
    1212    'versions' => array(
    1313        'joppuyo/disable-media-pages' => array(
    14             'pretty_version' => 'v3.0.5',
    15             'version' => '3.0.5.0',
     14            'pretty_version' => 'v3.',
     15            'version' => '3..0',
    1616            'type' => 'library',
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => '90be4edb4ce1f02860356f0d4629af1d2424372a',
     19            'reference' => '',
    2020            'dev_requirement' => false,
    2121        ),
  • disable-media-pages/trunk/README.md

    r2993415 r3057803  
    3636Also, it seems like this feature does not work as intended, because it will disable attachment pages only for users who are logged in. Anonymous users will still be able to access attachment pages. You can follow the progress of this issue on [WordPress Trac](https://core.trac.wordpress.org/ticket/59866).
    3737
    38 Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
     38Also, there is no user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
    3939
    4040Because of these issues, I recommend you to use this plugin instead of the built-in feature. The plugin will be updated in the foreseeable future, at least until attachment pages are completely removed from WordPress core and older WordPress versions are no longer in use.
  • disable-media-pages/trunk/composer.json

    r2926456 r3057803  
    1313    },
    1414    "require-dev": {
    15         "lucatume/wp-browser": "^3.0",
     15        "lucatume/wp-browser": "",
    1616        "codeception/module-asserts": "^1.3",
    1717        "codeception/module-phpbrowser": "^1.0",
  • disable-media-pages/trunk/disable-media-pages.php

    r2993415 r3057803  
    66 * Author: Johannes Siipola
    77 * Author URI: https://siipo.la
    8  * Version: 3.0.5
     8 * Version: 3.
    99 * License: GPL v2 or later
    1010 * Text Domain: disable-media-pages
  • disable-media-pages/trunk/lib/Modules/REST.php

    r2736897 r3057803  
    128128    public function rest_api_get_all_attachments(WP_REST_Request $data)
    129129    {
    130         global $wpdb;
    131130
    132         $result = $wpdb->get_col(
    133             "SELECT ID FROM  $wpdb->posts WHERE post_type = 'attachment' AND post_name NOT RLIKE '^[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}$'"
    134         );
     131        $
     132
     133        );
    135134
    136135        $json = [
     
    145144    public function rest_api_process_attachment(WP_REST_Request $data)
    146145    {
    147         $plugin = Plugin::get_instance();
    148         $attachment = get_post($data->get_param('id'));
    149         $slug = $attachment->post_name;
     146        $mangle = Mangle::get_instance();
    150147
    151         $is_uuid = Plugin::is_uuid($slug);
     148        $);
    152149
    153         if (!$is_uuid) {
    154             $new_attachment = [
    155                 'ID' => $attachment->ID,
    156                 'post_name' => $plugin->generate_uuid_v4(),
    157             ];
    158 
    159             wp_update_post($new_attachment);
    160         }
     150        $mangle->mangle_attachment($post_id);
    161151
    162152        return new WP_REST_Response([]);
     
    165155    public function rest_api_get_attachments_to_restore(WP_REST_Request $data)
    166156    {
    167         global $wpdb;
     157        ;
    168158
    169         $result = $wpdb->get_col(
    170             "SELECT ID FROM $wpdb->posts WHERE post_type = 'attachment' AND post_name RLIKE '^[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}$' ORDER BY post_date ASC;"
    171         );
     159        $result = $restore->get_attachments_to_restore();
    172160
    173161        $json = [
     
    182170    public function rest_api_restore_attachment(WP_REST_Request $data)
    183171    {
    184         $plugin = Plugin::get_instance();
     172        $p);
    185173
    186         $post_id = $data->get_param('id');
    187         $attachment = get_post($post_id);
    188         $slug = $attachment->post_name;
     174        $restore = Restore::get_instance();
    189175
    190         $is_uuid = Plugin::is_uuid($slug);
    191 
    192         if ($is_uuid) {
    193             $new_slug = sanitize_title($attachment->post_title);
    194 
    195             global $wp_filter;
    196             $plugin::debug($wp_filter['wp_unique_post_slug']);
    197 
    198             // Remove our filter so we get a real slug instead of UUID
    199             remove_filter('wp_unique_post_slug', [$plugin, 'unique_slug'], 10);
    200 
    201             global $wp_filter;
    202             $plugin::debug($wp_filter['wp_unique_post_slug']);
    203 
    204             $new_attachment = [
    205                 'ID' => $attachment->ID,
    206                 'post_name' => $new_slug,
    207             ];
    208             wp_update_post($new_attachment);
    209         }
     176        $restore->restore_attachment($post_id);
    210177
    211178        return new WP_REST_Response([]);
  • disable-media-pages/trunk/lib/Plugin.php

    r2993018 r3057803  
    44
    55use NPX\DisableMediaPages\Modules\Admin;
     6
    67use NPX\DisableMediaPages\Modules\REST;
    78use WP_Query;
     
    2930        add_filter('redirect_canonical', [$this, 'redirect_canonical'], 0, 2);
    3031        add_filter('attachment_link', [$this, 'change_attachment_link'], 10, 2);
     32
     33
    3134    }
    3235
     
    3639        REST::get_instance();
    3740        Admin::get_instance();
     41
    3842    }
    3943
     
    4751    function set_404()
    4852    {
     53
     54
    4955        if (is_attachment()) {
    5056            global $wp_query;
  • disable-media-pages/trunk/readme.txt

    r2993415 r3057803  
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Donate link: https://github.com/sponsors/joppuyo
    11 Stable tag: 3.0.5
     11Stable tag: 3.
    1212
    1313Completely remove "attachment" pages for WordPress media. Improve SEO and prevent conflicts between page and image permalinks.
     
    3333You can also mangle any existing attachment slugs so they won't cause any issues in the future.
    3434
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
    3551### Note for WordPress 6.4
    3652
    3753WordPress 6.4 includes [a new feature](https://make.wordpress.org/core/2023/10/16/changes-to-attachment-pages/) that allows you to disable attachment pages. However, this feature redirects attachment pages to the file URL instead of returning a 404 error. To completely disable attachment pages, you should use this plugin instead. The WP 6.4 feature also does not fix the issue where attachment pages reserve slugs for pages.
    38 
    39 Also, it seems like this feature does not work as intended, because it will disable attachment pages only for users who are logged in. Anonymous users will still be able to access attachment pages. You can follow the progress of this issue on [WordPress Trac](https://core.trac.wordpress.org/ticket/59866).
    4054
    4155Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
     
    91105## Changelog
    92106
     107
     108
     109
    93110### 3.0.5 (2023‐11‐09)
    94111* Update readme
     
    102119  Also, it seems like this feature does not work as intended, because it will disable attachment pages only for users who are logged in. Anonymous users will still be able to access attachment pages. You can follow the progress of this issue on [WordPress Trac](https://core.trac.wordpress.org/ticket/59866).
    103120
    104   Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
     121  Also, there is no user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
    105122
    106123  Because of these issues, I recommend you to use this plugin instead of the built-in feature. The plugin will be updated in the foreseeable future, at least until attachment pages are completely removed from WordPress core and older WordPress versions are no longer in use.
  • disable-media-pages/trunk/vendor/autoload.php

    r2993415 r3057803  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInite8f34a808819dd59f935880da5965216::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • disable-media-pages/trunk/vendor/composer/autoload_classmap.php

    r2668395 r3057803  
    99    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    1010    'NPX\\DisableMediaPages\\Modules\\Admin' => $baseDir . '/lib/Modules/Admin.php',
     11
     12
    1113    'NPX\\DisableMediaPages\\Modules\\REST' => $baseDir . '/lib/Modules/REST.php',
     14
    1215    'NPX\\DisableMediaPages\\Plugin' => $baseDir . '/lib/Plugin.php',
    1316);
  • disable-media-pages/trunk/vendor/composer/autoload_real.php

    r2993415 r3057803  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInite8f34a808819dd59f935880da5965216
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInite8f34a808819dd59f935880da5965216', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    27         spl_autoload_unregister(array('ComposerAutoloaderInite8f34a808819dd59f935880da5965216', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInite8f34a808819dd59f935880da5965216::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • disable-media-pages/trunk/vendor/composer/autoload_static.php

    r2993415 r3057803  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInite8f34a808819dd59f935880da5965216
     7class ComposerStaticInit
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2424        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    2525        'NPX\\DisableMediaPages\\Modules\\Admin' => __DIR__ . '/../..' . '/lib/Modules/Admin.php',
     26
     27
    2628        'NPX\\DisableMediaPages\\Modules\\REST' => __DIR__ . '/../..' . '/lib/Modules/REST.php',
     29
    2730        'NPX\\DisableMediaPages\\Plugin' => __DIR__ . '/../..' . '/lib/Plugin.php',
    2831    );
     
    3134    {
    3235        return \Closure::bind(function () use ($loader) {
    33             $loader->prefixLengthsPsr4 = ComposerStaticInite8f34a808819dd59f935880da5965216::$prefixLengthsPsr4;
    34             $loader->prefixDirsPsr4 = ComposerStaticInite8f34a808819dd59f935880da5965216::$prefixDirsPsr4;
    35             $loader->classMap = ComposerStaticInite8f34a808819dd59f935880da5965216::$classMap;
     36            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     37            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     38            $loader->classMap = ComposerStaticInit::$classMap;
    3639
    3740        }, null, ClassLoader::class);
  • disable-media-pages/trunk/vendor/composer/installed.php

    r2993415 r3057803  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => 'v3.0.5',
    4         'version' => '3.0.5.0',
     3        'pretty_version' => 'v3.',
     4        'version' => '3..0',
    55        'type' => 'library',
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => '90be4edb4ce1f02860356f0d4629af1d2424372a',
     8        'reference' => '',
    99        'name' => 'joppuyo/disable-media-pages',
    1010        'dev' => false,
     
    1212    'versions' => array(
    1313        'joppuyo/disable-media-pages' => array(
    14             'pretty_version' => 'v3.0.5',
    15             'version' => '3.0.5.0',
     14            'pretty_version' => 'v3.',
     15            'version' => '3..0',
    1616            'type' => 'library',
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => '90be4edb4ce1f02860356f0d4629af1d2424372a',
     19            'reference' => '',
    2020            'dev_requirement' => false,
    2121        ),
Note: See TracChangeset for help on using the changeset viewer.