Skip to content

Commit

Permalink
0.11
Browse files Browse the repository at this point in the history
syncing git/svn
  • Loading branch information
staude committed Mar 2, 2017
1 parent 28db0bc commit 55071fa
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions class-disable-author-pages.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
Copyright 2014-2016 Frank Staude (email : frank@staude.net)
Copyright 2014-2017 Frank Staude (email : frank@staude.net)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -200,7 +200,7 @@ static public function create_options_disable_author_menu() {
* @return mixed
* @since 0.10
*/
function plugin_settings_link( $links ) {
static public function plugin_settings_link( $links ) {
$settings_link = '<a href="options-general.php?page=disable-author-pages%2Fclass-disable-author-pages.php">' . __('Settings', 'disable-author-pages') . '</a>';
array_unshift($links, $settings_link);
return $links;
Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if git show-ref --quiet --tags --verify -- "refs/tags/$NEWVERSION1"
echo
fi

cd $GITPATH
cd "$GITPATH"

echo -n "Saving previous Git tag version..."
PREVTAG=`git describe --tags \`git rev-list --tags --max-count=1\``
Expand Down
2 changes: 1 addition & 1 deletion disable-author-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: https://staude.net/wordpress/plugins/disable-author-pages/
* Description: Disable the author pages in WordPress and redirect to the homepage.
* Author: Frank Staude
* Version: 0.10
* Version: 0.11
* Text Domain: disable-author-pages
* Domain Path: languages
* Author URI: https://staude.net/
Expand Down
11 changes: 6 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://staude.net/donate/
Tags: widgets, page, post, sidebar, shortcode
Requires at least: 3.0
Tested up to: 4.7.2
Stable tag: 0.10
Stable tag: 0.11
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -14,9 +14,6 @@ Disable the author pages

Disable the author pages ( /author=? ) in wordpress and redirect the user to another page.

Entrys in the changelog with numbers means the ticket id on http://bugs.staude.net



== Installation ==

Expand All @@ -28,7 +25,7 @@ Entrys in the changelog with numbers means the ticket id on http://bugs.staude.n

= I have a new translation =

Send them by e-mail to frank@staude.net, I will then install the next update with.
Translations are handled via https://translate.wordpress.org/projects/wp-plugins/disable-author-pages

= I found a bug =

Expand All @@ -39,6 +36,10 @@ Please report it at https://github.com/staude/disable-author-pages/issues
Please report it at https://github.com/staude/disable-author-pages/issues

== Changelog ==
= 0.11 =
- version tagging sync github / wordpress.org svn. Thanks to swissspidy
- fix: notice plugin_settings_link not static. Thanks to swissspidy

= 0.10 =
- DB clean up on uninstall
- added settings list on pluginlist
Expand Down

0 comments on commit 55071fa

Please sign in to comment.