Plugin Directory

Changeset 2993415

Timestamp:
11/09/2023 05:10:39 PM (9 months ago)
Author:
joppuyo
Message:

Update to version 3.0.5 from GitHub

Location:
disable-media-pages
Files:
14 edited
1 copied

Legend:

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

    r2993018 r2993415  
    3434WordPress 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.
    3535
    36 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. 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.
     36Also, 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).
     37
     38Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
    3739
    3840Because 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.0.5/disable-media-pages.php

    r2993018 r2993415  
    66 * Author: Johannes Siipola
    77 * Author URI: https://siipo.la
    8  * Version: 3.0.4
     8 * Version: 3.0.
    99 * License: GPL v2 or later
    1010 * Text Domain: disable-media-pages
  • disable-media-pages/tags/3.0.5/readme.txt

    r2993018 r2993415  
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Donate link: https://github.com/sponsors/joppuyo
    11 Stable tag: 3.0.4
     11Stable tag: 3.0.
    1212
    1313Completely remove "attachment" pages for WordPress media. Improve SEO and prevent conflicts between page and image permalinks.
     
    3737WordPress 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.
    3838
    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. 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.
     39Also, 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).
     40
     41Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
    4042
    4143Because 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.
     
    8991## Changelog
    9092
     93
     94
     95
    9196### 3.0.4 (2023‐11‐09)
    9297* Fix: WordPress 6.4 compatibility.
    93 * Note for WordPress 6.4
    94 * WordPress 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.
    95 * 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. 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.
    96 * 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.
     98* **Note for WordPress 6.4**
     99
     100  WordPress 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.
     101
     102  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).
     103
     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.
     105
     106  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.
    97107
    98108### 3.0.3 (2023‐09‐26)
  • disable-media-pages/tags/3.0.5/vendor/autoload.php

    r2993018 r2993415  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit7f5aff0fffa8080463f214fb2fb31d6e::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • disable-media-pages/tags/3.0.5/vendor/composer/autoload_real.php

    r2993018 r2993415  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit7f5aff0fffa8080463f214fb2fb31d6e
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit7f5aff0fffa8080463f214fb2fb31d6e', '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('ComposerAutoloaderInit7f5aff0fffa8080463f214fb2fb31d6e', '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\ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e::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.0.5/vendor/composer/autoload_static.php

    r2993018 r2993415  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e
     7class ComposerStaticInit
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3131    {
    3232        return \Closure::bind(function () use ($loader) {
    33             $loader->prefixLengthsPsr4 = ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e::$prefixLengthsPsr4;
    34             $loader->prefixDirsPsr4 = ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e::$prefixDirsPsr4;
    35             $loader->classMap = ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e::$classMap;
     33            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     34            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     35            $loader->classMap = ComposerStaticInit::$classMap;
    3636
    3737        }, null, ClassLoader::class);
  • disable-media-pages/tags/3.0.5/vendor/composer/installed.php

    r2993018 r2993415  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => 'v3.0.4',
    4         'version' => '3.0.4.0',
     3        'pretty_version' => 'v3.0.',
     4        'version' => '3.0..0',
    55        'type' => 'library',
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => 'f369a44d7bd6e5504b5fb8726e07b5de6426a7c4',
     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.4',
    15             'version' => '3.0.4.0',
     14            'pretty_version' => 'v3.0.',
     15            'version' => '3.0..0',
    1616            'type' => 'library',
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => 'f369a44d7bd6e5504b5fb8726e07b5de6426a7c4',
     19            'reference' => '',
    2020            'dev_requirement' => false,
    2121        ),
  • disable-media-pages/trunk/README.md

    r2993018 r2993415  
    3434WordPress 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.
    3535
    36 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. 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.
     36Also, 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).
     37
     38Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
    3739
    3840Because 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/disable-media-pages.php

    r2993018 r2993415  
    66 * Author: Johannes Siipola
    77 * Author URI: https://siipo.la
    8  * Version: 3.0.4
     8 * Version: 3.0.
    99 * License: GPL v2 or later
    1010 * Text Domain: disable-media-pages
  • disable-media-pages/trunk/readme.txt

    r2993018 r2993415  
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Donate link: https://github.com/sponsors/joppuyo
    11 Stable tag: 3.0.4
     11Stable tag: 3.0.
    1212
    1313Completely remove "attachment" pages for WordPress media. Improve SEO and prevent conflicts between page and image permalinks.
     
    3737WordPress 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.
    3838
    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. 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.
     39Also, 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).
     40
     41Also, there is not user interface to enable or disable media pages, they are automatically disabled for new sites but remain enabled for existing sites.
    4042
    4143Because 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.
     
    8991## Changelog
    9092
     93
     94
     95
    9196### 3.0.4 (2023‐11‐09)
    9297* Fix: WordPress 6.4 compatibility.
    93 * Note for WordPress 6.4
    94 * WordPress 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.
    95 * 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. 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.
    96 * 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.
     98* **Note for WordPress 6.4**
     99
     100  WordPress 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.
     101
     102  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).
     103
     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.
     105
     106  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.
    97107
    98108### 3.0.3 (2023‐09‐26)
  • disable-media-pages/trunk/vendor/autoload.php

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

    r2993018 r2993415  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit7f5aff0fffa8080463f214fb2fb31d6e
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit7f5aff0fffa8080463f214fb2fb31d6e', '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('ComposerAutoloaderInit7f5aff0fffa8080463f214fb2fb31d6e', '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\ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e::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

    r2993018 r2993415  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e
     7class ComposerStaticInit
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3131    {
    3232        return \Closure::bind(function () use ($loader) {
    33             $loader->prefixLengthsPsr4 = ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e::$prefixLengthsPsr4;
    34             $loader->prefixDirsPsr4 = ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e::$prefixDirsPsr4;
    35             $loader->classMap = ComposerStaticInit7f5aff0fffa8080463f214fb2fb31d6e::$classMap;
     33            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     34            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     35            $loader->classMap = ComposerStaticInit::$classMap;
    3636
    3737        }, null, ClassLoader::class);
  • disable-media-pages/trunk/vendor/composer/installed.php

    r2993018 r2993415  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => 'v3.0.4',
    4         'version' => '3.0.4.0',
     3        'pretty_version' => 'v3.0.',
     4        'version' => '3.0..0',
    55        'type' => 'library',
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => 'f369a44d7bd6e5504b5fb8726e07b5de6426a7c4',
     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.4',
    15             'version' => '3.0.4.0',
     14            'pretty_version' => 'v3.0.',
     15            'version' => '3.0..0',
    1616            'type' => 'library',
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => 'f369a44d7bd6e5504b5fb8726e07b5de6426a7c4',
     19            'reference' => '',
    2020            'dev_requirement' => false,
    2121        ),
Note: See TracChangeset for help on using the changeset viewer.