Changeset 2993415
- Timestamp:
- 11/09/2023 05:10:39 PM (9 months ago)
- Location:
- disable-media-pages
- Files:
-
- 14 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
disable-media-pages/tags/3.0.5/README.md
r2993018 r2993415 34 34 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. 35 35 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. 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. You can follow the progress of this issue on [WordPress Trac](https://core.trac.wordpress.org/ticket/59866). 37 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. 37 39 38 40 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.0.5/disable-media-pages.php
r2993018 r2993415 6 6 * Author: Johannes Siipola 7 7 * Author URI: https://siipo.la 8 * Version: 3.0. 48 * Version: 3.0. 9 9 * License: GPL v2 or later 10 10 * Text Domain: disable-media-pages -
disable-media-pages/tags/3.0.5/readme.txt
r2993018 r2993415 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 Donate link: https://github.com/sponsors/joppuyo 11 Stable tag: 3.0. 411 Stable tag: 3.0. 12 12 13 13 Completely remove "attachment" pages for WordPress media. Improve SEO and prevent conflicts between page and image permalinks. … … 37 37 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. 38 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. 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. 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). 40 41 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. 40 42 41 43 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. … … 89 91 ## Changelog 90 92 93 94 95 91 96 ### 3.0.4 (2023‐11‐09) 92 97 * 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. 97 107 98 108 ### 3.0.3 (2023‐09‐26) -
disable-media-pages/tags/3.0.5/vendor/autoload.php
r2993018 r2993415 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 7f5aff0fffa8080463f214fb2fb31d6e::getLoader();7 return ComposerAutoloaderInit::getLoader(); -
disable-media-pages/tags/3.0.5/vendor/composer/autoload_real.php
r2993018 r2993415 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 7f5aff0fffa8080463f214fb2fb31d6e5 class ComposerAutoloaderInit 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 7f5aff0fffa8080463f214fb2fb31d6e', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 7f5aff0fffa8080463f214fb2fb31d6e', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; -
disable-media-pages/tags/3.0.5/vendor/composer/autoload_static.php
r2993018 r2993415 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e7 class ComposerStaticInit 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 31 31 { 32 32 return \Closure::bind(function () use ($loader) { 33 $loader->prefixLengthsPsr4 = ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e::$prefixLengthsPsr4;34 $loader->prefixDirsPsr4 = ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e::$prefixDirsPsr4;35 $loader->classMap = ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e::$classMap;33 $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4; 34 $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4; 35 $loader->classMap = ComposerStaticInit::$classMap; 36 36 37 37 }, null, ClassLoader::class); -
disable-media-pages/tags/3.0.5/vendor/composer/installed.php
r2993018 r2993415 1 1 <?php return array( 2 2 'root' => array( 3 'pretty_version' => 'v3.0. 4',4 'version' => '3.0. 4.0',3 'pretty_version' => 'v3.0.', 4 'version' => '3.0..0', 5 5 'type' => 'library', 6 6 'install_path' => __DIR__ . '/../../', 7 7 'aliases' => array(), 8 'reference' => ' f369a44d7bd6e5504b5fb8726e07b5de6426a7c4',8 'reference' => '', 9 9 'name' => 'joppuyo/disable-media-pages', 10 10 'dev' => false, … … 12 12 'versions' => array( 13 13 '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', 16 16 'type' => 'library', 17 17 'install_path' => __DIR__ . '/../../', 18 18 'aliases' => array(), 19 'reference' => ' f369a44d7bd6e5504b5fb8726e07b5de6426a7c4',19 'reference' => '', 20 20 'dev_requirement' => false, 21 21 ), -
disable-media-pages/trunk/README.md
r2993018 r2993415 34 34 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. 35 35 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. 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. You can follow the progress of this issue on [WordPress Trac](https://core.trac.wordpress.org/ticket/59866). 37 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. 37 39 38 40 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/disable-media-pages.php
r2993018 r2993415 6 6 * Author: Johannes Siipola 7 7 * Author URI: https://siipo.la 8 * Version: 3.0. 48 * Version: 3.0. 9 9 * License: GPL v2 or later 10 10 * Text Domain: disable-media-pages -
disable-media-pages/trunk/readme.txt
r2993018 r2993415 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 Donate link: https://github.com/sponsors/joppuyo 11 Stable tag: 3.0. 411 Stable tag: 3.0. 12 12 13 13 Completely remove "attachment" pages for WordPress media. Improve SEO and prevent conflicts between page and image permalinks. … … 37 37 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. 38 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. 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. 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). 40 41 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. 40 42 41 43 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. … … 89 91 ## Changelog 90 92 93 94 95 91 96 ### 3.0.4 (2023‐11‐09) 92 97 * 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. 97 107 98 108 ### 3.0.3 (2023‐09‐26) -
disable-media-pages/trunk/vendor/autoload.php
r2993018 r2993415 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 7f5aff0fffa8080463f214fb2fb31d6e::getLoader();7 return ComposerAutoloaderInit::getLoader(); -
disable-media-pages/trunk/vendor/composer/autoload_real.php
r2993018 r2993415 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 7f5aff0fffa8080463f214fb2fb31d6e5 class ComposerAutoloaderInit 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 7f5aff0fffa8080463f214fb2fb31d6e', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 7f5aff0fffa8080463f214fb2fb31d6e', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; -
disable-media-pages/trunk/vendor/composer/autoload_static.php
r2993018 r2993415 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e7 class ComposerStaticInit 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 31 31 { 32 32 return \Closure::bind(function () use ($loader) { 33 $loader->prefixLengthsPsr4 = ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e::$prefixLengthsPsr4;34 $loader->prefixDirsPsr4 = ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e::$prefixDirsPsr4;35 $loader->classMap = ComposerStaticInit 7f5aff0fffa8080463f214fb2fb31d6e::$classMap;33 $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4; 34 $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4; 35 $loader->classMap = ComposerStaticInit::$classMap; 36 36 37 37 }, null, ClassLoader::class); -
disable-media-pages/trunk/vendor/composer/installed.php
r2993018 r2993415 1 1 <?php return array( 2 2 'root' => array( 3 'pretty_version' => 'v3.0. 4',4 'version' => '3.0. 4.0',3 'pretty_version' => 'v3.0.', 4 'version' => '3.0..0', 5 5 'type' => 'library', 6 6 'install_path' => __DIR__ . '/../../', 7 7 'aliases' => array(), 8 'reference' => ' f369a44d7bd6e5504b5fb8726e07b5de6426a7c4',8 'reference' => '', 9 9 'name' => 'joppuyo/disable-media-pages', 10 10 'dev' => false, … … 12 12 'versions' => array( 13 13 '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', 16 16 'type' => 'library', 17 17 'install_path' => __DIR__ . '/../../', 18 18 'aliases' => array(), 19 'reference' => ' f369a44d7bd6e5504b5fb8726e07b5de6426a7c4',19 'reference' => '', 20 20 'dev_requirement' => false, 21 21 ),
Note: See TracChangeset
for help on using the changeset viewer.