Changeset 2965787
- Timestamp:
- 09/12/2023 10:15:34 AM (3 years ago)
- Location:
- mywp-custom-login
- Files:
-
- 6 edited
-
tags/0.4/mywp-custom-login.php (modified) (1 diff)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/class/whodunit/mywpCustomLogin/Plugin.php (modified) (3 diffs)
-
trunk/class/whodunit/mywpCustomLogin/utility/Helpers.php (modified) (6 diffs)
-
trunk/mywp-custom-login.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mywp-custom-login/tags/0.4/mywp-custom-login.php
r2965780 r2965787 4 4 * Plugin URI: https://wordpress.org/plugins/mywp-custom-login/ 5 5 * Description: Customise WordPress login page 6 * Version: 0. 3.16 * Version: 0.4 7 7 * Author: Whodunit Agency 8 8 * Author URI: https://whodunit.fr/ -
mywp-custom-login/trunk/changelog.txt
r2861461 r2965787 1 1 == Changelog == 2 2 3 0.0.3 3 0.4 4 fix url getter returning invalid url in a windows environment 5 fix settings helpler method declaration causing a deprecation notice 6 7 0.3.1 8 Release bug fixes 9 - fix unresponsive settings checkbox 10 - fix css generation 11 12 0.3 4 13 Release candidate -
mywp-custom-login/trunk/class/whodunit/mywpCustomLogin/Plugin.php
r2861461 r2965787 82 82 $this->minimum_wp_version = ( ! empty( $plugin_data[ 'RequireWP' ] ) ) ? $plugin_data[ 'RequireWP' ] : '6.0'; 83 83 $this->minimum_php_version = ( ! empty( $plugin_data[ 'RequirePHP' ] ) ) ? $plugin_data[ 'RequirePHP' ] : '7.0'; 84 $this->relative_language_dir = ( ! empty( $plugin_data[ 'DomainPath' ] ) ) ? $plugin_data[ 'DomainPath' ] : DIRECTORY_SEPARATOR.'langagues';85 $this->language_dir = preg_replace('#/+#','/', $this->dir.$this->relative_language_dir. DIRECTORY_SEPARATOR);84 $this->relative_language_dir = ( ! empty( $plugin_data[ 'DomainPath' ] ) ) ? $plugin_data[ 'DomainPath' ] : '/langagues'; 85 $this->language_dir = preg_replace('#/+#','/', $this->dir.$this->relative_language_dir.'/' ); 86 86 87 87 //init plugin … … 244 244 */ 245 245 public function get_assets_url(){ 246 return $this->url.'assets '.DIRECTORY_SEPARATOR;246 return $this->url.'assets/'; 247 247 } 248 248 … … 254 254 */ 255 255 public function get_assets_dir(){ 256 return $this->dir.'assets '.DIRECTORY_SEPARATOR;256 return $this->dir.'assets/'; 257 257 } 258 258 -
mywp-custom-login/trunk/class/whodunit/mywpCustomLogin/utility/Helpers.php
r2861575 r2965787 36 36 } 37 37 38 public function tailwind_field_text( $name, $id, $value = null, $options ){38 public function tailwind_field_text( $name, $id, $value = null, $options = [] ){ 39 39 $label = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false; 40 40 $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false; … … 60 60 } 61 61 62 public function tailwind_field_number( $name, $id, $value = null, $options ){62 public function tailwind_field_number( $name, $id, $value = null, $options = [] ){ 63 63 $label = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false; 64 64 $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false; … … 87 87 } 88 88 89 public function tailwind_field_select( $name, $id, $value = null, $options ){89 public function tailwind_field_select( $name, $id, $value = null, $options = [] ){ 90 90 if( ! isset( $options[ 'options' ] ) || ! is_array( $options[ 'options' ] ) ){ return; }; 91 91 $label = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false; … … 114 114 } 115 115 116 public function tailwind_field_checkbox( $name, $id, $value = null, $options ){116 public function tailwind_field_checkbox( $name, $id, $value = null, $options = [] ){ 117 117 $label = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false; 118 118 $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false; … … 139 139 } 140 140 141 public function tailwind_field_colorpicker( $name, $id, $value = null, $options ){141 public function tailwind_field_colorpicker( $name, $id, $value = null, $options = [] ){ 142 142 $label = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false; 143 143 $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false; … … 163 163 } 164 164 165 public function tailwind_field_media( $name, $id, $value = null, $options ){165 public function tailwind_field_media( $name, $id, $value = null, $options = [] ){ 166 166 $label = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false; 167 167 $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false; -
mywp-custom-login/trunk/mywp-custom-login.php
r2861575 r2965787 4 4 * Plugin URI: https://wordpress.org/plugins/mywp-custom-login/ 5 5 * Description: Customise WordPress login page 6 * Version: 0. 3.16 * Version: 0.4 7 7 * Author: Whodunit Agency 8 8 * Author URI: https://whodunit.fr/ -
mywp-custom-login/trunk/readme.txt
r2862019 r2965787 3 3 Requires at least: 6.1 4 4 Tested up to: 6.1 5 Stable tag: 0. 3.15 Stable tag: 0.4 6 6 Requires PHP: 5.3 7 7 License: GPLv2 or later … … 45 45 == Changelog == 46 46 47 0.3.1 48 Release bug fixes 49 - fix unresponsive settings checkbox 50 - fix css generation 51 52 0.3 53 Release candidate 47 0.4 48 fix url getter returning invalid url in a windows environment 49 fix settings helpler method declaration causing a deprecation notice
Note: See TracChangeset
for help on using the changeset viewer.