WordPress.org

Plugin Directory

Changeset 1219685


Ignore:
Timestamp:
08/13/15 06:11:57 (2 years ago)
Author:
BriniA
Message:

v1.9

Location:
awesome-filterable-portfolio/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • awesome-filterable-portfolio/trunk/afp.php

    r1054051 r1219685  
    55Plugin URI: http://brinidesigner.com/wordpress-plugins/awesome-filterable-portfolio/?utm_source=AFP&utm_medium=AFP&utm_campaign=AFP 
    66Description: Awesome Filterable Portfolio allows you to create a portfolio that you can filter its elements using smooth animations. 
    7 Version: 1.8.5 
     7Version: 1.9 
    88Author: BriniA 
    99Author URI: http://brinidesigner.com/?utm_source=AFP&utm_medium=AFP&utm_campaign=AFP 
     
    225225  <!-- .metabox-holder --> 
    226226  <?php } else {  
    227     $item_id = $_GET['item_id']; 
     227    $item_id = esc_sql($_GET['item_id']); 
    228228    $msg = $_GET['msg']; 
    229229    global $wpdb; 
     
    351351<div class="wrap"> 
    352352<?php  
    353     $item_id = $_GET['item_id']; 
    354     $action=$_GET['action']; 
     353    $item_id = esc_sql($_GET['item_id']); 
     354    $action= $_GET['action']; 
    355355    if( $action=='' || $action=='delete' ){  
    356356    if ($action=='delete') { $wpdb->query( $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'afp_items WHERE item_id=%d', $item_id ) ); } 
     
    477477<?php 
    478478}else{ 
    479     $cat_id = $_GET['cat_id']; 
     479    $cat_id = esc_sql($_GET['cat_id']); 
    480480    $msg = $_GET['msg']; 
    481481    global $wpdb; 
     
    545545<div class="wrap"> 
    546546<?php  
    547     $cat_id = $_GET['cat_id']; 
     547    $cat_id = esc_sql($_GET['cat_id']); 
    548548    $action=$_GET['action']; 
    549549    if( $action=='' || $action=='delete' ){  
     
    810810global $wpdb; 
    811811 
    812  
     812if(isset($_POST['which'])){ 
     813  $which = $_POST['which']; 
     814} else { 
     815  $which = ''; 
     816} 
    813817/*** PORTFOLIO ITEM ***/ 
    814 if($_POST['which']=='new_portfolio_item'){ 
     818if($which=='new_portfolio_item'){ 
    815819    $item_title = $_POST['title']; 
    816820    $item_link = $_POST['link']; 
     
    831835    header ('Location: ' . get_bloginfo('url') . '/wp-admin/admin.php?page=afp_add_new_portfolio_item&msg=added&item_id=' . $wpdb->insert_id); 
    832836} 
    833 if($_POST['which']=='update_portfolio_item'){ 
     837if($which=='update_portfolio_item'){ 
    834838    $item_id = $_POST['item_id']; 
    835839    $item_title = $_POST['title']; 
     
    854858/*** CATEGORY ***/ 
    855859 
    856 if($_POST['which']=='new_category'){ 
     860if($which=='new_category'){ 
    857861    $cat_name = $_POST['title']; 
    858862    $cat_description = $_POST['description']; 
     
    862866    header ('Location: ' . get_bloginfo('url') . '/wp-admin/admin.php?page=afp_add_new_category&msg=added&cat_id=' . $wpdb->insert_id); 
    863867} 
    864 if($_POST['which']=='update_category'){ 
     868if($which=='update_category'){ 
    865869    $cat_id = $_POST['cat_id']; 
    866870    $cat_name = $_POST['title']; 
     
    872876 
    873877/*** OPTIONS PAGE ***/ 
    874 if($_POST['which']=='options_page'){ 
     878if($which=='options_page'){ 
    875879    $sort_cat = $_POST['sort_cat']; 
    876880    $sort_items = $_POST['sort_items']; 
  • awesome-filterable-portfolio/trunk/readme.txt

    r1184753 r1219685  
    55Tags: portfolio, filterable portfolio, simple portfolio, wordpress portfolio, portfolio wordpress, photo portfolio, portfolio plugin, gallery portfolio, sortable portfolio, wp portfolio, image portfolio, best portfolio plugin, awesome portfolio, awesome filterable portfolio, portfolio shortcode, filterable, filter, categorized, category, categories, sort, sortable, photos, clients, project, projects, showcase, work, thumbnails, jquery, animation, jquery animation, jquery effects 
    66Requires at least: 3.5 
    7 Tested up to: 4.1 
    8 Stable tag: 1.8.6 
     7Tested up to: 4.2.4 
     8Stable tag: 1.9 
    99License: GPL 
    1010Donate link: http://brinidesigner.com/wordpress-plugins/awesome-filterable-portfolio/video/ 
     
    138138* The plugin now uses the modern Media Uploader! 
    139139 
     140= 1.9 = 
     141* Bug fixes 
     142 
    140143== Upgrade Notice == 
    141144 
Note: See TracChangeset for help on using the changeset viewer.