Plugin Directory

Changeset 632240


Ignore:
Timestamp:
11/30/2012 03:26:51 PM (13 years ago)
Author:
OptimalDevs
Message:

Fix SVN tags problem.

Location:
creative-commons-generator
Files:
11 added
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • creative-commons-generator/tags/1.1/ccg-admin.php

    r632209 r632240  
    1414
    1515function ccg_set_default() {
    16     if ( !get_option( 'ccg_options' ) ) {
     16    if ( !get_option('ccg_options') ) {
    1717        $ccg_options = array();
    1818        $ccg_options['active'] = TRUE;
  • creative-commons-generator/tags/1.1/ccg-frontend.php

    r632209 r632240  
    11<?php
    22function ccg_display($content) {
    3     if( is_single() ) {
     3    if(is_single()) {
    44        global $post;
    5         if ( get_post_meta( $post->ID, '_ccg_options' ) )   $content .= ccg_get_banner( get_post_meta( $post->ID, '_ccg_options', true ), 'meta_exist' );
    6         else    $content .= ccg_get_banner( get_option( 'ccg_options' ), 'no_meta' );
     5        if ( get_post_meta( $post->ID, '_ccg_options' ) )   $content = $content . ccg_get_banner( get_post_meta( $post->ID, '_ccg_options', true ), "meta_exist" );
     6        else    $content = $content . ccg_get_banner( get_option( 'ccg_options' ), "no_meta" );
    77    }
    88    return $content;
    99}
    10 add_filter( 'the_content', 'ccg_display', 100 );
     10add_filter( 'the_content', 'ccg_display' );
    1111?>
  • creative-commons-generator/tags/1.1/ccg-post-options.php

    r632209 r632240  
    11<?php
    22add_action( 'admin_init', 'ccg_add_meta_box', 1 );
    3 add_action( 'save_post', 'ccg_save_post_data' );
     3add_action('save_post', 'ccg_save_post_data');
    44
    55function ccg_add_meta_box() {
     
    3838        echo ccg_get_banner( $ccg_old_options, "publish" );
    3939    }
     40   
     41    // Preview
     42   
    4043   
    4144?>
  • creative-commons-generator/tags/1.1/readme.txt

    r632209 r632240  
    4848
    4949= 1.1 =
    50 * Added uninstall.php file.
    51 * the_content display filter priority has upload to 100.
    52 
    53 = 1.0 =
    5450* Initial release
  • creative-commons-generator/trunk/readme.txt

    r632209 r632240  
    55Requires at least: 2.8
    66Tested up to: 3.4.5
    7 Stable tag: 1.1
     7Stable tag: 1.2
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    4747== Changelog ==
    4848
    49 = 1.1 =
     49= 1.2 =
    5050* Added uninstall.php file.
    5151* the_content display filter priority has upload to 100.
    5252
    53 = 1.0 =
     53= 1.1 =
    5454* Initial release
Note: See TracChangeset for help on using the changeset viewer.