Plugin Directory

Changeset 1457457


Ignore:
Timestamp:
07/20/2016 10:02:21 AM (10 years ago)
Author:
clicface
Message:

Forcing Permalink structure update after plugin activation to avoid 404 errors

Location:
clicface-trombi
Files:
28 added
3 edited

Legend:

Unmodified
Added
Removed
  • clicface-trombi/trunk/clicface-trombi.php

    r1455017 r1457457  
    44Plugin URI: https://plugins.clicface.com/
    55Description: A great plugin for WordPress that creates a directory of all your employees.
    6 Version: 2.01
     6Version: 2.02
    77Author: Clicface
    88Author URI: https://plugins.clicface.com/
     
    2727        wp_enqueue_style( 'clicface-trombi-admin-style', plugin_dir_url( __FILE__ ) . 'css/clicface-trombi-admin-styles.css' );
    2828    }
     29}
     30
     31register_activation_hook( __FILE__, 'clicface_trombi_activate' );
     32function clicface_trombi_activate() {
     33    clicface_trombi_register_cpt_collaborateur();
     34    flush_rewrite_rules();
    2935}
    3036
     
    522528<?php
    523529        }
    524         echo '<ul>';
     530        echo '<div class="clicface-field-container"><div class="clicface-label-container"></div><div class="clicface-field"></div></div>';
    525531    }
    526532   
     
    609615}
    610616
    611 function clicface_trombi_page_tabs($current = 'first') {
     617function clicface_trombi_page_tabs($current = 'general') {
    612618    $tabs = array(
    613619        'general'   => __( 'General', 'clicface-trombi' ),
     
    871877                                    <span><?php _e('No', 'clicface-trombi'); ?></span>
    872878                                </label>
    873 
    874879                            </li>
    875880                        </ul>
  • clicface-trombi/trunk/includes/class-collaborateur.php

    r1454412 r1457457  
    8484                $this->PhotoThumbnail = NULL;
    8585                $this->PhotoLarge = NULL;
    86             }           
     86            }
    8787            if ( $this->PhotoThumbnail == NULL ) {
    8888                $clicface_trombi_settings = get_option('clicface_trombi_settings');
  • clicface-trombi/trunk/readme.txt

    r1454412 r1457457  
    55Requires at least: 2.9.2
    66Tested up to: 4.5.3
    7 Stable tag: 2.01
     7Stable tag: 2.02
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8585
    8686== Changelog ==
     87= 2.02 =
     88* Forcing Permalink structure update after plugin activation to avoid 404 errors
     89
    8790= 2.01 =
    8891* Removing Piklist dependency
Note: See TracChangeset for help on using the changeset viewer.