Skip to content

Commit

Permalink
codex cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bueltge committed Jan 4, 2018
1 parent dcdd317 commit 152e44e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions inc/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
*/

/**
* Set namespace to encapsulating items
* @link http://www.php.net/manual/en/language.namespaces.rationale.php
* Set namespace to encapsulating items.
*
* @link http://www.php.net/manual/en/language.namespaces.rationale.php
* @since 2012-05-08 0.0.1
* @version 2012-05-08
* @author Frank Bültge <frank@bueltge.de>
Expand Down Expand Up @@ -50,4 +50,4 @@ public function get_prefix() {
return $this->prefix;
}

} // end class
} // end class
6 changes: 3 additions & 3 deletions inc/Gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/

/**
* Set namespace to encapsulating items
* @link http://www.php.net/manual/en/language.namespaces.rationale.php
* Set namespace to encapsulating items.
*
* @link http://www.php.net/manual/en/language.namespaces.rationale.php
* @since 2018-01-03
* @version 2018-01-03
* @author Frank Bültge <frank@bueltge.de>
Expand Down Expand Up @@ -93,4 +93,4 @@ public function enqueue_style() {
wp_enqueue_style( 'wp_basis_gutenberg' );
}

}
}
10 changes: 5 additions & 5 deletions widgets/Widgets_Init.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php
/**
* Init wor Widgetized area.
*
*
* @package WP Basis
* @since 06/05/2012 0.0.1
* @version 06/05/2012
* @author Frank Bültge <frank@bueltge.de>
* @author Frank Bültge <frank@bueltge.de>
*/

/**
* Set namespace to encapsulating items
* Set namespace to encapsulating items.
*
* @link http://www.php.net/manual/en/language.namespaces.rationale.php
*
* @since 06/05/2012 0.0.1
* @version 06/05/2012
* @author Frank Bültge <frank@bueltge.de>
Expand All @@ -21,6 +21,7 @@
// Add theme support for selective refresh for widgets.
add_theme_support( 'customize-selective-refresh-widgets' );

add_action( 'widgets_init', __NAMESPACE__ . '\\widgets_init' );
/**
* Register widgetized area and update sidebar with default widgets
*
Expand All @@ -29,7 +30,6 @@
* @author Frank Bültge <frank@bueltge.de>
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
*/
add_action( 'widgets_init', __NAMESPACE__ . '\\widgets_init' );
function widgets_init() {

register_sidebar( array(
Expand Down

0 comments on commit 152e44e

Please sign in to comment.