Plugin Directory

Changeset 1581493


Ignore:
Timestamp:
01/24/2017 10:15:16 PM (9 years ago)
Author:
romain-d
Message:

Add screenshots and languages

Location:
shortcuts-for-front-page-and-posts-page
Files:
4 added
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • shortcuts-for-front-page-and-posts-page/trunk/readme.txt

    r1581207 r1581493  
    55Requires at least: 4.6
    66Tested up to: 4.7.1
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2222This section describes how to install the plugin and get it working.
    2323
    24 e.g.
    25 
    26241. Upload the plugin files to the `/wp-content/plugins/shortcuts-front-page-posts-page` directory, or install the plugin through the WordPress plugins screen directly.
    27 1. Activate the plugin through the 'Plugins' screen in WordPress
    28 1. Shortcuts are added automatically!
     252. Activate the plugin through the 'Plugins' screen in WordPress
     263. Shortcuts are added automatically!
    2927
    3028== Frequently Asked Questions ==
     
    4038== Changelog ==
    4139
    42 = 1.0 =
     40= 1.0.1 =
     41* Add screenshot and languages folder
     42
     43= 1.0.0 =
    4344* First release of Shortcuts for Front Page and Posts Page plugin.
    4445
  • shortcuts-for-front-page-and-posts-page/trunk/shortcuts-front-page-posts-page.php

    r1581207 r1581493  
    22/**
    33 * Plugin Name: Shortcuts for Front Page and Posts Page
    4  * Version:     1.0.0
     4 * Version:     1.0.1
    55 * Plugin URI:  https://romaindorr.fr
    66 * Description: Very simple WordPress plugin to add in admin page screen 2 shortcuts for Front Page and Posts Page
     
    1313 */
    1414
    15 
    1615defined( 'ABSPATH' ) or die( 'No direct load !' );
    17 
    1816
    1917load_plugin_textdomain( 'shortcuts-front-page-posts-page', false, basename( dirname( __FILE__ ) ) . '/languages' );
     
    2220define( 'SHORTCUTS_FRONT_PAGE_POSTS_PAGE_DIR', plugin_dir_path( __FILE__ ) );
    2321define( 'SHORTCUTS_FRONT_PAGE_POSTS_PAGE_URL', plugin_dir_url( __FILE__ ) );
    24 define( 'SHORTCUTS_FRONT_PAGE_POSTS_PAGE_VERSION', '1.0.0' );
     22define( 'SHORTCUTS_FRONT_PAGE_POSTS_PAGE_VERSION', '1.0.1' );
    2523
    2624add_action( 'plugins_loaded', 'shortcuts_front_page_posts_page_init' );
     
    9997        }
    10098
    101         $edit_links = apply_filters( 'shortcuts-front-page-posts-page-edit-links', $edit_links );
    102 
    103         return $edit_links;
     99        return apply_filters( 'shortcuts-front-page-posts-page-edit-links', $edit_links );
    104100    }
    105101}
Note: See TracChangeset for help on using the changeset viewer.