Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
codex changes
  • Loading branch information
bueltge committed Nov 3, 2014
1 parent e8aa06f commit 9d5368c
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 24 deletions.
39 changes: 22 additions & 17 deletions inc/admin/class-branding.php
Expand Up @@ -4,8 +4,8 @@
*
* @package WordPress
* @subpackage WordPress_Basis_Theme
* @since 05/31/2012 0.0.1
* @version 01/07/2013
* @since 2012-05-31 0.0.1
* @version 2013-01-07
* @author Frank Bültge <frank@bueltge.de>
*/

Expand Down Expand Up @@ -77,7 +77,8 @@ public function __construct( $args = array() ) {
/**
* Change the `login_headerurl` to whatever was specified in $args
*
* @access public
* @param $url
* @return string
*/
public function login_headerurl( $url ) {

Expand All @@ -87,7 +88,8 @@ public function login_headerurl( $url ) {
/**
* Change `login_headerurl` to what was specified in the $args
*
* @access public
* @param $title
* @return string|void
*/
public function login_headertitle( $title ) {

Expand Down Expand Up @@ -122,7 +124,6 @@ public function login_head() {
/**
* Add custom stylesheet file from param
*
* @param String $url
* @return void
*/
public function add_stylesheet() {
Expand All @@ -132,7 +133,7 @@ public function add_stylesheet() {

$style = esc_url( $this->args['login_style'] );

wp_enqueue_style( 'wp-basis-login-branding', $style, FALSE, '02-15-2013', 'screen' );
wp_enqueue_style( 'wp-basis-login-branding', $style, array(), '02-15-2013', 'screen' );
}

/**
Expand Down Expand Up @@ -169,7 +170,8 @@ public function login_footer() {
* Adds the designer link (`$args['designer_url']` & `args['designer_anchor`])
* to the admin footer.
*
* @access public
* @param $text
* @return string
*/
public function admin_footer_text( $text ) {

Expand All @@ -184,7 +186,7 @@ public function admin_footer_text( $text ) {
/**
* Maybe removes the "W" logo from the admin menu
*
* @access public
* @param $admin_bar
*/
public function admin_bar_menu( $admin_bar ) {

Expand Down Expand Up @@ -226,15 +228,18 @@ public function remove_gravatar() {
* @access protected
*/
protected function designer_link() {

if ( $this->args['designer_url'] && $this->args['designer_anchor'] ) {
return sprintf(
'<a href="%1$s" title="%2$s" rel="external">%2$s</a>',
esc_url( $this->args['designer_url'] ),
esc_attr( $this->args['designer_anchor'] )
);
}


if ( ! $this->args['designer_url'] )
return NULL;

if ( ! $this->args['designer_anchor'] )
return NULL;

return sprintf(
'<a href="%1$s" title="%2$s" rel="external">%2$s</a>',
esc_url( $this->args['designer_url'] ),
esc_attr( $this->args['designer_anchor'] )
);
}

} // end class
6 changes: 3 additions & 3 deletions inc/admin/custom-admin-branding.php
Expand Up @@ -35,10 +35,10 @@
/**
* Disable plugin update notifications
*
* @param unknown_type $value
* @since 01/07/2013
* @param $value
* @since 2013-01-07
* @link http://dd32.id.au/2011/03/01/disable-plugin-update-notification-for-a-specific-plugin-in-wordpress-3-1/
* @retrun array string $value
* @return array string $value
*/
function Wp_Basis_remove_update_nag( $value ) {

Expand Down
6 changes: 4 additions & 2 deletions inc/comments/comment.php
Expand Up @@ -27,8 +27,10 @@
* Used as a callback by wp_list_comments() for displaying the comments.
*
* @since 2012-05-08 0.0.1
* @version 06/05/2012
* @author Automattic, fb
* @version 2012-06-05
* @param $comment
* @param $args
* @param $depth
*/
function get_comment( $comment, $args, $depth ) {

Expand Down
2 changes: 1 addition & 1 deletion os.xml
Expand Up @@ -2,7 +2,7 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>bueltge.de [by:ltge.de]</ShortName>
<Description>Use bueltge.de to search on blog.</Description>
<Url type="text/html" method="get" template="http://bueltge.de/?s={searchTerms}"></Url>
<Url type="text/html" method="get" template="http://bueltge.de/?s={searchTerms}"/>
<Contact>info@bueltge.de</Contact>
<LongName>bueltge.de [by:ltge.de] Weblog Search</LongName>
<Image height="16" width="16" type="image/x-icon">http://bueltge.de/favicon.ico</Image>
Expand Down
2 changes: 1 addition & 1 deletion style.css
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset "UTF-8";

/**
* @package WordPress
Expand Down

0 comments on commit 9d5368c

Please sign in to comment.