Commit Graph

189 Commits

Author SHA1 Message Date
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
markjaquith bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
markjaquith d7b015645d esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
azaozz 0ba921274d Change CSS classes to avoid collisions with ui.tabs, fixes #9740
git-svn-id: http://svn.automattic.com/wordpress/trunk@11224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 21:31:07 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz 12924135ce Add wpspin_light and wpspin_dark spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 18:57:43 +00:00
ryan 808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
ryan 12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
azaozz d409315d8c Add wpspin.gif and replace all spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 19:43:22 +00:00
ryan 9ef2afc85b attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 06:37:51 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
azaozz 2155f6427c Press This notice fixes, props DD32, fixes #9593
git-svn-id: http://svn.automattic.com/wordpress/trunk@11010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 11:14:37 +00:00
markjaquith a25a1c10a7 preg_quote2() unnecessary. preg_quote() supports delimiter escaping if you pass it as second param
git-svn-id: http://svn.automattic.com/wordpress/trunk@10856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 05:45:28 +00:00
markjaquith ffaa0293e3 Press This UI, Quoting fixes, plus ability for Contributors to use Press This. props noel. fixes #9434
git-svn-id: http://svn.automattic.com/wordpress/trunk@10855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 05:41:52 +00:00
ryan e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
azaozz fd6f6fe44b Add Content-Type header to admin-ajax and press this, props UnderWordPressure, fixes #8795
git-svn-id: http://svn.automattic.com/wordpress/trunk@10375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-18 05:40:40 +00:00
azaozz d9917e53e8 Fix Press This tags input, fixes #8743
git-svn-id: http://svn.automattic.com/wordpress/trunk@10374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-18 00:56:15 +00:00
azaozz f5276b5416 Press This CSS cleanup, props Simek, fixes #8773
git-svn-id: http://svn.automattic.com/wordpress/trunk@10290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-01 20:33:01 +00:00
azaozz a2f3c4907b Press This updates for multi-taxonomies, props noel, fixes #8669
git-svn-id: http://svn.automattic.com/wordpress/trunk@10237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-21 12:34:12 +00:00
azaozz 319f68a479 Update for Press This from noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@10127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 17:44:17 +00:00
markjaquith 27e98ed75a Press This fixes from Noel. see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@10030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 04:58:27 +00:00
azaozz 0449c5532e PressThis fix from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 04:28:37 +00:00
ryan 3dc156d583 Press This fix from noel. fixes #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 19:32:38 +00:00
azaozz 1f84059485 More PressThis updates from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 02:06:52 +00:00
azaozz 9c3332c2d2 PressThis updates from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 01:16:00 +00:00
azaozz 0908ebade9 PressThis css fixes from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 04:29:35 +00:00
azaozz e289acf038 PressThis fixes for window resizing and Chrome bugs from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 23:31:59 +00:00
azaozz b05ec0cd99 PressThis updates from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 13:01:36 +00:00
ryan 1a52b3e086 Press This update from noel. see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 01:20:20 +00:00
ryan d699f0d00d i18n fixes from nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:42:51 +00:00
ryan 15a965cf80 Press This updates from noel. see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 17:20:06 +00:00
ryan 93de637a55 Press This fixes from noel. see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 15:42:04 +00:00
ryan 9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
azaozz f5d0646a92 Press This: URL fixes for images, props noel, see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@9115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 21:49:00 +00:00
ryan 637cca38da Draggable dash, first cut. Props mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 23:32:34 +00:00
azaozz 7f61fd6389 Fix script loading in Press This
git-svn-id: http://svn.automattic.com/wordpress/trunk@9079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 18:56:59 +00:00
azaozz cfc2109116 Update TinyMCE to 3.2.0 and remove compression, fixes #7827
git-svn-id: http://svn.automattic.com/wordpress/trunk@9064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 16:30:14 +00:00
ryan a1c9454f9d Media fixes for Press This. Props noel. see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 06:21:12 +00:00
ryan f528acb8df Press This updates from noel. see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 22:04:10 +00:00
ryan 42fdf59b30 Press This rework from noel. see #7732
git-svn-id: http://svn.automattic.com/wordpress/trunk@8903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 06:30:15 +00:00
ryan 9bda0a2701 Redirect back to Press This interface after posting
git-svn-id: http://svn.automattic.com/wordpress/trunk@8816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 17:46:09 +00:00
ryan d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
westi c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
ryan 35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan 859921a0f4 Press This: Fix image insert in IE7, set textarea height. Props noael and zamoose. fixes #7387 #7310 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 17:13:58 +00:00
ryan c2e5bd7c3b Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425
git-svn-id: http://svn.automattic.com/wordpress/trunk@8484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 05:22:58 +00:00
azaozz e30000d174 Press This: using trailing slash after $_SERVER['PHP_SELF'] breaks the image tab on some servers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:07:47 +00:00
ryan cdcd6ffdf6 Image sideload and wp_upload_dir() fixes from noel. fixes #7342 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-18 03:19:12 +00:00
ryan 7b7d5d8611 Image regex fixes from noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-14 17:59:06 +00:00
ryan 1e6bf47187 rlm entity not so Windows friendly. Use perios instead. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-14 17:26:30 +00:00
ryan 4846338eeb Press This: properly add and load press-this-ie.css, cleanup of the bookmarklet code. Props azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-13 04:57:01 +00:00
ryan 09f8519390 Press This: Switching to using our default content cleanup in the editor. Props azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 23:38:32 +00:00
ryan e027fac4f6 Press This: Fix inserting the selection in the editor and stripping of paragraphs when saving, IE CSS styling fixes, fix continuous linking in editor. Props noel and azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 20:27:50 +00:00
ryan 10b433cce8 Press This: CSS cleanup, photo input newline breaks, fixes short_tags problem. Props noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 21:39:36 +00:00
ryan bcbbb70170 Don't format_to_edit TinyMCE inserts. Don't turn selection into a link. Restore editor contents when switching back to text tab. see #7261 #7220
git-svn-id: http://svn.automattic.com/wordpress/trunk@8302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 19:51:53 +00:00
ryan 897fa5bf62 Gears and styling updates for Press This from azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-04 16:12:31 +00:00
ryan eb1f9d0b39 Clean image urls in get_images_from_uri(). see #7220
git-svn-id: http://svn.automattic.com/wordpress/trunk@8240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 22:40:52 +00:00
ryan a2ed9c5f28 Don't match images with tags in them. Props noel. see #7220
git-svn-id: http://svn.automattic.com/wordpress/trunk@8237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 15:26:51 +00:00
ryan 93bccf8773 Escaping for Press This. see #7220
git-svn-id: http://svn.automattic.com/wordpress/trunk@8235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 02:23:12 +00:00
ryan c94918ca9f i18n fixes from nbachiyski. fixes #7195
git-svn-id: http://svn.automattic.com/wordpress/trunk@8211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-28 16:27:21 +00:00
ryan 78afb8f235 gettext for Press This from Txanny. fixes #7189
git-svn-id: http://svn.automattic.com/wordpress/trunk@8200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 20:13:32 +00:00
ryan cdc53fcb86 Press This image linking fixes from noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 21:16:39 +00:00
ryan 9198dc7dbc Press This updates from noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 16:00:12 +00:00
ryan 9f3313b115 Press This: Fixes for unicode/ascii/apostrophe problems. Upgrades to the Photo tab. Props noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-19 17:03:23 +00:00
ryan 3e733d13e8 Press This changes from noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-17 19:36:29 +00:00
ryan 92bf0c6405 Press this updates from noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-15 18:05:01 +00:00
ryan 830428b928 Press This UI changes and photo loading fixes from noel. fixes #7120 see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-11 17:45:50 +00:00
ryan 7939970055 Press This improvements from noel. fixes #7117
git-svn-id: http://svn.automattic.com/wordpress/trunk@8067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-10 16:13:06 +00:00
ryan 5b1fffa322 Fix url encode/decode issues in Press This. Props noel. fixes #7105
git-svn-id: http://svn.automattic.com/wordpress/trunk@8059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 08:49:45 +00:00
ryan 6aaddbee0a Press This enhancement from noel. see #7066
git-svn-id: http://svn.automattic.com/wordpress/trunk@8048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 16:13:55 +00:00
matt 727379047b Don't prepend the host if it's already a full URL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-31 10:51:50 +00:00
ryan 9b1e23680a Add label associations to press this. Props MarcoZ. fixes #7067
git-svn-id: http://svn.automattic.com/wordpress/trunk@8017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-30 16:00:37 +00:00
ryan ed5eba0909 Make some of the color CSS selectors more specific so that the category tabs on the Write page don't get messed up. Props mdawaffe. see #6998
git-svn-id: http://svn.automattic.com/wordpress/trunk@8013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 23:30:28 +00:00
ryan 2b4f2fd621 Press this reorg. Remove old bookmarklet. Props noel. see #7049
git-svn-id: http://svn.automattic.com/wordpress/trunk@8007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-28 18:18:44 +00:00
ryan 5564bccc32 Press This: Obey color scheme. Props azaozz. see #6998
git-svn-id: http://svn.automattic.com/wordpress/trunk@7993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 20:39:16 +00:00
ryan a3d971bd3e gettext for Press This. Props SteveAgl. fixes #702!
git-svn-id: http://svn.automattic.com/wordpress/trunk@7984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 15:48:32 +00:00
ryan 7d4065182b Press This fixes from noel. see #6998
git-svn-id: http://svn.automattic.com/wordpress/trunk@7983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 15:47:37 +00:00
ryan 68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +00:00
ryan 41c7bca7d0 Don't use php 5 only component parameter to parse_url. Props azaozz. see #6998
git-svn-id: http://svn.automattic.com/wordpress/trunk@7966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 22:26:20 +00:00
ryan bc07ef1efe Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: http://svn.automattic.com/wordpress/trunk@7961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 17:19:33 +00:00
ryan 60e440142e Press This styling updates from noel. fixes #6998
git-svn-id: http://svn.automattic.com/wordpress/trunk@7957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 16:37:54 +00:00
ryan 0a0216a765 Trailing whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-17 18:50:54 +00:00
ryan 2ed0873cd2 Some escaping. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 23:20:56 +00:00
ryan 6762f6169e Press This: Fetch offsite images, fix slashing. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-15 00:20:27 +00:00
ryan 36badd926e Only img src. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 23:21:28 +00:00
ryan 7ce984281f Press This: AJAX load all tabs, add tag UI, make category list scrollable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 20:01:09 +00:00
ryan aa927d3859 Brand as Press This. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 16:59:07 +00:00