Plugin Directory

Changeset 2965787


Ignore:
Timestamp:
09/12/2023 10:15:34 AM (3 years ago)
Author:
bmartinent
Message:

update à.4

Location:
mywp-custom-login
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • mywp-custom-login/tags/0.4/mywp-custom-login.php

    r2965780 r2965787  
    44 * Plugin URI: https://wordpress.org/plugins/mywp-custom-login/
    55 * Description: Customise WordPress login page
    6  * Version: 0.3.1
     6 * Version: 0.4
    77 * Author: Whodunit Agency
    88 * Author URI: https://whodunit.fr/
  • mywp-custom-login/trunk/changelog.txt

    r2861461 r2965787  
    11== Changelog ==
    22
    3 0.0.3
     30.4
     4fix url getter returning invalid url in a windows environment
     5fix settings helpler method declaration causing a deprecation notice
     6
     70.3.1
     8Release bug fixes
     9- fix unresponsive settings checkbox
     10- fix css generation
     11
     120.3
    413Release candidate
  • mywp-custom-login/trunk/class/whodunit/mywpCustomLogin/Plugin.php

    r2861461 r2965787  
    8282        $this->minimum_wp_version    = ( ! empty( $plugin_data[ 'RequireWP' ] ) ) ? $plugin_data[ 'RequireWP' ] : '6.0';
    8383        $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.'/' );
    8686
    8787        //init plugin
     
    244244     */
    245245    public function get_assets_url(){
    246         return $this->url.'assets'.DIRECTORY_SEPARATOR;
     246        return $this->url.'assets/';
    247247    }
    248248
     
    254254     */
    255255    public function get_assets_dir(){
    256         return $this->dir.'assets'.DIRECTORY_SEPARATOR;
     256        return $this->dir.'assets/';
    257257    }
    258258
  • mywp-custom-login/trunk/class/whodunit/mywpCustomLogin/utility/Helpers.php

    r2861575 r2965787  
    3636    }
    3737
    38     public function tailwind_field_text( $name, $id, $value = null, $options ){
     38    public function tailwind_field_text( $name, $id, $value = null, $options = [] ){
    3939        $label = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false;
    4040        $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false;
     
    6060    }
    6161
    62     public function tailwind_field_number( $name, $id, $value = null, $options ){
     62    public function tailwind_field_number( $name, $id, $value = null, $options = [] ){
    6363        $label = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false;
    6464        $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false;
     
    8787    }
    8888
    89     public function tailwind_field_select( $name, $id, $value = null, $options ){
     89    public function tailwind_field_select( $name, $id, $value = null, $options = [] ){
    9090        if( ! isset( $options[ 'options' ] ) || ! is_array( $options[ 'options' ] ) ){ return; };
    9191        $label       = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false;
     
    114114    }
    115115
    116     public function tailwind_field_checkbox( $name, $id, $value = null, $options ){
     116    public function tailwind_field_checkbox( $name, $id, $value = null, $options = [] ){
    117117        $label       = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false;
    118118        $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false;
     
    139139    }
    140140
    141     public function tailwind_field_colorpicker( $name, $id, $value = null, $options ){
     141    public function tailwind_field_colorpicker( $name, $id, $value = null, $options = [] ){
    142142        $label       = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false;
    143143        $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false;
     
    163163    }
    164164
    165     public function tailwind_field_media( $name, $id, $value = null, $options ){
     165    public function tailwind_field_media( $name, $id, $value = null, $options = [] ){
    166166        $label       = ( isset( $options[ 'label' ] ) ) ? $options[ 'label' ] : false;
    167167        $description = ( isset( $options[ 'description' ] ) ) ? $options[ 'description' ] : false;
  • mywp-custom-login/trunk/mywp-custom-login.php

    r2861575 r2965787  
    44 * Plugin URI: https://wordpress.org/plugins/mywp-custom-login/
    55 * Description: Customise WordPress login page
    6  * Version: 0.3.1
     6 * Version: 0.4
    77 * Author: Whodunit Agency
    88 * Author URI: https://whodunit.fr/
  • mywp-custom-login/trunk/readme.txt

    r2862019 r2965787  
    33Requires at least: 6.1
    44Tested up to: 6.1
    5 Stable tag: 0.3.1
     5Stable tag: 0.4
    66Requires PHP: 5.3
    77License: GPLv2 or later
     
    4545== Changelog ==
    4646
    47 0.3.1
    48 Release bug fixes
    49 - fix unresponsive settings checkbox
    50 - fix css generation
    51 
    52 0.3
    53 Release candidate
     470.4
     48fix url getter returning invalid url in a windows environment
     49fix settings helpler method declaration causing a deprecation notice
Note: See TracChangeset for help on using the changeset viewer.