Skip to content

Commit

Permalink
fix shortcode desc
Browse files Browse the repository at this point in the history
  • Loading branch information
rene-hermenau committed Mar 14, 2016
1 parent 6042e5c commit 56ce478
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ module.exports = function(grunt) {
uglify: {
build: {
files:[
{'assets/js/quads-admin.min.js' : 'assets/js/quads-admin.js'},
{'assets/js/quads.min.js' : 'assets/js/quads.js'},
{'assets/js/quads-admin.min.js' : 'assets/js/quads-admin.js'}
]
}
},
Expand Down
20 changes: 10 additions & 10 deletions includes/admin/settings/register-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,74 +185,74 @@ function quads_get_registered_settings() {
array(
'id' => 'ad1',
'name' => __( 'Ad 1:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="1"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="1"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="1"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="1"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),

),
array(
'id' => 'ad2',
'name' => __( 'Ad 2:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="2"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="2"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="2"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="2"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),

),
array(
'id' => 'ad3',
'name' => __( 'Ad 3:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="3"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="3"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="3"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="3"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),

),
array(
'id' => 'ad4',
'name' => __( 'Ad 4:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="4"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="4"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="4"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="4"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),

),
array(
'id' => 'ad5',
'name' => __( 'Ad 5:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="1"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="1"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="5"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="5"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),
),
array(
'id' => 'ad6',
'name' => __( 'Ad 6:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="6"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="6"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="6"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="6"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),
),
array(
'id' => 'ad7',
'name' => __( 'Ad 7:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="7"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="7"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="7"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="7"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),
),
array(
'id' => 'ad8',
'name' => __( 'Ad 8:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="8"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="8"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="8"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="8"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),
),
array(
'id' => 'ad9',
'name' => __( 'Ad 9:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="9"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="9"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="9"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="9"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),
),
array(
'id' => 'ad10',
'name' => __( 'Ad 10:', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="10"] </strong></br>Function: <strong>echo do_shortcode[\'[quads id="10"]\'];</strong>', 'quick-adsense-reloaded' ),
'desc' => __( 'Shortcode: <strong>[quads id="10"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="10"]\');</strong>', 'quick-adsense-reloaded' ),
'type' => 'adsense_code',
'options' => quads_get_alignment(),
),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quick-adsense-reloaded",
"version": "1.0.6",
"version": "1.0.7",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-clean": "~0.6.0",
Expand Down
4 changes: 2 additions & 2 deletions quick-adsense-reloaded.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Insert Google AdSense or any Ads code into your website. A fork of Quick AdSense
* Author: Rene Hermenau, WP-Staging
* Author URI: https://wordpress.org/plugins/quick-adsense-reloaded/
* Version: 1.0.6
* Version: 1.0.7
* Text Domain: quick-adsense-reloaded
* Domain Path: languages
* Credits: WP QUADS - Quick AdSense Reloaded is a fork of Quick AdSense
Expand Down Expand Up @@ -34,7 +34,7 @@

// Plugin version
if (!defined('QUADS_VERSION')) {
define('QUADS_VERSION', '1.0.6');
define('QUADS_VERSION', '1.0.7');
}

// Define some globals
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: advertising, ads, adsense, google, google adsense, posts, post, page, sidebar, shortcode, admin, plugin
Requires at least: 3.6+
Tested up to: 4.5
Stable tag: 1.0.6
Stable tag: 1.0.7

Quick Adsense Reloaded! The quickest way to insert Google AdSense and other ads code into your website.

== Description ==

> #### WP QUADS - Quick AdSense Reloaded
> #### WP QUADS - Quick AdSense Reloaded
> This free Google AdSense plugin is a fork of the discontinued AdSense ads plugin [Quick AdSense](https://wordpress.org/plugins/quick-adsense/) <br />
> Its rewritten from scratch with a solid code base and will be maintained and updated to be compatible with all future WordPress versions<br />
> This plugin is brandnew, well tested but still work in progress! <br>
Expand Down Expand Up @@ -111,6 +111,9 @@ Alternative Installation:

== Changelog ==

= 1.0.7 =
* Fix: Change shortcode description to echo do_shortcode('[quads id="4"]');

= 1.0.6 =
* Fix: Url to widget section leads to 127.0.0.1

Expand Down

0 comments on commit 56ce478

Please sign in to comment.