Changeset 1723757
- Timestamp:
- 09/02/2017 10:05:36 PM (8 years ago)
- Location:
- filter-admin-published-default
- Files:
-
- 4 added
- 2 edited
-
tags/1.2 (added)
-
tags/1.2/filter-admin-published-default.php (added)
-
tags/1.2/index.php (added)
-
tags/1.2/readme.txt (added)
-
trunk/filter-admin-published-default.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
filter-admin-published-default/trunk/filter-admin-published-default.php
r1146728 r1723757 1 1 <?php 2 /* 3 Plugin Name:Filter Admin Published Default4 Version: 1.1 5 Plugin URI: https://wordpress.org/plugins/filter-admin-published-default/ 6 Description: Enables the Pages and Posts links in admin to show the Published filter by default 7 Author:Pigs Eating Hotdogs8 Author URI:https://github.com/chuckreynolds/wp-filter-admin-published-default9 Requires at least: 3.8 10 Tested up to: 4.2 11 License: GPLv2 or later 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html 2 /** 3 * Plugin Name: Filter Admin Published Default 4 * Plugin URI: https://wordpress.org/plugins/filter-admin-published-default/ 5 * Description: Enables all public post types (posts, pages, etc) in wp-admin to show the Published filter by default. 6 * Version: 1.2 7 * Author: Pigs Eating Hotdogs 8 * Author URI: https://github.com/chuckreynolds/wp-filter-admin-published-default 9 * License: GPL-2.0+ 10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 11 * Text Domain: filter-admin-published-default 12 */ 13 13 14 Copyright 2014 Internet 14 // If this file is called directly, abort. 15 defined( 'ABSPATH' ) or die; 15 16 16 This program is free software; you can redistribute it and/or modify17 it under the terms of the GNU General Public License, version 2, as18 published by the Free Software Foundation.19 20 This program is distributed in the hope that it will be useful,21 but WITHOUT ANY WARRANTY; without even the implied warranty of22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the23 GNU General Public License for more details.24 25 You should have received a copy of the GNU General Public License26 along with this program; if not, write to the Free Software27 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA28 */29 add_action ( 'admin_menu', 'rkv_filter_admin_published_default', 20 );30 17 /** 31 18 * change the default URL for post types … … 63 50 64 51 } 52 add_action ( 'admin_menu', 'rkv_filter_admin_published_default', 20 ); 65 53 66 54 /** -
filter-admin-published-default/trunk/readme.txt
r1723751 r1723757 5 5 Requires at least: 3.8 6 6 Tested up to: 4.8.1 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Enables the post type links (posts, pages, etc) in admin to show the Published filter by default11 Enables all public post types (posts, pages, etc) in wp-admin to show the Published filter by default. 12 12 13 13 == Description == 14 14 15 Enables the post type links (posts, pages, etc) links in admin to show the Published filter by default. 16 Came out of a need as clients have a lot of pre-scheduled posts so a LOT of drafts are up 17 top and I got tired of the extra click. Tweeted for ideas, @Norcross answered and whipped 18 this function up quick. 15 Enables all public post types (posts, pages, etc) in wp-admin to show the Published filter by default. This came out of a need as some clients of mine had a lot of pre-scheduled posts so a LOT of drafts are up top and I got tired of the extra click to filter by published. I tweeted out for ideas and @Norcross answered and quickly whipped up this; which we turned into a plugin for public release and here you go! 19 16 20 17 == Usage == … … 26 23 Installing "Filter Admin Published Default" can be done either by searching for "Filter Admin Published Default" via the "Plugins > Add New" screen in your WordPress dashboard, or by using the following steps: 27 24 28 1. Download the plugin via WordPress.org25 1. Download the plugin via https://wordpress.org/plugins/filter-admin-published-default/ 29 26 1. Upload the ZIP file through the 'Plugins > Add New > Upload' screen in your WordPress dashboard 30 27 1. Activate the plugin through the 'Plugins' menu in WordPress 31 28 32 29 == Frequently Asked Questions == 33 1. How do it work? Just install, activateand you're good!30 1. How does it work? Just install, activate, and you're good! 34 31 35 32 == Changelog == 36 33 34 = 1.2 = 35 * 2017-09-02 36 * tested to wp 4.8.1 37 * clarify plugin descriptions 38 * secured against any direct plugin file access 39 37 40 = 1.1 = 41 * 2015-04-25 38 42 * tested to wp 4.2 39 43
Note: See TracChangeset
for help on using the changeset viewer.