Changeset 3170586
- Timestamp:
- 10/17/2024 09:18:59 AM (5 months ago)
- Location:
- debrandify
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
debrandify/tags/1.1.3/debrandify.php
r2971254 r3170586 2 2 /** 3 3 * @package Debrandify 4 * @version 1.1. 14 * @version 1.1.3 5 5 */ 6 6 /* 7 7 Plugin Name: Debrandify 8 Version: 1.1. 18 Version: 1.1.3 9 9 Author: Tahoe Beetschen 10 10 Author URI: https://tahoe.be … … 319 319 } 320 320 321 if (dbrdify_checkOption('svg')) {322 // Shamelessly stolen here https://wpengine.com/resources/enable-svg-wordpress/323 324 // Allow SVG325 add_filter('wp_check_filetype_and_ext', function($data, $file, $filename, $mimes) {326 global $wp_version;327 328 if ($wp_version !== '4.7.1') return $data;329 330 $filetype = wp_check_filetype($filename, $mimes);331 332 return [333 'ext' => $filetype['ext'],334 'type' => $filetype['type'],335 'proper_filename' => $data['proper_filename']336 ];337 }, 10, 4);338 339 add_filter('upload_mimes', function($mimes) {340 $mimes['svg'] = 'image/svg+xml';341 return $mimes;342 });343 344 add_action('admin_head', function() {345 echo '<style type="text/css">346 .attachment-266x266, .thumbnail img {347 width: 100% !important;348 height: auto !important;349 }350 </style>';351 });352 }353 354 321 if (dbrdify_checkOption('centerLogin')) { 355 322 add_action('login_head', function() { ?> -
debrandify/tags/1.1.3/readme.md
r2971254 r3170586 1 1 <h1 align="center"> 2 <a href="https:// tahoe.be"><img src="https://raw.githubusercontent.com/morceaudebois/debrandify/master/src/images/debrandify.png" width="70%" alt=""></a>2 <a href="https://wordpress.org/plugins/debrandify/"><img src="https://raw.githubusercontent.com/morceaudebois/debrandify/master/src/images/debrandify.png" width="70%" alt="debrandify logo"></a> 3 3 </h1> 4 5 <p align="center"> 6 <a href="https://wordpress.org/plugins/debrandify/"><img src="https://raw.githubusercontent.com/morceaudebois/debrandify/master/assets/wordpress_label.svg" width="180"/></a> 7 </p> 4 8 5 9 Debrandify (formerly DeWordPressify) is a toolkit plugin that adds plenty of settings to customise and improve WordPress. You'll be able to remove WordPress' branding and replace it with your own as well as get rid of some of the bloat that comes built-in. Here's the key features: -
debrandify/tags/1.1.3/readme.txt
r3121950 r3170586 2 2 Contributors: morceaudebois 3 3 Donate link: https://ko-fi.com/tahoe 4 Tags: lightweight, minimalism, cleanup, branding, customise4 Tags: branding, rebrand, rebranding, customise, lightweight, minimalism, cleanup, remove 5 5 Requires at least: 4.7 6 6 Tested up to: 6.5.5 7 Stable tag: 1.1. 17 Stable tag: 1.1.3 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 33 33 == Changelog == 34 34 35 = 1.1.3 = 36 * Removed SVG upload option as it's a security concern 37 38 = 1.1.2 = 39 * Tested up to WordPress 6.5.5 40 35 41 = 1.1.1 = 36 42 * Review/donate notice only appears to those who can manage plugins -
debrandify/tags/1.1.3/src/php/functions.php
r2971205 r3170586 30 30 31 31 // bonus tab 32 'svg' => 'no',33 32 'centerLogin' => 'no', 34 33 'restAPI' => 'yes', -
debrandify/tags/1.1.3/src/php/settings.php
r2971205 r3170586 149 149 break; 150 150 case 'bonus': 151 $this->printCheckbox('svg', __('SVG upload', 'debrandify'));152 151 $this->printCheckbox('centerLogin', __('Center login form vertically', 'debrandify')); 153 152 $this->printCheckbox('restAPI', __('REST API', 'debrandify')); -
debrandify/trunk/debrandify.php
r2971254 r3170586 2 2 /** 3 3 * @package Debrandify 4 * @version 1.1. 14 * @version 1.1.3 5 5 */ 6 6 /* 7 7 Plugin Name: Debrandify 8 Version: 1.1. 18 Version: 1.1.3 9 9 Author: Tahoe Beetschen 10 10 Author URI: https://tahoe.be … … 319 319 } 320 320 321 if (dbrdify_checkOption('svg')) {322 // Shamelessly stolen here https://wpengine.com/resources/enable-svg-wordpress/323 324 // Allow SVG325 add_filter('wp_check_filetype_and_ext', function($data, $file, $filename, $mimes) {326 global $wp_version;327 328 if ($wp_version !== '4.7.1') return $data;329 330 $filetype = wp_check_filetype($filename, $mimes);331 332 return [333 'ext' => $filetype['ext'],334 'type' => $filetype['type'],335 'proper_filename' => $data['proper_filename']336 ];337 }, 10, 4);338 339 add_filter('upload_mimes', function($mimes) {340 $mimes['svg'] = 'image/svg+xml';341 return $mimes;342 });343 344 add_action('admin_head', function() {345 echo '<style type="text/css">346 .attachment-266x266, .thumbnail img {347 width: 100% !important;348 height: auto !important;349 }350 </style>';351 });352 }353 354 321 if (dbrdify_checkOption('centerLogin')) { 355 322 add_action('login_head', function() { ?> -
debrandify/trunk/readme.md
r2971254 r3170586 1 1 <h1 align="center"> 2 <a href="https:// tahoe.be"><img src="https://raw.githubusercontent.com/morceaudebois/debrandify/master/src/images/debrandify.png" width="70%" alt=""></a>2 <a href="https://wordpress.org/plugins/debrandify/"><img src="https://raw.githubusercontent.com/morceaudebois/debrandify/master/src/images/debrandify.png" width="70%" alt="debrandify logo"></a> 3 3 </h1> 4 5 <p align="center"> 6 <a href="https://wordpress.org/plugins/debrandify/"><img src="https://raw.githubusercontent.com/morceaudebois/debrandify/master/assets/wordpress_label.svg" width="180"/></a> 7 </p> 4 8 5 9 Debrandify (formerly DeWordPressify) is a toolkit plugin that adds plenty of settings to customise and improve WordPress. You'll be able to remove WordPress' branding and replace it with your own as well as get rid of some of the bloat that comes built-in. Here's the key features: -
debrandify/trunk/readme.txt
r3121950 r3170586 2 2 Contributors: morceaudebois 3 3 Donate link: https://ko-fi.com/tahoe 4 Tags: lightweight, minimalism, cleanup, branding, customise4 Tags: branding, rebrand, rebranding, customise, lightweight, minimalism, cleanup, remove 5 5 Requires at least: 4.7 6 6 Tested up to: 6.5.5 7 Stable tag: 1.1. 17 Stable tag: 1.1.3 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 33 33 == Changelog == 34 34 35 = 1.1.3 = 36 * Removed SVG upload option as it's a security concern 37 38 = 1.1.2 = 39 * Tested up to WordPress 6.5.5 40 35 41 = 1.1.1 = 36 42 * Review/donate notice only appears to those who can manage plugins -
debrandify/trunk/src/php/functions.php
r2971205 r3170586 30 30 31 31 // bonus tab 32 'svg' => 'no',33 32 'centerLogin' => 'no', 34 33 'restAPI' => 'yes', -
debrandify/trunk/src/php/settings.php
r2971205 r3170586 149 149 break; 150 150 case 'bonus': 151 $this->printCheckbox('svg', __('SVG upload', 'debrandify'));152 151 $this->printCheckbox('centerLogin', __('Center login form vertically', 'debrandify')); 153 152 $this->printCheckbox('restAPI', __('REST API', 'debrandify'));
Note: See TracChangeset
for help on using the changeset viewer.