Plugin Directory

Changeset 650601


Ignore:
Timestamp:
01/10/2013 08:43:39 AM (13 years ago)
Author:
dacmail
Message:

Corregida incompatibilidad con algunos themes que ya tenían declarada la función add_button()

Location:
boton-fixmedia/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boton-fixmedia/trunk/fixmedia.php

    r627098 r650601  
    22/*
    33Plugin Name: Botón Fixmedia
    4 Version: 0.5
     4Version: 0.6
    55Plugin URI: http://fixmedia.org
    66Description: Añade el botón de "fixear" a cada post del blog.
     
    1111*/
    1212
    13 add_filter('the_content','add_button');
    14 function add_button($content) {
     13add_filter('the_content','fixmedia_add_button');
     14function fixmedia_add_button($content) {
    1515    $options = get_option('fixmedia_options');
    1616    return $content . '<div class="fix_button_wrapper">
  • boton-fixmedia/trunk/readme.txt

    r627104 r650601  
    44Requires at least: 3.0
    55Tested up to: 3.4.2
    6 Stable tag: 0.5
     6Stable tag: 0.6
    77License: GPLv2
    88
     
    3232== Changelog ==
    3333
     34= 0.6 =
     35* Corregida incompatibilidad con algunos themes que ya usaban la función add_button()
    3436= 0.5 =
    3537* El botón ahora se añade en un div.fix_button_wrapper, por lo que se le pueden dar estilos a través de CSS
Note: See TracChangeset for help on using the changeset viewer.