Plugin Directory

Changeset 1743524


Ignore:
Timestamp:
10/09/2017 06:03:08 PM (8 years ago)
Author:
khratos
Message:

General code assessment in order to keep upstream compatibility

Location:
pe-category-filter
Files:
10 added
4 edited

Legend:

Unmodified
Added
Removed
  • pe-category-filter/trunk/pecf_catfilter.php

    r1665883 r1743524  
    33 * @package PECF (PavelEspinal Category Filter)
    44 * @author Pavel Espinal
    5  * @version 1.2
     5 * @version 1.3
    66 */
    77/*
    88 Plugin Name:   PE Category Filter
    9  Plugin URI:    http://pavelespinal.com/resume/downloads/
     9 Plugin URI:    https://github.com/jespinal/PE-Category-Filter
    1010 Description:   This plugin filters the Categories that will show up in the front page of your website.<br/> This plugin attempts to be a well written (using WP native methods) way to filter categories on Wordpress.
    11  Version:       1.2
     11 Version:       1.3
    1212 Author:        J. Pavel Espinal
    1313 Author URI:    http://pavelespinal.com/
     
    3737 * PE Categories Excluder
    3838 *
    39  * This method receives the $wp_query object as a param and applies the filter
     39 * This method receives the $wp_query object as an argument and applies the filter
    4040 * depending on the section of the blog that we are.
    4141 *
     
    6969 */
    7070function pecf_cb_menu_options() {
    71     if (!current_user_can('manage_options'))  {
     71    if ( ! current_user_can('manage_options'))  {
    7272        wp_die( __('You do not have sufficient permissions to access this page.') );
    7373    }
  • pe-category-filter/trunk/readme.txt

    r1665883 r1743524  
    11=== PE Category Filter ===
    22Contributors: khratos
    3 Tags: category, filter, category filter, exclude post, home page, exclude from home
     3Tags: category, filter, category filter, exclude post, home page, exclude from home, pecf
    44Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=U8W8GKD6KM2G8
    55Requires at least: 3.0
    6 Tested up to: 4.7.5
    7 Stable tag: 1.2
     6Tested up to: 4.8.2
     7Stable tag: 1.3
    88
    99This plugin allows you to exclude posts that belong to certain categories from your home page.
     
    1414from the inner sections of your site.
    1515
    16 This is an ad-hoc solution that aims to do **one** thing, and do it **right** with near the smallest footprint possible. So please note the following:
     16This is an ad-hoc solution that aims to do **one** thing, and do it **right**, with near the smallest footprint possible. So please note the following:
    1717
    1818* The functionality of this plugin can not be limited to a given widget on the home page. Example:
     
    2828* http://asteriskfaqs.org - Important VoIP community project.
    2929* http://centosfaq.org
    30 * http://slackware-es.com - Slackware Linux documentation project (Spanish)
     30* http://slackware-es.com - Spanish version of the Slackware Linux project's website (Spanish)
    3131
    3232
     
    6262* Global code assessment to ensure compatibility with latest WP versions.
    6363* Corrections to "readme" file/documentation.
     64
     65= 1.3 =
     66* Global code assessment to ensure compatibility with latest WP versions.
     67* Adding the GitHub README.md file (this plugin is now also hosted on github).
     68* Corrections to "readme" file/documentation.
Note: See TracChangeset for help on using the changeset viewer.