Changeset 680238
- Timestamp:
- 03/12/2013 03:56:33 AM (13 years ago)
- Location:
- roots-plug/trunk
- Files:
-
- 3 edited
-
RootsPlug/Addons.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
roots-plug.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
roots-plug/trunk/RootsPlug/Addons.php
r678902 r680238 27 27 add_action( 'check_comment_flood', array( $this, 'verify_comment_referer' ) ); 28 28 add_filter( 'wp_nav_menu_items', array( $this, 'first_last_class_menu' ) ); 29 add_action( 'admin_menu', array( $this, 'all_settings_link' ) ); 29 30 30 31 /** … … 71 72 public function verify_comment_referer() { 72 73 73 if (!wp_get_referer()) { 74 wp_die( __('You cannot post comment at this time, may be you need to enable referrers in your browser.','roots') ); 74 if ( !wp_get_referer() ) { 75 76 wp_die( __('You cannot post comment at this time, may be you need to enable referrers in your browser.','rootsplug') ); 75 77 } 76 78 79 } 80 81 /** 82 * Adds link to Settings panel for easy access to the main options page (normally hidden) 83 * http://wordpress.stackexchange.com/a/1614/9605 84 * @return void 85 * 86 * @since 1.1.0 87 */ 88 public function all_settings_link() { 89 90 if ( is_admin() && current_user_can( 'manage_options' ) && !is_multisite() ) { 91 92 add_options_page( __( 'All Settings', 'rootsplug' ), __( 'All Settings', 'rootsplug' ), 'administrator', 'options.php' ); 93 } 77 94 } 78 95 -
roots-plug/trunk/readme.txt
r678904 r680238 5 5 Requires at least: 3.5 6 6 Tested up to: 3.5 7 Stable tag: 1. 0.17 Stable tag: 1.1.0 8 8 License: GPLv2 9 9 … … 13 13 14 14 Roots Plug is the catch-all awesome WordPress plugin that cleans up default output and provides all those handy-dandy functions that we all search for around the web - in one convenient package! It also appends on [HTML5 Boilerplate's](http://html5boilerplate.com/) `.htaccess` rewrites automagically. 15 16 Inspired by [Roots Theme](http://rootstheme.com) by Ben Word -- extracted much of the cleanup efforts into a handy-dany plugin. 15 17 16 18 **Roots Plug was recently rewritten from scratch. While most of the base functionality remained intact, gone are the asset rewrites. Why? Because they forced you to change how your template files were stored and broke several other plugins - which isn't cool. Upcoming releases will continue to make this more compatible across different WordPress environments. 3.5 is a requirement now.** … … 28 30 29 31 == Changelog == 32 33 = 1.1.0 = 34 * Source credits given 35 * 'Options' link added (for easy access to `options.php`) in Settings Panel 30 36 31 37 = 1.0.1 = -
roots-plug/trunk/roots-plug.php
r678904 r680238 4 4 Plugin URI: http://zslabs.com 5 5 Description: Base plugin 6 Version: 1. 0.16 Version: 1.1.0 7 7 Author: Zach Schnackel 8 8 Author URI: http://zslabs.com
Note: See TracChangeset
for help on using the changeset viewer.