Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 5bd98f3

Browse files
committed
Needed fixes
Important PHP fixes...!
1 parent 61a2f69 commit 5bd98f3

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

includes/plugins-forms/items-contact-form-7.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function ddw_tbex_site_items_contact_form_7( $admin_bar ) {
268268
*
269269
* @param object $admin_bar Object of Toolbar nodes.
270270
*/
271-
function ddw_tbex_aoitems_new_content_cf7_form() {
271+
function ddw_tbex_aoitems_new_content_cf7_form( $admin_bar ) {
272272

273273
/** Bail early if items display is not wanted */
274274
if ( ! ddw_tbex_display_items_new_content() ) {

includes/plugins/items-smart-slider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
*
2525
* @uses ddw_tbex_use_tweak_smartslider()
2626
*
27-
* @param object $wp_admin_bar Holds all nodes of the Toolbar.
27+
* @param object $admin_bar Holds all nodes of the Toolbar.
2828
*/
29-
function ddw_tbex_site_items_smartslider( $wp_admin_bar ) {
29+
function ddw_tbex_site_items_smartslider( $admin_bar ) {
3030

3131
/** Bail early if Smart Slider 3 tweak should NOT be used */
3232
if ( ! ddw_tbex_use_tweak_smartslider() ) {
33-
return $wp_admin_bar;
33+
return $admin_bar;
3434
}
3535

3636
/** Re-hook for: Manage Content */
37-
$wp_admin_bar->add_node(
37+
$admin_bar->add_node(
3838
array(
3939
'id' => 'smart_slider_3', // same as original!
4040
'parent' => 'gallery-slider-addons',
@@ -59,7 +59,7 @@ function ddw_tbex_site_items_smartslider( $wp_admin_bar ) {
5959
*
6060
* @param object $admin_bar Object of Toolbar nodes.
6161
*/
62-
function ddw_tbex_site_items_smartslider_extend() {
62+
function ddw_tbex_site_items_smartslider_extend( $admin_bar ) {
6363

6464
$admin_bar->add_node(
6565
array(

includes/themes/items-ct-maranatha.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function ddw_tbex_themeitems_ct_maranatha( $admin_bar ) {
6363
*
6464
* @param object $admin_bar Object of Toolbar nodes.
6565
*/
66-
function ddw_tbex_themeitems_ct_maranatha_license() {
66+
function ddw_tbex_themeitems_ct_maranatha_license( $admin_bar ) {
6767

6868
$admin_bar->add_node(
6969
array(

includes/themes/items-kava.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function ddw_tbex_themeitems_kava( $admin_bar ) {
8282
*
8383
* @param object $admin_bar Object of Toolbar nodes.
8484
*/
85-
function ddw_tbex_themeitems_kava_customize() {
85+
function ddw_tbex_themeitems_kava_customize( $admin_bar ) {
8686

8787
$admin_bar->add_node(
8888
array(
@@ -273,7 +273,7 @@ function ddw_tbex_themeitems_kava_resources( $admin_bar ) {
273273
*
274274
* @param object $admin_bar Object of Toolbar nodes.
275275
*/
276-
function ddw_tbex_themeitems_kava_pro_settings() {
276+
function ddw_tbex_themeitems_kava_pro_settings( $admin_bar ) {
277277

278278
/** Bail early if Kava Premium extensions are not active */
279279
if ( ! ddw_tbex_is_addon_jetthemecore() && ! ddw_tbex_is_addon_kava_extra() ) {

includes/themes/items-rife.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ function ddw_tbex_themeitems_apollo13_framework( $admin_bar ) {
407407
*
408408
* @param object $admin_bar Object of Toolbar nodes.
409409
*/
410-
function ddw_tbex_themeitems_rife_resources() {
410+
function ddw_tbex_themeitems_rife_resources( $admin_bar ) {
411411

412412
/** Bail early if no resources display active */
413413
if ( ! ddw_tbex_display_items_resources( $admin_bar ) ) {

0 commit comments

Comments
 (0)