Commit Graph

6920 Commits

Author SHA1 Message Date
markjaquith aff9f47646 Don't show delete checkbox for default category. HTML validation. props johnbillion. fixes #6560 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 05:02:19 +00:00
markjaquith 6a41b549d0 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 03:05:49 +00:00
westi 9a15c3a960 Ensure we only fire off ajax requests for the dashboard widgets when the cache has expired. Fixes #6533 for trunk props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 16:22:53 +00:00
westi 3eee635513 Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 16:18:11 +00:00
markjaquith 29a551d786 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: http://svn.automattic.com/wordpress/trunk@7586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 13:15:21 +00:00
westi 8ca58c943e Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-01 21:12:35 +00:00
markjaquith e0e2dedba5 Do not hyperlink the "Edit this entry" period. props phocks. fixes #6488
git-svn-id: http://svn.automattic.com/wordpress/trunk@7582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-31 17:02:41 +00:00
markjaquith 359fb2aced Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-31 07:56:58 +00:00
westi 74a7fc7923 Specify collation as well when connecting to the database if it is provided. See #6410 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 17:56:27 +00:00
markjaquith 6e9a44bd99 Move user search </form> to correct position. props Nazgul and bl968. fixes #6462 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 16:48:31 +00:00
markjaquith 5ab9ee6a8f Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 16:41:43 +00:00
westi 88cbd04406 Make sure the rewrite rules for the feed files match when WordPress is installed in a subdirectory. See #6460 this is for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 13:42:03 +00:00
markjaquith 9eeb25a302 Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 06:11:30 +00:00
markjaquith 1e668ea293 Update timestamp when only the minute value is changed. props johnconners. fixes #6456 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 06:00:59 +00:00
westi 9e849cc2ec Trunk is for 2.6 development now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 16:47:16 +00:00
matt 81f9a12d30 Live from WordCamp Dallas. :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@7566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 14:39:28 +00:00
markjaquith 8462894aef Cannot use Silk icon because of an incompatible license. Not really needed with background color and "Active" text anyway. see #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 07:21:12 +00:00
markjaquith a364c8f80e Sync page edit and post edit redirect message usage a bit more -- properly exclude the page.php file from the "go back" link for page edits.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 06:47:30 +00:00
matt 214aaea94f In some environments people can override most things but not mod_sec rules, so this breaks their blog and they can't recover unless they manually edit the file. There is no way to detect whether you can overwrite the rules or not.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 04:03:09 +00:00
westi 73768f4a8d Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 19:05:22 +00:00
matt a419491688 Shortcode quotes were getting texturized, which can cause a bit of chaos. Fixes #6436.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 15:23:09 +00:00
ryan 111549dfc0 RC3
git-svn-id: http://svn.automattic.com/wordpress/trunk@7560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 07:02:55 +00:00
ryan 121fca1624 Drop trackbacks that request UTF-7
git-svn-id: http://svn.automattic.com/wordpress/trunk@7559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 06:51:19 +00:00
ryan c4865c3418 Disable mod_security for uploader. Props andy. see #6406
git-svn-id: http://svn.automattic.com/wordpress/trunk@7558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 06:08:20 +00:00
ryan acb9f8f738 do not add rel if link is not get_attachment_link. Props andy. fixes #6428
git-svn-id: http://svn.automattic.com/wordpress/trunk@7557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 03:53:05 +00:00
ryan a29ec701f5 TinyMCE RTL and paste as plain text fixes from azaozz. fixes #6429
git-svn-id: http://svn.automattic.com/wordpress/trunk@7556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 03:49:35 +00:00
ryan 77d5b58105 Rehash old md5 hashes inside of wp_check_password() to make hashing more pluggable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 22:44:47 +00:00
ryan 585f442ec5 Redirect back to attachment permalink page after editing attachment via 'Edit This' link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 22:05:51 +00:00
ryan f37928e5e5 Updated RTL for default theme from mani_monaj. see #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 20:42:50 +00:00
ryan 5a3c15d7bd RTL fixes from mani_monaj. see #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 20:33:56 +00:00
ryan 6d81b777d7 Remove unanchored string replacement. Props nh7a. fixes #6423
git-svn-id: http://svn.automattic.com/wordpress/trunk@7551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 20:10:29 +00:00
westi a0706cbb8a Allow a plugin to force enable/disable the flash uploader. See #6406 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 17:37:37 +00:00
ryan ba90d16134 Use is_numeric instead of ctype_digit. Props josephscott. fixes #5481
git-svn-id: http://svn.automattic.com/wordpress/trunk@7549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 16:56:56 +00:00
ryan 29839a2fb5 Localize date in dashboard. Props hervada and nbachiyski. fixes #6397
git-svn-id: http://svn.automattic.com/wordpress/trunk@7548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 08:09:06 +00:00
ryan 3cfb4b406c Return WP_Error from download_url() on HTTP Errors. Fix cases where current plugin filename differs from the WordPress.org slug. Props DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 07:36:30 +00:00
ryan 70a2ebbdd3 Init categories array. Props tellyworth. fixes #6411
git-svn-id: http://svn.automattic.com/wordpress/trunk@7546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 07:20:53 +00:00
ryan a480e4e55b Allow register_taxonomy() to be called before init for back compat with impatient plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 06:30:20 +00:00
markjaquith 2b93618c82 Tags work without JS, so we should not hide them!
git-svn-id: http://svn.automattic.com/wordpress/trunk@7544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 03:02:54 +00:00
markjaquith f945af84d8 Don't show broken parent post links for orphaned media. fixes #6408
git-svn-id: http://svn.automattic.com/wordpress/trunk@7543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 02:50:01 +00:00
ryan b9fff33927 Media edit and delete redirect fixes. WIP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 01:48:22 +00:00
matt efef565261 Make calls in image.php template more explicit to allow for easier hacking and adaptation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 00:13:14 +00:00
ryan 74cff8bd3c Add nonce and gettext to sidebar.php. Fix sidebar redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 23:41:41 +00:00
matt f43fba3559 .clear class was used, but undefined, which could cause funky image navigation at some sizes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 23:12:54 +00:00
ryan bfba721708 Active plugin highlighting tweaks from MT. fixes #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 22:27:27 +00:00
ryan b39d0790ec Fix redirects after editing and deleting link categories.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 22:21:01 +00:00
ryan 8c42926dee Fix redirects after editing and deleting tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:54:02 +00:00
ryan fccd2c132e Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
git-svn-id: http://svn.automattic.com/wordpress/trunk@7535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:26:28 +00:00
ryan d9e10dd831 Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
git-svn-id: http://svn.automattic.com/wordpress/trunk@7534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:22:19 +00:00
markjaquith feece21b1f Use attachment title instead of filename, unless it is empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@7533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:00:21 +00:00
markjaquith 740f33ea4b Autosave fixes for attachments from andy. fixes #6389
git-svn-id: http://svn.automattic.com/wordpress/trunk@7532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:28:40 +00:00