Title: tsdexter's Replies | WordPress.org

---

# tsdexter

  [  ](https://wordpress.org/support/users/tsdexter/)

 *   [Profile](https://wordpress.org/support/users/tsdexter/)
 *   [Topics Started](https://wordpress.org/support/users/tsdexter/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tsdexter/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tsdexter/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tsdexter/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tsdexter/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tsdexter/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PublishPress Revisions: Duplicate Posts, Submit, Approve and Schedule Content Changes] Revisions no longer showing in 3.8.1 At A Glance](https://wordpress.org/support/topic/revisions-no-longer-showing-in-381-at-a-glance/)
 *  [tsdexter](https://wordpress.org/support/users/tsdexter/)
 * (@tsdexter)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/revisions-no-longer-showing-in-381-at-a-glance/#post-4572609)
 * Adding this line to your functions.php should work (or you can add it to the 
   file admin-dashboard_rvy.php if you want to modify the plugin directly).
 * `add_action ( 'dashboard_glance_items', 'rvy_right_now_pending' );`
 * Revisionary already has a function to output the pending pages/posts you just
   need to call that function on the new “dashboard_glance_items” action.
 * I can’t verify this works because I have Press Permit installed which runs its
   own function to output the pending pages overriding Revisionary but the same 
   line substituting the function call for the press permit one works for my press
   permit install.
 * `add_action ( 'dashboard_glance_items', '_ppce_right_now_pending' );`
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Password complexity verification flawed in WordPress 3.7](https://wordpress.org/support/topic/password-complexity-verification-flawed-in-wordpress-37/)
 *  [tsdexter](https://wordpress.org/support/users/tsdexter/)
 * (@tsdexter)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/password-complexity-verification-flawed-in-wordpress-37/#post-4303485)
 * If you want a super secure password that is easy to remember, just use a sentence
   with spaces.
 * For example, excluding the quotes the following passwords meet WP 3.7+ security
   for “strong” rating:
 * “I was born in 1986”
    “My dog is 7 years old” “I drive a 2013 GTR”
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Menus not working](https://wordpress.org/support/topic/menus-not-working/)
 *  [tsdexter](https://wordpress.org/support/users/tsdexter/)
 * (@tsdexter)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/menus-not-working/#post-4125898)
 * As a temporary workaround until WordPress fixes this issue you can add new pages
   with the following steps:
    1. Add page like normal (from the options on the left sidebar pages/categories 
       etc…), page will appear at bottom of menu.
    2. Save the menu (with page at the bottom still)
    3. When the menu saves/page refreshes, scroll to the bottom where the new menu 
       item is located, use the top-right dropdown arrow to reveal the extra options,
       use the links such as ‘up one, down one, to top’ to move the menu items.
 * This is a really terrible way to manage the menu (especially a large one) but
   it’s working in the meantime. The key is to **save the menu** before you try 
   to use the links to move it around – they only work on saved menu items, not 
   news ones added to the menu without a save.
 * You can also manage the position of existing pages using those links.
 * I’ve also filed a bug report a few weeks back that is being worked on for a related
   issue where the Javascript that runs the drag/drop is causing the browser to 
   crash – fixing/testing that bug should help with this one. [http://core.trac.wordpress.org/ticket/25112](http://core.trac.wordpress.org/ticket/25112)
 * – Thomas
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Menu Structure Issue after 3.6 Upgrade](https://wordpress.org/support/topic/menu-structure-issue-after-36-upgrade/)
 *  [tsdexter](https://wordpress.org/support/users/tsdexter/)
 * (@tsdexter)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/menu-structure-issue-after-36-upgrade/#post-3989366)
 * As a temporary workaround until WordPress fixes this issue you can add new pages
   with the following steps:
    1. Add page like normal (from the options on the left sidebar pages/categories 
       etc…), page will appear at bottom of menu.
    2. Save the menu (with page at the bottom still)
    3. When the menu saves/page refreshes, scroll to the bottom where the new menu 
       item is located, use the top-right dropdown arrow to reveal the extra options,
       use the links such as ‘up one, down one, to top’ to move the menu items.
 * This is a really terrible way to manage the menu (especially a large one) but
   it’s working in the meantime. The key is to **save the menu** before you try 
   to use the links to move it around – they only work on saved menu items, not 
   news ones added to the menu without a save.
 * You can also manage the position of existing pages using those links.
 * I’ve also filed a bug report a few weeks back that is being worked on for a related
   issue where the Javascript that runs the drag/drop is causing the browser to 
   crash – fixing/testing that bug should help with this one. [http://core.trac.wordpress.org/ticket/25112](http://core.trac.wordpress.org/ticket/25112)
 * – Thomas
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Post Manager] Plugin causes JS error which breaks admin pages](https://wordpress.org/support/topic/plugin-causes-js-error-which-breaks-admin-pages/)
 *  Thread Starter [tsdexter](https://wordpress.org/support/users/tsdexter/)
 * (@tsdexter)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-causes-js-error-which-breaks-admin-pages/#post-4057053)
 * OK, here is the proper fix that should likely be included in the plugin. The 
   issue was that the plugin includes the wrong jquery-ui version.
 * The proper fix would be to change the function `get_jqueryui_ver(){...}`
 * From:
 *     ```
       // Get proper jQuery UI version to not conflict with WP admin scripts
       	static function get_jqueryui_ver() {
       		global $wp_version;
       		if (version_compare($wp_version, '3.1', '>=')) {
       			return '1.8.10';
       		} 
   
       		return '1.7.3';
       	}
       ```
   
 * To:
 *     ```
       // Get proper jQuery UI version to not conflict with WP admin scripts
       	static function get_jqueryui_ver() {
       		global $wp_version;
   
       		if (version_compare($wp_version, '3.5', '>=')) {
       			return '1.9.2';
       		}
   
       		if (version_compare($wp_version, '3.1', '>=')) {
       			return '1.8.10';
       		} 
   
       		return '1.7.3';
       	}
       ```
   
 * It looks like wordpress 3.5 increased the jquery-ui version to 1.9.2 and you 
   guys forgot to make that change in the plugin.
 * Thanks,
    Thomas
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Post Manager] Plugin causes JS error which breaks admin pages](https://wordpress.org/support/topic/plugin-causes-js-error-which-breaks-admin-pages/)
 *  Thread Starter [tsdexter](https://wordpress.org/support/users/tsdexter/)
 * (@tsdexter)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-causes-js-error-which-breaks-admin-pages/#post-4057049)
 * This fix has broken the datepicker. Investigating a better solution.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Post Manager] Plugin causes JS error which breaks admin pages](https://wordpress.org/support/topic/plugin-causes-js-error-which-breaks-admin-pages/)
 *  Thread Starter [tsdexter](https://wordpress.org/support/users/tsdexter/)
 * (@tsdexter)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-causes-js-error-which-breaks-admin-pages/#post-4056861)
 * I’ve found the reason. You are calling in WP default jQuery UI (version v1.9.2
   in WP 3.5) but you are using jQuery UI code that is deprecated in 1.9+
 * I’ve modified core files from Advanced Post Manager in order to rectify this.
   Can you please update the plugin and upload a new version so I don’t have to 
   run a version with modified core files? (or provide me with another fix that 
   doesn’t require modifying core).
 * I’ve modified:
 * ./lib/tribe-filters.class.php – starting at line 407
 * from:
 *     ```
       public function enqueue() {
       		global $current_screen;
       		$resources_url = apply_filters( 'tribe_apm_resources_url', $this->url . 'resources' );
       		$resources_url = trailingslashit($resources_url);
       		if ( $current_screen->id == 'edit-' . $this->filtered_post_type ) {
       			wp_enqueue_style('tribe-jquery-ui', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css');
       			wp_enqueue_script('tribe-jquery-ui-datepicker', $resources_url . 'jquery-ui-datepicker.js', array('jquery-ui-core'), null, true );
       			wp_enqueue_script('tribe-filters', $resources_url . 'tribe-filters.js', array('jquery-ui-sortable', 'tribe-jquery-ui-datepicker'), null, true );
       		}
       	}
       ```
   
 * To:
 *     ```
       public function enqueue() {
       		global $current_screen;
       		$resources_url = apply_filters( 'tribe_apm_resources_url', $this->url . 'resources' );
       		$resources_url = trailingslashit($resources_url);
       		if ( $current_screen->id == 'edit-' . $this->filtered_post_type ) {
       			wp_enqueue_style('tribe-jquery-ui', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css');
       			//georgiancode
       			wp_enqueue_script('old-jquery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js', array('jquery'), true);
       			//wp_enqueue_script('tribe-jquery-ui-datepicker', $resources_url . 'jquery-ui-datepicker.js', array('jquery-ui-core'), null, true );
       			wp_enqueue_script('tribe-jquery-ui-datepicker', $resources_url . 'jquery-ui-datepicker.js', array('old-jquery-ui'), null, true );
       			wp_enqueue_script('tribe-filters', $resources_url . 'tribe-filters.js', array('jquery-ui-sortable', 'tribe-jquery-ui-datepicker'), null, true );
       		}
       	}
       ```
   
 * ./lib/tribe-meta-box.php – starting at Line 58
 * from:
 *     ```
       function register_scripts_and_styles() {
       		// change '\' to '/' in case using Windows
       		$content_dir = str_replace('\\', '/', WP_CONTENT_DIR);
       		$script_dir = str_replace('\\', '/', dirname(__FILE__));
   
       		// get URL of the directory of current file, this works in both theme or plugin
       		$base_url = trailingslashit( str_replace($content_dir, WP_CONTENT_URL, $script_dir) );
       		$resources_url = apply_filters( 'tribe_apm_resources_url', $base_url . 'resources' );
       		$resources_url = trailingslashit($resources_url);
   
       		wp_register_style( 'tribe-meta-box', $resources_url . 'meta-box.css');
       		wp_register_script('tribe-meta-box', $resources_url . 'meta-box.js', array('jquery'), null, true);
   
       		wp_register_style('tribe-jquery-ui-css', 'http://ajax.googleapis.com/ajax/libs/jqueryui/' . self::get_jqueryui_ver() . '/themes/base/jquery-ui.css');
       		wp_register_script('tribe-jquery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/' . self::get_jqueryui_ver() . '/jquery-ui.min.js', array('jquery'));
       		wp_register_script('tribe-timepicker', 'https://github.com/trentrichardson/jQuery-Timepicker-Addon/raw/master/jquery-ui-timepicker-addon.js', array('tribe-jquery-ui'));
       	}
       ```
   
 * to:
 *     ```
       function register_scripts_and_styles() {
       		// change '\' to '/' in case using Windows
       		$content_dir = str_replace('\\', '/', WP_CONTENT_DIR);
       		$script_dir = str_replace('\\', '/', dirname(__FILE__));
   
       		// get URL of the directory of current file, this works in both theme or plugin
       		$base_url = trailingslashit( str_replace($content_dir, WP_CONTENT_URL, $script_dir) );
       		$resources_url = apply_filters( 'tribe_apm_resources_url', $base_url . 'resources' );
       		$resources_url = trailingslashit($resources_url);
   
       		wp_register_style( 'tribe-meta-box', $resources_url . 'meta-box.css');
       		wp_register_script('tribe-meta-box', $resources_url . 'meta-box.js', array('jquery'), null, true);
   
       		wp_register_style('tribe-jquery-ui-css', 'http://ajax.googleapis.com/ajax/libs/jqueryui/' . self::get_jqueryui_ver() . '/themes/base/jquery-ui.css');
       		//georgiancode
       		//wp_register_script('tribe-jquery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/' . self::get_jqueryui_ver() . '/jquery-ui.min.js', array('jquery'));
       		wp_register_script('tribe-old-jquery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js', array('jquery'));
       		wp_register_script('tribe-timepicker', 'https://github.com/trentrichardson/jQuery-Timepicker-Addon/raw/master/jquery-ui-timepicker-addon.js', array('tribe-jquery-ui'));
       	}
       ```
   
 * Let me know.
 * Thanks,
    Thomas
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [NEWS (posts) Page is highlighted in nav on HOME page](https://wordpress.org/support/topic/news-posts-page-is-highlighted-in-nav-on-home-page/)
 *  Thread Starter [tsdexter](https://wordpress.org/support/users/tsdexter/)
 * (@tsdexter)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/news-posts-page-is-highlighted-in-nav-on-home-page/#post-1947054)
 * Oh also, on this only happens when I use a template for the home page that has
   posts in it..
 * ie: the home page has a slider with content that is populated via posts in the
   category ‘slideshow’
 * If I use default template on the page the link highlights properly… only when
   posts are included in the page does it highlight the news page…

Viewing 8 replies - 1 through 8 (of 8 total)