Commit Graph

3222 Commits

Author SHA1 Message Date
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 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 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 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
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
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 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 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 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
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 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 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
ryan bba593e250 Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: http://svn.automattic.com/wordpress/trunk@7531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:17:31 +00:00
markjaquith e6f396880b Clean up the Write Post/Write Page/Edit Comment screens for people without JS. Introduce the hide-if-no-js and hide-if-js automagical classes. fixes #6395
git-svn-id: http://svn.automattic.com/wordpress/trunk@7529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:06:18 +00:00
ryan f2d7699045 get_term_link() fixes for core taxonomies. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:26:22 +00:00
ryan 89fc6085db RC2
git-svn-id: http://svn.automattic.com/wordpress/trunk@7521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:50:42 +00:00
ryan e1b1845154 Taxonomy links and template tags from andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:37:19 +00:00
ryan 65d22bd47c Handle more than 3 columns in gallery. Props Dickie. fixes #6382
git-svn-id: http://svn.automattic.com/wordpress/trunk@7516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:34:55 +00:00
ryan 8895454664 Fixing several problems with TiynMCE, triggering of autosave() on an empty post in Safari 3.1, <br> tags in FF, <object> tag may break if switching from Visual to HTML mode and back several times, little cleanup of the compressor and others. Props azaozz. fixes #6384
git-svn-id: http://svn.automattic.com/wordpress/trunk@7513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:22:53 +00:00
ryan 8f35f1a817 Cleanup cat query var
git-svn-id: http://svn.automattic.com/wordpress/trunk@7511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 17:47:02 +00:00
ryan 064322eded Reture true from got_mod_rewrite if we can't determine if the module is loaded. Add got_rewrite filter. Props andy. fixes #6278
git-svn-id: http://svn.automattic.com/wordpress/trunk@7508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 00:22:37 +00:00
ryan faff475746 Accept array of object types when registering a taxonomy. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 22:43:20 +00:00
ryan f9f1f16dca in_category(): Return immediately if category is empty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 20:39:05 +00:00
ryan 1276a8283c Fix some notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@7503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 20:30:33 +00:00
ryan 47dec4bad6 FF3_b4 horizontal selects fix, widgets css fixes for IE6 and other small fixes and improvements from mt. fixes #6370
git-svn-id: http://svn.automattic.com/wordpress/trunk@7502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 16:18:30 +00:00
westi 5180584bfb Upgrade the database so we get all the new options for thumbnail size etc in all blogs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 12:15:55 +00:00
matt f868d87004 Bring in forgotton tag_escape. Fixes #6368.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 05:15:28 +00:00
ryan 193b20c03f Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: http://svn.automattic.com/wordpress/trunk@7496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 02:57:19 +00:00
westi 84a5d17f6e Setup the class variable for when it's not used. Props dickie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 22:10:00 +00:00
matt 6be1f709f6 Return the content so everything doesn't go blank from [7491]. See #6537. Hat tip: robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 18:19:03 +00:00
ryan cce67416a3 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 17:02:11 +00:00
ryan 9ff67a46b4 Maintain toolbar state. Props azaozz. fixes #6360
git-svn-id: http://svn.automattic.com/wordpress/trunk@7489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 16:37:06 +00:00
ryan 31d303ea1b Add default for post_excerpt. see #6355
git-svn-id: http://svn.automattic.com/wordpress/trunk@7482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:58:47 +00:00
ryan bc1e8fd755 Make sure IDs are >= 0. see #6305
git-svn-id: http://svn.automattic.com/wordpress/trunk@7481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:55:11 +00:00
westi da305bbce0 Tabindex for the Preview/View links. See #6352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 22:19:25 +00:00
matt 712f33944b Helper comment and lowercase filenames before playing around with them, to avoid extension duplication.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 19:34:21 +00:00
ryan c7dcfa6261 Fix loading of colors RTL css. Props mani_monaj. see #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 18:33:31 +00:00
matt fc2ee8bd18 Better default quality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 17:14:53 +00:00