Commit Graph

83 Commits

Author SHA1 Message Date
Ryan Boren 722cbee7b6 Make sure ext passes through sanitize_file_name()
git-svn-id: https://develop.svn.wordpress.org/trunk@17998 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:23:57 +00:00
Ryan Boren 9730cb8d15 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 20:05:12 +00:00
Andrew Nacin 872372d68c s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: https://develop.svn.wordpress.org/trunk@16699 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:30:21 +00:00
Peter Westwood 1626139659 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: https://develop.svn.wordpress.org/trunk@16221 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 09:41:03 +00:00
Peter Westwood 5e54944621 We never want an admin bar on an APP request either. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16072 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:46:35 +00:00
Ryan Boren 2184a5d0f6 get_current_blog_id(). Props aaroncampbell. fixes #15233
git-svn-id: https://develop.svn.wordpress.org/trunk@16050 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 15:46:11 +00:00
Andrew Nacin 85394e795e More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15471 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-25 07:35:59 +00:00
Peter Westwood 31be303930 Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14949 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:27:18 +00:00
Peter Westwood 41a560ec0b Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14947 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:01:21 +00:00
Andrew Nacin 2473cefe8f s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Andrew Nacin d171d06d5e Switch to site_url() as wp-app base. fixes #11916
git-svn-id: https://develop.svn.wordpress.org/trunk@14136 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 05:56:35 +00:00
Andrew Nacin ddc506f01c Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Andrew Nacin e7fa18385a Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: https://develop.svn.wordpress.org/trunk@13427 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:21:47 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Peter Westwood 1600c4610f Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13113 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 16:45:16 +00:00
Ryan Boren 10221b01f2 Fix typos. Fix assignment. Remove passing of non-existent arg. Props ScottMac. fixes #12193
git-svn-id: https://develop.svn.wordpress.org/trunk@13054 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 16:58:32 +00:00
Ryan Boren e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Ryan Boren 3dfc463062 Coding style cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12734 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:25:40 +00:00
Peter Westwood c38846defd Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12587 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:05:02 +00:00
Peter Westwood a752e6b561 Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Ryan Boren dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Peter Westwood ed186637da Add some hooks to wp-app.php to allow a plugin to extend the data returned. Fixes #8826 props znarfor.
git-svn-id: https://develop.svn.wordpress.org/trunk@12488 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 15:57:33 +00:00
Peter Westwood deddf3c40e Remove unnecessary and dead code from wp-app.php. Fixes #10938.
git-svn-id: https://develop.svn.wordpress.org/trunk@12102 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 10:32:15 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Peter Westwood bd084996dd Fix two more notices in the APP implementation. This time in the root /service page.
git-svn-id: https://develop.svn.wordpress.org/trunk@11812 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-13 20:52:41 +00:00
Peter Westwood 31387fd45c Enable the APP attachment file download to work correctly rather than just returning a lot of php notices. Fixes #10372 for trunk props mysz.
git-svn-id: https://develop.svn.wordpress.org/trunk@11810 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-13 20:31:12 +00:00
Peter Westwood 19c135e0e6 Fix notice in APP server if no authentication credentials supplied.
git-svn-id: https://develop.svn.wordpress.org/trunk@11809 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-13 20:11:52 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Ryan Boren 15539caf5e Use get_the_author_meta(). Props sivel. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11416 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 21:32:39 +00:00
Ryan Boren c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Ryan Boren fc80cdec6b Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: https://develop.svn.wordpress.org/trunk@11318 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:28:56 +00:00
Mark Jaquith c638e8d8de _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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren 6c066a90d8 Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: https://develop.svn.wordpress.org/trunk@11108 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:42:30 +00:00
Ryan Boren 642871fbfa Always wp_authenticate in wp-app. Props wnorris. fixes #9320
git-svn-id: https://develop.svn.wordpress.org/trunk@10771 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-11 22:49:30 +00:00
Peter Westwood 00c4cb1765 Attachment metadata is stored in the summary field in AtomPub requests. Fixes #9148 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@10751 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 22:35:20 +00:00
Peter Westwood c4a79bf9fb Add hooks to allow plugins to extend AtomPub support. Fixes #8827 props znarfor and josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@10750 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 22:17:56 +00:00
Ryan Boren e4901ad286 Use 'the_category_rss' template function in Atompub backend. Props znarfor, josephscott. fixes #8829
git-svn-id: https://develop.svn.wordpress.org/trunk@10727 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 02:07:55 +00:00
Peter Westwood fdd2cda556 Ensure that updating an uploaded file using AtomPub works correct. Fixes #9233 for trunk props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@10663 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 18:37:02 +00:00
Ryan Boren 73d1177638 Return correct edit link. Props josephscott. fixes #9147
git-svn-id: https://develop.svn.wordpress.org/trunk@10651 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-26 00:03:53 +00:00
Ryan Boren f33754255f Allow use of REMOTE_USER/REDIRECT_REMOTE_USER for authentication. Props yonosoytu. fixes #7361
git-svn-id: https://develop.svn.wordpress.org/trunk@9951 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-28 21:04:48 +00:00
Ryan Boren cffae5aabf Send correct status. Props yonosoytu. see #7361
git-svn-id: https://develop.svn.wordpress.org/trunk@9861 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-24 20:21:09 +00:00
Andrew Ozz 6c36e3ab4b Complete inline documentation for AtomPub, props jacobsantos, fixes #7777
git-svn-id: https://develop.svn.wordpress.org/trunk@8954 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 08:06:48 +00:00
Andrew Ozz 6b8432bbb8 Completion and fixes for wp-app, wp-login and xmlrpc inline documentation, props jacobsantos, fixes #7550
git-svn-id: https://develop.svn.wordpress.org/trunk@8952 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 05:15:41 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren 7a8e0e3917 Update AtomPub auth to use latest API
git-svn-id: https://develop.svn.wordpress.org/trunk@8390 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-21 17:27:27 +00:00
Peter Westwood 7a97c74168 Ensure that AtomPub does not auto-publish draft posts when they are edited. Fixes #7299 for trunk props redsweater.
git-svn-id: https://develop.svn.wordpress.org/trunk@8374 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-19 15:29:31 +00:00
Ryan Boren 497ea49a77 Send 403 if publishing is disabled. Props AlanJCastonguay. see #7157
git-svn-id: https://develop.svn.wordpress.org/trunk@8267 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-07 19:19:47 +00:00
Mark Jaquith a1e44c371c Pass AtomPub disabled messaged through translation. props josephscott. see #7157
git-svn-id: https://develop.svn.wordpress.org/trunk@8234 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 01:58:38 +00:00
Ryan Boren 9cf90ec524 More informative error message when remote publishing is disabled. Don't disable if upgrading. Props josephscott. see #7157
git-svn-id: https://develop.svn.wordpress.org/trunk@8202 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 22:39:57 +00:00