Plugin Directory

Changeset 1773831


Ignore:
Timestamp:
11/23/2017 08:43:37 AM (8 years ago)
Author:
jasie
Message:

updated private variables in Admin and Public class

Location:
widget-pagination/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • widget-pagination/trunk/admin/class-widget-pagination-admin.php

    r1773270 r1773831  
    3333
    3434    /**
     35     * The short ID of this plugin.
     36     *
     37     * @since    1.0.0
     38     * @access   private
     39     * @var      string    $plugin_short    The short ID of this plugin.
     40     */
     41    private $plugin_short;
     42
     43    /**
    3544     * The version of this plugin.
    3645     *
     
    4655     * @since    1.0.0
    4756     * @access   private
    48      * @var      string    $widgets    The current version of this plugin.
     57     * @var      array    $widgets    The default wordpress widgets.
     58     * @todo merge with duplicate in Widget_Pagination_Public class
    4959     */
    5060    private $widgets = array(
     
    5565        'widget_recent_comments' => 'Recent Comments',
    5666        'widget_meta' => 'Meta',
    57         'widget_pages' => 'Pages'
     67        'widget_pages' => 'Pages',
     68        'widget_nav_menu' => 'Custom Menu'
    5869    );
    5970
     
    6374     * @since    1.0.0
    6475     * @access   private
    65      * @var      string    $styles    The current version of this plugin.
     76     * @var      array    $styles    Styles for pagination appearance.
     77     * @todo merge with duplicate in Widget_Pagination_Public class
    6678     */
    6779    private $styles = array(
  • widget-pagination/trunk/public/class-widget-pagination-public.php

    r1772382 r1773831  
    3333
    3434    /**
     35     * The short ID of this plugin.
     36     *
     37     * @since    1.0.0
     38     * @access   private
     39     * @var      string    $plugin_short    The short ID of this plugin.
     40     */
     41    private $plugin_short;
     42
     43    /**
    3544     * The version of this plugin.
    3645     *
     
    4049     */
    4150    private $version;
     51
     52    /**
     53     * The widgets.
     54     *
     55     * @since    1.0.0
     56     * @access   private
     57     * @var      array    $widgets    The default wordpress widgets.
     58     * @todo merge with duplicate in Widget_Pagination_Public class
     59     */
     60    private $widgets = array(
     61        'widget_links' => 'Links',
     62        'widget_categories' => 'Categories',
     63        'widget_archive' => 'Archive',
     64        'widget_recent_entries' => 'Recent Posts',
     65        'widget_recent_comments' => 'Recent Comments',
     66        'widget_meta' => 'Meta',
     67        'widget_pages' => 'Pages',
     68        'widget_nav_menu' => 'Custom Menu'
     69    );
     70
     71    /**
     72     * The widget styles.
     73     *
     74     * @since    1.0.0
     75     * @access   private
     76     * @var      array    $styles    Styles for pagination appearance.
     77     * @todo merge with duplicate in Widget_Pagination_Public class
     78     */
     79    private $styles = array(
     80        'color'            => 'Text Colour',
     81        'border-color'     => 'Border Colour',
     82        'background-color' => 'Background Colour',
     83        'font-size'        => 'Font Size'
     84    );
    4285
    4386    /**
Note: See TracChangeset for help on using the changeset viewer.