Plugin Directory

Changeset 376914


Ignore:
Timestamp:
04/25/2011 01:46:38 PM (15 years ago)
Author:
doodlebee
Message:

Fixed to remove warnings for empty variables when error reporting is turned on.

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

Legend:

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

    r359228 r376914  
    3232      // test for dashboard 
    3333      if($pagenow == 'index.php') $dashboard = 'true';
     34      else $dashboard = 'false';
    3435
    3536      $count = '0';
     
    4344        $excerpt = $instruction->post_excerpt;                  // instruction post excerpt
    4445        $meta = get_post_meta($postid, 'instructions');         // instruction post meta: top of the array       
    45         $summarymeta = get_post_meta($postid, 'extras');       
     46        $summarymeta = get_post_meta($postid, 'extras');   
     47        if(!empty($summarymeta))
    4648        $summary = $summarymeta[0]['summary'];                  // instruction post meta: secondary excerpt
    4749        $whatpage = $meta[0]['page_id'];                        // instruction post meta value: the page to show on
     
    6971            $isvimeo = 'no';
    7072          }
     73         
     74          //set up the class
     75          $class = '';
    7176         
    7277          if($whatpage == $pagenow || strpos($whatpage, $pagenow) !== false) {  // test that this content is for this page
  • back-end-instructions/trunk/instructions.php

    r359228 r376914  
    55Description: Plugin to provide nice little instructions for back-end WordPress users
    66Author: Shelly Cole
    7 Version: 0.6
     7Version: 0.7
    88Author URI: http://brassblogs.com
    99License: GPL2
  • back-end-instructions/trunk/readme.txt

    r359228 r376914  
    44Tags: developers, clients, instructions
    55Requires at least: 3.0
    6 Tested up to: 3.1
    7 Stable tag: 0.6
     6Tested up to: 3.1.1
     7Stable tag: 0.7
    88
    99Plugin for developers of WordPress to provide easy back-end instructions to their clients - using text, video, audio - whatever.
     
    120120== Changelog ==
    121121
     122= 0.7 =
     123* fixed issue where people were receiving "Notice" information when they had error_reporting turned on. These warnings were due to empty variables. (Once information was put in, they would go away, but on initial acitvation they would show because no info had been put in yet.) A minor annoyance that didn't affect the functionality of the plugin - now taken care of.
     124
    122125= 0.6 =
    123126* fixed issue where instructions were not showing up on individual posts (post.php)
Note: See TracChangeset for help on using the changeset viewer.