=== Plugin Name === Contributors: zupolgec, sjeiti Donate link: https://www.paypal.me/mattiatrapani Tags: save, update, publish, keyboard, shortcut, ctrl-s, cmd-s, ctrl+s, cmd+s, ctrl, cmd Requires at least: 3.0 Tested up to: 5.0 Stable tag: 3.0 License: WTFPL License URI: http://www.wtfpl.net/ This plugin lets you save your posts, pages, theme and plugin files in the most natural way: pressing Ctrl+S (or Cmd+S on Mac). == Description == This plugin lets you save your posts, pages, theme and plugin files in the most natural way: pressing Ctrl+S (or Cmd+S on Mac). I've coded this plugin because I was tired of pressing Cmd+S and then realize Chrome was trying to save the whole webpage After coding this up, I've found in the plugin directory two plugins that did the same thing, but each one had some flaws that convinced me to publish mine. This plugin loads a small Javascript file (minified if not WP_DEBUG). The Javascript checks the contents of any admin page for save buttons. It is also *so* smart that saves as draft unpublished posts/pages and updates the ones that are already public. Also adds a little tooltip on the buttons that can be "clicked" with Ctrl+S or Cmd+S. == Installation == 1. Upload the folder `save-with-keyboard` to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress == Frequently Asked Questions == = Is it really so simple to install and use? = You can bet it is. = Where can I use the shortcut? = Almost everywhere! If it's not a post, page, widget, menu or link the plugin checks for the #submit selector (used, for instance, in theme, plugin and profile). == Changelog == = 3.0 = Added support for saving menus. Rebuilt tooltip insertion with support for localization. Tested up to WP 5.0 with Gutenberg (which doesn't use the plugin 'cause it already handles this shortcut). = 2.3 = Now the shortcut works even in visual editor! Minimum WP version bumped to 3.0 = 2.2 = Tested up to bumped to 4.8.2 Fixed typo in tooltip = 2.1 = Fixed stupid bug removing a single '!' = 2.0 = Updated plugin to work with the latest WP (3.9.2) * Refactored PHP to simply add a script. * Removed globals from Javascript through a self invoking function. * Refactored to save/publish any page/post/link/comment/widget/whatever. = 1.1 = Worked pretty well, but now it's awesome: * removed dependency from external libraries (except for jQuery which is anyway loaded by WP backend) * enabled shortcut in Themes and Plugins editor * added tooltip on shortcut-enabled buttons = 1.0 = First version. Should work pretty well already.