Plugin Directory

Changeset 335583


Ignore:
Timestamp:
01/21/2011 06:17:16 PM (15 years ago)
Author:
MikhailKozlov
Message:

Issue 2: line 405 added pagination rule

Location:
picasa-albums/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • picasa-albums/trunk/plugin.php

    r333410 r335583  
    55Plugin URI: http://mikhailkozlov.com/picasa-albums-for-wordpress/
    66Description: Creates custom post type and displays picasa albums
    7 Version: 1.0.2
     7Version: 1.0.3
    88Author: Mikhail Kozlov 
    99Author URI: http://mikhailkozlov.com
     
    403403        $newrules = array();
    404404        $newrules['(album)/(\d*)$'] = 'index.php?post_type=$matches[1]&post_name=$matches[2]';
     405        // issie #2 fix
     406        $newrules['(album)/page/?([0-9]{1,})/?$'] = 'index.php?post_type=$matches[1]&paged=$matches[2]';       
    405407        $newrules['(album)$'] = 'index.php?post_type=$matches[1]';
    406408        return $newrules + $rules;
  • picasa-albums/trunk/readme.txt

    r333661 r335583  
    33Donate link: http://mikhailkozlov.com/
    44Tags: picasaweb, image hosting, picasa, albums, custom post type, CND, fancybox
    5 Requires at least: 3.0.1
     5Requires at least: 3.0.0
    66Tested up to: 3.3
    77Stable tag: trunk
Note: See TracChangeset for help on using the changeset viewer.