Changeset 733528
- Timestamp:
- 06/28/2013 01:32:21 PM (13 years ago)
- Location:
- back-end-instructions/trunk
- Files:
-
- 2 edited
-
instructions.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
back-end-instructions/trunk/instructions.php
r716202 r733528 4 4 * Plugin URI: http://wordpress.org/extend/plugins/back-end-instructions/ 5 5 * Description: Plugin to provide nice little instructions for back-end WordPress users. 6 * Version: 3.1 6 * Version: 3.1.1 7 7 * Author: Shelly Cole 8 8 * Author URI: http://brassblogs.com … … 112 112 function bei_query_vars( $query ) { 113 113 // only perform the action on front-end search results 114 if( $query->is_search ) {114 if( $query->is_search && !is_admin() ) { 115 115 116 116 // get the array of all post types … … 276 276 function bei_custom_help_tab() { 277 277 global $bei_options; 278 var_dump($bei_options);279 278 echo '<span class="description" style="display:block;">' . __( 'By default, Back End Instructions just ties into the WordPress standard "help" tab. This option will allow you to use a standalone custom tab, instead.', 'bei_languages' ) , '</span>'; 280 279 281 if( !isset( $bei_options 282 ['custom_tab'] ) ) $bei_options 283 ['custom_tab'] = 'no'; 284 echo '<input id="bei_custom_tab" name="_bei_options[custom_tab]" size="40" type="radio" value="yes" ' . ( isset($bei_options 285 ["custom_tab"] ) && $bei_options 286 ["custom_tab"] == "yes" ? 'checked="checked" ' : '' ) . '/> Yes ' . "\n"; 287 echo '<input id="bei_custom_tab" name="_bei_options[custom_tab]" size="40" type="radio" value="no" ' . ( isset($bei_options 288 ["custom_tab"] ) && $bei_options 289 ["custom_tab"] == "no" ? 'checked="checked" ' : '' ) . '/> No' . "\n\n"; 280 if( !isset( $bei_options ['custom_tab'] ) ) $bei_options['custom_tab'] = 'no'; 281 282 echo '<input id="bei_custom_tab" name="_bei_options[custom_tab]" size="40" type="radio" value="yes" ' . ( isset($bei_options["custom_tab"] ) && $bei_options["custom_tab"] == "yes" ? 'checked="checked" ' : '' ) . '/> Yes ' . "\n"; 283 echo '<input id="bei_custom_tab" name="_bei_options[custom_tab]" size="40" type="radio" value="no" ' . ( isset($bei_options["custom_tab"] ) && $bei_options["custom_tab"] == "no" ? 'checked="checked" ' : '' ) . '/> No' . "\n\n"; 290 284 } 291 285 -
back-end-instructions/trunk/readme.txt
r716202 r733528 5 5 Requires at least: 3.1 6 6 Tested up to: 3.6-beta3 7 Stable tag: 3.1 7 Stable tag: 3.1.1 8 8 License: GPLv2 or later 9 9 … … 155 155 == Changelog == 156 156 157 = 3.1.1 = 158 * Bugfix - search in the back end was messed up. 159 157 160 = 3.1 = 158 161 * Bugfix - renamed a variable that was causing a conflict with other plugins.
Note: See TracChangeset
for help on using the changeset viewer.