Plugin Directory

Changeset 733528


Ignore:
Timestamp:
06/28/2013 01:32:21 PM (13 years ago)
Author:
doodlebee
Message:

Added screenshots, bugfix related to back end search results

Location:
back-end-instructions/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • back-end-instructions/trunk/instructions.php

    r716202 r733528  
    44 * Plugin URI: http://wordpress.org/extend/plugins/back-end-instructions/
    55 * Description: Plugin to provide nice little instructions for back-end WordPress users.
    6  * Version: 3.1
     6 * Version: 3.1.1
    77 * Author: Shelly Cole
    88 * Author URI: http://brassblogs.com
     
    112112function bei_query_vars( $query ) {
    113113    // only perform the action on front-end search results
    114     if( $query->is_search ) {
     114    if( $query->is_search && !is_admin() ) {
    115115
    116116      // get the array of all post types
     
    276276function bei_custom_help_tab() {
    277277    global $bei_options;
    278     var_dump($bei_options);
    279278    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>';
    280279   
    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 &nbsp; &nbsp; ' . "\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 &nbsp; &nbsp; ' . "\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";
    290284}
    291285
  • back-end-instructions/trunk/readme.txt

    r716202 r733528  
    55Requires at least: 3.1
    66Tested up to: 3.6-beta3
    7 Stable tag: 3.1
     7Stable tag: 3.1.1
    88License: GPLv2 or later
    99
     
    155155== Changelog ==
    156156
     157= 3.1.1 =
     158* Bugfix - search in the back end was messed up.
     159
    157160= 3.1 =
    158161* Bugfix - renamed a variable that was causing a conflict with other plugins.
Note: See TracChangeset for help on using the changeset viewer.