Plugin Directory

Changeset 453115


Ignore:
Timestamp:
10/19/2011 08:58:57 PM (14 years ago)
Author:
thiudis
Message:

Fixed a bug where the options page was being added to the admin bar for all users, regardless if they had access to it or not.

Location:
mobileme-movie/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mobileme-movie/trunk/class-mobileme-movie-admin.php

    r451514 r453115  
    339339        global $wp_admin_bar;
    340340       
     341        if (!current_user_can('manage_options'))
     342            return;
     343       
    341344        if (!isset($wp_admin_bar->menu->evolonix)) {
    342345            $wp_admin_bar->add_menu( array(
  • mobileme-movie/trunk/mobileme-movie.php

    r451514 r453115  
    44Plugin URI: http://www.evolonix.com/wordpress/plugins/mobileme-movie
    55Description: This plugin allows you to insert a movie you have hosted on your MobileMe Gallery's website in your post or page. Use [mobileme url="http://gallery.me.com/appleid#albumid/moviename" type="m4v or mov" width="width" height="height"] to insert the movie. The easiest way to get the "url" is to copy it from your browser's address bar when viewing the movie on the Gallery's site. The "type" attribute is optional if the movie is an .m4v file, which it uses by default, but required for .mov files. If it doesn't work without specifying the "type" attribute, then try adding it with the "mov" value. The "width" and "height" attributes are optional and default to width="640" and height="360". If one is specified, the other must be also, otherwise it uses the defaults.
    6 Version: 1.2
     6Version: 1.3
    77Author: Evolonix
    88Author URI: http://www.evolonix.com
  • mobileme-movie/trunk/readme.txt

    r451514 r453115  
    3131== Changelog ==
    3232
     33= 1.3 =
     34* Fixed a bug where the options page was being added to the admin bar for all users, regardless if they had access to it or not.
     35
    3336= 1.2 =
    3437* Fixed a bug where an error may have occurred if the type, width, or height attributes were not specified.
Note: See TracChangeset for help on using the changeset viewer.