Permalink
Browse files

codex changes

  • Loading branch information...
bueltge committed Nov 3, 2014
1 parent e8aa06f commit 9d5368c76e8a92f1d27323ac2a0d0dacc1d57573
Showing with 31 additions and 24 deletions.
  1. +22 −17 inc/admin/class-branding.php
  2. +3 −3 inc/admin/custom-admin-branding.php
  3. +4 −2 inc/comments/comment.php
  4. +1 −1 os.xml
  5. +1 −1 style.css
@@ -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>
*/
@@ -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 ) {
@@ -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 ) {
@@ -122,7 +124,6 @@ public function login_head() {
/**
* Add custom stylesheet file from param
*
* @param String $url
* @return void
*/
public function add_stylesheet() {
@@ -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' );
}
/**
@@ -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 ) {
@@ -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 ) {
@@ -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
@@ -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 ) {
View
@@ -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 ) {
View
2 os.xml
@@ -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>
View
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset "UTF-8";
/**
* @package WordPress

0 comments on commit 9d5368c

Please sign in to comment.