Plugin Directory

Changeset 1002961


Ignore:
Timestamp:
10/07/2014 01:46:58 AM (11 years ago)
Author:
alyssonweb
Message:

Fix php error

Location:
dynamics-sidebars/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • dynamics-sidebars/trunk/dynamics-sidebars.php

    r587537 r1002961  
    77 * Author Name: Alysson Bortoli
    88 * Author URI: http://twitter.com/akbortoli
    9  * Version: 1.0.6
     9 * Version: 1.0.7
    1010 * License: GPLv2 or later
    1111 */
    1212
    13 /*  Copyright 2012  Alysson Bortoli  (email : alysson.web@gmail.com)
     13/*  Copyright 2012  Alysson Bortoli  (email : akbortoli@gmail.com)
    1414
    1515    This program is free software; you can redistribute it and/or modify
  • dynamics-sidebars/trunk/includes/class-dynamic-sidebars.php

    r587537 r1002961  
    9696     * @return object
    9797     */
    98     public function get_instance()
     98    public static function get_instance()
    9999    {
    100100        if ( empty( self::$instance ) ) {
     
    508508                'description'   => sprintf( __( '%s widget area', DS_PLUGIN_I18N_DOMAIN ), ucfirst( $sidebar->name ) ),
    509509                'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    510                 'after_widget'  => '</li>', 'after_widget',
     510                'after_widget'  => '</li>',
    511511                'before_title'  => '<h3 class="widget-title">',
    512                 'after_title'   => '</h3>', 'after_title',
     512                'after_title'   => '</h3>',
    513513            );
    514514
  • dynamics-sidebars/trunk/readme.txt

    r587537 r1002961  
    11=== Dynamics Sidebars ===
    22
    3 Contributors: alyssonweb
     3Contributors: alyssonweb, akbortoli
    44Tags: sidebar, custom, dynamic, widget, different
    55Requires at least: 3.0
    6 Tested up to: 3.4.1
    7 Stable tag: 1.0.6
     6Tested up to: 4.0
     7Stable tag: 1.0.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6NTZTQUPXP8F2
    1111
    12 Have a custom sidebar (widget area) for every pages, posts and/or custom post types.
    13 
     12DS adds functionality to display different widgets in a sidebar, according to a context (for example, a specific page).
    1413
    1514== Description ==
    1615
    17 Want your pages, posts and/or custom post types to have different sidebar?
    18 An awesome plugin that let you have a custom sidebar (widget area) for every page, post and/or custom post type.
     16With DS, it's possible to change the widgets that display in a sidebar (widgetized area) according to a context (for example, a specific page). Setting up a custom widget area to display across multiple conditions is as easy as a few clicks and code changes.
    1917
    2018[Documentation](https://github.com/alyssonweb/wp-dynamics-sidebars/wiki) | [Support Forum](https://github.com/alyssonweb/wp-dynamics-sidebars/issues)
     
    9694            'description'   => "$sidebar_name widget area",
    9795            'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    98             'after_widget'  => '</li>', 'after_widget',
     96            'after_widget'  => '</li>',
    9997            'before_title'  => '<h3 class="widget-title">',
    100             'after_title'   => '</h3>', 'after_title',
     98            'after_title'   => '</h3>',
    10199        );
    102100
     
    105103?>`
    106104
    107 [Documentation](https://github.com/alyssonweb/wp-dynamics-sidebars/wiki) | [Support Forum](https://github.com/alyssonweb/wp-dynamics-sidebars/issues)
     105[Documentation](https://github.com/akbortoli/wp-dynamics-sidebars/wiki) | [Support Forum](https://github.com/akbortoli/wp-dynamics-sidebars/issues)
    108106
    109107**Don't forget to check the 'Other Notes' tab for a list of all function and hook you can use.**
     
    114112
    115113* Requires at least: 3.0
    116 * Tested up to: 3.4.1
     114* Tested up to: 4.0
    117115
    118116**Install**
     
    137135
    138136== Changelog ==
     137
     138= 1.0.7 =
     139
     140* Fix Strict Standards: Non-static method Dynamic_Sidebars::get_instance() should not be called statically in /home/public_html/wp-content/plugins/dynamics-sidebars/dynamics-sidebars.php on line 52
     141
     142Thanks to @[leninkster](https://profiles.wordpress.org/leninkster/)
    139143
    140144= 1.0.6 =
Note: See TracChangeset for help on using the changeset viewer.