WordPress.org

Forums

WP-SWFObject
Need to update add_option with Role not Number (1 post)

  1. styledev
    Member
    Posted 3 years ago #

    Update wp-swfobject.php lines 36-50:

    add_option("swf_version",		$wpswf_params["swf_version"]);
    add_option("swf_bgcolor", 		$wpswf_params["swf_bgcolor"]);
    add_option("swf_wmode", 		$wpswf_params["swf_wmode"]);
    add_option("swf_menu", 			$wpswf_params["swf_menu"]);
    add_option("swf_quality", 		$wpswf_params["swf_quality"]);
    add_option("swf_fullscreen",	$wpswf_params["swf_fullscreen"]);
    add_option("swf_scriptaccess",	$wpswf_params["swf_scriptaccess"]);
    add_option("swf_align", 		$wpswf_params["swf_align"]);
    add_option("swf_message", 		$wpswf_params["swf_message"]);
    add_option("swf_file", 			$wpswf_params["swf_file"]);
    add_option("swf_showinfo", 		$wpswf_params["swf_showinfo"]);
    add_option("swf_annotations", 	$wpswf_params["swf_annotations"]);
    add_option("swf_loading", 		$wpswf_params["swf_loading"]);
    add_option("swf_msgiphone", 	$wpswf_params["swf_msgiphone"]);

    Update wp-swfobject.php line 448:

    add_options_page('WP-SWFObject Options', 'WP-SWFObject', 'manage_options', basename(__FILE__), 'wpswfOptionsPage');

    This will remove the has_cap error and add_option deprecated errors.

    http://wordpress.org/extend/plugins/wp-swfobject/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-SWFObject
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic