Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions inc/2014/attachment-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class UW_Attachment_Meta {
const POSITION = 'side';
const PRIORITY = 'core';

public $HIDDEN;

function __construct() {
$this->HIDDEN = array( 'No Sidebar' );
add_action( 'add_meta_boxes', array( $this, 'replace_meta_box' ) );
Expand Down
11 changes: 11 additions & 0 deletions inc/2014/class.uw.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
*/
class UW {

public $UW_Dropdowns;
public $SidebarMenuWalker;
public $UW_Audience;
public $Quicklinks;
public $SquishBugs;
public $UW_Page_Meta;
public $UW_MegaMenu;
public $UW_FooterMenu;
public $UW_Media_Credit;
public $UW_Attachment_Meta;

function __construct() {
$this->includes();
$this->initialize();
Expand Down
2 changes: 2 additions & 0 deletions inc/2014/page-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ class UW_Page_Meta {
const POSITION = 'side';
const PRIORITY = 'core';

public $HIDDEN;

function __construct() {
$this->HIDDEN = array( 'No Sidebar' );
add_action( 'add_meta_boxes', array( $this, 'replace_meta_box' ) );
Expand Down
3 changes: 3 additions & 0 deletions inc/nav/footermenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class UW_FooterMenu {
const DEFAULT_STATUS = 'publish';
const ALLOWED_BLOG = 1;

public $MULTISITE;
public $menu_items;
public $MENU_ID;

function __construct() {
$this->MULTISITE = is_multisite();
Expand Down
3 changes: 3 additions & 0 deletions inc/nav/purplebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ class UW_Audience
const DISPLAY_NAME = 'Audience menu';
const DEFAULT_STATUS = 'publish';

public $menu_items;
public $MENU_ID;

function __construct() {
$this->menu_items = array();
add_action( 'after_setup_theme', array( $this, 'register_purple_bar_menu' ) );
Expand Down
2 changes: 2 additions & 0 deletions inc/nav/quicklinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class UW_QuickLinks {
const LOCATION = 'quick-links';
const ALLOWED_BLOG = 1;

public $MULTISITE;

function __construct() {
$this->MULTISITE = is_multisite();

Expand Down
3 changes: 3 additions & 0 deletions inc/nav/whitebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ class UW_Dropdowns
const DISPLAY_NAME = 'Dropdowns';
const DEFAULT_STATUS = 'publish';

public $menu_items;
public $MENU_ID;

function __construct()
{
$this->menu_items = array();
Expand Down
2 changes: 1 addition & 1 deletion inc/shortcodes/class.media-credit.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function __construct() {
* editor
*/

function add_media_credit_shortcode_to_tinymce( $plugins ) {
function add_media_credit_shortcode_to_tinymce( $plugin_array ) {
if ( is_admin() ) {
$plugin_array[ 'mediacredit' ] = get_template_directory_uri() . '/assets/admin/js/media-credit.js';
}
Expand Down
2 changes: 2 additions & 0 deletions inc/shortcodes/class.trumba-shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

class UW_Trumba
{
public $TrumbaAdded;

function __construct()
{
$this->TrumbaAdded = false;
Expand Down
2 changes: 1 addition & 1 deletion inc/wp-bootstrap-megamenu-navwalker.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function end_el( &$output, $item, $depth = 0, $args = array() ) {
* Display Element
*
*/
public function display_element( $element, &$children_elements, $max_depth, $depth = 0, $args, &$output ) {
public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
if ( ! $element ) {
return;
}
Expand Down