WordPress.org

Plugin Directory

Changeset 1534031


Ignore:
Timestamp:
11/14/16 22:55:25 (12 months ago)
Author:
greenshady
Message:

Quick fix for existing bug. Custom Content Portfolio 2.0.1.

Location:
custom-content-portfolio
Files:
88 added
3 edited

Legend:

Unmodified
Added
Removed
  • custom-content-portfolio/trunk/changelog.md

    r1533822 r1534031  
    11# Change Log 
    22 
    3 ## [2.0.0] - 
     3## [2.0.1] - 2016-11-14 
     4 
     5### Fixed 
     6 
     7* Meta keys were switched on activation callback for correcting old portfolio project URLs. 
     8 
     9## [2.0.0] - 2016-11-14 
    410 
    511### Added 
  • custom-content-portfolio/trunk/portfolio.php

    r1533822 r1534031  
    44 * Plugin URI:  http://themehybrid.com/plugins/custom-content-portfolio 
    55 * Description: Portfolio manager for WordPress.  This plugin allows you to manage, edit, and create new portfolio items in an unlimited number of portfolios. 
    6  * Version:     2.0.0 
     6 * Version:     2.0.1 
    77 * Author:      Justin Tadlock 
    88 * Author URI:  http://themehybrid.com 
     
    2525 * 
    2626 * @package   CustomContentPortfolio 
    27  * @version   2.0.0 
     27 * @version   2.0.1 
    2828 * @author    Justin Tadlock <justintadlock@gmail.com> 
    2929 * @copyright Copyright (c) 2013-2016, Justin Tadlock 
     
    243243        global $wpdb; 
    244244 
    245         $wpdb->query( "UPDATE {$wpdb->posts}         SET post_type = 'portfolio_project'  WHERE post_type = 'portfolio_item'" ); 
    246         $wpdb->query( "UPDATE {$wpdb->postmeta}      SET meta_key  = 'portfolio_item_url' WHERE meta_key  = 'url'"            ); 
    247         $wpdb->query( "UPDATE {$wpdb->term_taxonomy} SET taxonomy  = 'portfolio_category' WHERE taxonomy  = 'portfolio'"      ); 
     245        $wpdb->query( "UPDATE {$wpdb->posts}         SET post_type = 'portfolio_project'  WHERE post_type = 'portfolio_item'"     ); 
     246        $wpdb->query( "UPDATE {$wpdb->postmeta}      SET meta_key  = 'url'                WHERE meta_key  = 'portfolio_item_url'" ); 
     247        $wpdb->query( "UPDATE {$wpdb->term_taxonomy} SET taxonomy  = 'portfolio_category' WHERE taxonomy  = 'portfolio'"          ); 
    248248 
    249249        // Get the administrator role. 
  • custom-content-portfolio/trunk/readme.txt

    r1533822 r1534031  
    44Tags: portfolio, images, image, post type, taxonomy 
    55Requires at least: 4.6 
    6 Stable tag: 2.0.0 
     6Stable tag: 2.0.1 
    77License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    88 
Note: See TracChangeset for help on using the changeset viewer.