From 565bfceb49c268f7042fc01e4c6842a6e69cd538 Mon Sep 17 00:00:00 2001 From: erwanlr Date: Thu, 28 Mar 2013 20:48:19 +0100 Subject: [PATCH] WpVersion::Findable specs --- lib/common/models/wp_version.rb | 7 + lib/common/models/wp_version/findable.rb | 112 +- lib/common/models/wp_version/vulnerable.rb | 2 + lib/wpscan/wp_target.rb | 8 +- main.rb | 2 +- .../common/models/wp_version/findable_spec.rb | 202 ++ .../advanced_fingerprinting}/3.2.1.js | 0 .../advanced_fingerprinting}/wp_versions.xml | 0 .../findable/atom_generator/3.3.2.html} | 0 .../findable/atom_generator/3.4-beta4.html} | 0 .../atom_generator/invalid_version.html} | 0 .../atom_generator/no_generator.html} | 0 .../findable/atom_generator/no_version.html} | 0 .../wp_version/findable/links_opml/3.4.2.xml} | 0 .../findable/links_opml/no_generator.xml} | 0 .../findable/meta_generator/3.3.2.html | 38 + .../findable/meta_generator/3.4-beta4.html | 32 + .../meta_generator/3.5_minified.html} | 0 .../meta_generator/invalid_version.html | 38 + .../meta_generator/no_generator.html} | 0 .../findable/meta_generator/no_version.html | 38 + .../findable/rdf_generator/3.3.2.html} | 0 .../findable/rdf_generator/3.4-beta4.html} | 0 .../rdf_generator/invalid_version.html} | 0 .../findable/rdf_generator/no_generator.html} | 0 .../findable/rdf_generator/no_version.html} | 0 .../wp_version/findable/readme/3.3.2.html} | 0 .../findable/readme/empty_version.html} | 0 .../findable}/readme/invalid_version.html | 0 .../findable/rss_generator/3.3.2.html} | 0 .../findable/rss_generator/3.4-beta4.html} | 0 .../rss_generator/invalid_version.html} | 0 .../findable/rss_generator/no_generator.html} | 0 .../findable/rss_generator/no_version.html} | 0 .../findable/sitemap_generator/3.3.2.html | 3 + .../findable/sitemap_generator/3.4-beta4.html | 3 + .../sitemap_generator/invalid_version.html | 3 + .../sitemap_generator/no_generator.html | 3 + .../sitemap_generator/no_version.html | 3 + .../wp_versions/0.71-gold/layout2b.css | 171 -- .../samples/wp_versions/0.71-gold/readme.html | 995 ------ .../samples/wp_versions/1.2-delta/readme.html | 248 -- .../wp_versions/1.2-delta/wp-layout.css | 302 -- spec/samples/wp_versions/1.2.1/readme.html | 160 - spec/samples/wp_versions/1.2.1/wp-layout.css | 303 -- spec/samples/wp_versions/1.5.2/readme.html | 126 - .../1.5.2/wp-content/themes/default/style.css | 610 ---- spec/samples/wp_versions/2.0.1/readme.html | 120 - .../2.0.1/wp-content/themes/default/style.css | 622 ---- spec/samples/wp_versions/2.0/readme.html | 120 - .../2.0/wp-content/themes/default/style.css | 626 ---- spec/samples/wp_versions/2.2/readme.html | 91 - .../wp_versions/2.2/wp-includes/js/wp-ajax.js | 100 - spec/samples/wp_versions/2.5.1/readme.html | 91 - .../js/tinymce/themes/advanced/js/image.js | 254 -- spec/samples/wp_versions/2.5/readme.html | 91 - .../js/tinymce/themes/advanced/js/link.js | 126 - spec/samples/wp_versions/2.6/readme.html | 91 - .../2.6/wp-admin/gears-manifest.php | 222 -- .../plugins/wpeditimage/editor_plugin.js | 217 -- spec/samples/wp_versions/2.7.1/readme.html | 91 - .../2.7.1/wp-admin/gears-manifest.php | 172 -- .../2.7.1/wp-includes/js/wp-ajax-response.js | 60 - spec/samples/wp_versions/2.7/readme.html | 91 - .../2.7/wp-admin/gears-manifest.php | 172 -- .../2.7/wp-includes/js/thickbox/thickbox.css | 161 - spec/samples/wp_versions/2.8.2/readme.html | 91 - .../2.8.2/wp-admin/gears-manifest.php | 76 - .../wp-content/plugins/akismet/readme.txt | 42 - spec/samples/wp_versions/2.8.5/readme.html | 91 - .../2.8.5/wp-admin/gears-manifest.php | 76 - .../wp-content/plugins/akismet/readme.txt | 46 - spec/samples/wp_versions/2.8.6/readme.html | 91 - .../2.8.6/wp-admin/gears-manifest.php | 76 - .../wp-content/plugins/akismet/readme.txt | 48 - spec/samples/wp_versions/3.0/readme.html | 109 - .../3.0/wp-admin/gears-manifest.php | 73 - .../3.0/wp-content/themes/twentyten/style.css | 1346 --------- spec/samples/wp_versions/3.1/readme.html | 109 - .../3.1/wp-admin/gears-manifest.php | 72 - .../3.1/wp-includes/css/admin-bar.css | 1 - spec/samples/wp_versions/3.2.1/readme.html | 109 - .../3.2.1/wp-admin/gears-manifest.php | 72 - .../wp-content/themes/twentyeleven/style.css | 2670 ---------------- spec/samples/wp_versions/3.2/readme.html | 109 - .../3.2/wp-admin/gears-manifest.php | 72 - .../wp-content/themes/twentyeleven/style.css | 2669 ---------------- .../3.3.1/wp-admin/gears-manifest.php | 165 - .../wp-content/themes/twentyeleven/style.css | 2679 ----------------- .../3.3.2/wp-admin/gears-manifest.php | 72 - .../3.3.2/wp-includes/js/plupload/plupload.js | 2 - spec/samples/wp_versions/3.3/readme.html | 109 - .../3.3/wp-admin/gears-manifest.php | 72 - .../wp_versions/3.3/wp-admin/js/common.js | 1 - .../wp_version/meta-generator/3.3.2.htm | 174 -- .../wp_version/meta-generator/3.4-beta4.htm | 138 - .../meta-generator/invalid_version.htm | 174 -- 97 files changed, 456 insertions(+), 18105 deletions(-) create mode 100644 spec/lib/common/models/wp_version/findable_spec.rb rename spec/samples/{wpscan/wp_version/advanced => common/models/wp_version/findable/advanced_fingerprinting}/3.2.1.js (100%) rename spec/samples/{wpscan/wp_version/advanced => common/models/wp_version/findable/advanced_fingerprinting}/wp_versions.xml (100%) rename spec/samples/{wpscan/wp_version/atom-generator/3.3.2.htm => common/models/wp_version/findable/atom_generator/3.3.2.html} (100%) rename spec/samples/{wpscan/wp_version/atom-generator/3.4-beta4.htm => common/models/wp_version/findable/atom_generator/3.4-beta4.html} (100%) rename spec/samples/{wpscan/wp_version/atom-generator/invalid_version.htm => common/models/wp_version/findable/atom_generator/invalid_version.html} (100%) rename spec/samples/{wpscan/wp_version/atom-generator/no-atom-generator.htm => common/models/wp_version/findable/atom_generator/no_generator.html} (100%) rename spec/samples/{wpscan/wp_version/atom-generator/no-version.htm => common/models/wp_version/findable/atom_generator/no_version.html} (100%) rename spec/samples/{wpscan/wp_version/opml/wp-links-opml.xml => common/models/wp_version/findable/links_opml/3.4.2.xml} (100%) rename spec/samples/{wpscan/wp_version/opml/wp-links-opml-nogenerator.xml => common/models/wp_version/findable/links_opml/no_generator.xml} (100%) create mode 100755 spec/samples/common/models/wp_version/findable/meta_generator/3.3.2.html create mode 100755 spec/samples/common/models/wp_version/findable/meta_generator/3.4-beta4.html rename spec/samples/{wpscan/wp_version/meta-generator/3.5_minified.htm => common/models/wp_version/findable/meta_generator/3.5_minified.html} (100%) create mode 100755 spec/samples/common/models/wp_version/findable/meta_generator/invalid_version.html rename spec/samples/{wpscan/wp_version/meta-generator/no-meta-generator.htm => common/models/wp_version/findable/meta_generator/no_generator.html} (100%) create mode 100644 spec/samples/common/models/wp_version/findable/meta_generator/no_version.html rename spec/samples/{wpscan/wp_version/rdf-generator/3.3.2.htm => common/models/wp_version/findable/rdf_generator/3.3.2.html} (100%) rename spec/samples/{wpscan/wp_version/rdf-generator/3.4-beta4.htm => common/models/wp_version/findable/rdf_generator/3.4-beta4.html} (100%) rename spec/samples/{wpscan/wp_version/rdf-generator/invalid_version.htm => common/models/wp_version/findable/rdf_generator/invalid_version.html} (100%) rename spec/samples/{wpscan/wp_version/rdf-generator/no-rdf-generator.htm => common/models/wp_version/findable/rdf_generator/no_generator.html} (100%) rename spec/samples/{wpscan/wp_version/rdf-generator/no-version.htm => common/models/wp_version/findable/rdf_generator/no_version.html} (100%) rename spec/samples/{wpscan/wp_version/readme/readme-3.3.2.html => common/models/wp_version/findable/readme/3.3.2.html} (100%) rename spec/samples/{wpscan/wp_version/readme/empty-version.html => common/models/wp_version/findable/readme/empty_version.html} (100%) rename spec/samples/{wpscan/wp_version => common/models/wp_version/findable}/readme/invalid_version.html (100%) rename spec/samples/{wpscan/wp_version/rss-generator/3.3.2.htm => common/models/wp_version/findable/rss_generator/3.3.2.html} (100%) rename spec/samples/{wpscan/wp_version/rss-generator/3.4-beta4.htm => common/models/wp_version/findable/rss_generator/3.4-beta4.html} (100%) rename spec/samples/{wpscan/wp_version/rss-generator/invalid_version.htm => common/models/wp_version/findable/rss_generator/invalid_version.html} (100%) rename spec/samples/{wpscan/wp_version/rss-generator/no-rss-generator.htm => common/models/wp_version/findable/rss_generator/no_generator.html} (100%) rename spec/samples/{wpscan/wp_version/rss-generator/no-version.htm => common/models/wp_version/findable/rss_generator/no_version.html} (100%) create mode 100644 spec/samples/common/models/wp_version/findable/sitemap_generator/3.3.2.html create mode 100644 spec/samples/common/models/wp_version/findable/sitemap_generator/3.4-beta4.html create mode 100644 spec/samples/common/models/wp_version/findable/sitemap_generator/invalid_version.html create mode 100644 spec/samples/common/models/wp_version/findable/sitemap_generator/no_generator.html create mode 100644 spec/samples/common/models/wp_version/findable/sitemap_generator/no_version.html delete mode 100755 spec/samples/wp_versions/0.71-gold/layout2b.css delete mode 100755 spec/samples/wp_versions/0.71-gold/readme.html delete mode 100755 spec/samples/wp_versions/1.2-delta/readme.html delete mode 100755 spec/samples/wp_versions/1.2-delta/wp-layout.css delete mode 100755 spec/samples/wp_versions/1.2.1/readme.html delete mode 100755 spec/samples/wp_versions/1.2.1/wp-layout.css delete mode 100755 spec/samples/wp_versions/1.5.2/readme.html delete mode 100755 spec/samples/wp_versions/1.5.2/wp-content/themes/default/style.css delete mode 100755 spec/samples/wp_versions/2.0.1/readme.html delete mode 100755 spec/samples/wp_versions/2.0.1/wp-content/themes/default/style.css delete mode 100755 spec/samples/wp_versions/2.0/readme.html delete mode 100755 spec/samples/wp_versions/2.0/wp-content/themes/default/style.css delete mode 100755 spec/samples/wp_versions/2.2/readme.html delete mode 100755 spec/samples/wp_versions/2.2/wp-includes/js/wp-ajax.js delete mode 100755 spec/samples/wp_versions/2.5.1/readme.html delete mode 100755 spec/samples/wp_versions/2.5.1/wp-includes/js/tinymce/themes/advanced/js/image.js delete mode 100755 spec/samples/wp_versions/2.5/readme.html delete mode 100755 spec/samples/wp_versions/2.5/wp-includes/js/tinymce/themes/advanced/js/link.js delete mode 100755 spec/samples/wp_versions/2.6/readme.html delete mode 100644 spec/samples/wp_versions/2.6/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/2.6/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js delete mode 100755 spec/samples/wp_versions/2.7.1/readme.html delete mode 100644 spec/samples/wp_versions/2.7.1/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/2.7.1/wp-includes/js/wp-ajax-response.js delete mode 100755 spec/samples/wp_versions/2.7/readme.html delete mode 100644 spec/samples/wp_versions/2.7/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/2.7/wp-includes/js/thickbox/thickbox.css delete mode 100755 spec/samples/wp_versions/2.8.2/readme.html delete mode 100644 spec/samples/wp_versions/2.8.2/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/2.8.2/wp-content/plugins/akismet/readme.txt delete mode 100755 spec/samples/wp_versions/2.8.5/readme.html delete mode 100644 spec/samples/wp_versions/2.8.5/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/2.8.5/wp-content/plugins/akismet/readme.txt delete mode 100755 spec/samples/wp_versions/2.8.6/readme.html delete mode 100644 spec/samples/wp_versions/2.8.6/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/2.8.6/wp-content/plugins/akismet/readme.txt delete mode 100755 spec/samples/wp_versions/3.0/readme.html delete mode 100644 spec/samples/wp_versions/3.0/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/3.0/wp-content/themes/twentyten/style.css delete mode 100755 spec/samples/wp_versions/3.1/readme.html delete mode 100644 spec/samples/wp_versions/3.1/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/3.1/wp-includes/css/admin-bar.css delete mode 100755 spec/samples/wp_versions/3.2.1/readme.html delete mode 100755 spec/samples/wp_versions/3.2.1/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/3.2.1/wp-content/themes/twentyeleven/style.css delete mode 100755 spec/samples/wp_versions/3.2/readme.html delete mode 100644 spec/samples/wp_versions/3.2/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/3.2/wp-content/themes/twentyeleven/style.css delete mode 100755 spec/samples/wp_versions/3.3.1/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/3.3.1/wp-content/themes/twentyeleven/style.css delete mode 100755 spec/samples/wp_versions/3.3.2/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/3.3.2/wp-includes/js/plupload/plupload.js delete mode 100755 spec/samples/wp_versions/3.3/readme.html delete mode 100755 spec/samples/wp_versions/3.3/wp-admin/gears-manifest.php delete mode 100755 spec/samples/wp_versions/3.3/wp-admin/js/common.js delete mode 100755 spec/samples/wpscan/wp_version/meta-generator/3.3.2.htm delete mode 100755 spec/samples/wpscan/wp_version/meta-generator/3.4-beta4.htm delete mode 100755 spec/samples/wpscan/wp_version/meta-generator/invalid_version.htm diff --git a/lib/common/models/wp_version.rb b/lib/common/models/wp_version.rb index 75023e81..ae7eab4f 100755 --- a/lib/common/models/wp_version.rb +++ b/lib/common/models/wp_version.rb @@ -16,4 +16,11 @@ class WpVersion < WpItem # @return [ Array ] def allowed_options; super << :number << :found_from end + # @param [ WpVersion ] other + # + # @return [ Boolean ] + def ==(other) + number == other.number + end + end diff --git a/lib/common/models/wp_version/findable.rb b/lib/common/models/wp_version/findable.rb index d11e8be6..df71f65c 100755 --- a/lib/common/models/wp_version/findable.rb +++ b/lib/common/models/wp_version/findable.rb @@ -3,32 +3,46 @@ class WpVersion < WpItem module Findable - @@version_xml = WP_VERSIONS_FILE - def version_xml - @@version_xml - end - - def version_xml=(xml) - if File.exists?(xml) - @@version_xml = xml - else - raise "The file #{xml} does not exist" - end - end - - # Find the version of the wp_target blog - # returns a WpVersion object or nil - def find(target_uri, wp_content_dir, wp_plugins_dir) + # Find the version of the blog designated from target_uri + # + # @param [ URI ] target_uri + # @param [ String ] wp_content_dir + # @param [ String ] wp_plugins_dir + # + # @return [ WpVersion ] + def find(target_uri, wp_content_dir, wp_plugins_dir, versions_xml) methods.grep(/find_from_/).each do |method| - if version = send(method, target_uri, wp_content_dir, wp_plugins_dir) + if method === :find_from_advanced_fingerprinting + version = send(method, target_uri, wp_content_dir, wp_plugins_dir, versions_xml) + else + version = send(method, target_uri) + end + + if version return new(target_uri, number: version, found_from: method) end end + nil end + # Used to check if the version is correct: must contain at least one dot. + # + # @return [ String ] + def version_pattern + '([^\r\n"\']+\.[^\r\n"\']+)' + end + + protected + # Returns the first match of in the body of the url + # + # @param [ URI ] target_uri + # @param [ Regex ] pattern + # @param [ String ] path + # + # @return [ String ] def scan_url(target_uri, pattern, path = nil) url = path ? target_uri.merge(path).to_s : target_uri.to_s response = Browser.instance.get_and_follow_location(url) @@ -47,7 +61,11 @@ class WpVersion < WpItem # # The meta tag can be removed however it seems, # that it is reinstated on upgrade. - def find_from_meta_generator(target_uri, wp_content_dir, wp_plugins_dir) + # + # @param [ URI ] target_uri + # + # @return [ String ] The version number + def find_from_meta_generator(target_uri) scan_url( target_uri, %r{name="generator" content="wordpress #{version_pattern}"}i @@ -56,7 +74,11 @@ class WpVersion < WpItem # Attempts to find the WordPress version from, # the generator tag in the RSS feed source. - def find_from_rss_generator(target_uri, wp_content_dir, wp_plugins_dir) + # + # @param [ URI ] target_uri + # + # @return [ String ] The version number + def find_from_rss_generator(target_uri) scan_url( target_uri, %r{http://wordpress.org/\?v=#{version_pattern}}i, @@ -66,7 +88,11 @@ class WpVersion < WpItem # Attempts to find WordPress version from, # the generator tag in the RDF feed source. - def find_from_rdf_generator(target_uri, wp_content_dir, wp_plugins_dir) + # + # @param [ URI ] target_uri + # + # @return [ String ] The version number + def find_from_rdf_generator(target_uri) scan_url( target_uri, %r{}i, @@ -78,7 +104,7 @@ class WpVersion < WpItem # the generator tag in the RSS2 feed source. # # Have not been able to find an example of this - Ryan - #def find_from_rss2_generator(target_uri, wp_content_dir, wp_plugins_dir) + #def find_from_rss2_generator(target_uri) # scan_url( # target_uri, # %r{http://wordpress.org/?v=(#{WpVersion.version_pattern})}i, @@ -88,7 +114,11 @@ class WpVersion < WpItem # Attempts to find the WordPress version from, # the generator tag in the Atom source. - def find_from_atom_generator(target_uri, wp_content_dir, wp_plugins_dir) + # + # @param [ URI ] target_uri + # + # @return [ String ] The version number + def find_from_atom_generator(target_uri) scan_url( target_uri, %r{WordPress}i, @@ -100,7 +130,7 @@ class WpVersion < WpItem # the generator tag in the comment rss source. # # Have not been able to find an example of this - Ryan - #def find_from_comments_rss_generator(target_uri, wp_content_dir, wp_plugins_dir) + #def find_from_comments_rss_generator(target_uri) # scan_url( # target_uri, # %r{}i, @@ -115,10 +145,17 @@ class WpVersion < WpItem # # /!\ Warning : this method might return false positive if the file used for fingerprinting is part of a theme (they can be updated) # - def find_from_advanced_fingerprinting(target_uri, wp_content_dir, wp_plugins_dir) - xml = xml(version_xml) + # @param [ URI ] target_uri + # @param [ String ] wp_content_dir + # @param [ String ] wp_plugins_dir + # @param [ String ] versions_xml The path to the xml containing all versions + # + # @return [ String ] The version number + def find_from_advanced_fingerprinting(target_uri, wp_content_dir, wp_plugins_dir, versions_xml) + xml = xml(versions_xml) + # This wp_item will take care of encoding the path - # and replace variables like $wp-content$ and $wp-plugins$ + # and replace variables like $wp-content$ & $wp-plugins$ wp_item = WpItem.new(target_uri, wp_content_dir: wp_content_dir, wp_plugins_dir: wp_plugins_dir) @@ -139,7 +176,11 @@ class WpVersion < WpItem end # Attempts to find the WordPress version from the readme.html file. - def find_from_readme(target_uri, wp_content_dir, wp_plugins_dir) + # + # @param [ URI ] target_uri + # + # @return [ String ] The version number + def find_from_readme(target_uri) scan_url( target_uri, %r{
\sversion #{version_pattern}}i, @@ -150,7 +191,11 @@ class WpVersion < WpItem # Attempts to find the WordPress version from the sitemap.xml file. # # See: http://code.google.com/p/wpscan/issues/detail?id=109 - def find_from_sitemap_generator(target_uri, wp_content_dir, wp_plugins_dir) + # + # @param [ URI ] target_uri + # + # @return [ String ] The version number + def find_from_sitemap_generator(target_uri) scan_url( target_uri, %r{generator="wordpress/#{version_pattern}"}i, @@ -159,7 +204,11 @@ class WpVersion < WpItem end # Attempts to find the WordPress version from the p-links-opml.php file. - def find_from_links_opml(target_uri, wp_content_dir, wp_plugins_dir) + # + # @param [ URI ] target_uri + # + # @return [ String ] The version number + def find_from_links_opml(target_uri) scan_url( target_uri, %r{generator="wordpress/#{version_pattern}"}i, @@ -167,10 +216,5 @@ class WpVersion < WpItem ) end - # Used to check if the version is correct: must contain at least one dot. - def version_pattern - '([^\r\n"\']+\.[^\r\n"\']+)' - end - end end diff --git a/lib/common/models/wp_version/vulnerable.rb b/lib/common/models/wp_version/vulnerable.rb index 0ab7d818..dc2b5dd0 100644 --- a/lib/common/models/wp_version/vulnerable.rb +++ b/lib/common/models/wp_version/vulnerable.rb @@ -3,6 +3,7 @@ class WpVersion < WpItem module Vulnerable + # @return [ String ] The path to the file containing vulnerabilities def vulns_file unless @vulns_file @vulns_file = WP_VULNS_FILE @@ -10,6 +11,7 @@ class WpVersion < WpItem @vulns_file end + # @return [ String ] def vulns_xpath "//wordpress[@version='#{@number}']/vulnerability" end diff --git a/lib/wpscan/wp_target.rb b/lib/wpscan/wp_target.rb index 79d5bdc2..3c9522c6 100644 --- a/lib/wpscan/wp_target.rb +++ b/lib/wpscan/wp_target.rb @@ -86,9 +86,11 @@ class WpTarget < WebSite WpTheme.find(@uri) end - # return WpVersion - def version - WpVersion.find(@uri, wp_content_dir, wp_plugins_dir) + # @param [ String ] versions_xml + # + # @return [ WpVersion ] + def version(versions_xml) + WpVersion.find(@uri, wp_content_dir, wp_plugins_dir, versions_xml) end def has_plugin?(name, version = nil) diff --git a/main.rb b/main.rb index 552c6d24..f5fff852 100644 --- a/main.rb +++ b/main.rb @@ -169,7 +169,7 @@ def main exclude_content: wpscan_options.exclude_content_based } - if wp_version = wp_target.version + if wp_version = wp_target.version(WP_VERSIONS_FILE) wp_version.output end diff --git a/spec/lib/common/models/wp_version/findable_spec.rb b/spec/lib/common/models/wp_version/findable_spec.rb new file mode 100644 index 00000000..35395f76 --- /dev/null +++ b/spec/lib/common/models/wp_version/findable_spec.rb @@ -0,0 +1,202 @@ +# encoding: UTF-8 + +require 'spec_helper' + +describe 'WpVersion::Findable' do + let(:fixtures_dir) { MODELS_FIXTURES + '/wp_version/findable/' } + let(:uri) { URI.parse('http://example.com/') } + let(:generator_urls) { + { + rss_generator: uri.merge('feed/').to_s, + rdf_generator: uri.merge('feed/rdf/').to_s, + atom_generator: uri.merge('feed/atom/').to_s, + comments_rss_generator: uri.merge('comments/feed/').to_s, + sitemap_generator: uri.merge('sitemap.xml').to_s + } + } + + # Dynamic creation for all generator methods + WpVersion.methods.grep(/^find_from_.*_generator$/).each do |method| + dir_name = method.to_s[%r{^find_from_(.*)$}, 1] + + describe "::#{method}" do + let(:url) { generator_urls[dir_name.to_sym] || uri.to_s } + + after do + fixture = fixtures_dir + dir_name + @fixture + stub_request_to_fixture(url: url, fixture: fixture) + + WpVersion.send(method, uri).should == @expected + end + + context 'when generator not found' do + it 'returns nil' do + @fixture = '/no_generator.html' + @expected = nil + end + end + + context 'when version not found' do + it 'returns nil' do + @fixture = '/no_version.html' + @expected = nil + end + end + + context 'when invalid version' do + it 'returns nil' do + @fixture = '/invalid_version.html' + @expected = nil + end + end + + it 'returns 3.3.2' do + @fixture = '/3.3.2.html' + @expected = '3.3.2' + end + + it 'returns 3.4-beta4' do + @fixture = '/3.4-beta4.html' + @expected = '3.4-beta4' + end + + if method == :find_from_meta_generator + it 'returns 3.5' do + @fixture = '/3.5_minified.html' + @expected = '3.5' + end + end + + end + end + + describe '::find_from_advanced_fingerprinting' do + let(:fixture_dir) { fixtures_dir + 'advanced_fingerprinting/' } + let(:wp_content_dir) { 'wp-content' } + let(:wp_plugins_dir) { wp_content_dir + '/plugins' } + let(:versions_xml) { fixture_dir + 'wp_versions.xml' } + + after do + version = WpVersion.send( + :find_from_advanced_fingerprinting, + uri, wp_content_dir, wp_plugins_dir, versions_xml + ) + version.should == @expected + end + + context 'when' do + it 'returns nil' do + stub_request(:get, /.*/).to_return(status: 404, body: '') + @expected = nil + end + end + + it 'returns 3.2.1' do + stub_request_to_fixture( + url: uri.merge('wp-admin/js/wp-fullscreen.js').to_s, + fixture: fixture_dir + '3.2.1.js' + ) + + @expected = '3.2.1' + end + end + + describe '::find_from_readme' do + let(:url) { uri.merge('readme.html').to_s } + + after do + fixture = fixtures_dir + 'readme' + @fixture + stub_request_to_fixture(url: url, fixture: fixture) + + WpVersion.send(:find_from_readme, uri).should == @expected + end + + context 'when version not found' do + it 'returns nil' do + @fixture = '/empty_version.html' + @expected = nil + end + end + + context 'when invalid version' do + it 'returns nil' do + @fixture = '/invalid_version.html' + @expected = nil + end + end + + it 'returns 3.3.2' do + @fixture = '/3.3.2.html' + @expected = '3.3.2' + end + end + + describe '::find_from_links_opml' do + let(:url) { uri.merge('wp-links-opml.php') } + + after do + fixture = fixtures_dir + 'links_opml' + @fixture + stub_request_to_fixture(url: url, fixture: fixture) + + WpVersion.send(:find_from_links_opml, uri).should == @expected + end + + it 'returns 3.4.2' do + @fixture = '/3.4.2.xml' + @expected = '3.4.2' + end + + context 'when no generator' do + it 'returns nil' do + @fixture = '/no_generator.xml' + @expected = nil + end + end + end + + describe '::find' do + # Stub all WpVersion::find_from_* to return nil + def stub_all_to_nil + WpVersion.methods.grep(/^find_from_/).each do |method| + WpVersion.stub(method).and_return(nil) + end + end + + let(:wp_content_dir) { 'wp-content' } + let(:wp_plugins_dir) { wp_content_dir + '/plugins' } + let(:version_xml) {} + + after do + version = WpVersion.find(uri, wp_content_dir, wp_plugins_dir, version_xml) + version.should == @expected + if @expected + version.found_from.should == @found_from + end + end + + context 'when no version found' do + it 'returns nil' do + stub_all_to_nil() + @expected = nil + end + end + + WpVersion.methods.grep(/^find_from_/).each do |method| + number = "#{rand(5)}.#{rand(3)}" + found_from = method[/^find_from_(.*)/, 1].sub('_', ' ') + + context "when found from #{found_from}" do + it "returns the correct WpVersion" do + stub_all_to_nil() + + WpVersion.stub(method).and_return(number) + + @expected = WpVersion.new(uri, number: number) + @found_from = found_from + end + end + end + + end + +end diff --git a/spec/samples/wpscan/wp_version/advanced/3.2.1.js b/spec/samples/common/models/wp_version/findable/advanced_fingerprinting/3.2.1.js similarity index 100% rename from spec/samples/wpscan/wp_version/advanced/3.2.1.js rename to spec/samples/common/models/wp_version/findable/advanced_fingerprinting/3.2.1.js diff --git a/spec/samples/wpscan/wp_version/advanced/wp_versions.xml b/spec/samples/common/models/wp_version/findable/advanced_fingerprinting/wp_versions.xml similarity index 100% rename from spec/samples/wpscan/wp_version/advanced/wp_versions.xml rename to spec/samples/common/models/wp_version/findable/advanced_fingerprinting/wp_versions.xml diff --git a/spec/samples/wpscan/wp_version/atom-generator/3.3.2.htm b/spec/samples/common/models/wp_version/findable/atom_generator/3.3.2.html similarity index 100% rename from spec/samples/wpscan/wp_version/atom-generator/3.3.2.htm rename to spec/samples/common/models/wp_version/findable/atom_generator/3.3.2.html diff --git a/spec/samples/wpscan/wp_version/atom-generator/3.4-beta4.htm b/spec/samples/common/models/wp_version/findable/atom_generator/3.4-beta4.html similarity index 100% rename from spec/samples/wpscan/wp_version/atom-generator/3.4-beta4.htm rename to spec/samples/common/models/wp_version/findable/atom_generator/3.4-beta4.html diff --git a/spec/samples/wpscan/wp_version/atom-generator/invalid_version.htm b/spec/samples/common/models/wp_version/findable/atom_generator/invalid_version.html similarity index 100% rename from spec/samples/wpscan/wp_version/atom-generator/invalid_version.htm rename to spec/samples/common/models/wp_version/findable/atom_generator/invalid_version.html diff --git a/spec/samples/wpscan/wp_version/atom-generator/no-atom-generator.htm b/spec/samples/common/models/wp_version/findable/atom_generator/no_generator.html similarity index 100% rename from spec/samples/wpscan/wp_version/atom-generator/no-atom-generator.htm rename to spec/samples/common/models/wp_version/findable/atom_generator/no_generator.html diff --git a/spec/samples/wpscan/wp_version/atom-generator/no-version.htm b/spec/samples/common/models/wp_version/findable/atom_generator/no_version.html similarity index 100% rename from spec/samples/wpscan/wp_version/atom-generator/no-version.htm rename to spec/samples/common/models/wp_version/findable/atom_generator/no_version.html diff --git a/spec/samples/wpscan/wp_version/opml/wp-links-opml.xml b/spec/samples/common/models/wp_version/findable/links_opml/3.4.2.xml similarity index 100% rename from spec/samples/wpscan/wp_version/opml/wp-links-opml.xml rename to spec/samples/common/models/wp_version/findable/links_opml/3.4.2.xml diff --git a/spec/samples/wpscan/wp_version/opml/wp-links-opml-nogenerator.xml b/spec/samples/common/models/wp_version/findable/links_opml/no_generator.xml similarity index 100% rename from spec/samples/wpscan/wp_version/opml/wp-links-opml-nogenerator.xml rename to spec/samples/common/models/wp_version/findable/links_opml/no_generator.xml diff --git a/spec/samples/common/models/wp_version/findable/meta_generator/3.3.2.html b/spec/samples/common/models/wp_version/findable/meta_generator/3.3.2.html new file mode 100755 index 00000000..a082c08f --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/meta_generator/3.3.2.html @@ -0,0 +1,38 @@ + + + + + + + + + + +Wordpress 3.3.2 | Just another WordPress site + + + + + + + + + + + + + + + + diff --git a/spec/samples/common/models/wp_version/findable/meta_generator/3.4-beta4.html b/spec/samples/common/models/wp_version/findable/meta_generator/3.4-beta4.html new file mode 100755 index 00000000..6459ce8f --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/meta_generator/3.4-beta4.html @@ -0,0 +1,32 @@ + + + + + + + + + + +Wordpress 3.4 beta 4 | Just another WordPress site + + + + + + + + + + + + + diff --git a/spec/samples/wpscan/wp_version/meta-generator/3.5_minified.htm b/spec/samples/common/models/wp_version/findable/meta_generator/3.5_minified.html similarity index 100% rename from spec/samples/wpscan/wp_version/meta-generator/3.5_minified.htm rename to spec/samples/common/models/wp_version/findable/meta_generator/3.5_minified.html diff --git a/spec/samples/common/models/wp_version/findable/meta_generator/invalid_version.html b/spec/samples/common/models/wp_version/findable/meta_generator/invalid_version.html new file mode 100755 index 00000000..0ff860eb --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/meta_generator/invalid_version.html @@ -0,0 +1,38 @@ + + + + + + + + + + +Wordpress 3.3.2 | Just another WordPress site + + + + + + + + + + + + + + + + diff --git a/spec/samples/wpscan/wp_version/meta-generator/no-meta-generator.htm b/spec/samples/common/models/wp_version/findable/meta_generator/no_generator.html similarity index 100% rename from spec/samples/wpscan/wp_version/meta-generator/no-meta-generator.htm rename to spec/samples/common/models/wp_version/findable/meta_generator/no_generator.html diff --git a/spec/samples/common/models/wp_version/findable/meta_generator/no_version.html b/spec/samples/common/models/wp_version/findable/meta_generator/no_version.html new file mode 100644 index 00000000..7fef49fd --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/meta_generator/no_version.html @@ -0,0 +1,38 @@ + + + + + + + + + + +Wordpress 3.3.2 | Just another WordPress site + + + + + + + + + + + + + + + + diff --git a/spec/samples/wpscan/wp_version/rdf-generator/3.3.2.htm b/spec/samples/common/models/wp_version/findable/rdf_generator/3.3.2.html similarity index 100% rename from spec/samples/wpscan/wp_version/rdf-generator/3.3.2.htm rename to spec/samples/common/models/wp_version/findable/rdf_generator/3.3.2.html diff --git a/spec/samples/wpscan/wp_version/rdf-generator/3.4-beta4.htm b/spec/samples/common/models/wp_version/findable/rdf_generator/3.4-beta4.html similarity index 100% rename from spec/samples/wpscan/wp_version/rdf-generator/3.4-beta4.htm rename to spec/samples/common/models/wp_version/findable/rdf_generator/3.4-beta4.html diff --git a/spec/samples/wpscan/wp_version/rdf-generator/invalid_version.htm b/spec/samples/common/models/wp_version/findable/rdf_generator/invalid_version.html similarity index 100% rename from spec/samples/wpscan/wp_version/rdf-generator/invalid_version.htm rename to spec/samples/common/models/wp_version/findable/rdf_generator/invalid_version.html diff --git a/spec/samples/wpscan/wp_version/rdf-generator/no-rdf-generator.htm b/spec/samples/common/models/wp_version/findable/rdf_generator/no_generator.html similarity index 100% rename from spec/samples/wpscan/wp_version/rdf-generator/no-rdf-generator.htm rename to spec/samples/common/models/wp_version/findable/rdf_generator/no_generator.html diff --git a/spec/samples/wpscan/wp_version/rdf-generator/no-version.htm b/spec/samples/common/models/wp_version/findable/rdf_generator/no_version.html similarity index 100% rename from spec/samples/wpscan/wp_version/rdf-generator/no-version.htm rename to spec/samples/common/models/wp_version/findable/rdf_generator/no_version.html diff --git a/spec/samples/wpscan/wp_version/readme/readme-3.3.2.html b/spec/samples/common/models/wp_version/findable/readme/3.3.2.html similarity index 100% rename from spec/samples/wpscan/wp_version/readme/readme-3.3.2.html rename to spec/samples/common/models/wp_version/findable/readme/3.3.2.html diff --git a/spec/samples/wpscan/wp_version/readme/empty-version.html b/spec/samples/common/models/wp_version/findable/readme/empty_version.html similarity index 100% rename from spec/samples/wpscan/wp_version/readme/empty-version.html rename to spec/samples/common/models/wp_version/findable/readme/empty_version.html diff --git a/spec/samples/wpscan/wp_version/readme/invalid_version.html b/spec/samples/common/models/wp_version/findable/readme/invalid_version.html similarity index 100% rename from spec/samples/wpscan/wp_version/readme/invalid_version.html rename to spec/samples/common/models/wp_version/findable/readme/invalid_version.html diff --git a/spec/samples/wpscan/wp_version/rss-generator/3.3.2.htm b/spec/samples/common/models/wp_version/findable/rss_generator/3.3.2.html similarity index 100% rename from spec/samples/wpscan/wp_version/rss-generator/3.3.2.htm rename to spec/samples/common/models/wp_version/findable/rss_generator/3.3.2.html diff --git a/spec/samples/wpscan/wp_version/rss-generator/3.4-beta4.htm b/spec/samples/common/models/wp_version/findable/rss_generator/3.4-beta4.html similarity index 100% rename from spec/samples/wpscan/wp_version/rss-generator/3.4-beta4.htm rename to spec/samples/common/models/wp_version/findable/rss_generator/3.4-beta4.html diff --git a/spec/samples/wpscan/wp_version/rss-generator/invalid_version.htm b/spec/samples/common/models/wp_version/findable/rss_generator/invalid_version.html similarity index 100% rename from spec/samples/wpscan/wp_version/rss-generator/invalid_version.htm rename to spec/samples/common/models/wp_version/findable/rss_generator/invalid_version.html diff --git a/spec/samples/wpscan/wp_version/rss-generator/no-rss-generator.htm b/spec/samples/common/models/wp_version/findable/rss_generator/no_generator.html similarity index 100% rename from spec/samples/wpscan/wp_version/rss-generator/no-rss-generator.htm rename to spec/samples/common/models/wp_version/findable/rss_generator/no_generator.html diff --git a/spec/samples/wpscan/wp_version/rss-generator/no-version.htm b/spec/samples/common/models/wp_version/findable/rss_generator/no_version.html similarity index 100% rename from spec/samples/wpscan/wp_version/rss-generator/no-version.htm rename to spec/samples/common/models/wp_version/findable/rss_generator/no_version.html diff --git a/spec/samples/common/models/wp_version/findable/sitemap_generator/3.3.2.html b/spec/samples/common/models/wp_version/findable/sitemap_generator/3.3.2.html new file mode 100644 index 00000000..93cbf91a --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/sitemap_generator/3.3.2.html @@ -0,0 +1,3 @@ + + + diff --git a/spec/samples/common/models/wp_version/findable/sitemap_generator/3.4-beta4.html b/spec/samples/common/models/wp_version/findable/sitemap_generator/3.4-beta4.html new file mode 100644 index 00000000..9d7c35b0 --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/sitemap_generator/3.4-beta4.html @@ -0,0 +1,3 @@ + + + diff --git a/spec/samples/common/models/wp_version/findable/sitemap_generator/invalid_version.html b/spec/samples/common/models/wp_version/findable/sitemap_generator/invalid_version.html new file mode 100644 index 00000000..e6327ecc --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/sitemap_generator/invalid_version.html @@ -0,0 +1,3 @@ + + + diff --git a/spec/samples/common/models/wp_version/findable/sitemap_generator/no_generator.html b/spec/samples/common/models/wp_version/findable/sitemap_generator/no_generator.html new file mode 100644 index 00000000..cf28468f --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/sitemap_generator/no_generator.html @@ -0,0 +1,3 @@ + + + diff --git a/spec/samples/common/models/wp_version/findable/sitemap_generator/no_version.html b/spec/samples/common/models/wp_version/findable/sitemap_generator/no_version.html new file mode 100644 index 00000000..b4a404f3 --- /dev/null +++ b/spec/samples/common/models/wp_version/findable/sitemap_generator/no_version.html @@ -0,0 +1,3 @@ + + + diff --git a/spec/samples/wp_versions/0.71-gold/layout2b.css b/spec/samples/wp_versions/0.71-gold/layout2b.css deleted file mode 100755 index 0b05e6d4..00000000 --- a/spec/samples/wp_versions/0.71-gold/layout2b.css +++ /dev/null @@ -1,171 +0,0 @@ -/* Default WordPress by Matthew Mullenweg http://photomatt.net - This is just a basic layout, with only the bare minimum defined. - Please tweak this and make it your own. :) -*/ - -a { - color: #069; -} - -a:visited { - color: #039; -} - -a:hover { - color: #39c; -} - -acronym, abbr { - border-bottom: 1px dashed #333; -} - -acronym, abbr, span.caps { - cursor: help; - font-size: 90%; - letter-spacing: .07em; -} - -blockquote { - border-left: 5px solid #ccc; - margin-left: 1.5em; - padding-left: 5px; -} - -body { - font-family: Georgia, "Times New Roman", Times, serif; - margin: 0; -} - -h2 { - border-bottom: 2px solid #ccc; - margin-bottom: 2px; -} - -p, li { - line-height: 130%; -} - -.b2calendarcell { - color: #000; -} - -.b2calendaremptycell { -} - -.b2calendarheadercell { - background: #808080; - color: #ccc; -} - -.b2calendarlinkpost { - color: #f00; - text-decoration: none; -} - -.b2calendarmonth { - color: #aaa; -} - -.b2calendarrow { - color: #0f0; -} - -.b2calendartable { - background: #fff; - border: 1px solid #000; -} - -.b2calendartoday { - color: #00f; -} - -.credit { - font-size: 11px; - text-align: center; -} - -.feedback { - text-align: right; - color: #ccc; -} - -.meta, .meta a { - color: #808080; - font-size: small; -} - -.storytitle a { - text-decoration: none; -} - -#content { - margin: 0 160px 0 20px; -} - -#header { - background-color: #808080; - margin: 0; - padding-left: 10px; -} - -#header a { - color: #fff; - text-decoration: none; -} - -#header a:hover { - color: #ccc; -} - -#menu { - background-color: #000; - border-left: 3px solid #666; - padding-bottom: 10px; - position: absolute; - right: 0; - top: 65px; - width: 150px; -} - -#menu form { - margin: 0 0 0 13px; -} - -#menu input { - background-color: #ccc; - border: 2px solid #666; -} - -#menu ul { - color: #ccc; - font-variant: small-caps; - font-weight: bold; - list-style-type: none; - margin: 0; - padding-left: 3px; -} - -#menu ul ul { - font-variant: normal; - font-weight: normal; - line-height: 100%; - list-style-type: none; - margin: 0; - padding: 0; - text-align: left; -} - -#menu ul ul li { - line-height: 115%; - padding-left: 12px; -} - -#menu ul ul li a { - color: #fff; - height: 13px; - text-decoration: none; -} - -#menu ul ul li a:hover { - border-bottom: 1px solid #ccc; -} \ No newline at end of file diff --git a/spec/samples/wp_versions/0.71-gold/readme.html b/spec/samples/wp_versions/0.71-gold/readme.html deleted file mode 100755 index bd819a54..00000000 --- a/spec/samples/wp_versions/0.71-gold/readme.html +++ /dev/null @@ -1,995 +0,0 @@ - - -WordPress > ReadMe - - - - - - - - - - -

WordPress
- 0.71

-

Weblog / News Publishing Tool

-

Requirements - Installation - - Template(s) - Query String - Usage - XML-RPC (Blogger API) - Post - Via Email - Notes

-

Requirements:

-
    -
  • PHP4 (version 4.0.6 or higher)
  • -
  • MySQL (version 3.23.23 or higher)
  • -
  • Perl (optional - only for the spellchecker)
  • -
  • ... and a link to http://wordpress.org - on your site.
  • -
-

The link will help promote WordPress - and is its only mean of promotion.

-

WordPress is built from b2, which comes from Michel V. We wouldn't be - here without him, so why don't you grab him something from his wishlist?

-

This document is currently beta stage, we'll be updating it extensively - as WordPress matures.

-

Installation:

-

New users: 5-minute install.

-
    -
  1. Unzip the package in an empty directory.
  2. -
  3. Open b2config.php in a text editor, and modify the variables as explained - in the comments. Comments are lines that start with # or /* or //
  4. -
  5. Upload everything. This release is designed to sit in your root folder, - IE the folder where your WordPress-powered page will reside.
  6. -
  7. CHMOD 666 the weblogs.com.changes.cache file.
  8. -
  9. Launch wp-install.php in your - browser. This should setup the MySQL database for your blog. If there - is an error, double check your b2config.php file, and try again. If - it fails again, please go to the support - forums and make a post with all the information about the failure - (error messages, etc), and your setup (the PHP and MySQL versions on - your server, and the browser you were using). Note the password - given to you.
  10. -
  11. Go to b2login.php and sign in with the - login "admin" and the password given to you by the install - script. Then click on the menu 'My Profile', and change the password. - Note: you need javascript enabled to launch the profile popup window.
  12. -
-

Some notes:

-
    -
  • Whenever you want to post something, just open a browser and go to - b2login.php to log in and post.
  • -
  • You can also use a bookmarklet and/or a sidebar (IE5+/NS6+) to post.
  • -
  • You can also post through the Blogger API, click - here for more info.
  • -
  • Your site's blog is on b2.php (simple template) and index.php (CSS - template), you can rename this file to index.php or any other name you - fancy (provided it bears the php extension or is interpreted as a php - file by your server).
  • -
  • You can also copy b2.php into a new file and modify that new file, - it will work too ;)
  • -
-

Users upgrading from b2 v0.6.1 to WordPress v0.7:

-
    -
  • All you really have to do is replace all the files with newer - versions and run b2-2-wp.php - and you should be ready to go.
  • -
  • If you're using an older version of b2, it's probably a good idea - to upgrade to at least .6.1 before making the leap to WordPress.
  • -
  • The templates are so much better, and there is so much more going - on than before it's probably worth it to start from scratch and work - back to your design.
  • -
  • You must update your b2config.php. There's all - sort of new stuff in there.
  • -
  • WordPress issues should be discussed in our support - forums.
  • -
  • Back up your database before you do anything. Yes, - you. Right now.
  • -
-

Template(s):

-

First notes:

-
    -
  • Enclosed is an example of a template, in the file b2.php. You can - rename this file to "index.php"or something else (recent b2 - versions have a default index.php, which is an elaborate CSS-based template).
  • -
  • You can have any number of template files, since all they do is extract - the posts from the database.
  • -
  • Pseudo-template for the comments is in b2comments.php. You needn't - rename this file, but you can edit it.
  • -
  • The only thing to remember is that it's not actually a template, but - a PHP file that you're manipulating. So when you see "don't delete - this line", you know you mustn't, unless you want to have a broken - page.
  • -
  • Required lines are: the first lines that call blog.header.php, the - lines with the "while" statement, and the ones with just "}" - (it ends the while loop).
  • -
  • Between the "while" line and the "}", is the template - for your posts.
  • -
-

Notes about parameters:

-
    -
  1. Some template tags can accept optional parameters between the parenthesis - ().
  2. -
  3. To add a parameter to a tag, enclose it between quotes and put it - between the ().
    - Example: <?php my_tag("my parameter"); ?>
  4. -
  5. You may have to put several parameters, for that you separate them - with commas.
    - Example: <?php my_tag("first param","second param"); ?>
  6. -
  7. The order of parameters is important. If a function accepts 2 parameters - and you only want to set the second one, you still have to provide the - first one, and so on for any number of parameters.
    - Example: <?php my_tag("","second param"); ?>
  8. -
  9. Some template tags, like the_date(), display something only if in - some conditions. They generally accept parameters to display something - before and after them only when they display something.
    - Example: <?php the_title("<h1>","</h1>"); ?> would - display <h1>title of the post</h1> only if the post has a title
    -
    -
  10. -
-

Template tags:

-
<?php the_date() ?> *
- the date of the post. example: 03.07.01 (default is dd.mm.yy).
- the date is displayed only on new days. for example if you got 10 posts - on the same day, the date for this day is displayed only once.
-
Parameters: -
    -
  • format string (default: "d.m.y")
  • -
  • string to display before the date (default is blank)
  • -
  • string to display after the date (default is blank)
  • -
-
-
- <?php the_time() ?>
- the time of the post. example: 18:37:00 (default is hh:mm:ss)
-
Parameters: -
    -
  • format string (default: "H:i:s")
  • -
-
-
- Note: you can change the way the date & time are - displayed in the Options page.
- once you understand the format strings for the date & time (explained - in the Options page), you can change the display right on the template: - for example, the_date("d.m.Y") - to have dates like 25.12.2001, the_time("B") - to have Swatch Internet Time.
- If you change the display of the date on the template, changing it from - the options page won't have any effect.br />
- Note about the_date(): if you want all your posts to - bear the date, you'll have to use the_time() instead, with a date format - string. for example, to have all your posts show like "25.12.2001 - @ 8:04:50 AM" you'll have the_time("d.m.Y @ g:i:s A"). - you can also repeat this template tag 2 times with 2 different formats: - the_time("d.m.Y") for the date, and then later the_time("g:i:s - A") for the time of the day.
-
- <?php the_weekday() ?>
- This displays the day of the week when the post was made. It works like - the_time(), in that it would appear at every post. Weekdays can be obtained - with a custom date format string in the_time() or the_date(), but for - non-english weekdays you have to edit b2config.php
- Note: this tag is OBSOLETE, the_time() and the_date() now use - weekdays/months from b2config.php
-
- <?php the_weekday_date() ?> *
- Like the_weekday(), but works like the_date(), in that it would appear - only on new days.
- Note: this tag is OBSOLETE, the_time() and the_date() now use - weekdays/months from b2config.php
-
Parameters: -
    -
  • string to display before the weekday_date (default is blank)
  • -
  • string to display after the weekday_date (default is blank)
  • -
-
-
-
- <?php the_ID() ?>
-
the ID (number) of the post.
-
- <?php the_title() ?>
-
The title of the post.
-
Parameters: -
    -
  • string to display before the title (default is blank)
  • -
  • string to display after the title (default is blank)
  • -
-
-
-
- <?php the_content() ?> *
-
The text of the post.
-
Parameters: -
    -
  • text to display for the link to the complete entry (default is - '(more...)')
  • -
  • 0 or 1, whether you want to show the teaser message or not, when - showing the complete text (default is 1)
  • -
  • a filename of another template, if you want the 'more' link to - link to a different template for the complete text of the extended - entry (default is the current template)
  • -
-
-
- For example <?php the_content("read more","0","blah.php") - ?> would display a link to blah.php, with the link text - read more, and won't display the teaser message.
-
- * - To enter an extended entry, just type <!--more--> in your - entry. The part before that comment is the teaser, the part after it is - the extended entry. To force the extended entry not to show the teaser - message, type <!--noteaser--> somewhere in your entry.
-
- * - To enter an entry with several pages, just type <!--nextpage--> - in your entry to start a new page.
-
-
- <?php next_post() ?> *
-
Displays a link to the next post(s). (Generally you might want - to use that tag only in single-post templates)
-
Parameters: -
    -
  • format string for the link (default is "%", where % is replaced - with the title of the next post)
  • -
  • text to display to announce the link (default is "next post: ")
  • -
  • "yes" or "no": display the title of the post, or no (default is - "yes")
  • -
  • "yes" or "no": display a link to the next post only if the next - post is in the same category (default is "no")
  • -
  • number: which next post ? if you make it '2', the 2nd next post - is linked instead of the 1st next one (default is "1", which means - first next post)
  • -
-
-
-
- <?php previous_post() ?> *
-
Displays a link to the previous post(s). (Generally you might - want to use that tag only in single-post templates)
-
Parameters: -
    -
  • format string for the link (default is "%", where % is replaced - with the title of the previous post)
  • -
  • text to display to announce the link (default is "previous post: - ")
  • -
  • "yes" or "no": display the title of the post, or no (default is - "yes")
  • -
  • "yes" or "no": display a link to the next post only if the previous - post is in the same category (default is "no")
  • -
  • number: which previous post ? if you make it '2', the 2nd previous - post is linked instead of the 1st previous post (default is "1", - which means first previous post)
  • -
-
-
-
- <?php next_posts() ?> *
-
Display the URL portion of a link to the next set of posts.
- Generally you would use this in a template to navigate to the next "set" - of posts when the "Show Options" settings for the site is set to "posts - paged". The displayed string can be used to construct a link. When the - site options are not set to 'posts paged", the next and previous functions - will display nothing.
-
Parameters: -
    -
  • Max page number to use. Default "0"; no limit
  • -
-
-
-
- <?php next_posts_link() ?> *
-
Displays a full link to the next "set" of posts only if show - options set to "posts paged" and only if there is another page or partial - page of data.
-
Parameters: -
    -
  • A user supplied string. Default "Next Page >>"
  • -
-
-
-
- <?php previous_posts() ?> *
-
Displays the URL portion of a link to the previous posts.
- Generally you would use this in a template to navigate to the previous - "set" of posts when the "Show Options" settings for the site is set to - "posts paged". The displayed string can then be used to construct a link. - When the site options are not set to 'posts paged", the next and previous - functions will display nothing.
-
Parameters: -
    -
  • No parameters.
  • -
-
-
-
- <?php previous_posts_link() ?> *
-
Displays a full link to the previous "set" of posts only if - show options set to "posts paged" and if there is a previous set, otherwise - nothing is displayed.
-
Parameters: -
    -
  • A user supplied string. Default "<< Previous Page"
  • -
-
-
-
- <?php posts_nav_link() ?> *
-
The function displays a complete navigation set of links including - a user definable "separator" with the ability to supply a the text string - to be used for the "previous" and "next" links.
- The default result will produce the following string:
-

<< Previous Page :: Next Page >>

-
Parameters: -
    -
  • A user supplied "separator" string. Default " :: "
  • -
  • A user supplied "previous" string. Default "<< Previous - Page"
  • -
  • A user supplied "next" string. Default "Next Page >>"
  • -
-
-
-
- <?php link_pages() ?> *
-
Displays links to the pages of the post if it's a multiple pages - post.
-
Parameters: -
    -
  • string to display before the tag (default is "<br />", a newline)
  • -
  • string to display after the tag (default is "<br />", a newline)
  • -
  • "next" or "number": display links like "next/previous page" or - links to each page with the number of the page "1 2 3 4 etc" (default - is "number")
  • -
  • string to display the "next page" link (default is "next page")
  • -
  • string to display the "previous page" link (default is "previous - page")
  • -
  • format string for the "number of page" link (default is "%", where - % is replaced by the number of the page)
  • -
  • file name, in case you want to load the posts with multiple pages - in a different template (default is the current template)
  • -
-
-
-
- <?php the_author() ?>
- The author of the post.
- Depending on the user's profile settings, it can display whether their - nickname, login name, first name, last name, both first& last name, - or last & first name. look below for more author-related template - tags.
-
- <?php the_category() ?>
-
the name of the category the post belongs to. you can as an admin - add categories, and rename them if needed. default category is 'General', - you can rename it too.
-
- <?php the_category_ID() ?>
-
The ID (number) of the category the post belongs to. This is - static data thatyou can use, for example to associate a category to an - image, or a css style.
-
- <?php trackback_rdf() ?> *
- This will include the RDF data that can be used by some weblog tools to - locate your posts' trackback URLs.
- You should put this tag after the <?php the_content() ?> tag in - your template, or just before the end of the loop.
-
- <?php dropdown_cats() ?>
-
this is a special tag, meant to be used in the template, but - outside of the b2 loop. it will display a list of <option name="x">category-name</option>, - where x is the number of the category and category-name - is the name of it.
-
Parameters: -
    -
  • 0 or 1, depending if you want to have an option to display all - categories (default is 1)
  • -
  • text to display for the option to show all categories (default - is "All")
  • -
-
-
- you can use it like this:
-
- <form action="<?php echo $PHP_SELF ?>" method="get">
- <?php dropdown_cats() ?>
- <input type="submit" name="submit" value="view" />
- </form>

-
- <?php list_cats() ?> *
-
this is a special tag, meant to be used in the template, but - outside of the b2 loop. it will display a list of the categories, with - links to them. like in b2archive.php, each category is on a line, the - only way you can change this is by editing b2.template.functions.php
-
Parameters: -
    -
  • 0 or 1, depending if you want to have an option to display all - categories (default is 1)
  • -
  • text to display for the option to show all categories (default - is 'All')
  • -
  • sort by: possible values are 'name' and 'ID' (default is 'ID')
  • -
  • sorting order: possible values are 'asc' for ascending or 'desc' - for descending (default is 'asc')
  • -
  • filename, in case you want to display the categories' posts in - another template (default is current template)
  • -
-
-
- <?php bloginfo() ?> *
- This tag is out of the b2 loop.
- It outputs info about your weblog.
-
Parameters: -
    -
  • string: can be 'name' to display the name of your weblog (you - set it in b2config.php), 'url', 'description', 'admin_email', 'rss_url' - to display the URL of your b2rss.xml file, 'pingback_url' to display - the URL of your xmlrpc.php file
    - (default string is 'name')
  • -
-
-
- <?php single_post_title() ?> *
- This tag is out of the b2 loop.
- It outputs the title of the post when you load the page with ?p= (see - 'Usage' section for explanation). When the weblog page is loaded without - ?p=, this tag doesn't display anything. Generally, you could use it like - this:
-    <title><?php bloginfo('name') ?><?php single_post_title() - ?></title>
-
Parameters: -
    -
  • prefix string that will appear before the post's title (default - is ' :: ')
  • -
-
-
- <?php single_cat_title() ?> *
- This tag is out of the b2 loop.
- It outputs the title of the category when you load the page with ?cat= - (see 'Usage' section for explanation). When the weblog page is loaded - without ?cat=, this tag doesn't display anything. Generally, you could - use it like this:
-    <title><?php bloginfo('name') ?><?php single_cat_title() - ?></title>
-
Parameters: -
    -
  • prefix string that will appear before the category's title (default - is ' :: ')
  • -
-
-
- <?php single_month_title() ?> *
- This tag is out of the b2 loop.
- It outputs the name of the month when you load the page with ?m= (see - 'Usage' section for explanation). When the weblog page is loaded without - ?m=, this tag doesn't display anything. Generally, you could use it like - this:
-    <title><?php bloginfo('name') ?><?php single_month_title() - ?></title>
-
Parameters: -
    -
  • prefix string that will appear before the month's name (default - is ' :: ')
  • -
-
-
- Note: The above three functions can be used together - to produce the Title of the page:
-    <title><?php bloginfo('name') ?><?php single_post_title(' - :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' - :: ') ?></title>
- Only one, if any, of these functions will produce output, thus the page - Title can be customize to the task being done.
-
-
- More about the author of the post ? Here goes:
-
- <?php the_author_email() ?> - the author's email.
- <?php the_author_url() ?> - the author's url.
- <?php the_author_email() ?> - the author's number - of posts.
- <?php the_author_icq() ?> - the author's ICQ number.
- <?php the_author_aim() ?> - the author's AIM handle.
- <?php the_author_yim() ?> - the author's Yahoo - Messenger handle.
- <?php the_author_msn() ?> - the author's MSN Messenger - handle.
- <?php the_author_posts() ?> - the author's post - count.
- <?php the_author_login() ?> - the author's login - name in b2. If you want some static data about the author, this is what - you're searching for. You can, for example, associate a picture with an - author, like this: <img src="pictures/<?php the_author_login() - ?>.jpg" border="0">
- <?php the_author_ID() ?> - the author's ID number - in b2. This number is automatically set when the user registers: to see - the ID of an user, go to the Team page. This is static data too, so you - can use it like the_author_login() in associating stuff with authors.
-
-
- Tags for permalinks
are:
-
- <?php permalink_anchor() ?> *
- this will display <a name="..."></a>, replacing - "..." with the ID or the title of the post in the database.
-
-
Parameters: -
    -
  • string for kind of anchor: either 'id' that displays '50', or - 'title' that displays 'title_of_post_50' (default is 'id')
  • -
-
-
- <?php permalink_link() ?> *
-
this will display the name of the file followed by #ID to link - to the post, in the month archive if archive-mode is "monthly".
- note: this tag does not display the link, for this you've got to type - <a href="<?php permalink_link() ?>">text of the - link</a>.
-
Parameters: -
    -
  • file name, in case you want to link the archive to a different - template (default is the current template)
  • -
  • string for kind of link: either 'id' that appends '#50' to the - link, or 'title' that appends '#title_of_post_50' (default is 'id')
  • -
-
-
-
- <?php permalink_single() ?> *
-
this will display the name of the file followed by #ID to link - to the entire post (the linked page will also show the extended text on - that post if it is an extended entry, and the comments).
- note: this tag does not display the link, for this you've got to type - <a href="<?php permalink_single() ?>">text of the - link</a>.
-
Parameters: -
    -
  • file name, in case you want to use a different template for single - posts (default is the current template)
  • -
-
-
-
-
- Tags for comments, trackback, and pingback are:
-
- <?php comments_popup_script() ?> *
- This will include the javascript that is required to open comments, trackback - and pingback in popup windows.
- You should put this tag before the </head> tag in your template.
-
Parameters: -
    -
  • width (default is 400)
  • -
  • height (default is 400)
  • -
  • file name, in case you want to use a different template for comments - (default is b2commentspopup.php)
  • -
  • file name, in case you want to use a different template for TrackBacks - (default is b2trackbackpopup.php)
  • -
  • file name, in case you want to use a different template for Pingbacks - (default is b2pingbackspopup.php)
  • -
-
-
-
- <?php comments_popup_link() ?>*
- This will display the link to open comments in a popup window, with the - number of comments.
- To edit the popup window's template, edit the file b2commentspopup.php - (it's the default one for comments popup).
-
- Note:
- The same tags exist for TrackBack and Pingback, respectively named 'trackback_popup_link()' - and 'pingback_popup_link()'. They take the same parameters.
-
-
Parameters: -
    -
  • string for comment-less posts (default is "no comments")
  • -
  • string for posts with one comment (default is "1 comment")
  • -
  • string for posts with 2 or more comments (default is "% comments")
    - Note here that the sign "%" is then replaced by the number - of comments.
  • -
  • string for CSS class, so you can have a styled link with class="" - (default is empty, no CSS class applied)
  • -
-
-
-
- <?php comments_link() ?>
-
This is a bit like permalink_link, it will display an URL to - the comments page, but again you'll have to create the link tag.
-
- Note:
- The same tags exist for TrackBack and Pingback, respectively named 'trackback_link()' - and 'pingback_link()'. They take the same parameters.
-
-
Parameters: -
    -
  • file name, in case you want to use a different template for comments - (default is the current template)
  • -
-
-
-
- <?php comments_number() ?>
- This displays the number of comments that have been posted on this post. - Example: "5 comments".
-
- Note:
- The same tags exist for TrackBack and Pingback, respectively named 'trackback_number()' - and 'pingback_number()'. They take the same parameters.
-
-
Parameters: -
    -
  • string for comment-less posts (default is "no comments")
  • -
  • string for posts with one comment (default is "1 comment")
  • -
  • string for posts with 2 or more comments (default is "% comments")
    - Note here that the sign "%" is then replaced by the number - of comments.
  • -
-
-
- Example: <?php comments_number("no comment","1 comment","% - comments") ?>
-
- This tag differs from v0.5's tag because in v0.5 and prior, it would only - display a number, not a text with it, so you could have terrible things - like "1 comments" (doh !)
-
- Necessary: <?php include("b2comments.php") ?>
- you'll put this line where you want the comments to be placed on your - page.
- typically, under the post itself. don't worry, the comments only appear - if the page is called in the comments mode. (like this: url?c=1)
-
- Necessary: <?php include("b2trackback.php") ?>
- you'll put this line where you want the TrackBacks to be placed on your - page.
- typically, under the post itself. don't worry, the TrackBacks only appear - if the page is called in the TrackBacks mode. (like this: url?tb=1)
-
- Necessary: <?php include("b2pingbacks.php") ?>
- you'll put this line where you want the Pingbacks to be placed on your - page.
- typically, under the post itself. don't worry, the Pingbacks only appear - if the page is called in the Pingbacks mode. (like this: url?pb=1)
-
-
- Tags that go in b2comments.php, b2trackback.php, b2pingbacks.php: - (these are easy too)
-
- <?php comment_author() ?>
- <?php comment_author_email() ?> - displays the - e-mail address, but not the link
- <?php comment_author_url() ?> - displays the url, - but not the link
-
- <?php comment_author_email_link() ?> *- - displays a link to the comment's author's e-mail
- <?php comment_author_url_link() ?> *- - displays a link to the comment's author's website
-
Parameters for comment_author_email_link() - and comment_author_url_link(): -
    -
  • string for the link (default: "email"/"url" depending on the tag)
  • -
  • string to display before the link (default is " - ")
  • -
  • string to display after the link (default is blank)
  • -
-
-
- <?php comment_author_IP() ?> - displays the IP - of the comment's author
- <?php comment_text() ?>
- <?php comment_date() ?>
- unlike the_date(), this tag appears - on every comment
- <?php comment_time() ?>

-
Parameters for comment_date() and - comment_time(): -
    -
  • format string (default is "d.m.y"/"H:i:s" depending on the tag)
  • -
-
-
- <?php trackback_url() ?> *
- This tag is out of the b2 TrackBacks loop.
- It will output the URL to TrackBack the post, that other people can copy - and use in b2's posting interface to trackback this post.
-
Parameters: -
    -
  • no parameter
  • -
-
-
-
- In b2comments.php b2trackback.php and b2pingbacks.php, like in the main - template file, please keep the first PHP lines, the "while" - lines, and the "}" lines.
- You can modify the form, but do not remove "<?php echo ... ?>" - and all the name="..." attributes.
-
-
- To include your archives:
-
- <?php include("b2archives.php") ?>
- this will include the links to your archives, one link per line.
- if your archive mode is "monthly", it will display the names - of the months and the years, like "july 2001".
- if your archive mode is "post by post", it will display the - titles of your posts, one title per line. if a post is untitled it will - display the ID (number) of this post.
-
-
- To include the calendar:
-
- <?php include("b2calendar.php") ?>
- this will include a table with the current month's calendar, each day - when you posted shows a link to this day's posts. You can customise this - table with CSS classes: -
.b2calendarmonth {}
-     the style that is used to display the month and year
- .b2calendartable {}
-     the style of the <table> tag (border etc...)
- .b2calendarrow {}
-     the style of the <tr> tag
- .b2calendarheadercell {}
-     the style of the <td> tag that shows the weekdays - on the top of the table
- .b2calendarcell {}
-     the style of the <td> tags that show the days
- .b2calendaremptycell {}
-     the style of the <td> tags that are empty
- .b2calendarlinkpost {}
-     the style of the link to the post
- .b2calendartoday {}
-     the style of the day if it is today
-
-

Query String Usage:

-

WordPress relies a lot on the query string, these variables passed with - the URL (note: to pass variables in the querystring, preceed the first - variable name with a '?' question mark and every other variables with - a '&' sign.)

-

Most of the time you won't have to do anything about it, but if you want - to know how it works, it's here:

-

How to use the query string:

-
index.php?m=200107 will display the month - of July 2001.
-
- index.php?m=20010701 will display all posts from July - 1st, 2001.
-
- index.php?w=20 will display the posts from the 20th week - of the year, where January 1st is in the first week (according to PHP).
-
- index.php?p=50 will display the post labeled #50 in the - database.
-
- index.php?s=blue+house will display the posts that match - the search request "blue house".
- here is the code for a simple search box:
-
- <form name="searchform" action="<?php echo - $PHP_SELF ?>" method="get">
- <input type="text" name="s" />
- <input type="submit" name="submit" value="search" - />
- </form>

-
- index.php?cat=1 will display all posts that belong to - category #1 (1 is the default). you can add/rename/delete categories from - b2's interface.
-
- index.php?author=1 will display all posts from the author - #1
-
- index.php?p=50&c=1 will display the comments and a form - to add a comment below the post.
- you should use this variable only with p=, example: index.php?p=50&c=1.
-
- index.php?p=50&tb=1 will display the TrackBacks to the - post #50.
- you should use this variable only with p=, example: index.php?p=50&tb=1.
-
- index.php?p=50&pb=1 will display the Pingbacks to the - post #50.
- you should use this variable only with p=, example: index.php?p=50&pb=1.
-
- index.php?p=50&more=1 will display the extended entries' - text. this, too, should be used only with p=, for individual - entries.
-
- index.php?p=50&page=1 will display the first page of - post #50. this, again, should be used only with p=, for - individual entries.
-
- You can also mix these variables, example: index.php?m=200107&s=hotdog - will display the posts that match the search request "hotdog", - but only in July 2001.
-

 

-

XML-RPC Interface:

-

WordPress now has a XMLRPC interface. The only API available right now - is the Blogger API (complete specs here). - There are talks about a new API that would cover a lot of weblog/CMS systems - in the future: when it's ready, WordPress will support it.

-

The Blogger API has been - completely emulated on WordPress, with some little differences:

-
    -
  • using blogger.getRecentPosts with the number 'zero' returns - all posts in the blog
  • -
  • blogger.getTemplate fetches your file $blogfilename (as specified - in the config), while blogger.setTemplate overwrites it with - the edited data
  • -
  • blogger.getUsersBlogs is a dummy function that returns '1' - and $blogname, since b2 supports only one blog as of now
  • -
-

If you use blogger.newPost, your post is submitted without title and - in category #1.

-

However, you can type <title>my title</title> and/or <category>2<category> - in the body of your post to make its title be 'my title' and its category - be #2 (refer to your categories section to find out the ID numbers of - the categories). b2 would then delete that extra info from the body of - your post once it is posted.

-

You can now post to your b2 blog with tools like BlogBuddy, - Bloggar, WapBlogger - (post from your Wap cellphone!), Radio - Userland (which means you can use Radio's email-to-blog feature), - and other tools that support the Blogger API ! :)

-

Your XMLRPC server/path are as described here: if you login to b2 on - http://mydomain.com/me/b2login.php, then you have:

-
    -
  • server: http://example.com/me
  • -
  • path: /me/xmlrpc.php
  • -
  • complete URL (just in case): http://example.com/me/xmlrpc.php
  • -
-

There's also a b2-specific method: b2.getCategories. Request it with - 3 strings: blog_ID (use '1'), username, password. The response is an array - of structs with strings categoryID and categoryName.
-
-

-

 

-

Post via Email:

-

You can post news from an email client!
- But first you'll have to edit b2config.php, filling the appropriate values - for your POP3 email account (this interface doesn't support IMAP yet, - only POP3, sorry).

-

Once you have edited the config options, you can make your webserver - execute b2mail.php every set amount of time (depending on your host's - performance, this script can be resource intensive, so don't make it run - every minute or you'll be kicked).

-

You can do it with Cron-jobs, or if your host doesn't support it you - can look into the various website-monitoring services, and make them check - your b2mail.php URL.

-

Preliminary advice:

-

It is strongly advised to send your email as text-only (Outlook and - Outlook Express default to 'html', which may cause problems), but HTML - email could work (the script would strip all your html tags though...).

-

It is also advised not to use your public email address, but create a - new one especially for this script. If you use your public email address - and the script goes crazy posting every email on your blog and deleting - all your emails, I can't take responsibility for this.

-

Make sure you delete any email sent to your blog in your 'Sent' folder - too, just in case (you don't want someone to find your login and password - in the 'Sent' folder).

-

The script will delete the emails that were used to post stuff - on your weblog if it successfully posted your stuff. If it didn't manage - to post, the email is not deleted.

-

How to post:

-

Now to post something, here's how your email should look like:

-
To: address@domain.com (you - set it in the config file)
- Subject: blog:the post's title (you can - change 'blog:' in the config file)
- Body:
- login:password (example: Jack:Starwars)
- The content of the post, blah blah blah.
- More blah blah. ___
-

Subject must start with 'blog:', or any string you set in the config - file (so that the script doesn't check EVERY email in your mailbox).

-

Body's first line must always be login:password, else the script will - just skip the email.
- If you don't use '___' (or any body terminator that you set in the config - file), the script will post the whole body, which is not what you want - if you send email with Yahoo or Hotmail (you don't want their ads on your - blog, do you ?).

-

Special cases for mobile phone email:

-

Some mobile phone service providers may allow you to send email with - your mobile phone or PDA, but on such devices you can't always include - line breaks. In such case, you have to set $use_phoneemail = 1 - in b2config.php, and then here's how you write the email:

-
To: address@domain.com
- Subject: blog:the post's title :::
- Body:
- login:password ::: The content of the post, blah blah blah.___ -
-

You will have to append ':::' (or whatever string you set in the config - file) after the subject, and after the login:password.
-
- Some mobile phone service providers may not allow you to set a subject, - and they'll make the subject be the first characters of the body, in which - case you would send an email like this:

-
To: address@domain.com
- Body:
- blog:the post's title ::: login:password ::: The content - of the post, blah blah blah.___
-

 

-

Notes:

-

On multi-user:

-

New users can register with b2register.php. Then you (as - an admin) click the "+" next to their name on the Team page - in admin to upgrade their level to 1 or more, so they can post. If you - don't want an user to post anymore, just click "-" until their - level is 0.

-

Note: you can now disable users registration altogether from the config - file.

-

Levels:

-
    -
  • 0 - new user: can't post.
  • -
  • 1 - user: can post & edit/delete their own posts.
  • -
  • 3 & more - admin: can post, edit/delete other people's posts, - and change the options.
  • -
  • Any user whose level is higher than 1, can edit/delete the posts and - change the level of users whose level is inferior. Example: a level - 2 user is not an admin, but can edit the posts of level 1 users, and - up the level of a new user from 0 to 1.
  • -
-

Usually, you'll want to have a team of only level 1 users except you. - ;)

-

Note: you can modify a variable in b2config.php, to - enable new users to post once they've registered.

-

If you don't want users to register on your blog at all, just delete - b2register.php once you've registered your user account.

-


- Final notes:

-
    -
  • WordPress is functional, but a lot of coding and code clean-up remain - to be done.
  • -
  • If you've got suggestions, ideas, or comments, or if you found a bug, - why not joining us in the Support - Forums?
  • -
  • If you can code in PHP, you'll see the structure of WordPress is flexible - enough to allow for more functions and sections to be added.
  • -
-


- Copyright notes:

-
    -
  • Wherever third party code has been used, credit has been given in - the code's comments.
  • -
  • WordPress is released under the GPL - (see license.txt).
  • -
-

 

- - \ No newline at end of file diff --git a/spec/samples/wp_versions/1.2-delta/readme.html b/spec/samples/wp_versions/1.2-delta/readme.html deleted file mode 100755 index ed6522fd..00000000 --- a/spec/samples/wp_versions/1.2-delta/readme.html +++ /dev/null @@ -1,248 +0,0 @@ - - - -WordPress—ReadMe - - - - -

WordPress
-Version 1.0.1

-

Weblog / News Publishing Tool

-

Requirements - Installation - Template(s) - Query String Usage - XML-RPC (Blogging APIs) - Post Via Email - Notes

-

Requirements:

-
    -
  • PHP4 (version 4.0.6 or higher)
  • -
  • MySQL (version 3.23.23 or higher)
  • -
  • ... and a link to http://wordpress.org on your site.
  • -
-

The link will help promote WordPress and is its only mean of promotion.

-

WordPress is the official continuation of b2, which comes from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

-

This document is currently beta stage, we'll be updating it extensively as WordPress matures. There is also online documentation under development, as well as a wiki.

-

Installation:

-

New users: 5-minute install.

-
    -
  1. Unzip the package in an empty directory.
  2. -
  3. Upload everything. This release is designed to sit in your root folder; i.e, the folder where your WordPress-powered page will reside.
  4. -
  5. (Optional) If you're going to use it, the weblogs.com cache file needs to be writable by the web server. CHMOD 666 the wp-content/link-update-cache.xml file.
  6. -
  7. -

    Point your browser to wp-admin/install-config.php. This will create a configuration file for your installation. You'll need to know your database name, username, password, and host name.

    -

    Alternately, you may open wp-config-sample.php in a text editor and insert your database name, username, password, and host name as indicated in the comments. (Comments are lines that start with /* or //.) Save this file as wp-config.php, and upload it.

    -
  8. -
  9. Launch /wp-admin/install.php in your browser. This should setup the MySQL database for your blog. Note the password given to you. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums and make a post with all the information about the failure (error messages, etc), and your setup (the PHP and MySQL versions on your server, and the browser you were using).
  10. -
  11. The install script should then send you to the login page. Sign in with the username "admin" and the password generated during the installation. Then click on the item 'My Profile', and change the password. The login page may also be accessed by going to wp-login.php.
  12. -
-

Some notes:

-
    -
  • Whenever you want to post something, just open a browser and go to wp-login.php to log in and post.
  • -
  • You can also use a bookmarklet and/or a sidebar (IE5+/NS6+) to post.
  • -
  • You can also post through the Blogger, MetaWeblog, and MovableType APIs, click here for more info.
  • -
  • By default, your site's blog is located at index.php, which is an elaborate .CSS-based template. There is a non-.CSS template you can also use, called wp.php. You can rename either of these files as any other name you fancy (provided it bears the php extension or is interpreted as a php file by your server).
  • -
- -

Preface for all upgrades:

-
  • Back up your database before you do anything.
  • -
  • If you haven't already, we strongly suggest that you BACK UP your database.
  • -
  • Have you BACKED UP your database? Yeah? GREAT!
  • -
  • If you don't know how to do this, this script may help.
  • -
- -

Upgrading from any previous WordPress to v1.0.1:

-
    -
  • Backup your database. Yes, you. Right now.
  • -
  • Point your browser to /wp-admin/upgrade.php.
  • -
  • You wanted more, perhaps? That's it!
  • -
-

Note on upgrading to v1.0.1:

-
    -
  • It is strongly recommended that you use the new index.php for your templates, rather than simply upgrading your old one. Sure, it'll take a little time, but you'll be much happier with the results when you do!
  • - -

    Upgrading from b2 v0.6.1/v0.6.2.2 to WordPress v1.0.1:

    -
      -
    • Back up your database before you do anything. Yes, you. Right now.
    • -
    • You must configure wp-config.php as indicated in the "5-minute install" section.
    • -
    • All you really have to do is replace all the files with newer versions and run wp-admin/upgrade.php and you should be ready to go.
    • -
    • There is also an import script at wp-admin/import-b2.php.
    • -
    • If you're using an older version of b2, it's probably a good idea to upgrade to at least .6.1 before making the leap to WordPress.
    • -
    • The templates are better and structured slightly differently, so it might be worth it to start from scratch and work back to your design.
    • -
    • WordPress issues should be discussed in our support forums.
    • -
    - -

    Upgrading to WordPress v1.0.1 from Movable Type, Textpattern, GreyMatter, & Blogger

    - - -

    Templates:

    -

    For information about WordPress templates, please see our online documentation on them.

    -

    First notes:

    -

    Query String Usage:

    -

    WordPress relies a lot on the query string. These variables passed with the URL (note: to pass variables in the querystring, preceed the first variable name with a '?' question mark and every other variables with a '&' sign.)

    -

    Most of the time you won't have to do anything about it, but if you want to know how it works, it's here:

    -

    How to use the query string:

    -

    index.php?m=200107 will display the month of July 2001.

    -

    index.php?m=20010701 will display all posts from July 1st, 2001.

    -

    index.php?w=20 will display the posts from the 20th week of the year, where January 1st is in the first week (according to PHP).

    -

    index.php?p=50 will display the post labeled #50 in the database.

    -

    index.php?s=blue+house will display the posts that match the search request "blue house".
    -here is the code for a simple search box:

    -

    <form name="searchform" action="<?php echo $PHP_SELF ?>" method="get">
    -<input type="text" name="s" />
    -<input type="submit" name="submit" value="search" />
    -</form>

    -

    index.php?cat=1 will display all posts that belong to category #1 (1 is the default). you can add/rename/delete categories from WordPress's interface.

    -

    index.php?author=1 will display all posts from the author #1

    -

    index.php?p=50&c=1 will display the comments and a form to add a comment below the post.
    - you should use this variable only with p=, example: index.php?p=50&c=1.

    -

    index.php?p=50&page=1 will display the first page of post #50. this, again, should be used only with p=, for individual entries.

    -

    You can also mix these variables, example: index.php?m=200107&s=hotdog will display the posts that match the search request "hotdog", but only in July 2001.

    -

    XML-RPC Interface:

    -

    WordPress has an XMLRPC interface. Currently supported APIs are the Blogger API, metaWeblog API, and the MovableType API. There are talks about a new API that would cover a lot of weblog/CMS systems in the future: when it's ready, WordPress will support it.

    -

    The Blogger API has been completely emulated on WordPress, with some little differences:

    -
      -
    • using blogger.getRecentPosts with the number 'zero' returns all posts in the blog
    • -
    • blogger.getTemplate fetches your file $blogfilename (as specified in the config), while blogger.setTemplate overwrites it with the edited data
    • -
    • blogger.getUsersBlogs is a dummy function that returns '1' and $blogname, since WordPress supports only one blog as of now
    • -
    -

    If you use blogger.newPost, your post is submitted without title and in category #1.

    -

    However, you can type <title>my title</title> and/or <category>2<category> in the body of your post to make its title be 'my title' and its category be #2 (refer to your categories section to find out the ID numbers of the categories). b2 would then delete that extra info from the body of your post once it is posted.

    -

    The metaWeblog and MovableType APIs are currently supported with the following exceptions:

    -
      -
    • metaWeblog.newMediaObject,  mt.getRecentPostTitles,  and mt.getTrackbackPings are not yet implemented
    • -
    • mt.supportedTextFilters is a dummy stub function that returns an empty string
    • -
    • keywords are not supported in the MovableType API
    • -
    -
    -Extended entries in the MovableType API are automatically converted to/from the WordPress <!--more--> tag.
    -

    You can now post to your WordPress blog with tools like BlogBuddy, Bloggar, WapBlogger (post from your Wap cellphone!), Radio Userland (which means you can use Radio's email-to-blog feature), Zempt, NewzCrawler, and other tools that support the Blogging APIs! :)

    -

    Your XMLRPC server/path are as described here: if you login to WordPress on http://example.com/me/wp-login.php, then you have:

    -
      -
    • server: http://example.com/ (some tools will just want the 'example.com' hostname part)
    • -
    • path: /me/xmlrpc.php
    • -
    • complete URL (just in case): http://example.com/me/xmlrpc.php
    • -
    -

    There's also a b2-specific method: b2.getCategories. Request it with 3 strings: blog_ID (use '1'), username, password. The response is an array of structs with strings categoryID and categoryName.

    -

    Post via Email:

    -

    You can post news from an email client!
    - But first you'll have to edit the options on the options screen, filling the appropriate values for your POP3 email account (this interface doesn't support IMAP yet, only POP3, sorry).

    -

    Once you have edited the options, you can make your webserver execute wp-mail.php every set amount of time (depending on your host's performance, this script can be resource intensive, so don't make it run every minute or you'll be kicked).

    -

    You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Preliminary advice:

    -

    It is strongly advised to send your email as text-only (Outlook and Outlook Express default to 'html', which may cause problems), but HTML email could work (the script would strip all your html tags though...).

    -

    It is also advised not to use your public email address, but create a new one especially for this script. If you use your public email address and the script goes crazy posting every email on your blog and deleting all your emails, I can't take responsibility for this.

    -

    Make sure you delete any email sent to your blog in your 'Sent' folder too, just in case (you don't want someone to find your login and password in the 'Sent' folder).

    -

    The script will delete the emails that were used to post stuff on your weblog if it successfully posted your stuff. If it didn't manage to post, the email is not deleted.

    -

    How to post:

    -

    Now to post something, here's how your email should look like:

    -
    To: address@example.com (you set it in the config file)
    - Subject: blog:the post's title (you can change 'blog:' in the config file)
    - Body:
    - login:password (example: Jack:Starwars)
    - The content of the post, blah blah blah.
    - More blah blah. ___
    -

    Subject must start with 'blog:', or any string you set in the config file (so that the script doesn't check EVERY email in your mailbox).

    -

    Body's first line must always be login:password, else the script will just skip the email.

    -

    If you don't use '___' (or any body terminator that you set in the config file), the script will post the whole body, which is not what you want if you send email with Yahoo or Hotmail (you don't want their ads on your blog, do you ?).

    -

    Special cases for mobile phone email:

    -

    Some mobile phone service providers may allow you to send email with your mobile phone or PDA, but on such devices you can't always include line breaks. In such case, you have to set use_phoneemail = true in the options, and then here's how you write the email:

    -
    To: address@example.com
    - Subject: blog:the post's title :::
    - Body:
    - login:password ::: The content of the post, blah blah blah.___
    -

    You will have to append ':::' (or whatever string you set in the config file) after the subject, and after the login:password.

    -

    Some mobile phone service providers may not allow you to set a subject, and they'll make the subject be the first characters of the body, in which case you would send an email like this:

    -
    To: address@example.com
    - Body:
    - blog:the post's title ::: login:password ::: The content of the post, blah blah blah.___
    -

    Notes:

    -

    On multi-user:

    -

    New users can register with wp-register.php. Then you (as an admin) click the "+" next to their name on the Team page in admin to upgrade their level to 1 or more, so they can post. If you don't want an user to post anymore, just click "-" until their level is 0.

    -

    Note: you can now disable users registration altogether from the config file.

    -

    User Levels:

    -
      -
    • 0 - new user: can't post.
    • -
    • 1 - user: can post & edit/delete their own posts.
    • -
    • 3 & higher - admin: can post, edit/delete other people's posts, and change the options.
    • -
    • Any user whose level is higher than 1, can edit/delete the posts and change the level of users whose level is inferior. Example: a level 2 user is not an admin, but can edit the posts of level 1 users, and up the level of a new user from 0 to 1.
    • -
    -

    Usually, you'll want to have a team of only level 1 users except you. ;)

    -

    Note: you can modify an option on the option screens, to enable new users to post once they've registered.

    -

    If you don't want users to register on your blog at all, just delete wp-register.php once you've registered your user account.

    -

    Final notes:

    -
      -
    • If you've got suggestions, ideas, or comments, or if you found a bug, why not joining us in the Support Forums?
    • -
    • If you can code in PHP, you'll see the structure of WordPress is flexible enough to allow for more functions and sections to be added.
    • -
    -

    Copyright notes:

    -
      -
    • Wherever third party code has been used, credit has been given in the code’s comments.
    • -
    • WordPress is released under the GPL (see license.txt).
    • -
    - - diff --git a/spec/samples/wp_versions/1.2-delta/wp-layout.css b/spec/samples/wp_versions/1.2-delta/wp-layout.css deleted file mode 100755 index 590903cd..00000000 --- a/spec/samples/wp_versions/1.2-delta/wp-layout.css +++ /dev/null @@ -1,302 +0,0 @@ -/* Default WordPress by Dave Shea || http://mezzoblue.com - Modifications by Matthew Mullenweg || http://photomatt.net - This is just a basic layout, with only the bare minimum defined. - Please tweak this and make it your own. :) -*/ - -a { - color: #675; -} - -a img { - border: none; -} - -a:visited { - color: #342; -} - -a:hover { - color: #9a8; -} - -acronym, abbr { - border-bottom: 1px dashed #333; -} - -acronym, abbr, span.caps { - cursor: help; - font-size: 90%; - letter-spacing: .07em; -} - -blockquote { - border-left: 5px solid #ccc; - margin-left: 1.5em; - padding-left: 5px; -} - -body { - background: #fff; - border: solid 2px #565; - border-bottom: solid 1px #565; - border-top: solid 3px #565; - color: #000; - font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; - margin: 0; - padding: 0; -} - -cite { - font-size: 90%; - font-style: normal; -} - -h2 { - border-bottom: 1px dotted #ccc; - font: 95% "Times New Roman", Times, serif; - letter-spacing: 0.2em; - margin: 15px 0 2px 0; - padding-bottom: 2px; -} - -h3 { - border-bottom: dotted 1px #eee; - font-family: "Times New Roman", Times, serif; - margin-top: 0; -} - -ol#comments li p { - font-size: 100%; -} - -p, li, .feedback { - font: 90%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; - letter-spacing: -1px; -} - -/* classes used by the_meta() */ -ul.post-meta { - list-style: none; -} - -ul.post-meta span.post-meta-key { - font-weight: bold; -} - -.credit { - background: #90a090; - border-top: double 3px #aba; - color: #fff; - font-size: 11px; - margin: 10px 0 0 0; - padding: 3px; - text-align: center; -} - -.credit a:link, .credit a:hover { - color: #fff; -} - -.feedback { - color: #ccc; - text-align: right; -} - -.meta { - font-size: .75em; -} - -.meta li, ul.post-meta li { - display: inline; -} - -.meta ul { - display: inline; - list-style: none; - margin: 0; - padding: 0; -} - -.meta, .meta a { - color: #808080; - font-weight: normal; - letter-spacing: 0; -} - -.storytitle { - margin: 0; -} - -.storytitle a { - text-decoration: none; -} - -#commentform #name, #commentform #email, #commentform #url, #commentform textarea { - background: #fff; - border: 1px solid #333; - padding: .2em; -} - -#commentform textarea { - width: 100%; -} - -#commentlist li ul { - border-left: 1px solid #ddd; - font-size: 110%; - list-style-type: none; -} - -#content { - margin: 30px 13em 0 3em; - padding-right: 60px; -} - -#header { - background: #90a090; - border-bottom: double 3px #aba; - border-left: solid 1px #9a9; - border-right: solid 1px #565; - border-top: solid 1px #9a9; - font: italic normal 230% 'Times New Roman', Times, serif; - letter-spacing: 0.2em; - margin: 0; - padding: 15px 10px 15px 60px; -} - -#header a { - color: #fff; - text-decoration: none; -} - -#header a:hover { - text-decoration: underline; -} - -#menu { - background: #fff; - border-left: 1px dotted #ccc; - border-top: solid 3px #e0e6e0; - padding: 20px 0 10px 30px; - position: absolute; - right: 2px; - top: 0; - width: 11em; -} - -#menu form { - margin: 0 0 0 13px; -} - -#menu input#s { - width: 80%; - background: #eee; - border: 1px solid #999; - color: #000; -} - -#menu ul { - color: #ccc; - font-weight: bold; - list-style-type: none; - margin: 0; - padding-left: 3px; - text-transform: lowercase; -} - -#menu ul li { - font: italic normal 110% 'Times New Roman', Times, serif; - letter-spacing: 0.1em; - margin-top: 10px; - padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/ -} - -#menu ul ul { - font-variant: normal; - font-weight: normal; - line-height: 100%; - list-style-type: none; - margin: 0; - padding: 0; - text-align: left; -} - -#menu ul ul li { - border: 0; - font: normal normal 70%/115% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; - letter-spacing: 0; - margin-top: 0; - padding: 0; - padding-left: 12px; -} - -#menu ul ul li a { - color: #000; - text-decoration: none; -} - -#menu ul ul li a:hover { - border-bottom: 1px solid #809080; -} - -#menu ul ul ul.children { - font-size: 142%; - padding-left: 4px; -} - -#wp-calendar { - border: 1px solid #ddd; - empty-cells: show; - font-size: 14px; - margin: 0; - width: 90%; -} - -#wp-calendar #next a { - padding-right: 10px; - text-align: right; -} - -#wp-calendar #prev a { - padding-left: 10px; - text-align: left; -} - -#wp-calendar a { - display: block; - text-decoration: none; -} - -#wp-calendar a:hover { - background: #e0e6e0; - color: #333; -} - -#wp-calendar caption { - color: #999; - font-size: 16px; - text-align: left; -} - -#wp-calendar td { - color: #ccc; - font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; - letter-spacing: normal; - padding: 2px 0; - text-align: center; -} - -#wp-calendar td.pad:hover { - background: #fff; -} - -#wp-calendar td:hover, #wp-calendar #today { - background: #eee; - color: #bbb; -} - -#wp-calendar th { - font-style: normal; - text-transform: capitalize; -} diff --git a/spec/samples/wp_versions/1.2.1/readme.html b/spec/samples/wp_versions/1.2.1/readme.html deleted file mode 100755 index b540d8ae..00000000 --- a/spec/samples/wp_versions/1.2.1/readme.html +++ /dev/null @@ -1,160 +0,0 @@ - - - -WordPress › ReadMe - - - - -

    WordPress
    - Version 1.2

    -

    Semantic Personal Publishing Platform

    -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Wiki
    -
    A wiki is like a web page than anyone can contribute to, and the WordPress wiki documentation has grown rich from the many who have contributed to it. It is usually up-to-date and well-hyperlinked. The only downside is it can be hard to find your way around your first time. Use the search box at the top.
    -
    The official documentation
    -
    The documentation on wordpress.org represents the official resources we've made available. Beyond reference, this includes tutorials and guides for doing different things with WordPress. As I write this, it is a little sparse, but we're doing our best to enrich this resource so by the time you read this sentence the docs may be bursting with information.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    Frequently Asked Questions Blog
    -
    In addition to the FAQ on the wiki and the main website, there is a new FAQ blog that several members of the documentation team are updating. The FAQ itself is run with WordPress.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion amoung people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpresss)
    -
    -

    System Recomendations

    -
      -
    • PHP version 4.1 or higher
    • -
    • MySQL version 3.23.23 or higher
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    The Apache mod_rewrite is required for some optional functionality.

    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Launch /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 1.2:

    -
      -
    1. Upload the new files, and be careful not to overwrite anything important
    2. -
    3. Point your browser to /wp-admin/upgrade.php
    4. -
    5. You wanted more, perhaps? That's it!
    6. -
    -

    If you are coming from 1.0 or greater, your existing templates should work perfectly. If you are coming from a version earlier than 1.0 you will need to modify your templates slightly. Use the default index.php as your guide.

    -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, then you can run one of the following import scripts:

    - -

    Templates

    -

    The template tags are too numerous and flexible to adequetely document here, so please see our online documentation.

    -

    Query String Usage

    -

    WordPress can be manipulated quite a bit through the query string. To pass variables in the querystring, proceed the first variable name with a '?' question mark and every other variables with a '&' sign. You may never use this, but it is useful to know.

    -

    index.php?m=200107 will display the month of July 2001.

    -

    index.php?m=20010701 will display all posts from July 1st, 2001.

    -

    index.php?w=20 will display the posts from the 20th week of the year, where January 1st is in the first week (according to PHP).

    -

    index.php?p=50 will display the post labeled #50 in the database.

    -

    index.php?s=blue+house will display the posts that match the search request "blue house".

    -

    index.php?cat=1 will display all posts that belong to category #1 (1 is the default). you can add/rename/delete categories from WordPress's interface.

    -

    index.php?author=1 will display all posts from the author #1

    -

    index.php?p=50&page=1 will display the first page of post #50. this, again, should be used only with p=, for individual entries.

    -

    You can also mix these variables, example: index.php?m=200107&s=hotdog will display the posts that match the search request "hotdog", but only in July 2001.

    -

    XML-RPC Interface

    -

    WordPress has an XMLRPC interface. We currently support the Blogger API, metaWeblog API, and the MovableType API.

    -

    The Blogger API has been completely emulated on WordPress, with some little differences:

    -
      -
    • using blogger.getRecentPosts with the number 'zero' returns all posts in the blog
    • -
    • blogger.getTemplate fetches your file $blogfilename (as specified in the config), while blogger.setTemplate overwrites it with the edited data
    • -
    • blogger.getUsersBlogs is a dummy function that returns '1' and $blogname, since WordPress supports only one blog as of now
    • -
    -

    If you use blogger.newPost, your post is submitted without title and in category #1.

    -

    However, you can type <title>my title</title> and/or <category>2<category> in the body of your post to make its title be 'my title' and its category be #2 (refer to your categories section to find out the ID numbers of the categories). b2 would then delete that extra info from the body of your post once it is posted.

    -

    The metaWeblog and MovableType APIs are currently supported with the following exceptions:

    -
      -
    • metaWeblog.newMediaObject,  mt.getRecentPostTitles,  and mt.getTrackbackPings are not yet implemented
    • -
    • mt.supportedTextFilters is a dummy stub function that returns an empty string
    • -
    • keywords are not supported in the MovableType API
    • -
    -

    Extended entries in the MovableType API are automatically converted to/from the WordPress <!--more--> tag.

    -

    You can now post to your WordPress blog with tools like BlogBuddy, Bloggar, WapBlogger (post from your Wap cellphone!), Radio Userland (which means you can use Radio's email-to-blog feature), Zempt, NewzCrawler, and other tools that support the Blogging APIs! :)

    -

    Your XMLRPC server/path are as described here: if you login to WordPress on http://example.com/me/wp-login.php, then you have:

    -
      -
    • Server: http://example.com/ (some tools will just want the 'example.com' hostname part)
    • -
    • Path: /me/xmlrpc.php
    • -
    • complete URL (just in case): http://example.com/me/xmlrpc.php
    • -
    -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address dicrete. The script will delete emails that are successfully posted.

    -

    User Levels

    -

    You may allow or disallow user registration in your General options. If "new users can blog" is disabled you must first raise the level of a newly registered user to allow them to post. Click the plus sign next to their name on the Users page.

    -

    User Levels

    -
      -
    • 0 - New User
    • -
    • 1 - User can post, edit, and delete their own posts.
    • -
    • 5+ - Admin; can post, edit, delete other people's posts, and change the options.
    • -
    • Any user whose level is higher than 1, can edit and delete the posts and change the level of lower users. Example: a level 2 user is not an admin, but can edit the posts of level 1 users, and up the level of a new user from 0 to 1.
    • -
    -

    Usually you want to have a team of level 1 users except for you.

    -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the documentation in the wiki. In most all cases you shouldn't modify any of the core code.
    • -
    -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - \ No newline at end of file diff --git a/spec/samples/wp_versions/1.2.1/wp-layout.css b/spec/samples/wp_versions/1.2.1/wp-layout.css deleted file mode 100755 index e5e2bc09..00000000 --- a/spec/samples/wp_versions/1.2.1/wp-layout.css +++ /dev/null @@ -1,303 +0,0 @@ -/* Default WordPress by Dave Shea || http://mezzoblue.com - Modifications by Matthew Mullenweg || http://photomatt.net - This is just a basic layout, with only the bare minimum defined. - Please tweak this and make it your own. :) -*/ - -a { - color: #675; -} - -a img { - border: none; -} - -a:visited { - color: #342; -} - -a:hover { - color: #9a8; -} - -acronym, abbr { - border-bottom: 1px dashed #333; -} - -acronym, abbr, span.caps { - cursor: help; - font-size: 90%; - letter-spacing: .07em; -} - -blockquote { - border-left: 5px solid #ccc; - margin-left: 1.5em; - padding-left: 5px; -} - -body { - background: #fff; - border: solid 2px #565; - border-bottom: solid 1px #565; - border-top: solid 3px #565; - color: #000; - font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; - margin: 0; - padding: 0; -} - -cite { - font-size: 90%; - font-style: normal; -} - -h2 { - border-bottom: 1px dotted #ccc; - font: 95% "Times New Roman", Times, serif; - letter-spacing: 0.2em; - margin: 15px 0 2px 0; - padding-bottom: 2px; -} - -h3 { - border-bottom: dotted 1px #eee; - font-family: "Times New Roman", Times, serif; - margin-top: 0; -} - -ol#comments li p { - font-size: 100%; -} - -p, li, .feedback { - font: 90%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; - letter-spacing: -1px; -} - -/* classes used by the_meta() */ -ul.post-meta { - list-style: none; -} - -ul.post-meta span.post-meta-key { - font-weight: bold; -} - -.credit { - background: #90a090; - border-top: double 3px #aba; - color: #fff; - font-size: 11px; - margin: 10px 0 0 0; - padding: 3px; - text-align: center; -} - -.credit a:link, .credit a:hover { - color: #fff; -} - -.feedback { - color: #ccc; - text-align: right; - clear: all; -} - -.meta { - font-size: .75em; -} - -.meta li, ul.post-meta li { - display: inline; -} - -.meta ul { - display: inline; - list-style: none; - margin: 0; - padding: 0; -} - -.meta, .meta a { - color: #808080; - font-weight: normal; - letter-spacing: 0; -} - -.storytitle { - margin: 0; -} - -.storytitle a { - text-decoration: none; -} - -#commentform #name, #commentform #email, #commentform #url, #commentform textarea { - background: #fff; - border: 1px solid #333; - padding: .2em; -} - -#commentform textarea { - width: 100%; -} - -#commentlist li ul { - border-left: 1px solid #ddd; - font-size: 110%; - list-style-type: none; -} - -#content { - margin: 30px 13em 0 3em; - padding-right: 60px; -} - -#header { - background: #90a090; - border-bottom: double 3px #aba; - border-left: solid 1px #9a9; - border-right: solid 1px #565; - border-top: solid 1px #9a9; - font: italic normal 230% 'Times New Roman', Times, serif; - letter-spacing: 0.2em; - margin: 0; - padding: 15px 10px 15px 60px; -} - -#header a { - color: #fff; - text-decoration: none; -} - -#header a:hover { - text-decoration: underline; -} - -#menu { - background: #fff; - border-left: 1px dotted #ccc; - border-top: solid 3px #e0e6e0; - padding: 20px 0 10px 30px; - position: absolute; - right: 2px; - top: 0; - width: 11em; -} - -#menu form { - margin: 0 0 0 13px; -} - -#menu input#s { - width: 80%; - background: #eee; - border: 1px solid #999; - color: #000; -} - -#menu ul { - color: #ccc; - font-weight: bold; - list-style-type: none; - margin: 0; - padding-left: 3px; - text-transform: lowercase; -} - -#menu ul li { - font: italic normal 110% 'Times New Roman', Times, serif; - letter-spacing: 0.1em; - margin-top: 10px; - padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/ -} - -#menu ul ul { - font-variant: normal; - font-weight: normal; - line-height: 100%; - list-style-type: none; - margin: 0; - padding: 0; - text-align: left; -} - -#menu ul ul li { - border: 0; - font: normal normal 70%/115% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; - letter-spacing: 0; - margin-top: 0; - padding: 0; - padding-left: 12px; -} - -#menu ul ul li a { - color: #000; - text-decoration: none; -} - -#menu ul ul li a:hover { - border-bottom: 1px solid #809080; -} - -#menu ul ul ul.children { - font-size: 142%; - padding-left: 4px; -} - -#wp-calendar { - border: 1px solid #ddd; - empty-cells: show; - font-size: 14px; - margin: 0; - width: 90%; -} - -#wp-calendar #next a { - padding-right: 10px; - text-align: right; -} - -#wp-calendar #prev a { - padding-left: 10px; - text-align: left; -} - -#wp-calendar a { - display: block; - text-decoration: none; -} - -#wp-calendar a:hover { - background: #e0e6e0; - color: #333; -} - -#wp-calendar caption { - color: #999; - font-size: 16px; - text-align: left; -} - -#wp-calendar td { - color: #ccc; - font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; - letter-spacing: normal; - padding: 2px 0; - text-align: center; -} - -#wp-calendar td.pad:hover { - background: #fff; -} - -#wp-calendar td:hover, #wp-calendar #today { - background: #eee; - color: #bbb; -} - -#wp-calendar th { - font-style: normal; - text-transform: capitalize; -} diff --git a/spec/samples/wp_versions/1.5.2/readme.html b/spec/samples/wp_versions/1.5.2/readme.html deleted file mode 100755 index 88feb377..00000000 --- a/spec/samples/wp_versions/1.5.2/readme.html +++ /dev/null @@ -1,126 +0,0 @@ - - - -WordPress › ReadMe - - - - -

    WordPress
    - Version 1.5

    -

    Semantic Personal Publishing Platform

    -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Launch /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 1.5:

    -
      -
    1. Delete your old WP files, saving ones you've modified
    2. -
    3. Upload the new files
    4. -
    5. Point your browser to /wp-admin/upgrade.php
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion amoung people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpresss)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.1 or higher
    • -
    • MySQL version 3.23.23 or higher
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC Interface

    -

    You can now post to your WordPress blog with tools like Ecto, BlogBuddy, Bloggar, WapBlogger (post from your Wap cellphone!), Radio Userland (which means you can use Radio's email-to-blog feature), Zempt, NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address dicrete. The script will delete emails that are successfully posted.

    -

    User Levels

    -

    You may allow or disallow user registration in your General options. If "new users can blog" is disabled you must first raise the level of a newly registered user to allow them to post. Click the plus sign next to their name on the Users page.

    -

    User Levels

    -
      -
    • 0 - New User
    • -
    • 1 - User can post, edit, and delete their own posts.
    • -
    • 5+ - Admin; can post, edit, delete other people's posts, and change the options.
    • -
    • Any user whose level is higher than 1, can edit and delete the posts and change the level of lower users. Example: a level 2 user is not an admin, but can edit the posts of level 1 users, and up the level of a new user from 0 to 1.
    • -
    -

    Usually you want to have a team of level 1 users except for you.

    -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - \ No newline at end of file diff --git a/spec/samples/wp_versions/1.5.2/wp-content/themes/default/style.css b/spec/samples/wp_versions/1.5.2/wp-content/themes/default/style.css deleted file mode 100755 index 820c9930..00000000 --- a/spec/samples/wp_versions/1.5.2/wp-content/themes/default/style.css +++ /dev/null @@ -1,610 +0,0 @@ -/* -Theme Name: WordPress Default -Theme URI: http://wordpress.org/ -Description: The default WordPress theme based on the famous Kubrick. -Version: 1.5 -Author: Michael Heilemann -Author URI: http://binarybonsai.com/ - - Kubrick v1.5 - http://binarybonsai.com/kubrick/ - - This theme was designed and built by Michael Heilemann, - whose blog you will find at http://binarybonsai.com/ - - The CSS, XHTML and design is released under GPL: - http://www.opensource.org/licenses/gpl-license.php - - - *** REGARDING IMAGES *** - All CSS that involves the use of images, can be found in the 'index.php' file. - This is to ease installation inside subdirectories of a server. - - Have fun, and don't be afraid to contact me if you have questions. -*/ - - - -/* Begin Typography & Colors */ -body { - font-size: 62.5%; /* Resets 1em to 10px */ - font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; - background-color: #d5d6d7; - color: #333; - text-align: center; - } - -#page { - background-color: white; - border: 1px solid #959596; - text-align: left; - } - -#header { - background-color: #73a0c5; - } - -#content { - font-size: 1.2em - } - -.widecolumn .entry p { - font-size: 1.05em; - } - -.narrowcolumn .entry, .widecolumn .entry { - line-height: 1.4em; - } - -.widecolumn { - line-height: 1.6em; - } - -.narrowcolumn .postmetadata { - text-align: center; - } - -.alt { - background-color: #f8f8f8; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - } - -#footer { - background-color: #eee; - } - -small { - font-family: Arial, Helvetica, Sans-Serif; - font-size: 0.9em; - line-height: 1.5em; - } - -h1, h2, h3 { - font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; - font-weight: bold; - } - -h1 { - font-size: 4em; - text-align: center; - } - -.description { - font-size: 1.2em; - text-align: center; - } - -h2 { - font-size: 1.6em; - } - -h2.pagetitle { - font-size: 1.6em; - } - -#sidebar h2 { - font-family: 'Lucida Grande', Verdana, Sans-Serif; - font-size: 1.2em; - } - -h3 { - font-size: 1.3em; - } - -h1, h1 a, h1 a:hover, h1 a:visited, .description { - text-decoration: none; - color: white; - } - -h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { - color: #333; - } - -h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { - text-decoration: none; - } - -.entry p a:visited { - color: #b85b5a; - } - -.commentlist li, #commentform input, #commentform textarea { - font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -.commentlist li { - font-weight: bold; - } - -.commentlist cite, .commentlist cite a { - font-weight: bold; - font-style: normal; - font-size: 1.1em; - } - -.commentlist p { - font-weight: normal; - line-height: 1.5em; - text-transform: none; - } - -#commentform p { - font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -.commentmetadata { - font-weight: normal; - } - -#sidebar { - font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike { - color: #777; - } - -code { - font: 1.1em 'Courier New', Courier, Fixed; - } - -acronym, abbr, span.caps -{ - font-size: 0.9em; - letter-spacing: .07em; - } - -a, h2 a:hover, h3 a:hover { - color: #06c; - text-decoration: none; - } - -a:hover { - color: #147; - text-decoration: underline; - } - -#wp-calendar #prev a { - font-size: 9pt; - } - -#wp-calendar a { - text-decoration: none; - } - -#wp-calendar caption { - font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif; - text-align: center; - } - -#wp-calendar th { - font-style: normal; - text-transform: capitalize; - } -/* End Typography & Colors */ - - - -/* Begin Structure */ -body { - margin: 0; - padding: 0; - } - -#page { - background-color: white; - margin: 20px auto; - padding: 0; - width: 760px; - border: 1px solid #959596; - } - -#header { - padding: 0; - margin: 0 auto; - height: 200px; - width: 100%; - background-color: #73a0c5; - } - -#headerimg { - margin: 0; - height: 200px; - width: 100%; - } - -.narrowcolumn { - float: left; - padding: 0 0 20px 45px; - margin: 0px 0 0; - width: 450px; - } - -.widecolumn { - padding: 10px 0 20px 0; - margin: 5px 0 0 150px; - width: 450px; - } - -.post { - margin: 0 0 40px; - text-align: justify; - } - -.widecolumn .post { - margin: 0; - } - -.narrowcolumn .postmetadata { - padding-top: 5px; - } - -.widecolumn .postmetadata { - margin: 30px 0; - } - -#footer { - padding: 0 0 0 1px; - margin: 0 auto; - width: 760px; - clear: both; - } - -#footer p { - margin: 0; - padding: 20px 0; - text-align: center; - } -/* End Structure */ - - - -/* Begin Headers */ -h1 { - padding-top: 70px; - margin: 0; - } - -.description { - text-align: center; - } - -h2 { - margin: 30px 0 0; - } - -h2.pagetitle { - margin-top: 30px; - text-align: center; -} - -#sidebar h2 { - margin: 5px 0 0; - padding: 0; - } - -h3 { - padding: 0; - margin: 30px 0 0; - } - -h3.comments { - padding: 0; - margin: 40px auto 20px ; - } -/* End Headers */ - - - -/* Begin Images */ -p img { - padding: 0; - max-width: 100%; - } - -/* Using 'class="alignright"' on an image will (who would've - thought?!) align the image to the right. And using 'class="centered', - will of course center the image. This is much better than using - align="center", being much more futureproof (and valid) */ - -img.centered { - display: block; - margin-left: auto; - margin-right: auto; - } - -img.alignright { - padding: 4px; - margin: 0 0 2px 7px; - display: inline; - } - -img.alignleft { - padding: 4px; - margin: 0 7px 2px 0; - display: inline; - } - -.alignright { - float: right; - } - -.alignleft { - float: left - } -/* End Images */ - - - -/* Begin Lists - - Special stylized non-IE bullets - Do not work in Internet Explorer, which merely default to normal bullets. */ - -html>body .entry ul { - margin-left: 0px; - padding: 0 0 0 30px; - list-style: none; - padding-left: 10px; - text-indent: -10px; - } - -html>body .entry li { - margin: 7px 0 8px 10px; - } - -.entry ul li:before, #sidebar ul ul li:before { - content: "\00BB \0020"; - } - -.entry ol { - padding: 0 0 0 35px; - margin: 0; - } - -.entry ol li { - margin: 0; - padding: 0; - } - -.postmetadata ul, .postmetadata li { - display: inline; - list-style-type: none; - list-style-image: none; - } - -#sidebar ul, #sidebar ul ol { - margin: 0; - padding: 0; - } - -#sidebar ul li { - list-style-type: none; - list-style-image: none; - margin-bottom: 15px; - } - -#sidebar ul p, #sidebar ul select { - margin: 5px 0 8px; - } - -#sidebar ul ul, #sidebar ul ol { - margin: 5px 0 0 10px; - } - -#sidebar ul ul ul, #sidebar ul ol { - margin: 0 0 0 10px; - } - -ol li, #sidebar ul ol li { - list-style: decimal outside; - } - -#sidebar ul ul li, #sidebar ul ol li { - margin: 3px 0 0; - padding: 0; - } -/* End Entry Lists */ - - - -/* Begin Form Elements */ -#searchform { - margin: 10px auto; - padding: 5px 3px; - text-align: center; - } - -#sidebar #searchform #s { - width: 115px; - padding: 2px; - } - -#sidebar #searchsubmit { - padding: 1px; - } - -.entry form { /* This is mainly for password protected posts, makes them look better. */ - text-align:center; - } - -select { - width: 130px; - } - -#commentform input { - width: 170px; - padding: 2px; - margin: 5px 5px 1px 0; - } - -#commentform textarea { - width: 100%; - padding: 2px; - } - -#commentform #submit { - margin: 0; - float: right; - } -/* End Form Elements */ - - - -/* Begin Comments*/ -.alt { - margin: 0; - padding: 10px; - } - -.commentlist { - padding: 0; - text-align: justify; - } - -.commentlist li { - margin: 15px 0 3px; - padding: 5px 10px 3px; - list-style: none; - } - -.commentlist p { - margin: 10px 5px 10px 0; - } - -#commentform p { - margin: 5px 0; - } - -.nocomments { - text-align: center; - margin: 0; - padding: 0; - } - -.commentmetadata { - margin: 0; - display: block; - } -/* End Comments */ - - - -/* Begin Sidebar */ -#sidebar -{ - padding: 20px 0 10px 0; - margin-left: 545px; - width: 190px; - } - -#sidebar form { - margin: 0; - } -/* End Sidebar */ - - - -/* Begin Calendar */ -#wp-calendar { - empty-cells: show; - margin: 10px auto 0; - width: 155px; - } - -#wp-calendar #next a { - padding-right: 10px; - text-align: right; - } - -#wp-calendar #prev a { - padding-left: 10px; - text-align: left; - } - -#wp-calendar a { - display: block; - } - -#wp-calendar caption { - text-align: center; - width: 100%; - } - -#wp-calendar td { - padding: 3px 0; - text-align: center; - } - -#wp-calendar td.pad:hover { /* Doesn't work in IE */ - background-color: #fff; } -/* End Calendar */ - - - -/* Begin Various Tags & Classes */ -acronym, abbr, span.caps { - cursor: help; - } - -acronym, abbr { - border-bottom: 1px dashed #999; - } - -blockquote { - margin: 15px 30px 0 10px; - padding-left: 20px; - border-left: 5px solid #ddd; - } - -blockquote cite { - margin: 5px 0 0; - display: block; - } - -.center { - text-align: center; - } - -hr { - display: none; - } - -a img { - border: none; - } - -.navigation { - display: block; - text-align: center; - margin-top: 10px; - margin-bottom: 60px; - } -/* End Various Tags & Classes*/ - - - -/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you. - It won't be a stylish marriage, I can't afford a carriage. - But you'll look sweet upon the seat of a bicycle built for two." */ diff --git a/spec/samples/wp_versions/2.0.1/readme.html b/spec/samples/wp_versions/2.0.1/readme.html deleted file mode 100755 index 2a630165..00000000 --- a/spec/samples/wp_versions/2.0.1/readme.html +++ /dev/null @@ -1,120 +0,0 @@ - - - -WordPress › ReadMe - - - - -

    WordPress
    - Version 2.0

    -

    Semantic Personal Publishing Platform

    -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.0:

    -
      -
    1. Delete your old WP files, saving ones you've modified
    2. -
    3. Upload the new files
    4. -
    5. Point your browser to /wp-admin/upgrade.php
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion amoung people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpresss)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.1 or higher
    • -
    • MySQL version 3.23.23 or higher
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC Interface

    -

    You can now post to your WordPress blog with tools like Ecto, BlogBuddy, Bloggar, WapBlogger (post from your Wap cellphone!), Radio Userland (which means you can use Radio's email-to-blog feature), Zempt, NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address dicrete. The script will delete emails that are successfully posted.

    -

    User Roles

    - -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - \ No newline at end of file diff --git a/spec/samples/wp_versions/2.0.1/wp-content/themes/default/style.css b/spec/samples/wp_versions/2.0.1/wp-content/themes/default/style.css deleted file mode 100755 index 667b7a56..00000000 --- a/spec/samples/wp_versions/2.0.1/wp-content/themes/default/style.css +++ /dev/null @@ -1,622 +0,0 @@ -/* -Theme Name: WordPress Default -Theme URI: http://wordpress.org/ -Description: The default WordPress theme based on the famous Kubrick. -Version: 1.5 -Author: Michael Heilemann -Author URI: http://binarybonsai.com/ - - Kubrick v1.5 - http://binarybonsai.com/kubrick/ - - This theme was designed and built by Michael Heilemann, - whose blog you will find at http://binarybonsai.com/ - - The CSS, XHTML and design is released under GPL: - http://www.opensource.org/licenses/gpl-license.php - - - *** REGARDING IMAGES *** - All CSS that involves the use of images, can be found in the 'index.php' file. - This is to ease installation inside subdirectories of a server. - - Have fun, and don't be afraid to contact me if you have questions. -*/ - - - -/* Begin Typography & Colors */ -body { - font-size: 62.5%; /* Resets 1em to 10px */ - font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; - background-color: #d5d6d7; - color: #333; - text-align: center; - } - -#page { - background-color: white; - border: 1px solid #959596; - text-align: left; - } - -#header { - background-color: #73a0c5; - } - -#content { - font-size: 1.2em - } - -.widecolumn .entry p { - font-size: 1.05em; - } - -.narrowcolumn .entry, .widecolumn .entry { - line-height: 1.4em; - } - -.widecolumn { - line-height: 1.6em; - } - -.narrowcolumn .postmetadata { - text-align: center; - } - -.alt { - background-color: #f8f8f8; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - } - -#footer { - background-color: #eee; - } - -small { - font-family: Arial, Helvetica, Sans-Serif; - font-size: 0.9em; - line-height: 1.5em; - } - -h1, h2, h3 { - font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; - font-weight: bold; - } - -h1 { - font-size: 4em; - text-align: center; - } - -#headerimg .description { - font-size: 1.2em; - text-align: center; - } - -h2 { - font-size: 1.6em; - } - -h2.pagetitle { - font-size: 1.6em; - } - -#sidebar h2 { - font-family: 'Lucida Grande', Verdana, Sans-Serif; - font-size: 1.2em; - } - -h3 { - font-size: 1.3em; - } - -h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description { - text-decoration: none; - color: white; - } - -h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { - color: #333; - } - -h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { - text-decoration: none; - } - -.entry p a:visited { - color: #b85b5a; - } - -.commentlist li, #commentform input, #commentform textarea { - font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -.commentlist li { - font-weight: bold; - } - -.commentlist cite, .commentlist cite a { - font-weight: bold; - font-style: normal; - font-size: 1.1em; - } - -.commentlist p { - font-weight: normal; - line-height: 1.5em; - text-transform: none; - } - -#commentform p { - font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -.commentmetadata { - font-weight: normal; - } - -#sidebar { - font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike { - color: #777; - } - -code { - font: 1.1em 'Courier New', Courier, Fixed; - } - -acronym, abbr, span.caps -{ - font-size: 0.9em; - letter-spacing: .07em; - } - -a, h2 a:hover, h3 a:hover { - color: #06c; - text-decoration: none; - } - -a:hover { - color: #147; - text-decoration: underline; - } - -#wp-calendar #prev a { - font-size: 9pt; - } - -#wp-calendar a { - text-decoration: none; - } - -#wp-calendar caption { - font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif; - text-align: center; - } - -#wp-calendar th { - font-style: normal; - text-transform: capitalize; - } -/* End Typography & Colors */ - - - -/* Begin Structure */ -body { - margin: 0; - padding: 0; - } - -#page { - background-color: white; - margin: 20px auto; - padding: 0; - width: 760px; - border: 1px solid #959596; - } - -#header { - padding: 0; - margin: 0 auto; - height: 200px; - width: 100%; - background-color: #73a0c5; - } - -#headerimg { - margin: 0; - height: 200px; - width: 100%; - } - -.narrowcolumn { - float: left; - padding: 0 0 20px 45px; - margin: 0px 0 0; - width: 450px; - } - -.widecolumn { - padding: 10px 0 20px 0; - margin: 5px 0 0 150px; - width: 450px; - } - -.post { - margin: 0 0 40px; - text-align: justify; - } - -.widecolumn .post { - margin: 0; - } - -.narrowcolumn .postmetadata { - padding-top: 5px; - } - -.widecolumn .postmetadata { - margin: 30px 0; - } - -.widecolumn .smallattachment { - text-align: center; - float: left; - width: 128px; - margin: 5px 5px 5px 0px; -} - -.widecolumn .attachment { - text-align: center; - margin: 5px 0px; -} - -.postmetadata { - clear: left; -} - -#footer { - padding: 0 0 0 1px; - margin: 0 auto; - width: 760px; - clear: both; - } - -#footer p { - margin: 0; - padding: 20px 0; - text-align: center; - } -/* End Structure */ - - - -/* Begin Headers */ -h1 { - padding-top: 70px; - margin: 0; - } - -h2 { - margin: 30px 0 0; - } - -h2.pagetitle { - margin-top: 30px; - text-align: center; -} - -#sidebar h2 { - margin: 5px 0 0; - padding: 0; - } - -h3 { - padding: 0; - margin: 30px 0 0; - } - -h3.comments { - padding: 0; - margin: 40px auto 20px ; - } -/* End Headers */ - - - -/* Begin Images */ -p img { - padding: 0; - max-width: 100%; - } - -/* Using 'class="alignright"' on an image will (who would've - thought?!) align the image to the right. And using 'class="centered', - will of course center the image. This is much better than using - align="center", being much more futureproof (and valid) */ - -img.centered { - display: block; - margin-left: auto; - margin-right: auto; - } - -img.alignright { - padding: 4px; - margin: 0 0 2px 7px; - display: inline; - } - -img.alignleft { - padding: 4px; - margin: 0 7px 2px 0; - display: inline; - } - -.alignright { - float: right; - } - -.alignleft { - float: left - } -/* End Images */ - - - -/* Begin Lists - - Special stylized non-IE bullets - Do not work in Internet Explorer, which merely default to normal bullets. */ - -html>body .entry ul { - margin-left: 0px; - padding: 0 0 0 30px; - list-style: none; - padding-left: 10px; - text-indent: -10px; - } - -html>body .entry li { - margin: 7px 0 8px 10px; - } - -.entry ul li:before, #sidebar ul ul li:before { - content: "\00BB \0020"; - } - -.entry ol { - padding: 0 0 0 35px; - margin: 0; - } - -.entry ol li { - margin: 0; - padding: 0; - } - -.postmetadata ul, .postmetadata li { - display: inline; - list-style-type: none; - list-style-image: none; - } - -#sidebar ul, #sidebar ul ol { - margin: 0; - padding: 0; - } - -#sidebar ul li { - list-style-type: none; - list-style-image: none; - margin-bottom: 15px; - } - -#sidebar ul p, #sidebar ul select { - margin: 5px 0 8px; - } - -#sidebar ul ul, #sidebar ul ol { - margin: 5px 0 0 10px; - } - -#sidebar ul ul ul, #sidebar ul ol { - margin: 0 0 0 10px; - } - -ol li, #sidebar ul ol li { - list-style: decimal outside; - } - -#sidebar ul ul li, #sidebar ul ol li { - margin: 3px 0 0; - padding: 0; - } -/* End Entry Lists */ - - - -/* Begin Form Elements */ -#searchform { - margin: 10px auto; - padding: 5px 3px; - text-align: center; - } - -#sidebar #searchform #s { - width: 115px; - padding: 2px; - } - -#sidebar #searchsubmit { - padding: 1px; - } - -.entry form { /* This is mainly for password protected posts, makes them look better. */ - text-align:center; - } - -select { - width: 130px; - } - -#commentform input { - width: 170px; - padding: 2px; - margin: 5px 5px 1px 0; - } - -#commentform textarea { - width: 100%; - padding: 2px; - } - -#commentform #submit { - margin: 0; - float: right; - } -/* End Form Elements */ - - - -/* Begin Comments*/ -.alt { - margin: 0; - padding: 10px; - } - -.commentlist { - padding: 0; - text-align: justify; - } - -.commentlist li { - margin: 15px 0 3px; - padding: 5px 10px 3px; - list-style: none; - } - -.commentlist p { - margin: 10px 5px 10px 0; - } - -#commentform p { - margin: 5px 0; - } - -.nocomments { - text-align: center; - margin: 0; - padding: 0; - } - -.commentmetadata { - margin: 0; - display: block; - } -/* End Comments */ - - - -/* Begin Sidebar */ -#sidebar -{ - padding: 20px 0 10px 0; - margin-left: 545px; - width: 190px; - } - -#sidebar form { - margin: 0; - } -/* End Sidebar */ - - - -/* Begin Calendar */ -#wp-calendar { - empty-cells: show; - margin: 10px auto 0; - width: 155px; - } - -#wp-calendar #next a { - padding-right: 10px; - text-align: right; - } - -#wp-calendar #prev a { - padding-left: 10px; - text-align: left; - } - -#wp-calendar a { - display: block; - } - -#wp-calendar caption { - text-align: center; - width: 100%; - } - -#wp-calendar td { - padding: 3px 0; - text-align: center; - } - -#wp-calendar td.pad:hover { /* Doesn't work in IE */ - background-color: #fff; } -/* End Calendar */ - - - -/* Begin Various Tags & Classes */ -acronym, abbr, span.caps { - cursor: help; - } - -acronym, abbr { - border-bottom: 1px dashed #999; - } - -blockquote { - margin: 15px 30px 0 10px; - padding-left: 20px; - border-left: 5px solid #ddd; - } - -blockquote cite { - margin: 5px 0 0; - display: block; - } - -.center { - text-align: center; - } - -hr { - display: none; - } - -a img { - border: none; - } - -.navigation { - display: block; - text-align: center; - margin-top: 10px; - margin-bottom: 60px; - } -/* End Various Tags & Classes*/ - - - -/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you. - It won't be a stylish marriage, I can't afford a carriage. - But you'll look sweet upon the seat of a bicycle built for two." */ diff --git a/spec/samples/wp_versions/2.0/readme.html b/spec/samples/wp_versions/2.0/readme.html deleted file mode 100755 index 2a630165..00000000 --- a/spec/samples/wp_versions/2.0/readme.html +++ /dev/null @@ -1,120 +0,0 @@ - - - -WordPress › ReadMe - - - - -

    WordPress
    - Version 2.0

    -

    Semantic Personal Publishing Platform

    -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.0:

    -
      -
    1. Delete your old WP files, saving ones you've modified
    2. -
    3. Upload the new files
    4. -
    5. Point your browser to /wp-admin/upgrade.php
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion amoung people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpresss)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.1 or higher
    • -
    • MySQL version 3.23.23 or higher
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC Interface

    -

    You can now post to your WordPress blog with tools like Ecto, BlogBuddy, Bloggar, WapBlogger (post from your Wap cellphone!), Radio Userland (which means you can use Radio's email-to-blog feature), Zempt, NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address dicrete. The script will delete emails that are successfully posted.

    -

    User Roles

    - -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - \ No newline at end of file diff --git a/spec/samples/wp_versions/2.0/wp-content/themes/default/style.css b/spec/samples/wp_versions/2.0/wp-content/themes/default/style.css deleted file mode 100755 index 8d5a7304..00000000 --- a/spec/samples/wp_versions/2.0/wp-content/themes/default/style.css +++ /dev/null @@ -1,626 +0,0 @@ -/* -Theme Name: WordPress Default -Theme URI: http://wordpress.org/ -Description: The default WordPress theme based on the famous Kubrick. -Version: 1.5 -Author: Michael Heilemann -Author URI: http://binarybonsai.com/ - - Kubrick v1.5 - http://binarybonsai.com/kubrick/ - - This theme was designed and built by Michael Heilemann, - whose blog you will find at http://binarybonsai.com/ - - The CSS, XHTML and design is released under GPL: - http://www.opensource.org/licenses/gpl-license.php - - - *** REGARDING IMAGES *** - All CSS that involves the use of images, can be found in the 'index.php' file. - This is to ease installation inside subdirectories of a server. - - Have fun, and don't be afraid to contact me if you have questions. -*/ - - - -/* Begin Typography & Colors */ -body { - font-size: 62.5%; /* Resets 1em to 10px */ - font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; - background-color: #d5d6d7; - color: #333; - text-align: center; - } - -#page { - background-color: white; - border: 1px solid #959596; - text-align: left; - } - -#header { - background-color: #73a0c5; - } - -#content { - font-size: 1.2em - } - -.widecolumn .entry p { - font-size: 1.05em; - } - -.narrowcolumn .entry, .widecolumn .entry { - line-height: 1.4em; - } - -.widecolumn { - line-height: 1.6em; - } - -.narrowcolumn .postmetadata { - text-align: center; - } - -.alt { - background-color: #f8f8f8; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - } - -#footer { - background-color: #eee; - } - -small { - font-family: Arial, Helvetica, Sans-Serif; - font-size: 0.9em; - line-height: 1.5em; - } - -h1, h2, h3 { - font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; - font-weight: bold; - } - -h1 { - font-size: 4em; - text-align: center; - } - -.description { - font-size: 1.2em; - text-align: center; - } - -h2 { - font-size: 1.6em; - } - -h2.pagetitle { - font-size: 1.6em; - } - -#sidebar h2 { - font-family: 'Lucida Grande', Verdana, Sans-Serif; - font-size: 1.2em; - } - -h3 { - font-size: 1.3em; - } - -h1, h1 a, h1 a:hover, h1 a:visited, .description { - text-decoration: none; - color: white; - } - -h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { - color: #333; - } - -h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { - text-decoration: none; - } - -.entry p a:visited { - color: #b85b5a; - } - -.commentlist li, #commentform input, #commentform textarea { - font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -.commentlist li { - font-weight: bold; - } - -.commentlist cite, .commentlist cite a { - font-weight: bold; - font-style: normal; - font-size: 1.1em; - } - -.commentlist p { - font-weight: normal; - line-height: 1.5em; - text-transform: none; - } - -#commentform p { - font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -.commentmetadata { - font-weight: normal; - } - -#sidebar { - font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif; - } - -small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike { - color: #777; - } - -code { - font: 1.1em 'Courier New', Courier, Fixed; - } - -acronym, abbr, span.caps -{ - font-size: 0.9em; - letter-spacing: .07em; - } - -a, h2 a:hover, h3 a:hover { - color: #06c; - text-decoration: none; - } - -a:hover { - color: #147; - text-decoration: underline; - } - -#wp-calendar #prev a { - font-size: 9pt; - } - -#wp-calendar a { - text-decoration: none; - } - -#wp-calendar caption { - font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif; - text-align: center; - } - -#wp-calendar th { - font-style: normal; - text-transform: capitalize; - } -/* End Typography & Colors */ - - - -/* Begin Structure */ -body { - margin: 0; - padding: 0; - } - -#page { - background-color: white; - margin: 20px auto; - padding: 0; - width: 760px; - border: 1px solid #959596; - } - -#header { - padding: 0; - margin: 0 auto; - height: 200px; - width: 100%; - background-color: #73a0c5; - } - -#headerimg { - margin: 0; - height: 200px; - width: 100%; - } - -.narrowcolumn { - float: left; - padding: 0 0 20px 45px; - margin: 0px 0 0; - width: 450px; - } - -.widecolumn { - padding: 10px 0 20px 0; - margin: 5px 0 0 150px; - width: 450px; - } - -.post { - margin: 0 0 40px; - text-align: justify; - } - -.widecolumn .post { - margin: 0; - } - -.narrowcolumn .postmetadata { - padding-top: 5px; - } - -.widecolumn .postmetadata { - margin: 30px 0; - } - -.widecolumn .smallattachment { - text-align: center; - float: left; - width: 128px; - margin: 5px 5px 5px 0px; -} - -.widecolumn .attachment { - text-align: center; - margin: 5px 0px; -} - -.postmetadata { - clear: left; -} - -#footer { - padding: 0 0 0 1px; - margin: 0 auto; - width: 760px; - clear: both; - } - -#footer p { - margin: 0; - padding: 20px 0; - text-align: center; - } -/* End Structure */ - - - -/* Begin Headers */ -h1 { - padding-top: 70px; - margin: 0; - } - -.description { - text-align: center; - } - -h2 { - margin: 30px 0 0; - } - -h2.pagetitle { - margin-top: 30px; - text-align: center; -} - -#sidebar h2 { - margin: 5px 0 0; - padding: 0; - } - -h3 { - padding: 0; - margin: 30px 0 0; - } - -h3.comments { - padding: 0; - margin: 40px auto 20px ; - } -/* End Headers */ - - - -/* Begin Images */ -p img { - padding: 0; - max-width: 100%; - } - -/* Using 'class="alignright"' on an image will (who would've - thought?!) align the image to the right. And using 'class="centered', - will of course center the image. This is much better than using - align="center", being much more futureproof (and valid) */ - -img.centered { - display: block; - margin-left: auto; - margin-right: auto; - } - -img.alignright { - padding: 4px; - margin: 0 0 2px 7px; - display: inline; - } - -img.alignleft { - padding: 4px; - margin: 0 7px 2px 0; - display: inline; - } - -.alignright { - float: right; - } - -.alignleft { - float: left - } -/* End Images */ - - - -/* Begin Lists - - Special stylized non-IE bullets - Do not work in Internet Explorer, which merely default to normal bullets. */ - -html>body .entry ul { - margin-left: 0px; - padding: 0 0 0 30px; - list-style: none; - padding-left: 10px; - text-indent: -10px; - } - -html>body .entry li { - margin: 7px 0 8px 10px; - } - -.entry ul li:before, #sidebar ul ul li:before { - content: "\00BB \0020"; - } - -.entry ol { - padding: 0 0 0 35px; - margin: 0; - } - -.entry ol li { - margin: 0; - padding: 0; - } - -.postmetadata ul, .postmetadata li { - display: inline; - list-style-type: none; - list-style-image: none; - } - -#sidebar ul, #sidebar ul ol { - margin: 0; - padding: 0; - } - -#sidebar ul li { - list-style-type: none; - list-style-image: none; - margin-bottom: 15px; - } - -#sidebar ul p, #sidebar ul select { - margin: 5px 0 8px; - } - -#sidebar ul ul, #sidebar ul ol { - margin: 5px 0 0 10px; - } - -#sidebar ul ul ul, #sidebar ul ol { - margin: 0 0 0 10px; - } - -ol li, #sidebar ul ol li { - list-style: decimal outside; - } - -#sidebar ul ul li, #sidebar ul ol li { - margin: 3px 0 0; - padding: 0; - } -/* End Entry Lists */ - - - -/* Begin Form Elements */ -#searchform { - margin: 10px auto; - padding: 5px 3px; - text-align: center; - } - -#sidebar #searchform #s { - width: 115px; - padding: 2px; - } - -#sidebar #searchsubmit { - padding: 1px; - } - -.entry form { /* This is mainly for password protected posts, makes them look better. */ - text-align:center; - } - -select { - width: 130px; - } - -#commentform input { - width: 170px; - padding: 2px; - margin: 5px 5px 1px 0; - } - -#commentform textarea { - width: 100%; - padding: 2px; - } - -#commentform #submit { - margin: 0; - float: right; - } -/* End Form Elements */ - - - -/* Begin Comments*/ -.alt { - margin: 0; - padding: 10px; - } - -.commentlist { - padding: 0; - text-align: justify; - } - -.commentlist li { - margin: 15px 0 3px; - padding: 5px 10px 3px; - list-style: none; - } - -.commentlist p { - margin: 10px 5px 10px 0; - } - -#commentform p { - margin: 5px 0; - } - -.nocomments { - text-align: center; - margin: 0; - padding: 0; - } - -.commentmetadata { - margin: 0; - display: block; - } -/* End Comments */ - - - -/* Begin Sidebar */ -#sidebar -{ - padding: 20px 0 10px 0; - margin-left: 545px; - width: 190px; - } - -#sidebar form { - margin: 0; - } -/* End Sidebar */ - - - -/* Begin Calendar */ -#wp-calendar { - empty-cells: show; - margin: 10px auto 0; - width: 155px; - } - -#wp-calendar #next a { - padding-right: 10px; - text-align: right; - } - -#wp-calendar #prev a { - padding-left: 10px; - text-align: left; - } - -#wp-calendar a { - display: block; - } - -#wp-calendar caption { - text-align: center; - width: 100%; - } - -#wp-calendar td { - padding: 3px 0; - text-align: center; - } - -#wp-calendar td.pad:hover { /* Doesn't work in IE */ - background-color: #fff; } -/* End Calendar */ - - - -/* Begin Various Tags & Classes */ -acronym, abbr, span.caps { - cursor: help; - } - -acronym, abbr { - border-bottom: 1px dashed #999; - } - -blockquote { - margin: 15px 30px 0 10px; - padding-left: 20px; - border-left: 5px solid #ddd; - } - -blockquote cite { - margin: 5px 0 0; - display: block; - } - -.center { - text-align: center; - } - -hr { - display: none; - } - -a img { - border: none; - } - -.navigation { - display: block; - text-align: center; - margin-top: 10px; - margin-bottom: 60px; - } -/* End Various Tags & Classes*/ - - - -/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you. - It won't be a stylish marriage, I can't afford a carriage. - But you'll look sweet upon the seat of a bicycle built for two." */ diff --git a/spec/samples/wp_versions/2.2/readme.html b/spec/samples/wp_versions/2.2/readme.html deleted file mode 100755 index 8b2d65e3..00000000 --- a/spec/samples/wp_versions/2.2/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - WordPress › ReadMe - - - - -

    - WordPress -
    Version 2.2 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.2:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.2 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address dicrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.2/wp-includes/js/wp-ajax.js b/spec/samples/wp_versions/2.2/wp-includes/js/wp-ajax.js deleted file mode 100755 index cc3bb5a4..00000000 --- a/spec/samples/wp_versions/2.2/wp-includes/js/wp-ajax.js +++ /dev/null @@ -1,100 +0,0 @@ -var WPAjax = Class.create(); -Object.extend(WPAjax.prototype, Ajax.Request.prototype); -Object.extend(WPAjax.prototype, { - WPComplete: false, // onComplete function - WPError: false, // onWPError function - defaultUrl: '', // We get these from WPAjaxL10n - permText: '', - strangeText: '', - whoaText: '', - - initialize: function(url, responseEl) { - var tempObj = this; - this.transport = Ajax.getTransport(); - if ( !this.transport ) - return false; - this.setOptions( { - parameters: 'cookie=' + encodeURIComponent(document.cookie), - onComplete: function(transport) { // transport = XMLHttpRequest object - if ( tempObj.parseAjaxResponse() ) { - if ( 'function' == typeof tempObj.WPComplete ) - tempObj.WPComplete(transport); - } else if ( 'function' == typeof tempObj.WPError ) // if response corresponds to an error (bad data, say, not 404) - tempObj.WPError(transport); - } - }); - this.url = url ? url : this.defaultUrl; - this.getResponseElement(responseEl); - }, - addArg: function(key, value) { - var a = []; - a[encodeURIComponent(key)] = encodeURIComponent(value); - this.options.parameters = $H(this.options.parameters).merge($H(a)); - }, - getResponseElement: function(r) { - var p = $(r + '-p'); - if ( !p ) { - new Insertion.Bottom(r, ""); - var p = $(r + '-p'); - } - this.myResponseElement = p; - }, - parseAjaxResponse: function() { // 1 = good, 0 = strange (bad data?), -1 = you lack permission - if ( this.transport.responseXML && typeof this.transport.responseXML == 'object' && ( this.transport.responseXML.xml || 'undefined' == typeof this.transport.responseXML.xml ) ) { - var err = this.transport.responseXML.getElementsByTagName('wp_error'); - if ( err[0] ) { - var msg = $A(err).inject( '', function(a, b) { return a + '

    ' + b.firstChild.nodeValue + '

    '; } ); - Element.update(this.myResponseElement,'
    ' + msg + '
    '); - return false; - } - return true; - } - var r = this.transport.responseText; - if ( isNaN(r) ) { - Element.update(this.myResponseElement,'

    ' + r + '

    '); - return false; - } - var r = parseInt(r,10); - if ( -1 == r ) { - Element.update(this.myResponseElement,"

    " + this.permText + "

    "); - return false; - } else if ( 0 == r ) { - Element.update(this.myResponseElement,"

    " + this.strangeText + "

    "); - return false; - } - return true; - }, - addOnComplete: function(f) { - if ( 'function' == typeof f ) { var of = this.WPComplete; this.WPComplete = function(t) { if ( of ) of(t); f(t); } } - }, - addOnWPError: function(f) { - if ( 'function' == typeof f ) { var of = this.WPError; this.WPError = function(t) { if ( of ) of(t); f(t); } } - }, - notInitialized: function() { - return this.transport ? false : true; - } -}); - -Event.observe( window, 'load', function() { Object.extend(WPAjax.prototype, WPAjaxL10n); }, false ) - -Ajax.activeSendCount = 0; -Ajax.Responders.register( { - onCreate: function() { - Ajax.activeSendCount++; - if ( 1 != Ajax.activeSendCount ) - return; - wpBeforeUnload = window.onbeforeunload; - window.onbeforeunload = function() { - return WPAjax.whoaText; - } - }, - onLoading: function() { // Can switch to onLoaded if we lose data - Ajax.activeSendCount--; - if ( 0 != Ajax.activeSendCount ) - return; - window.onbeforeunload = wpBeforeUnload; - } -}); - -//Pretty func adapted from ALA http://www.alistapart.com/articles/gettingstartedwithajax -function getNodeValue(tree,el){try { var r = tree.getElementsByTagName(el)[0].firstChild.nodeValue; } catch(err) { var r = null; } return r; } diff --git a/spec/samples/wp_versions/2.5.1/readme.html b/spec/samples/wp_versions/2.5.1/readme.html deleted file mode 100755 index a60861c5..00000000 --- a/spec/samples/wp_versions/2.5.1/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 2.5 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.5:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.5.1/wp-includes/js/tinymce/themes/advanced/js/image.js b/spec/samples/wp_versions/2.5.1/wp-includes/js/tinymce/themes/advanced/js/image.js deleted file mode 100755 index 4c018eda..00000000 --- a/spec/samples/wp_versions/2.5.1/wp-includes/js/tinymce/themes/advanced/js/image.js +++ /dev/null @@ -1,254 +0,0 @@ -var ImageDialog = { - preInit : function() { - var url; - - tinyMCEPopup.requireLangPack(); - - if (url = tinyMCEPopup.getParam("external_image_list_url")) - document.write(''); - }, - - init : function() { - var f = document.forms[0], ed = tinyMCEPopup.editor; - - // Setup browse button - document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image'); - if (isVisible('srcbrowser')) - document.getElementById('src').style.width = '180px'; - - e = ed.selection.getNode(); - - this.fillFileList('image_list', 'tinyMCEImageList'); - - if (e.nodeName == 'IMG') { - f.src.value = ed.dom.getAttrib(e, 'src'); - f.alt.value = ed.dom.getAttrib(e, 'alt'); - f.border.value = this.getAttrib(e, 'border'); - f.vspace.value = this.getAttrib(e, 'vspace'); - f.hspace.value = this.getAttrib(e, 'hspace'); - f.width.value = ed.dom.getAttrib(e, 'width'); - f.height.value = ed.dom.getAttrib(e, 'height'); - f.insert.value = ed.getLang('update'); - f.class_name.value = ed.dom.getAttrib(e, 'class'); - this.styleVal = ed.dom.getAttrib(e, 'style'); - selectByValue(f, 'image_list', f.src.value); - selectByValue(f, 'align', this.getAttrib(e, 'align')); - this.updateStyle(); - } - }, - - fillFileList : function(id, l) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; - - l = window[l]; - - if (l && l.length > 0) { - lst.options[lst.options.length] = new Option('', ''); - - tinymce.each(l, function(o) { - lst.options[lst.options.length] = new Option(o[0], o[1]); - }); - } else - dom.remove(dom.getParent(id, 'tr')); - }, - - update : function() { - var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, args = {}, el; - - tinyMCEPopup.restoreSelection(); - - if (f.src.value === '') { - if (ed.selection.getNode().nodeName == 'IMG') { - ed.dom.remove(ed.selection.getNode()); - ed.execCommand('mceRepaint'); - } - - tinyMCEPopup.close(); - return; - } - - if (!ed.settings.inline_styles) { - args = tinymce.extend(args, { - vspace : nl.vspace.value, - hspace : nl.hspace.value, - border : nl.border.value, - align : getSelectValue(f, 'align') - }); - } else - args.style = this.styleVal; - - tinymce.extend(args, { - src : f.src.value, - alt : f.alt.value, - width : f.width.value, - height : f.height.value, - 'class' : f.class_name.value - }); - - el = ed.selection.getNode(); - - if (el && el.nodeName == 'IMG') { - ed.dom.setAttribs(el, args); - } else { - ed.execCommand('mceInsertContent', false, '', {skip_undo : 1}); - ed.dom.setAttribs('__mce_tmp', args); - ed.dom.setAttrib('__mce_tmp', 'id', ''); - ed.undoManager.add(); - } - - tinyMCEPopup.close(); - }, - - updateStyle : function() { - var dom = tinyMCEPopup.dom, st, v, cls, oldcls, rep, f = document.forms[0]; - - if (tinyMCEPopup.editor.settings.inline_styles) { - st = tinyMCEPopup.dom.parseStyle(this.styleVal); - - // Handle align - v = getSelectValue(f, 'align'); - cls = f.class_name.value || ''; - cls = cls ? cls.replace(/alignright\s*|alignleft\s*|aligncenter\s*/g, '') : ''; - cls = cls ? cls.replace(/^\s*(.+?)\s*$/, '$1') : ''; - if (v) { - if (v == 'left' || v == 'right') { - st['float'] = v; - delete st['vertical-align']; - oldcls = cls ? ' '+cls : ''; - f.class_name.value = 'align' + v + oldcls; - } else { - st['vertical-align'] = v; - delete st['float']; - f.class_name.value = cls; - } - } else { - delete st['float']; - delete st['vertical-align']; - f.class_name.value = cls; - } - - // Handle border - v = f.border.value; - if (v || v == '0') { - if (v == '0') - st['border'] = '0'; - else - st['border'] = v + 'px solid black'; - } else - delete st['border']; - - // Handle hspace - v = f.hspace.value; - if (v) { - delete st['margin']; - st['margin-left'] = v + 'px'; - st['margin-right'] = v + 'px'; - } else { - delete st['margin-left']; - delete st['margin-right']; - } - - // Handle vspace - v = f.vspace.value; - if (v) { - delete st['margin']; - st['margin-top'] = v + 'px'; - st['margin-bottom'] = v + 'px'; - } else { - delete st['margin-top']; - delete st['margin-bottom']; - } - - // Merge - st = tinyMCEPopup.dom.parseStyle(dom.serializeStyle(st)); - this.styleVal = dom.serializeStyle(st); - } - }, - - getAttrib : function(e, at) { - var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2; - - if (ed.settings.inline_styles) { - switch (at) { - case 'align': - if (v = dom.getStyle(e, 'float')) - return v; - - if (v = dom.getStyle(e, 'vertical-align')) - return v; - - break; - - case 'hspace': - v = dom.getStyle(e, 'margin-left') - v2 = dom.getStyle(e, 'margin-right'); - if (v && v == v2) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - - case 'vspace': - v = dom.getStyle(e, 'margin-top') - v2 = dom.getStyle(e, 'margin-bottom'); - if (v && v == v2) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - - case 'border': - v = 0; - - tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) { - sv = dom.getStyle(e, 'border-' + sv + '-width'); - - // False or not the same as prev - if (!sv || (sv != v && v !== 0)) { - v = 0; - return false; - } - - if (sv) - v = sv; - }); - - if (v) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - } - } - - if (v = dom.getAttrib(e, at)) - return v; - - return ''; - }, - - resetImageData : function() { - var f = document.forms[0]; - - f.width.value = f.height.value = ""; - }, - - updateImageData : function() { - var f = document.forms[0], t = ImageDialog; - - if (f.width.value == "") - f.width.value = t.preloadImg.width; - - if (f.height.value == "") - f.height.value = t.preloadImg.height; - }, - - getImageData : function() { - var f = document.forms[0]; - - this.preloadImg = new Image(); - this.preloadImg.onload = this.updateImageData; - this.preloadImg.onerror = this.resetImageData; - this.preloadImg.src = tinyMCEPopup.editor.documentBaseURI.toAbsolute(f.src.value); - } -}; - -ImageDialog.preInit(); -tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog); diff --git a/spec/samples/wp_versions/2.5/readme.html b/spec/samples/wp_versions/2.5/readme.html deleted file mode 100755 index a60861c5..00000000 --- a/spec/samples/wp_versions/2.5/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 2.5 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.5:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.5/wp-includes/js/tinymce/themes/advanced/js/link.js b/spec/samples/wp_versions/2.5/wp-includes/js/tinymce/themes/advanced/js/link.js deleted file mode 100755 index a38f44bc..00000000 --- a/spec/samples/wp_versions/2.5/wp-includes/js/tinymce/themes/advanced/js/link.js +++ /dev/null @@ -1,126 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var LinkDialog = { - preInit : function() { - var url; - - if (url = tinyMCEPopup.getParam("external_link_list_url")) - document.write(''); - }, - - init : function() { - var f = document.forms[0], ed = tinyMCEPopup.editor; - - // Setup browse button - document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser', 'href', 'file', 'theme_advanced_link'); - if (isVisible('hrefbrowser')) - document.getElementById('href').style.width = '180px'; - - this.fillClassList('class_list'); - this.fillFileList('link_list', 'tinyMCELinkList'); - this.fillTargetList('target_list'); - - if (e = ed.dom.getParent(ed.selection.getNode(), 'A')) { - f.href.value = ed.dom.getAttrib(e, 'href'); - f.linktitle.value = ed.dom.getAttrib(e, 'title'); - f.insert.value = ed.getLang('update'); - selectByValue(f, 'link_list', f.href.value); - selectByValue(f, 'target_list', ed.dom.getAttrib(e, 'target')); - selectByValue(f, 'class_list', ed.dom.getAttrib(e, 'class')); - } - }, - - update : function() { - var f = document.forms[0], ed = tinyMCEPopup.editor, e, b; - - tinyMCEPopup.restoreSelection(); - - // Remove element if there is no href - if (!f.href.value) { - e = ed.dom.getParent(ed.selection.getNode(), 'A'); - if (e) { - tinyMCEPopup.execCommand("mceBeginUndoLevel"); - b = ed.selection.getBookmark(); - ed.dom.remove(e, 1); - ed.selection.moveToBookmark(b); - tinyMCEPopup.execCommand("mceEndUndoLevel"); - tinyMCEPopup.close(); - return; - } - } - - ed.execCommand('mceInsertLink', false, { - href : f.href.value, - title : f.linktitle.value, - target : f.target_list ? f.target_list.options[f.target_list.selectedIndex].value : null, - 'class' : f.class_list ? f.class_list.options[f.class_list.selectedIndex].value : null - }); - - tinyMCEPopup.close(); - }, - - checkPrefix : function(n) { - if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advanced_dlg.link_is_email'))) - n.value = 'mailto:' + n.value; - - if (/^\s*www./i.test(n.value) && confirm(tinyMCEPopup.getLang('advanced_dlg.link_is_external'))) - n.value = 'http://' + n.value; - }, - - fillFileList : function(id, l) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; - - l = window[l]; - - if (l && l.length > 0) { - lst.options[lst.options.length] = new Option('', ''); - - tinymce.each(l, function(o) { - lst.options[lst.options.length] = new Option(o[0], o[1]); - }); - } else - dom.remove(dom.getParent(id, 'tr')); - }, - - fillClassList : function(id) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; - - if (v = tinyMCEPopup.getParam('theme_advanced_styles')) { - cl = []; - - tinymce.each(v.split(';'), function(v) { - var p = v.split('='); - - cl.push({'title' : p[0], 'class' : p[1]}); - }); - } else - cl = tinyMCEPopup.editor.dom.getClasses(); - - if (cl.length > 0) { - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); - - tinymce.each(cl, function(o) { - lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']); - }); - } else - dom.remove(dom.getParent(id, 'tr')); - }, - - fillTargetList : function(id) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v; - - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('advanced_dlg.link_target_same'), '_self'); - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('advanced_dlg.link_target_blank'), '_blank'); - - if (v = tinyMCEPopup.getParam('theme_advanced_link_targets')) { - tinymce.each(v.split(','), function(v) { - v = v.split('='); - lst.options[lst.options.length] = new Option(v[0], v[1]); - }); - } - } -}; - -LinkDialog.preInit(); -tinyMCEPopup.onInit.add(LinkDialog.init, LinkDialog); diff --git a/spec/samples/wp_versions/2.6/readme.html b/spec/samples/wp_versions/2.6/readme.html deleted file mode 100755 index 1cc5ba8f..00000000 --- a/spec/samples/wp_versions/2.6/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 2.6 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.6:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.6/wp-admin/gears-manifest.php b/spec/samples/wp_versions/2.6/wp-admin/gears-manifest.php deleted file mode 100644 index e85a83e3..00000000 --- a/spec/samples/wp_versions/2.6/wp-admin/gears-manifest.php +++ /dev/null @@ -1,222 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "042b5463d848123f945c211604b14c38_20080710a", -"entries" : [ -{ "url" : "js/common.js?ver=20080318" }, -{ "url" : "../wp-includes/js/tw-sack.js?ver=1.6.1" }, -{ "url" : "../wp-includes/js/quicktags.js?ver=3958" }, -{ "url" : "../wp-includes/js/colorpicker.js?ver=3517" }, -{ "url" : "js/editor.js?ver=20080710" }, -{ "url" : "../wp-includes/js/prototype.js?ver=1.6" }, -{ "url" : "../wp-includes/js/wp-ajax-response.js?ver=20080316" }, -{ "url" : "../wp-includes/js/autosave.js?ver=20080622" }, -{ "url" : "../wp-includes/js/wp-lists.js?ver=20080411" }, -{ "url" : "../wp-includes/js/scriptaculous/scriptaculous.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/builder.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/dragdrop.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/effects.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/slider.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/sound.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/controls.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/crop/cropper.js?ver=20070118" }, -{ "url" : "../wp-includes/js/jquery/jquery.js?ver=1.2.6" }, -{ "url" : "../wp-includes/js/jquery/jquery.form.js?ver=2.02" }, -{ "url" : "../wp-includes/js/jquery/jquery.color.js?ver=2.0-4561" }, -{ "url" : "../wp-includes/js/jquery/interface.js?ver=1.2" }, -{ "url" : "../wp-includes/js/jquery/suggest.js?ver=1.1b" }, -{ "url" : "../wp-includes/js/jquery/jquery.schedule.js?ver=20" }, -{ "url" : "../wp-includes/js/thickbox/thickbox.js?ver=3.1-20080430" }, -{ "url" : "../wp-includes/js/swfupload/swfupload.js?ver=2.0.2-20080430" }, -{ "url" : "../wp-includes/js/swfupload/plugins/swfupload.graceful_degradation.js?ver=2.0.2" }, -{ "url" : "../wp-includes/js/swfupload/plugins/swfupload.queue.js?ver=2.0.2" }, -{ "url" : "../wp-includes/js/swfupload/handlers.js?ver=2.0.2-20080407" }, -{ "url" : "../wp-includes/js/jquery/ui.core.js?ver=1.5.1" }, -{ "url" : "../wp-includes/js/jquery/ui.tabs.js?ver=1.5.1" }, -{ "url" : "../wp-includes/js/jquery/ui.sortable.js?ver=1.5.1" }, -{ "url" : "js/cat.js?ver=20071101" }, -{ "url" : "js/categories.js?ver=20071031" }, -{ "url" : "js/tags.js?ver=20071031" }, -{ "url" : "js/custom-fields.js?ver=20070823" }, -{ "url" : "js/password-strength-meter.js?ver=20070405" }, -{ "url" : "js/edit-comments.js?ver=20080311" }, -{ "url" : "js/users.js?ver=20070823" }, -{ "url" : "js/forms.js?ver=20080401" }, -{ "url" : "js/xfn.js?ver=3517" }, -{ "url" : "js/upload.js?ver=20070518" }, -{ "url" : "js/postbox.js?ver=20080128" }, -{ "url" : "js/slug.js?ver=20080208" }, -{ "url" : "js/post.js?ver=20080629" }, -{ "url" : "js/page.js?ver=20080318" }, -{ "url" : "js/link.js?ver=20080131" }, -{ "url" : "js/comment.js?ver=20080219" }, -{ "url" : "js/gallery.js?ver=20080709" }, -{ "url" : "js/media-upload.js?ver=20080710" }, -{ "url" : "js/widgets.js?ver=20080503" }, -{ "url" : "js/word-count.js?ver=20080423" }, -{ "url" : "js/wp-gears.js?ver=20080511" }, -{ "url" : "js/theme-preview.js?ver=20080625" }, -{ "url" : "wp-admin.css?ver=2.6" }, -{ "url" : "rtl.css?ver=2.6" }, -{ "url" : "css/ie.css?ver=2.6" }, -{ "url" : "css/ie-rtl.css?ver=2.6" }, -{ "url" : "css/colors-classic.css?ver=2.6" }, -{ "url" : "css/colors-classic-rtl.css?ver=2.6" }, -{ "url" : "css/colors-fresh.css?ver=2.6" }, -{ "url" : "css/colors-fresh-rtl.css?ver=2.6" }, -{ "url" : "css/global.css?ver=2.6" }, -{ "url" : "css/global-rtl.css?ver=2.6" }, -{ "url" : "css/media.css?ver=20080709" }, -{ "url" : "css/media-rtl.css?ver=20080709" }, -{ "url" : "css/widgets.css?ver=2.6" }, -{ "url" : "css/widgets-rtl.css?ver=2.6" }, -{ "url" : "css/dashboard.css?ver=2.6" }, -{ "url" : "css/dashboard-rtl.css?ver=2.6" }, -{ "url" : "css/install.css?ver=20080708" }, -{ "url" : "css/install-rtl.css?ver=20080708" }, -{ "url" : "css/theme-editor.css?ver=2.6" }, -{ "url" : "css/theme-editor-rtl.css?ver=2.6" }, -{ "url" : "css/press-this.css?ver=20080710" }, -{ "url" : "css/press-this-rtl.css?ver=20080710" }, -{ "url" : "css/press-this-ie.css?ver=20080710" }, -{ "url" : "css/press-this-ie-rtl.css?ver=20080710" }, -{ "url" : "../wp-includes/js/thickbox/thickbox.css?ver=20080613" }, -{ "url" : "css/login.css?ver=2.6" }, -{ "url" : "css/login-rtl.css?ver=2.6" }, - -{ "url" : "images/align-center.png" }, -{ "url" : "images/align-left.png" }, -{ "url" : "images/align-none.png" }, -{ "url" : "images/align-right.png" }, -{ "url" : "images/browse-happy.gif" }, -{ "url" : "images/bubble_bg.gif" }, -{ "url" : "images/comment-grey-bubble.png" }, -{ "url" : "images/comment-pill.gif" }, -{ "url" : "images/comment-stalk-classic.gif" }, -{ "url" : "images/comment-stalk-fresh.gif" }, -{ "url" : "images/comment-stalk-rtl.gif" }, -{ "url" : "images/date-button.gif" }, -{ "url" : "images/fade-butt.png" }, -{ "url" : "images/gear.png" }, -{ "url" : "images/logo-ghost.png" }, -{ "url" : "images/logo-login.gif" }, -{ "url" : "images/logo.gif" }, -{ "url" : "images/media-button-gallery.gif" }, -{ "url" : "images/media-button-image.gif" }, -{ "url" : "images/media-button-music.gif" }, -{ "url" : "images/media-button-other.gif" }, -{ "url" : "images/media-button-video.gif" }, -{ "url" : "images/media-buttons.gif" }, -{ "url" : "images/tab.png" }, -{ "url" : "images/tail.gif" }, -{ "url" : "images/toggle-arrow-rtl.gif" }, -{ "url" : "images/toggle-arrow.gif" }, -{ "url" : "images/wordpress-logo.png" }, -{ "url" : "images/xit.gif" }, -{ "url" : "images/loading-publish.gif" }, -{ "url" : "images/loading.gif" }, -{ "url" : "images/required.gif" }, -{ "url" : "images/no.png" }, -{ "url" : "images/yes.png" }, - -{ "url" : "../wp-includes/images/crystal/archive.png" }, -{ "url" : "../wp-includes/images/crystal/audio.png" }, -{ "url" : "../wp-includes/images/crystal/code.png" }, -{ "url" : "../wp-includes/images/crystal/default.png" }, -{ "url" : "../wp-includes/images/crystal/document.png" }, -{ "url" : "../wp-includes/images/crystal/interactive.png" }, -{ "url" : "../wp-includes/images/crystal/text.png" }, -{ "url" : "../wp-includes/images/crystal/video.png" }, -{ "url" : "../wp-includes/images/crystal/spreadsheet.png" }, -{ "url" : "../wp-includes/images/rss.png" }, -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif" }, -{ "url" : "../wp-includes/js/thickbox/tb-close.png" }, -{ "url" : "../wp-includes/js/swfupload/swfupload_f9.swf" }, - -{ "url" : "../wp-includes/js/tinymce/tiny_mce_popup.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/utils/mctabs.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/utils/validate.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/utils/form_utils.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/utils/editable_selects.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pasteword.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pastetext.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/js/media.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/color_picker.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/charmap.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/image.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/link.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/source_editor.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/anchor.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js?ver=311d" }, -{ "url" : "../wp-includes/js/tinymce/tiny_mce.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/editor_template.js?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js?ver=311" }, - -{ "url" : "../wp-includes/js/tinymce/themes/advanced/source_editor.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/anchor.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/image.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/link.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/color_picker.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/charmap.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/media.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/pasteword.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/blank.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/pastetext.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/template.htm?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html?ver=311d" }, -{ "url" : "../wp-includes/js/tinymce/wp-mce-help.php?ver=311" }, - -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/css/content.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/css/content.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/css/content.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/css/media.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/css/pasteword.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/css/blank.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css?ver=311d" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css?ver=311" }, -{ "url" : "../wp-includes/js/tinymce/wordpress.css?ver=311" }, - -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/icons.gif" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/colorpicker.jpg" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/fm.gif" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/gotmoxie.png" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/sflogo.png" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/butt2.png" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/fade-butt.png" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/tabs.gif" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/down_arrow.gif" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/progress.gif" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_check.gif" }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_arrow.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/drag.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/flash.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/flv_player.swf" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/quicktime.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/realmedia.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/shockwave.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/windowsmedia.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/trans.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/more.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/more_bug.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/page.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/page_bug.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/toolbars.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/image.png" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/delete.png" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/help.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/image.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/media.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/video.gif" }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/audio.gif" } -]} diff --git a/spec/samples/wp_versions/2.6/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js b/spec/samples/wp_versions/2.6/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js deleted file mode 100755 index 7dfeca22..00000000 --- a/spec/samples/wp_versions/2.6/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js +++ /dev/null @@ -1,217 +0,0 @@ - -(function() { - tinymce.create('tinymce.plugins.wpEditImage', { - - init : function(ed, url) { - var t = this; - - t.url = url; - t._createButtons(); - - // Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('...'); - ed.addCommand('WP_EditImage', function() { - var el = ed.selection.getNode(); - - if ( ed.dom.getAttrib(el, 'class').indexOf('mceItem') != -1 || el.nodeName != 'IMG' ) - return; - - tb_show('', url + '/editimage.html?ver=311c&TB_iframe=true'); - tinymce.DOM.setStyle( ['TB_overlay','TB_window','TB_load'], 'z-index', '999999' ); - }); - - ed.onInit.add(function(ed) { - tinymce.dom.Event.add(ed.getWin(), 'scroll', function(e) { - ed.plugins.wpeditimage.hideButtons(); - }); - }); - - ed.onBeforeExecCommand.add(function(ed, cmd, ui, val) { - ed.plugins.wpeditimage.hideButtons(); - }); - - ed.onSaveContent.add(function(ed, o) { - ed.plugins.wpeditimage.hideButtons(); - }); - - ed.onMouseUp.add(function(ed, e) { - if ( tinymce.isOpera ) { - if ( e.target.nodeName == 'IMG' ) - ed.plugins.wpeditimage.showButtons(e.target); - } else if ( ! tinymce.isWebKit ) { - var n = ed.selection.getNode(), DL; - - if ( n.nodeName == 'IMG' && (DL = ed.dom.getParent(n, 'DL')) ) { - window.setTimeout(function(){ - var ed = tinyMCE.activeEditor, n = ed.selection.getNode(), DL = ed.dom.getParent(n, 'DL'); - - if ( n.width != (parseInt(ed.dom.getStyle(DL, 'width')) - 10) ) { - ed.dom.setStyle(DL, 'width', parseInt(n.width)+10); - ed.execCommand('mceRepaint'); - } - }, 100); - } - } - }); - - ed.onMouseDown.add(function(ed, e) { - if ( tinymce.isOpera || e.target.nodeName != 'IMG' ) { - t.hideButtons(); - return; - } - ed.plugins.wpeditimage.showButtons(e.target); - }); - - ed.onKeyPress.add(function(ed, e) { - var DL, DIV; - - if ( e.keyCode == 13 && (DL = ed.dom.getParent(ed.selection.getNode(), 'DL')) ) { - var P = ed.dom.create('p', {}, ' '); - if ( (DIV = DL.parentNode) && DIV.nodeName == 'DIV' ) - ed.dom.insertAfter( P, DIV ); - else ed.dom.insertAfter( P, DL ); - - tinymce.dom.Event.cancel(e); - ed.selection.select(P); - return false; - } - }); - - ed.onBeforeSetContent.add(function(ed, o) { - o.content = t._do_shcode(o.content); - }); - - ed.onPostProcess.add(function(ed, o) { - if (o.get) - o.content = t._get_shcode(o.content); - }); - }, - - _do_shcode : function(co) { - return co.replace(/\[(?:wp_)?caption([^\]]+)\]([\s\S]+?)\[\/(?:wp_)?caption\][\s\u00a0]*/g, function(a,b,c){ - b = b.replace(/\\'|\\'|\\'/g, ''').replace(/\\"|\\"/g, '"'); - c = c.replace(/\\'|\\'/g, ''').replace(/\\"/g, '"'); - var id = b.match(/id=['"]([^'"]+)/i), cls = b.match(/align=['"]([^'"]+)/i); - var w = b.match(/width=['"]([0-9]+)/), cap = b.match(/caption=['"]([^'"]+)/i); - - id = ( id && id[1] ) ? id[1] : ''; - cls = ( cls && cls[1] ) ? cls[1] : 'alignnone'; - w = ( w && w[1] ) ? w[1] : ''; - cap = ( cap && cap[1] ) ? cap[1] : ''; - if ( ! w || ! cap ) return c; - - var div_cls = (cls == 'aligncenter') ? 'mceTemp mceIEcenter' : 'mceTemp'; - - return '
    '+c+'
    '+cap+'
    '; - }); - }, - - _get_shcode : function(co) { - return co.replace(/
    \s*]+)>\s*]+>([\s\S]+?)<\/dt>\s*]+>(.+?)<\/dd>\s*<\/dl>\s*<\/div>\s*/gi, function(a,b,c,cap){ - var id = b.match(/id=['"]([^'"]+)/i), cls = b.match(/class=['"]([^'"]+)/i); - var w = c.match(/width=['"]([0-9]+)/); - - id = ( id && id[1] ) ? id[1] : ''; - cls = ( cls && cls[1] ) ? cls[1] : 'alignnone'; - w = ( w && w[1] ) ? w[1] : ''; - - if ( ! w || ! cap ) return c; - cls = cls.match(/align[^ '"]+/) || 'alignnone'; - cap = cap.replace(/<\S[^<>]*>/gi, '').replace(/'/g, ''').replace(/"/g, '"'); - - return '[caption id="'+id+'" align="'+cls+'" width="'+w+'" caption="'+cap+'"]'+c+'[/caption]'; - }); - }, - - showButtons : function(n) { - var t = this, ed = tinyMCE.activeEditor, p1, p2, vp, DOM = tinymce.DOM, X, Y; - - if (ed.dom.getAttrib(n, 'class').indexOf('mceItem') != -1) - return; - - vp = ed.dom.getViewPort(ed.getWin()); - p1 = DOM.getPos(ed.getContentAreaContainer()); - p2 = ed.dom.getPos(n); - - X = Math.max(p2.x - vp.x, 0) + p1.x; - Y = Math.max(p2.y - vp.y, 0) + p1.y; - - DOM.setStyles('wp_editbtns', { - 'top' : Y+5+'px', - 'left' : X+5+'px', - 'display' : 'block' - }); - - t.btnsTout = window.setTimeout( function(){ed.plugins.wpeditimage.hideButtons();}, 5000 ); - }, - - hideButtons : function() { - if ( tinymce.DOM.isHidden('wp_editbtns') ) return; - - tinymce.DOM.hide('wp_editbtns'); - window.clearTimeout(this.btnsTout); - }, - - _createButtons : function() { - var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM; - - DOM.remove('wp_editbtns'); - - var wp_editbtns = DOM.add(document.body, 'div', { - id : 'wp_editbtns', - style : 'display:none;' - }); - - var wp_editimgbtn = DOM.add('wp_editbtns', 'img', { - src : t.url+'/img/image.png', - id : 'wp_editimgbtn', - width : '24', - height : '24', - title : ed.getLang('wpeditimage.edit_img') - }); - - wp_editimgbtn.onmousedown = function(e) { - var ed = tinyMCE.activeEditor; - ed.windowManager.bookmark = ed.selection.getBookmark('simple'); - ed.execCommand("WP_EditImage"); - this.parentNode.style.display = 'none'; - }; - - var wp_delimgbtn = DOM.add('wp_editbtns', 'img', { - src : t.url+'/img/delete.png', - id : 'wp_delimgbtn', - width : '24', - height : '24', - title : ed.getLang('wpeditimage.del_img') - }); - - wp_delimgbtn.onmousedown = function(e) { - var ed = tinyMCE.activeEditor, el = ed.selection.getNode(), p; - - if ( el.nodeName == 'IMG' && ed.dom.getAttrib(el, 'class').indexOf('mceItem') == -1 ) { - if ( (p = ed.dom.getParent(el, 'div')) && ed.dom.hasClass(p, 'mceTemp') ) - ed.dom.remove(p); - else if ( (p = ed.dom.getParent(el, 'A')) && p.childNodes.length == 1 ) - ed.dom.remove(p); - else ed.dom.remove(el); - - this.parentNode.style.display = 'none'; - ed.execCommand('mceRepaint'); - return false; - } - }; - }, - - getInfo : function() { - return { - longname : 'Edit Image', - author : 'WordPress', - authorurl : 'http://wordpress.org', - infourl : '', - version : "1.0" - }; - } - }); - - tinymce.PluginManager.add('wpeditimage', tinymce.plugins.wpEditImage); -})(); diff --git a/spec/samples/wp_versions/2.7.1/readme.html b/spec/samples/wp_versions/2.7.1/readme.html deleted file mode 100755 index 5f8c13df..00000000 --- a/spec/samples/wp_versions/2.7.1/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 2.7 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.7:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.7.1/wp-admin/gears-manifest.php b/spec/samples/wp_versions/2.7.1/wp-admin/gears-manifest.php deleted file mode 100644 index bcd2bb6d..00000000 --- a/spec/samples/wp_versions/2.7.1/wp-admin/gears-manifest.php +++ /dev/null @@ -1,172 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "4b51a58d4927f3b7d9212528af2c121c_20081201", -"entries" : [ -{ "url" : "js/common.js?ver=20081210" }, -{ "url" : "../wp-includes/js/tw-sack.js?ver=1.6.1" }, -{ "url" : "../wp-includes/js/quicktags.js?ver=20081210" }, -{ "url" : "../wp-includes/js/colorpicker.js?ver=3517" }, -{ "url" : "js/editor.js?ver=20081129" }, -{ "url" : "../wp-includes/js/prototype.js?ver=1.6" }, -{ "url" : "../wp-includes/js/wp-ajax-response.js?ver=20081210" }, -{ "url" : "../wp-includes/js/autosave.js?ver=20081210" }, -{ "url" : "../wp-includes/js/wp-lists.js?ver=20081210" }, -{ "url" : "../wp-includes/js/scriptaculous/wp-scriptaculous.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/builder.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/dragdrop.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/effects.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/slider.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/sound.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/controls.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/crop/cropper.js?ver=20070118" }, -{ "url" : "../wp-includes/js/jquery/jquery.js?ver=1.2.6" }, -{ "url" : "../wp-includes/js/jquery/jquery.form.js?ver=2.02" }, -{ "url" : "../wp-includes/js/jquery/jquery.color.js?ver=2.0-4561" }, -{ "url" : "../wp-includes/js/jquery/interface.js?ver=1.2" }, -{ "url" : "../wp-includes/js/jquery/suggest.js?ver=1.1b" }, -{ "url" : "../wp-includes/js/jquery/jquery.schedule.js?ver=20" }, -{ "url" : "../wp-includes/js/jquery/jquery.hotkeys.js?ver=0.0.2" }, -{ "url" : "../wp-includes/js/jquery/jquery.table-hotkeys.js?ver=20081128" }, -{ "url" : "../wp-includes/js/thickbox/thickbox.js?ver=3.1-20090123" }, -{ "url" : "../wp-includes/js/swfupload/swfupload.js?ver=2.2.0-20081031" }, -{ "url" : "../wp-includes/js/swfupload/plugins/swfupload.graceful_degradation.js?ver=2.2.0-20081031" }, -{ "url" : "../wp-includes/js/swfupload/plugins/swfupload.swfobject.js?ver=2.2.0-20081031" }, -{ "url" : "../wp-includes/js/swfupload/plugins/swfupload.queue.js?ver=2.2.0-20081031" }, -{ "url" : "../wp-includes/js/swfupload/handlers.js?ver=2.2.0-20081201" }, -{ "url" : "../wp-includes/js/jquery/ui.core.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/jquery/ui.tabs.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/jquery/ui.sortable.js?ver=1.5.2c" }, -{ "url" : "../wp-includes/js/jquery/ui.draggable.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/jquery/ui.resizable.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/jquery/ui.dialog.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/comment-reply.js?ver=20081210" }, -{ "url" : "js/cat.js?ver=20081210" }, -{ "url" : "js/categories.js?ver=20081210" }, -{ "url" : "js/tags.js?ver=20081210" }, -{ "url" : "js/custom-fields.js?ver=20081210" }, -{ "url" : "js/password-strength-meter.js?ver=20081210" }, -{ "url" : "js/edit-comments.js?ver=20081210" }, -{ "url" : "js/users.js?ver=20081210" }, -{ "url" : "js/xfn.js?ver=3517" }, -{ "url" : "js/postbox.js?ver=20081210" }, -{ "url" : "js/slug.js?ver=20081210" }, -{ "url" : "js/post.js?ver=20081210" }, -{ "url" : "js/page.js?ver=20081210" }, -{ "url" : "js/link.js?ver=20081210" }, -{ "url" : "js/comment.js?ver=20081210" }, -{ "url" : "js/gallery.js?ver=20081210" }, -{ "url" : "js/media-upload.js?ver=20081210" }, -{ "url" : "js/widgets.js?ver=20081210" }, -{ "url" : "js/word-count.js?ver=20081210" }, -{ "url" : "js/wp-gears.js?ver=20081210" }, -{ "url" : "js/theme-preview.js?ver=20081210" }, -{ "url" : "js/inline-edit-post.js?ver=20081210" }, -{ "url" : "js/inline-edit-tax.js?ver=20081210" }, -{ "url" : "js/plugin-install.js?ver=20081210" }, -{ "url" : "js/farbtastic.js?ver=1.2" }, -{ "url" : "js/dashboard.js?ver=20081210" }, -{ "url" : "../wp-includes/js/hoverIntent.js?ver=20081210" }, -{ "url" : "wp-admin.css?ver=20081210" }, -{ "url" : "rtl.css?ver=20081210" }, -{ "url" : "css/ie.css?ver=20081210" }, -{ "url" : "css/ie-rtl.css?ver=20081210" }, -{ "url" : "css/colors-classic.css?ver=20081210" }, -{ "url" : "css/colors-classic-rtl.css?ver=20081210" }, -{ "url" : "css/colors-fresh.css?ver=20081210" }, -{ "url" : "css/colors-fresh-rtl.css?ver=20081210" }, -{ "url" : "css/colors-classic.css?ver=20081210" }, -{ "url" : "css/colors-classic-rtl.css?ver=20081210" }, -{ "url" : "css/global.css?ver=20081210" }, -{ "url" : "css/global-rtl.css?ver=20081210" }, -{ "url" : "css/media.css?ver=20081210" }, -{ "url" : "css/media-rtl.css?ver=20081210" }, -{ "url" : "css/widgets.css?ver=20081210" }, -{ "url" : "css/widgets-rtl.css?ver=20081210" }, -{ "url" : "css/dashboard.css?ver=20081210" }, -{ "url" : "css/dashboard-rtl.css?ver=20081210" }, -{ "url" : "css/install.css?ver=20081210" }, -{ "url" : "css/install-rtl.css?ver=20081210" }, -{ "url" : "css/theme-editor.css?ver=20081210" }, -{ "url" : "css/theme-editor-rtl.css?ver=20081210" }, -{ "url" : "css/press-this.css?ver=20081210" }, -{ "url" : "css/press-this-rtl.css?ver=20081210" }, -{ "url" : "../wp-includes/js/thickbox/thickbox.css?ver=20081210" }, -{ "url" : "css/login.css?ver=20081210" }, -{ "url" : "css/login-rtl.css?ver=20081210" }, -{ "url" : "css/plugin-install.css?ver=20081210" }, -{ "url" : "css/plugin-install-rtl.css?ver=20081210" }, -{ "url" : "css/farbtastic.css?ver=1.2" }, -{ "url" : "css/farbtastic-rtl.css?ver=1.2" }, - -{ "url" : "images/align-center.png" }, -{ "url" : "images/align-left.png" }, -{ "url" : "images/align-none.png" }, -{ "url" : "images/align-right.png" }, -{ "url" : "images/archive-link.png" }, -{ "url" : "images/blue-grad.png" }, -{ "url" : "images/browse-happy.gif" }, -{ "url" : "images/bubble_bg.gif" }, -{ "url" : "images/bubble_bg-rtl.gif" }, -{ "url" : "images/button-grad.png" }, -{ "url" : "images/button-grad-active.png" }, -{ "url" : "images/comment-grey-bubble.png" }, -{ "url" : "images/date-button.gif" }, -{ "url" : "images/ed-bg.gif" }, -{ "url" : "images/fade-butt.png" }, -{ "url" : "images/fav.png" }, -{ "url" : "images/fav-arrow.gif" }, -{ "url" : "images/fav-arrow-rtl.gif" }, -{ "url" : "images/fav-top.png" }, -{ "url" : "images/generic.png" }, -{ "url" : "images/gray-grad.png" }, -{ "url" : "images/icons32.png" }, -{ "url" : "images/icons32-vs.png" }, -{ "url" : "images/list.png" }, -{ "url" : "images/list-vs.png" }, -{ "url" : "images/loading.gif" }, -{ "url" : "images/loading-publish.gif" }, -{ "url" : "images/logo.gif" }, -{ "url" : "images/logo-ghost.png" }, -{ "url" : "images/logo-login.gif" }, -{ "url" : "images/media-button-image.gif" }, -{ "url" : "images/media-button-music.gif" }, -{ "url" : "images/media-button-other.gif" }, -{ "url" : "images/media-button-video.gif" }, -{ "url" : "images/menu.png" }, -{ "url" : "images/menu-vs.png" }, -{ "url" : "images/menu-arrows.gif" }, -{ "url" : "images/menu-bits.gif" }, -{ "url" : "images/menu-bits-rtl.gif" }, -{ "url" : "images/menu-dark.gif" }, -{ "url" : "images/menu-dark-rtl.gif" }, -{ "url" : "images/no.png" }, -{ "url" : "images/required.gif" }, -{ "url" : "images/resize.gif" }, -{ "url" : "images/screen-options-left.gif" }, -{ "url" : "images/screen-options-right.gif" }, -{ "url" : "images/screen-options-right-up.gif" }, -{ "url" : "images/se.png" }, -{ "url" : "images/star.gif" }, -{ "url" : "images/toggle-arrow.gif" }, -{ "url" : "images/toggle-arrow-rtl.gif" }, -{ "url" : "images/white-grad.png" }, -{ "url" : "images/white-grad-active.png" }, -{ "url" : "images/wordpress-logo.png" }, -{ "url" : "images/wp-logo.gif" }, -{ "url" : "images/xit.gif" }, -{ "url" : "images/yes.png" }, - - -{ "url" : "../wp-includes/images/crystal/archive.png" }, -{ "url" : "../wp-includes/images/crystal/audio.png" }, -{ "url" : "../wp-includes/images/crystal/code.png" }, -{ "url" : "../wp-includes/images/crystal/default.png" }, -{ "url" : "../wp-includes/images/crystal/document.png" }, -{ "url" : "../wp-includes/images/crystal/interactive.png" }, -{ "url" : "../wp-includes/images/crystal/text.png" }, -{ "url" : "../wp-includes/images/crystal/video.png" }, -{ "url" : "../wp-includes/images/crystal/spreadsheet.png" }, -{ "url" : "../wp-includes/images/rss.png" }, -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif" }, -{ "url" : "../wp-includes/js/thickbox/tb-close.png" } -]} diff --git a/spec/samples/wp_versions/2.7.1/wp-includes/js/wp-ajax-response.js b/spec/samples/wp_versions/2.7.1/wp-includes/js/wp-ajax-response.js deleted file mode 100755 index d941f217..00000000 --- a/spec/samples/wp_versions/2.7.1/wp-includes/js/wp-ajax-response.js +++ /dev/null @@ -1,60 +0,0 @@ -var wpAjax = jQuery.extend( { - unserialize: function( s ) { - var r = {}; if ( !s ) { return r; } - var q = s.split('?'); if ( q[1] ) { s = q[1]; } - var pp = s.split('&'); - for ( var i in pp ) { - if ( jQuery.isFunction(pp.hasOwnProperty) && !pp.hasOwnProperty(i) ) { continue; } - var p = pp[i].split('='); - r[p[0]] = p[1]; - } - return r; - }, - parseAjaxResponse: function( x, r, e ) { // 1 = good, 0 = strange (bad data?), -1 = you lack permission - var parsed = {}; - var re = jQuery('#' + r).html(''); - if ( x && typeof x == 'object' && x.getElementsByTagName('wp_ajax') ) { - parsed.responses = []; - parsed.errors = false; - var err = ''; - jQuery('response', x).each( function() { - var th = jQuery(this); - var child = jQuery(this.firstChild); - var response = { action: th.attr('action'), what: child.get(0).nodeName, id: child.attr('id'), oldId: child.attr('old_id'), position: child.attr('position') }; - response.data = jQuery( 'response_data', child ).text(); - response.supplemental = {}; - if ( !jQuery( 'supplemental', child ).children().each( function() { - response.supplemental[this.nodeName] = jQuery(this).text(); - } ).size() ) { response.supplemental = false } - response.errors = []; - if ( !jQuery('wp_error', child).each( function() { - var code = jQuery(this).attr('code'); - var anError = { code: code, message: this.firstChild.nodeValue, data: false }; - var errorData = jQuery('wp_error_data[code="' + code + '"]', x); - if ( errorData ) { anError.data = errorData.get(); } - var formField = jQuery( 'form-field', errorData ).text(); - if ( formField ) { code = formField; } - if ( e ) { wpAjax.invalidateForm( jQuery('#' + e + ' :input[name="' + code + '"]' ).parents('.form-field:first') ); } - err += '

    ' + anError.message + '

    '; - response.errors.push( anError ); - parsed.errors = true; - } ).size() ) { response.errors = false; } - parsed.responses.push( response ); - } ); - if ( err.length ) { re.html( '
    ' + err + '
    ' ); } - return parsed; - } - if ( isNaN(x) ) { return !re.html('

    ' + x + '

    '); } - x = parseInt(x,10); - if ( -1 == x ) { return !re.html('

    ' + wpAjax.noPerm + '

    '); } - else if ( 0 === x ) { return !re.html('

    ' + wpAjax.broken + '

    '); } - return true; - }, - invalidateForm: function ( selector ) { - return jQuery( selector ).addClass( 'form-invalid' ).change( function() { jQuery(this).removeClass( 'form-invalid' ); } ); - }, - validateForm: function( selector ) { - selector = jQuery( selector ); - return !wpAjax.invalidateForm( selector.find('.form-required').andSelf().filter('.form-required:has(:input[value=""]), .form-required:input[value=""]') ).size(); - } -}, wpAjax || { noPerm: 'You do not have permission to do that.', broken: 'An unidentified error has occurred.' } ); diff --git a/spec/samples/wp_versions/2.7/readme.html b/spec/samples/wp_versions/2.7/readme.html deleted file mode 100755 index 5f8c13df..00000000 --- a/spec/samples/wp_versions/2.7/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 2.7 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.7:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.7/wp-admin/gears-manifest.php b/spec/samples/wp_versions/2.7/wp-admin/gears-manifest.php deleted file mode 100644 index a0d2d166..00000000 --- a/spec/samples/wp_versions/2.7/wp-admin/gears-manifest.php +++ /dev/null @@ -1,172 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "c15b142b7f4676d28007b378f3d92e3a_20081201", -"entries" : [ -{ "url" : "js/common.js?ver=20081210" }, -{ "url" : "../wp-includes/js/tw-sack.js?ver=1.6.1" }, -{ "url" : "../wp-includes/js/quicktags.js?ver=20081210" }, -{ "url" : "../wp-includes/js/colorpicker.js?ver=3517" }, -{ "url" : "js/editor.js?ver=20081129" }, -{ "url" : "../wp-includes/js/prototype.js?ver=1.6" }, -{ "url" : "../wp-includes/js/wp-ajax-response.js?ver=20081210" }, -{ "url" : "../wp-includes/js/autosave.js?ver=20081210" }, -{ "url" : "../wp-includes/js/wp-lists.js?ver=20081210" }, -{ "url" : "../wp-includes/js/scriptaculous/wp-scriptaculous.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/builder.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/dragdrop.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/effects.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/slider.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/sound.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/scriptaculous/controls.js?ver=1.8.0" }, -{ "url" : "../wp-includes/js/crop/cropper.js?ver=20070118" }, -{ "url" : "../wp-includes/js/jquery/jquery.js?ver=1.2.6" }, -{ "url" : "../wp-includes/js/jquery/jquery.form.js?ver=2.02" }, -{ "url" : "../wp-includes/js/jquery/jquery.color.js?ver=2.0-4561" }, -{ "url" : "../wp-includes/js/jquery/interface.js?ver=1.2" }, -{ "url" : "../wp-includes/js/jquery/suggest.js?ver=1.1b" }, -{ "url" : "../wp-includes/js/jquery/jquery.schedule.js?ver=20" }, -{ "url" : "../wp-includes/js/jquery/jquery.hotkeys.js?ver=0.0.2" }, -{ "url" : "../wp-includes/js/jquery/jquery.table-hotkeys.js?ver=20081128" }, -{ "url" : "../wp-includes/js/thickbox/thickbox.js?ver=3.1-20080430" }, -{ "url" : "../wp-includes/js/swfupload/swfupload.js?ver=2.2.0-20081031" }, -{ "url" : "../wp-includes/js/swfupload/plugins/swfupload.graceful_degradation.js?ver=2.2.0-20081031" }, -{ "url" : "../wp-includes/js/swfupload/plugins/swfupload.swfobject.js?ver=2.2.0-20081031" }, -{ "url" : "../wp-includes/js/swfupload/plugins/swfupload.queue.js?ver=2.2.0-20081031" }, -{ "url" : "../wp-includes/js/swfupload/handlers.js?ver=2.2.0-20081201" }, -{ "url" : "../wp-includes/js/jquery/ui.core.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/jquery/ui.tabs.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/jquery/ui.sortable.js?ver=1.5.2c" }, -{ "url" : "../wp-includes/js/jquery/ui.draggable.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/jquery/ui.resizable.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/jquery/ui.dialog.js?ver=1.5.2" }, -{ "url" : "../wp-includes/js/comment-reply.js?ver=20081210" }, -{ "url" : "js/cat.js?ver=20081210" }, -{ "url" : "js/categories.js?ver=20081210" }, -{ "url" : "js/tags.js?ver=20081210" }, -{ "url" : "js/custom-fields.js?ver=20081210" }, -{ "url" : "js/password-strength-meter.js?ver=20081210" }, -{ "url" : "js/edit-comments.js?ver=20081210" }, -{ "url" : "js/users.js?ver=20081210" }, -{ "url" : "js/xfn.js?ver=3517" }, -{ "url" : "js/postbox.js?ver=20081210" }, -{ "url" : "js/slug.js?ver=20081210" }, -{ "url" : "js/post.js?ver=20081210" }, -{ "url" : "js/page.js?ver=20081210" }, -{ "url" : "js/link.js?ver=20081210" }, -{ "url" : "js/comment.js?ver=20081210" }, -{ "url" : "js/gallery.js?ver=20081210" }, -{ "url" : "js/media-upload.js?ver=20081210" }, -{ "url" : "js/widgets.js?ver=20081210" }, -{ "url" : "js/word-count.js?ver=20081210" }, -{ "url" : "js/wp-gears.js?ver=20081210" }, -{ "url" : "js/theme-preview.js?ver=20081210" }, -{ "url" : "js/inline-edit-post.js?ver=20081210" }, -{ "url" : "js/inline-edit-tax.js?ver=20081210" }, -{ "url" : "js/plugin-install.js?ver=20081210" }, -{ "url" : "js/farbtastic.js?ver=1.2" }, -{ "url" : "js/dashboard.js?ver=20081210" }, -{ "url" : "../wp-includes/js/hoverIntent.js?ver=20081210" }, -{ "url" : "wp-admin.css?ver=20081210" }, -{ "url" : "rtl.css?ver=20081210" }, -{ "url" : "css/ie.css?ver=20081210" }, -{ "url" : "css/ie-rtl.css?ver=20081210" }, -{ "url" : "css/colors-classic.css?ver=20081210" }, -{ "url" : "css/colors-classic-rtl.css?ver=20081210" }, -{ "url" : "css/colors-fresh.css?ver=20081210" }, -{ "url" : "css/colors-fresh-rtl.css?ver=20081210" }, -{ "url" : "css/colors-classic.css?ver=20081210" }, -{ "url" : "css/colors-classic-rtl.css?ver=20081210" }, -{ "url" : "css/global.css?ver=20081210" }, -{ "url" : "css/global-rtl.css?ver=20081210" }, -{ "url" : "css/media.css?ver=20081210" }, -{ "url" : "css/media-rtl.css?ver=20081210" }, -{ "url" : "css/widgets.css?ver=20081210" }, -{ "url" : "css/widgets-rtl.css?ver=20081210" }, -{ "url" : "css/dashboard.css?ver=20081210" }, -{ "url" : "css/dashboard-rtl.css?ver=20081210" }, -{ "url" : "css/install.css?ver=20081210" }, -{ "url" : "css/install-rtl.css?ver=20081210" }, -{ "url" : "css/theme-editor.css?ver=20081210" }, -{ "url" : "css/theme-editor-rtl.css?ver=20081210" }, -{ "url" : "css/press-this.css?ver=20081210" }, -{ "url" : "css/press-this-rtl.css?ver=20081210" }, -{ "url" : "../wp-includes/js/thickbox/thickbox.css?ver=20081210" }, -{ "url" : "css/login.css?ver=20081210" }, -{ "url" : "css/login-rtl.css?ver=20081210" }, -{ "url" : "css/plugin-install.css?ver=20081210" }, -{ "url" : "css/plugin-install-rtl.css?ver=20081210" }, -{ "url" : "css/farbtastic.css?ver=1.2" }, -{ "url" : "css/farbtastic-rtl.css?ver=1.2" }, - -{ "url" : "images/align-center.png" }, -{ "url" : "images/align-left.png" }, -{ "url" : "images/align-none.png" }, -{ "url" : "images/align-right.png" }, -{ "url" : "images/archive-link.png" }, -{ "url" : "images/blue-grad.png" }, -{ "url" : "images/browse-happy.gif" }, -{ "url" : "images/bubble_bg.gif" }, -{ "url" : "images/bubble_bg-rtl.gif" }, -{ "url" : "images/button-grad.png" }, -{ "url" : "images/button-grad-active.png" }, -{ "url" : "images/comment-grey-bubble.png" }, -{ "url" : "images/date-button.gif" }, -{ "url" : "images/ed-bg.gif" }, -{ "url" : "images/fade-butt.png" }, -{ "url" : "images/fav.png" }, -{ "url" : "images/fav-arrow.gif" }, -{ "url" : "images/fav-arrow-rtl.gif" }, -{ "url" : "images/fav-top.png" }, -{ "url" : "images/generic.png" }, -{ "url" : "images/gray-grad.png" }, -{ "url" : "images/icons32.png" }, -{ "url" : "images/icons32-vs.png" }, -{ "url" : "images/list.png" }, -{ "url" : "images/list-vs.png" }, -{ "url" : "images/loading.gif" }, -{ "url" : "images/loading-publish.gif" }, -{ "url" : "images/logo.gif" }, -{ "url" : "images/logo-ghost.png" }, -{ "url" : "images/logo-login.gif" }, -{ "url" : "images/media-button-image.gif" }, -{ "url" : "images/media-button-music.gif" }, -{ "url" : "images/media-button-other.gif" }, -{ "url" : "images/media-button-video.gif" }, -{ "url" : "images/menu.png" }, -{ "url" : "images/menu-vs.png" }, -{ "url" : "images/menu-arrows.gif" }, -{ "url" : "images/menu-bits.gif" }, -{ "url" : "images/menu-bits-rtl.gif" }, -{ "url" : "images/menu-dark.gif" }, -{ "url" : "images/menu-dark-rtl.gif" }, -{ "url" : "images/no.png" }, -{ "url" : "images/required.gif" }, -{ "url" : "images/resize.gif" }, -{ "url" : "images/screen-options-left.gif" }, -{ "url" : "images/screen-options-right.gif" }, -{ "url" : "images/screen-options-right-up.gif" }, -{ "url" : "images/se.png" }, -{ "url" : "images/star.gif" }, -{ "url" : "images/toggle-arrow.gif" }, -{ "url" : "images/toggle-arrow-rtl.gif" }, -{ "url" : "images/white-grad.png" }, -{ "url" : "images/white-grad-active.png" }, -{ "url" : "images/wordpress-logo.png" }, -{ "url" : "images/wp-logo.gif" }, -{ "url" : "images/xit.gif" }, -{ "url" : "images/yes.png" }, - - -{ "url" : "../wp-includes/images/crystal/archive.png" }, -{ "url" : "../wp-includes/images/crystal/audio.png" }, -{ "url" : "../wp-includes/images/crystal/code.png" }, -{ "url" : "../wp-includes/images/crystal/default.png" }, -{ "url" : "../wp-includes/images/crystal/document.png" }, -{ "url" : "../wp-includes/images/crystal/interactive.png" }, -{ "url" : "../wp-includes/images/crystal/text.png" }, -{ "url" : "../wp-includes/images/crystal/video.png" }, -{ "url" : "../wp-includes/images/crystal/spreadsheet.png" }, -{ "url" : "../wp-includes/images/rss.png" }, -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif" }, -{ "url" : "../wp-includes/js/thickbox/tb-close.png" } -]} diff --git a/spec/samples/wp_versions/2.7/wp-includes/js/thickbox/thickbox.css b/spec/samples/wp_versions/2.7/wp-includes/js/thickbox/thickbox.css deleted file mode 100755 index 6c2b2119..00000000 --- a/spec/samples/wp_versions/2.7/wp-includes/js/thickbox/thickbox.css +++ /dev/null @@ -1,161 +0,0 @@ - -/* ----------------------------------------------------------------------------------------------------------------*/ -/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ -/* ----------------------------------------------------------------------------------------------------------------*/ -#TB_window { - font: 12px "Lucida Grande", Verdana, Arial, sans-serif; - color: #333333; -} - -#TB_secondLine { - font: 10px "Lucida Grande", Verdana, Arial, sans-serif; - color:#666666; -} - -#TB_window a:link {color: #666666;} -#TB_window a:visited {color: #666666;} -#TB_window a:hover {color: #000;} -#TB_window a:active {color: #666666;} -#TB_window a:focus{color: #666666;} - -/* ----------------------------------------------------------------------------------------------------------------*/ -/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ -/* ----------------------------------------------------------------------------------------------------------------*/ -#TB_overlay { - position: fixed; - z-index:100; - top: 0px; - left: 0px; - height:100%; - width:100%; -} - -.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;} -.TB_overlayBG { - background-color:#000; - filter:alpha(opacity=75); - -moz-opacity: 0.75; - opacity: 0.75; -} - -* html #TB_overlay { /* ie6 hack */ - position: absolute; - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); -} - -#TB_window { - position: fixed; - background: #ffffff; - z-index: 102; - color:#000000; - display:none; - text-align:left; - top:50%; - left:50%; - border: 1px solid #555; - -moz-box-shadow: rgba(0,0,0,1) 0 4px 30px; - -webkit-box-shadow: rgba(0,0,0,1) 0 4px 30px; - -khtml-box-shadow: rgba(0,0,0,1) 0 4px 30px; - box-shadow: rgba(0,0,0,1) 0 4px 30px; -} - -* html #TB_window { /* ie6 hack */ -position: absolute; -margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); -} - -#TB_window img#TB_Image { - display:block; - margin: 15px 0 0 15px; - border-right: 1px solid #ccc; - border-bottom: 1px solid #ccc; - border-top: 1px solid #666; - border-left: 1px solid #666; -} - -#TB_caption{ - height:25px; - padding:7px 30px 10px 25px; - float:left; -} - -#TB_closeWindow{ - height:25px; - padding:11px 25px 10px 0; - float:right; -} - -#TB_closeAjaxWindow{ - padding:6px 10px 0; - text-align:right; - float:right; -} - -#TB_ajaxWindowTitle{ - float:left; - padding:6px 10px 0; -} - -#TB_title{ - background-color:#e8e8e8; - height:27px; -} - -#TB_ajaxContent{ - clear:both; - padding:2px 15px 15px 15px; - overflow:auto; - text-align:left; - line-height:1.4em; -} - -#TB_ajaxContent.TB_modal{ - padding:15px; -} - -#TB_ajaxContent p{ - padding:5px 0px 5px 0px; -} - -#TB_load{ - position: fixed; - display:none; - z-index:103; - top: 50%; - left: 50%; - background-color: #E8E8E8; - border: 1px solid #555; - margin: -45px 0pt 0pt -125px; - padding: 40px 15px 15px; -} - -* html #TB_load { /* ie6 hack */ -position: absolute; -margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); -} - -#TB_HideSelect{ - z-index:99; - position:fixed; - top: 0; - left: 0; - background-color:#fff; - border:none; - filter:alpha(opacity=0); - -moz-opacity: 0; - opacity: 0; - height:100%; - width:100%; -} - -* html #TB_HideSelect { /* ie6 hack */ - position: absolute; - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); -} - -#TB_iframeContent{ - clear:both; - border:none; - margin-bottom:-1px; - _margin-bottom:1px; -} diff --git a/spec/samples/wp_versions/2.8.2/readme.html b/spec/samples/wp_versions/2.8.2/readme.html deleted file mode 100755 index 06a9fa53..00000000 --- a/spec/samples/wp_versions/2.8.2/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 2.8.2 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.8.2:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.8.2/wp-admin/gears-manifest.php b/spec/samples/wp_versions/2.8.2/wp-admin/gears-manifest.php deleted file mode 100644 index f8b10bc4..00000000 --- a/spec/samples/wp_versions/2.8.2/wp-admin/gears-manifest.php +++ /dev/null @@ -1,76 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "ae52efa2f066ffc235840dc615f051d7", -"entries" : [ -{ "url" : "images/align-center.png" }, -{ "url" : "images/align-left.png" }, -{ "url" : "images/align-none.png" }, -{ "url" : "images/align-right.png" }, -{ "url" : "images/archive-link.png" }, -{ "url" : "images/blue-grad.png" }, -{ "url" : "images/browse-happy.gif" }, -{ "url" : "images/bubble_bg.gif" }, -{ "url" : "images/bubble_bg-rtl.gif" }, -{ "url" : "images/button-grad.png" }, -{ "url" : "images/button-grad-active.png" }, -{ "url" : "images/comment-grey-bubble.png" }, -{ "url" : "images/date-button.gif" }, -{ "url" : "images/ed-bg.gif" }, -{ "url" : "images/fade-butt.png" }, -{ "url" : "images/fav.png" }, -{ "url" : "images/fav-arrow.gif" }, -{ "url" : "images/fav-arrow-rtl.gif" }, -{ "url" : "images/fav-top.png" }, -{ "url" : "images/generic.png" }, -{ "url" : "images/gray-grad.png" }, -{ "url" : "images/icons32.png" }, -{ "url" : "images/icons32-vs.png" }, -{ "url" : "images/list.png" }, -{ "url" : "images/list-vs.png" }, -{ "url" : "images/wpspin_light.gif" }, -{ "url" : "images/wpspin_dark.gif" }, -{ "url" : "images/logo.gif" }, -{ "url" : "images/logo-ghost.png" }, -{ "url" : "images/logo-login.gif" }, -{ "url" : "images/media-button-image.gif" }, -{ "url" : "images/media-button-music.gif" }, -{ "url" : "images/media-button-other.gif" }, -{ "url" : "images/media-button-video.gif" }, -{ "url" : "images/menu.png" }, -{ "url" : "images/menu-vs.png" }, -{ "url" : "images/menu-arrows.gif" }, -{ "url" : "images/menu-bits.gif" }, -{ "url" : "images/menu-bits-rtl.gif" }, -{ "url" : "images/menu-dark.gif" }, -{ "url" : "images/menu-dark-rtl.gif" }, -{ "url" : "images/no.png" }, -{ "url" : "images/required.gif" }, -{ "url" : "images/resize.gif" }, -{ "url" : "images/screen-options-left.gif" }, -{ "url" : "images/screen-options-right.gif" }, -{ "url" : "images/screen-options-right-up.gif" }, -{ "url" : "images/se.png" }, -{ "url" : "images/star.gif" }, -{ "url" : "images/toggle-arrow.gif" }, -{ "url" : "images/toggle-arrow-rtl.gif" }, -{ "url" : "images/white-grad.png" }, -{ "url" : "images/white-grad-active.png" }, -{ "url" : "images/wordpress-logo.png" }, -{ "url" : "images/wp-logo.gif" }, -{ "url" : "images/xit.gif" }, -{ "url" : "images/yes.png" }, -{ "url" : "../wp-includes/images/crystal/archive.png" }, -{ "url" : "../wp-includes/images/crystal/audio.png" }, -{ "url" : "../wp-includes/images/crystal/code.png" }, -{ "url" : "../wp-includes/images/crystal/default.png" }, -{ "url" : "../wp-includes/images/crystal/document.png" }, -{ "url" : "../wp-includes/images/crystal/interactive.png" }, -{ "url" : "../wp-includes/images/crystal/text.png" }, -{ "url" : "../wp-includes/images/crystal/video.png" }, -{ "url" : "../wp-includes/images/crystal/spreadsheet.png" }, -{ "url" : "../wp-includes/images/rss.png" }, -{ "url" : "../wp-includes/images/blank.gif" }, -{ "url" : "../wp-includes/images/upload.png" }, -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif" }, -{ "url" : "../wp-includes/js/thickbox/tb-close.png" } -]} diff --git a/spec/samples/wp_versions/2.8.2/wp-content/plugins/akismet/readme.txt b/spec/samples/wp_versions/2.8.2/wp-content/plugins/akismet/readme.txt deleted file mode 100755 index f34baf53..00000000 --- a/spec/samples/wp_versions/2.8.2/wp-content/plugins/akismet/readme.txt +++ /dev/null @@ -1,42 +0,0 @@ -=== Akismet === -Contributors: matt, ryan, andy, mdawaffe, tellyworth -Tags: akismet, comments, spam -Requires at least: 2.0 -Tested up to: 2.8.2 - -Akismet checks your comments against the Akismet web service to see if they look like spam or not. - -== Description == - -Akismet checks your comments against the Akismet web service to see if they look like spam or not and lets you -review the spam it catches under your blog's "Comments" admin screen. - -Want to show off how much spam Akismet has caught for you? Just put `` in your template. - -See also: [WP Stats plugin](http://wordpress.org/extend/plugins/stats/). - -PS: You'll need a [WordPress.com API key](http://wordpress.com/api-keys/) to use it. - -== Installation == - -Upload the Akismet plugin to your blog, Activate it, then enter your [WordPress.com API key](http://wordpress.com/api-keys/). - -1, 2, 3: You're done! - -== Changelog == - -= 2.2.6 = - -* Fix a global warning introduced in 2.2.5 -* Add changelog and additional readme.txt tags -* Fix an array conversion warning in some versions of PHP -* Support a new WPCOM_API_KEY constant for easier use with WordPress MU - -= 2.2.5 = - -* Include a new Server Connectivity diagnostic check, to detect problems caused by firewalls - -= 2.2.4 = - -* Fixed a key problem affecting the stats feature in WordPress MU -* Provide additional blog information in Akismet API calls diff --git a/spec/samples/wp_versions/2.8.5/readme.html b/spec/samples/wp_versions/2.8.5/readme.html deleted file mode 100755 index fa7071c6..00000000 --- a/spec/samples/wp_versions/2.8.5/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 2.8.5 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.8.5:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.8.5/wp-admin/gears-manifest.php b/spec/samples/wp_versions/2.8.5/wp-admin/gears-manifest.php deleted file mode 100644 index f8b10bc4..00000000 --- a/spec/samples/wp_versions/2.8.5/wp-admin/gears-manifest.php +++ /dev/null @@ -1,76 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "ae52efa2f066ffc235840dc615f051d7", -"entries" : [ -{ "url" : "images/align-center.png" }, -{ "url" : "images/align-left.png" }, -{ "url" : "images/align-none.png" }, -{ "url" : "images/align-right.png" }, -{ "url" : "images/archive-link.png" }, -{ "url" : "images/blue-grad.png" }, -{ "url" : "images/browse-happy.gif" }, -{ "url" : "images/bubble_bg.gif" }, -{ "url" : "images/bubble_bg-rtl.gif" }, -{ "url" : "images/button-grad.png" }, -{ "url" : "images/button-grad-active.png" }, -{ "url" : "images/comment-grey-bubble.png" }, -{ "url" : "images/date-button.gif" }, -{ "url" : "images/ed-bg.gif" }, -{ "url" : "images/fade-butt.png" }, -{ "url" : "images/fav.png" }, -{ "url" : "images/fav-arrow.gif" }, -{ "url" : "images/fav-arrow-rtl.gif" }, -{ "url" : "images/fav-top.png" }, -{ "url" : "images/generic.png" }, -{ "url" : "images/gray-grad.png" }, -{ "url" : "images/icons32.png" }, -{ "url" : "images/icons32-vs.png" }, -{ "url" : "images/list.png" }, -{ "url" : "images/list-vs.png" }, -{ "url" : "images/wpspin_light.gif" }, -{ "url" : "images/wpspin_dark.gif" }, -{ "url" : "images/logo.gif" }, -{ "url" : "images/logo-ghost.png" }, -{ "url" : "images/logo-login.gif" }, -{ "url" : "images/media-button-image.gif" }, -{ "url" : "images/media-button-music.gif" }, -{ "url" : "images/media-button-other.gif" }, -{ "url" : "images/media-button-video.gif" }, -{ "url" : "images/menu.png" }, -{ "url" : "images/menu-vs.png" }, -{ "url" : "images/menu-arrows.gif" }, -{ "url" : "images/menu-bits.gif" }, -{ "url" : "images/menu-bits-rtl.gif" }, -{ "url" : "images/menu-dark.gif" }, -{ "url" : "images/menu-dark-rtl.gif" }, -{ "url" : "images/no.png" }, -{ "url" : "images/required.gif" }, -{ "url" : "images/resize.gif" }, -{ "url" : "images/screen-options-left.gif" }, -{ "url" : "images/screen-options-right.gif" }, -{ "url" : "images/screen-options-right-up.gif" }, -{ "url" : "images/se.png" }, -{ "url" : "images/star.gif" }, -{ "url" : "images/toggle-arrow.gif" }, -{ "url" : "images/toggle-arrow-rtl.gif" }, -{ "url" : "images/white-grad.png" }, -{ "url" : "images/white-grad-active.png" }, -{ "url" : "images/wordpress-logo.png" }, -{ "url" : "images/wp-logo.gif" }, -{ "url" : "images/xit.gif" }, -{ "url" : "images/yes.png" }, -{ "url" : "../wp-includes/images/crystal/archive.png" }, -{ "url" : "../wp-includes/images/crystal/audio.png" }, -{ "url" : "../wp-includes/images/crystal/code.png" }, -{ "url" : "../wp-includes/images/crystal/default.png" }, -{ "url" : "../wp-includes/images/crystal/document.png" }, -{ "url" : "../wp-includes/images/crystal/interactive.png" }, -{ "url" : "../wp-includes/images/crystal/text.png" }, -{ "url" : "../wp-includes/images/crystal/video.png" }, -{ "url" : "../wp-includes/images/crystal/spreadsheet.png" }, -{ "url" : "../wp-includes/images/rss.png" }, -{ "url" : "../wp-includes/images/blank.gif" }, -{ "url" : "../wp-includes/images/upload.png" }, -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif" }, -{ "url" : "../wp-includes/js/thickbox/tb-close.png" } -]} diff --git a/spec/samples/wp_versions/2.8.5/wp-content/plugins/akismet/readme.txt b/spec/samples/wp_versions/2.8.5/wp-content/plugins/akismet/readme.txt deleted file mode 100755 index 9b2241d8..00000000 --- a/spec/samples/wp_versions/2.8.5/wp-content/plugins/akismet/readme.txt +++ /dev/null @@ -1,46 +0,0 @@ -=== Akismet === -Contributors: matt, ryan, andy, mdawaffe, tellyworth -Tags: akismet, comments, spam -Requires at least: 2.0 -Tested up to: 2.8.4 - -Akismet checks your comments against the Akismet web service to see if they look like spam or not. - -== Description == - -Akismet checks your comments against the Akismet web service to see if they look like spam or not and lets you -review the spam it catches under your blog's "Comments" admin screen. - -Want to show off how much spam Akismet has caught for you? Just put `` in your template. - -See also: [WP Stats plugin](http://wordpress.org/extend/plugins/stats/). - -PS: You'll need a [WordPress.com API key](http://wordpress.com/api-keys/) to use it. - -== Installation == - -Upload the Akismet plugin to your blog, Activate it, then enter your [WordPress.com API key](http://wordpress.com/api-keys/). - -1, 2, 3: You're done! - -== Changelog == - -= 2.2.7 = - -* Add a new AKISMET_VERSION constant - -= 2.2.6 = - -* Fix a global warning introduced in 2.2.5 -* Add changelog and additional readme.txt tags -* Fix an array conversion warning in some versions of PHP -* Support a new WPCOM_API_KEY constant for easier use with WordPress MU - -= 2.2.5 = - -* Include a new Server Connectivity diagnostic check, to detect problems caused by firewalls - -= 2.2.4 = - -* Fixed a key problem affecting the stats feature in WordPress MU -* Provide additional blog information in Akismet API calls diff --git a/spec/samples/wp_versions/2.8.6/readme.html b/spec/samples/wp_versions/2.8.6/readme.html deleted file mode 100755 index 9cc7b39b..00000000 --- a/spec/samples/wp_versions/2.8.6/readme.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 2.8.6 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory.
    2. -
    3. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
    4. -
    5. Save the file as wp-config.php
    6. -
    7. Upload everything.
    8. -
    9. Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    10. -
    11. Note the password given to you.
    12. -
    13. The install script should then send you to the login page. Sign in with the username admin and the password generated during the installation. You can then click on 'Profile' to change the password.
    14. -
    - -

    Upgrading

    -

    Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.

    -

    Upgrading from any previous WordPress to 2.8.6:

    -
      -
    1. Delete your old WP files, saving ones you've modified.
    2. -
    3. Upload the new files.
    4. -
    5. Point your browser to /wp-admin/upgrade.php.
    6. -
    7. You wanted more, perhaps? That's it!
    8. -
    -

    Template Changes

    -

    If you have customized your templates you will probably have to make some changes to them. If you're converting your 1.2 or earlier templates, we've created a special guide for you.

    - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The Development Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Bookmark and check often.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    Finally, there is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    System Recommendations

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.0 or higher.
    • -
    • ... and a link to http://wordpress.org on your site.
    • -
    -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Upgrading from another system

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above.

    - -

    XML-RPC and Atom Interface

    -

    You can now post to your WordPress blog with tools like Windows Live Writer, Ecto, Bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the Blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final notes

    -
      -
    • If you have any suggestions, ideas, comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress now has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this see the plugin documentation in the Codex. In most all cases you shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    Copyright

    -

    WordPress is released under the GPL (see license.txt).

    - - - diff --git a/spec/samples/wp_versions/2.8.6/wp-admin/gears-manifest.php b/spec/samples/wp_versions/2.8.6/wp-admin/gears-manifest.php deleted file mode 100644 index f8b10bc4..00000000 --- a/spec/samples/wp_versions/2.8.6/wp-admin/gears-manifest.php +++ /dev/null @@ -1,76 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "ae52efa2f066ffc235840dc615f051d7", -"entries" : [ -{ "url" : "images/align-center.png" }, -{ "url" : "images/align-left.png" }, -{ "url" : "images/align-none.png" }, -{ "url" : "images/align-right.png" }, -{ "url" : "images/archive-link.png" }, -{ "url" : "images/blue-grad.png" }, -{ "url" : "images/browse-happy.gif" }, -{ "url" : "images/bubble_bg.gif" }, -{ "url" : "images/bubble_bg-rtl.gif" }, -{ "url" : "images/button-grad.png" }, -{ "url" : "images/button-grad-active.png" }, -{ "url" : "images/comment-grey-bubble.png" }, -{ "url" : "images/date-button.gif" }, -{ "url" : "images/ed-bg.gif" }, -{ "url" : "images/fade-butt.png" }, -{ "url" : "images/fav.png" }, -{ "url" : "images/fav-arrow.gif" }, -{ "url" : "images/fav-arrow-rtl.gif" }, -{ "url" : "images/fav-top.png" }, -{ "url" : "images/generic.png" }, -{ "url" : "images/gray-grad.png" }, -{ "url" : "images/icons32.png" }, -{ "url" : "images/icons32-vs.png" }, -{ "url" : "images/list.png" }, -{ "url" : "images/list-vs.png" }, -{ "url" : "images/wpspin_light.gif" }, -{ "url" : "images/wpspin_dark.gif" }, -{ "url" : "images/logo.gif" }, -{ "url" : "images/logo-ghost.png" }, -{ "url" : "images/logo-login.gif" }, -{ "url" : "images/media-button-image.gif" }, -{ "url" : "images/media-button-music.gif" }, -{ "url" : "images/media-button-other.gif" }, -{ "url" : "images/media-button-video.gif" }, -{ "url" : "images/menu.png" }, -{ "url" : "images/menu-vs.png" }, -{ "url" : "images/menu-arrows.gif" }, -{ "url" : "images/menu-bits.gif" }, -{ "url" : "images/menu-bits-rtl.gif" }, -{ "url" : "images/menu-dark.gif" }, -{ "url" : "images/menu-dark-rtl.gif" }, -{ "url" : "images/no.png" }, -{ "url" : "images/required.gif" }, -{ "url" : "images/resize.gif" }, -{ "url" : "images/screen-options-left.gif" }, -{ "url" : "images/screen-options-right.gif" }, -{ "url" : "images/screen-options-right-up.gif" }, -{ "url" : "images/se.png" }, -{ "url" : "images/star.gif" }, -{ "url" : "images/toggle-arrow.gif" }, -{ "url" : "images/toggle-arrow-rtl.gif" }, -{ "url" : "images/white-grad.png" }, -{ "url" : "images/white-grad-active.png" }, -{ "url" : "images/wordpress-logo.png" }, -{ "url" : "images/wp-logo.gif" }, -{ "url" : "images/xit.gif" }, -{ "url" : "images/yes.png" }, -{ "url" : "../wp-includes/images/crystal/archive.png" }, -{ "url" : "../wp-includes/images/crystal/audio.png" }, -{ "url" : "../wp-includes/images/crystal/code.png" }, -{ "url" : "../wp-includes/images/crystal/default.png" }, -{ "url" : "../wp-includes/images/crystal/document.png" }, -{ "url" : "../wp-includes/images/crystal/interactive.png" }, -{ "url" : "../wp-includes/images/crystal/text.png" }, -{ "url" : "../wp-includes/images/crystal/video.png" }, -{ "url" : "../wp-includes/images/crystal/spreadsheet.png" }, -{ "url" : "../wp-includes/images/rss.png" }, -{ "url" : "../wp-includes/images/blank.gif" }, -{ "url" : "../wp-includes/images/upload.png" }, -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif" }, -{ "url" : "../wp-includes/js/thickbox/tb-close.png" } -]} diff --git a/spec/samples/wp_versions/2.8.6/wp-content/plugins/akismet/readme.txt b/spec/samples/wp_versions/2.8.6/wp-content/plugins/akismet/readme.txt deleted file mode 100755 index d9383826..00000000 --- a/spec/samples/wp_versions/2.8.6/wp-content/plugins/akismet/readme.txt +++ /dev/null @@ -1,48 +0,0 @@ -=== Akismet === -Contributors: matt, ryan, andy, mdawaffe, tellyworth, automattic -Tags: akismet, comments, spam -Requires at least: 2.0 -Tested up to: 2.8.5 - -Akismet checks your comments against the Akismet web service to see if they look like spam or not. - -== Description == - -Akismet checks your comments against the Akismet web service to see if they look like spam or not and lets you -review the spam it catches under your blog's "Comments" admin screen. - -Want to show off how much spam Akismet has caught for you? Just put `` in your template. - -See also: [WP Stats plugin](http://wordpress.org/extend/plugins/stats/). - -PS: You'll need a [WordPress.com API key](http://wordpress.com/api-keys/) to use it. - -== Installation == - -Upload the Akismet plugin to your blog, Activate it, then enter your [WordPress.com API key](http://wordpress.com/api-keys/). - -1, 2, 3: You're done! - -== Changelog == - -= 2.2.7 = - -* Add a new AKISMET_VERSION constant -* Reduce the possibility of over-counting spam when another spam filter plugin is in use -* Disable the connectivity check when the API key is hard-coded for WPMU - -= 2.2.6 = - -* Fix a global warning introduced in 2.2.5 -* Add changelog and additional readme.txt tags -* Fix an array conversion warning in some versions of PHP -* Support a new WPCOM_API_KEY constant for easier use with WordPress MU - -= 2.2.5 = - -* Include a new Server Connectivity diagnostic check, to detect problems caused by firewalls - -= 2.2.4 = - -* Fixed a key problem affecting the stats feature in WordPress MU -* Provide additional blog information in Akismet API calls diff --git a/spec/samples/wp_versions/3.0/readme.html b/spec/samples/wp_versions/3.0/readme.html deleted file mode 100755 index 9b731ae4..00000000 --- a/spec/samples/wp_versions/3.0/readme.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 3.0 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory and upload everything.
    2. -
    3. Open wp-admin/install.php in your browser. It will take you through the process to set up a wp-config.php file with your database connection details. -
        -
      1. If for some reason this doesn't work, don't worry. It doesn't work on all web hosts. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
      2. -
      3. Save the file as wp-config.php and upload it.
      4. -
      5. Open wp-admin/install.php in your browser.
      6. -
      -
    4. -
    5. Once the configuration file is set up, the installer will set up the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    6. -
    7. If you did not enter a password, note the password given to you. If you did not provide a username, it will be admin.
    8. -
    9. The installer should then send you to the login page. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on 'Profile' to change the password.
    10. -
    - -

    Upgrading

    -

    Using the Automatic Upgrader

    -

    If you are upgrading from version 2.7 or higher, you can use the automatic upgrader:

    -
      -
    1. Open the wp-admin/update-core.php in your browser and follow the instructions.
    2. -
    3. You wanted more, perhaps? That's it!
    4. -
    - -

    Upgrading Manually

    -
      -
    1. Before you upgrade anything, make sure you have backup copies of any files you may have modified such as index.php.
    2. -
    3. Delete your old WordPress files, saving ones you've modified.
    4. -
    5. Upload the new files.
    6. -
    7. Point your browser to /wp-admin/upgrade.php.
    8. -
    - -

    Theme Template Changes

    -

    If you have customized your theme templates, you may have to make some changes across major versions.

    - -

    Migrating from other systems

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, before using our import tools.

    - -

    System Requirements

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.1.2 or higher.
    • -
    - -

    System Recommendations

    - - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The WordPress Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    XML-RPC and Atom Interface

    -

    You can post to your WordPress blog with tools like Windows Live Writer, Ecto, w.bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We introduced a very flexible roles system in version 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final Notes

    -
      -
    • If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this, see the plugin documentation in the Codex. You shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    Copyright

    -

    WordPress is released under the GPLv2 (see license.txt).

    - - - - diff --git a/spec/samples/wp_versions/3.0/wp-admin/gears-manifest.php b/spec/samples/wp_versions/3.0/wp-admin/gears-manifest.php deleted file mode 100644 index 4afd556e..00000000 --- a/spec/samples/wp_versions/3.0/wp-admin/gears-manifest.php +++ /dev/null @@ -1,73 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "02f0f783bde10a914130292f1b57d409", -"entries" : [ -{ "url" : "images/align-center.png", "ignoreQuery" : true } -{ "url" : "images/align-left.png", "ignoreQuery" : true } -{ "url" : "images/align-none.png", "ignoreQuery" : true } -{ "url" : "images/align-right.png", "ignoreQuery" : true } -{ "url" : "images/archive-link.png", "ignoreQuery" : true } -{ "url" : "images/blue-grad.png", "ignoreQuery" : true } -{ "url" : "images/bubble_bg.gif", "ignoreQuery" : true } -{ "url" : "images/bubble_bg-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/button-grad.png", "ignoreQuery" : true } -{ "url" : "images/button-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/comment-grey-bubble.png", "ignoreQuery" : true } -{ "url" : "images/date-button.gif", "ignoreQuery" : true } -{ "url" : "images/ed-bg.gif", "ignoreQuery" : true } -{ "url" : "images/fade-butt.png", "ignoreQuery" : true } -{ "url" : "images/fav.png", "ignoreQuery" : true } -{ "url" : "images/fav-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/fav-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/generic.png", "ignoreQuery" : true } -{ "url" : "images/gray-grad.png", "ignoreQuery" : true } -{ "url" : "images/icons32.png", "ignoreQuery" : true } -{ "url" : "images/icons32-vs.png", "ignoreQuery" : true } -{ "url" : "images/list.png", "ignoreQuery" : true } -{ "url" : "images/list-vs.png", "ignoreQuery" : true } -{ "url" : "images/wpspin_light.gif", "ignoreQuery" : true } -{ "url" : "images/wpspin_dark.gif", "ignoreQuery" : true } -{ "url" : "images/logo.gif", "ignoreQuery" : true } -{ "url" : "images/logo-ghost.png", "ignoreQuery" : true } -{ "url" : "images/logo-login.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-image.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-music.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-other.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-video.gif", "ignoreQuery" : true } -{ "url" : "images/menu.png", "ignoreQuery" : true } -{ "url" : "images/menu-vs.png", "ignoreQuery" : true } -{ "url" : "images/menu-arrows.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/no.png", "ignoreQuery" : true } -{ "url" : "images/required.gif", "ignoreQuery" : true } -{ "url" : "images/resize.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right-up.gif", "ignoreQuery" : true } -{ "url" : "images/se.png", "ignoreQuery" : true } -{ "url" : "images/star.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/white-grad.png", "ignoreQuery" : true } -{ "url" : "images/white-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/wordpress-logo.png", "ignoreQuery" : true } -{ "url" : "images/wp-logo.png", "ignoreQuery" : true } -{ "url" : "images/xit.gif", "ignoreQuery" : true } -{ "url" : "images/yes.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/archive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/audio.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/code.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/default.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/document.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/interactive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/text.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/video.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/spreadsheet.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/rss.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/blank.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/upload.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/tb-close.png", "ignoreQuery" : true } -]} diff --git a/spec/samples/wp_versions/3.0/wp-content/themes/twentyten/style.css b/spec/samples/wp_versions/3.0/wp-content/themes/twentyten/style.css deleted file mode 100755 index 71a129e7..00000000 --- a/spec/samples/wp_versions/3.0/wp-content/themes/twentyten/style.css +++ /dev/null @@ -1,1346 +0,0 @@ -/* -Theme Name: Twenty Ten -Theme URI: http://wordpress.org/ -Description: The 2010 default theme for WordPress. -Author: the WordPress team -Version: 1.0 -Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style -*/ - - -/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html --------------------------------------------------------------- */ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, font, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td { - margin: 0; - padding: 0; - border: 0; - vertical-align: baseline; - background: transparent; -} -body { - line-height: 1; -} -h1, h2, h3, h4, h5, h6 { - font-weight: normal; - clear: both; -} -ol, ul { - list-style: none; -} -blockquote { - quotes: none; -} -blockquote:before, blockquote:after { - content: ''; - content: none; -} -del { - text-decoration: line-through; -} -/* tables still need 'cellspacing="0"' in the markup */ -table { - border-collapse: collapse; - border-spacing: 0; -} -a img { border: none; } - - - -/* -LAYOUT: Two columns -DESCRIPTION: Two-column fixed layout with one sidebar right of content -*/ - -#container { - float: left; - margin: 0 -240px 0 0; - width: 100%; -} -#content { - margin: 0 280px 0 20px; -} -#primary, -#secondary { - float: right; - overflow: hidden; - width: 220px; -} -#secondary { - clear: right; -} -#footer { - clear: both; - width: 100%; -} - -/* -LAYOUT: One column, no sidebar -DESCRIPTION: One centered column with no sidebar -*/ - -.one-column #content { - margin: 0 auto; - width: 640px; -} - -/* -LAYOUT: Full width, no sidebar -DESCRIPTION: Full width content with no sidebar; used for attachment pages -*/ - -.single-attachment #content { - margin: 0 auto; - width: 900px; -} - - -/* =Fonts --------------------------------------------------------------- */ -body, -input, -textarea, -.page-title span, -.pingback a.url { - font-family: Georgia, "Bitstream Charter", serif; -} - -h3#comments-title, -h3#reply-title, -#access .menu, -#access div.menu ul, -#cancel-comment-reply-link, -.form-allowed-tags, -#site-info, -#site-title, -#wp-calendar, -.comment-meta, -.comment-body tr th, -.comment-body thead th, -.entry-content label, -.entry-content tr th, -.entry-content thead th, -.entry-meta, -.entry-title, -.entry-utility, -#respond label, -.navigation, -.page-title, -.pingback p, -.reply, -.widget-title, -.wp-caption-text, -input[type=submit] -{ - font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; -} -pre { - font-family: "Courier 10 Pitch", Courier, monospace; -} -code { - font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; -} - - - -/* =Structure --------------------------------------------------------------- */ - -/* The main theme structure */ -#access .menu-header, -div.menu, -#colophon, -#branding, -#main, -#wrapper { - margin: 0 auto; - width: 940px; -} -#wrapper { - margin-top: 20px; - background: #fff; - padding: 0 20px; -} - -/* Structure the footer area */ -#footer-widget-area { - overflow: hidden; -} -#footer-widget-area .widget-area { - float: left; - margin-right: 20px; - width: 220px; -} -#footer-widget-area #fourth { - margin-right: 0; -} -#site-info { - float: left; - width: 700px; - font-weight: bold; - font-size: 14px; -} -#site-generator { - float: right; - width: 220px; -} - - - -/* =Global Elements --------------------------------------------------------------- */ - -/* Main global 'theme' and typographic styles */ -body { - background: #f1f1f1; -} - -body, -input, -textarea { - color: #666; - font-size: 12px; - line-height: 18px; -} -hr { - background-color: #E7E7E7; - border:0; - height: 1px; - margin-bottom: 18px; - clear:both; -} - -/* Text elements */ -p { - margin-bottom: 18px; -} -ul { - list-style: square; - margin: 0 0 18px 1.5em; -} -ol { - list-style: decimal; - margin: 0 0 18px 1.5em; -} -ol ol { - list-style:upper-alpha; -} -ol ol ol { - list-style:lower-roman; -} -ol ol ol ol { - list-style:lower-alpha; -} -ul ul, -ol ol, -ul ol, -ol ul { - margin-bottom:0; -} -dl { - margin:0 0 24px 0; -} -dt { - font-weight: bold; -} -dd { - margin-bottom: 18px; -} -strong { - font-weight: bold; -} -cite, -em, -i { - font-style: italic; -} -big { - font-size: 131.25%; -} -ins { - background: #ffc; - text-decoration: none; -} -blockquote { - font-style: italic; - padding: 0 3em; -} -blockquote cite, -blockquote em, -blockquote i { - font-style: normal; -} -pre { - background: #f7f7f7; - color: #222; - line-height: 18px; - margin-bottom: 18px; - padding: 1.5em; -} -abbr, -acronym { - border-bottom: 1px dotted #666; - cursor: help; -} - -sup, -sub { - height: 0; - line-height: 1; - vertical-align: baseline; - position: relative; -} -sup { - bottom: 1ex; -} -sub { - top: .5ex; -} -input[type="text"], -textarea { - padding: 2px; - background: #f9f9f9; - border: 1px solid #ccc; - box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); - -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); - -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); -} -a:link { - color:#0066CC; -} -a:visited { - color:#743399; -} -a:active, -a:hover { - color: #FF4B33; -} - -/* Text meant only for screen readers */ -.screen-reader-text { - position: absolute; - left: -9000px; -} - - - -/* =Header --------------------------------------------------------------- */ - -#header { - padding: 30px 0 0 0; -} -#site-title { - float: left; - margin: 0 0 18px 0; - width: 700px; - font-size: 30px; - line-height: 36px; -} -#site-title a { - color: #000; - font-weight: bold; - text-decoration: none; -} -#site-description { - clear: right; - float: right; - font-style: italic; - margin: 14px 0 18px 0; - width: 220px; -} - -/* This is the custom header image */ -#branding img { - clear: both; - border-top: 4px solid #000; - display: block; - border-bottom: 1px solid #000; -} - - - -/* =Menu --------------------------------------------------------------- */ - -#access { - background: #000; - margin: 0 auto; - width: 940px; - display:block; - float:left; -} -#access .menu-header, -div.menu { - font-size: 13px; - margin-left: 12px; -} -#access .menu-header ul, -div.menu ul { - list-style: none; - margin: 0; -} -#access .menu-header li, -div.menu li { - float:left; - position: relative; -} -#access a { - display:block; - text-decoration:none; - color:#aaa; - padding:0 10px; - line-height:38px; -} -#access ul ul { - display:none; - position:absolute; - top:38px; - left:0; - float:left; - box-shadow: 0px 3px 3px rgba(0,0,0,0.2); - -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); - width: 180px; - z-index: 99999; -} -#access ul ul li { - min-width: 180px; -} -#access ul ul ul { - left:100%; - top:0; -} -#access ul ul a { - background:#333; - height:auto; - line-height:1em; - padding:10px; - width: 160px; -} -#access li:hover > a, -#access ul ul :hover > a { - color:#fff; - background:#333; -} -#access ul li:hover > ul { - display:block; -} -#access ul li.current_page_item > a, -#access ul li.current-menu-ancestor > a, -#access ul li.current-menu-item > a, -#access ul li.current-menu-parent > a { - color: #fff; -} - -* html #access ul li.current_page_item a, -* html #access ul li.current-menu-ancestor a, -* html #access ul li.current-menu-item a, -* html #access ul li.current-menu-parent a, -* html #access ul li a:hover { - color:#fff; -} - -/* =Content --------------------------------------------------------------- */ - -#main { - overflow: hidden; - padding: 40px 0 0 0; -} -#content { - margin-bottom: 36px; -} -#content, -#content input, -#content textarea { - color: #333; - font-size: 16px; - line-height: 24px; -} -#content p, -#content ul, -#content ol, -#content dd, -#content pre, -#content hr { - margin-bottom:24px; -} -#content ul ul, -#content ol ol, -#content ul ol, -#content ol ul { - margin-bottom:0; -} -#content pre, -#content kbd, -#content tt, -#content var { - font-size: 15px; - line-height: 21px; -} -#content code { - font-size: 13px; -} -#content dt, -#content th { - color: #000; -} -#content h1, -#content h2, -#content h3, -#content h4, -#content h5, -#content h6 { - color: #000; - margin: 0 0 20px 0; - line-height: 1.5em; -} -#content table { - border: 1px solid #e7e7e7; - text-align: left; - margin: 0 -1px 24px 0; - width: 100%; -} -#content tr th, -#content thead th { - color: #888; - font-size: 12px; - font-weight: bold; - line-height: 18px; - padding: 9px 24px; -} -#content tr td { - border-top: 1px solid #e7e7e7; - padding: 6px 24px; -} -#content tr.odd td { - background: #F2F7FC; -} -.hentry { - margin: 0 0 48px 0; -} -.home .sticky { - background: #F2F7FC; - border-top: 4px solid #000; - padding: 18px 20px; - margin-left: -20px; - margin-right: -20px; -} -.single .hentry { - margin: 0 0 36px 0; -} -.page-title { - color: #000; - font-size: 14px; - font-weight: bold; - margin: 0 0 36px 0; -} -.page-title span { - color: #333; - font-size: 16px; - font-style: italic; - font-weight: normal; -} -.page-title a:link, -.page-title a:visited { - color:#888; - text-decoration: none; -} -.page-title a:active, -.page-title a:hover { - color: #FF4B33; -} -#content .entry-title { - color: #000; - font-size: 21px; - line-height: 1.3em; - font-weight: bold; - margin-bottom: 0; -} -.entry-title a:link, -.entry-title a:visited { - color:#000; - text-decoration: none; -} -.entry-title a:active, -.entry-title a:hover { - color: #FF4B33; -} -.entry-meta { - color: #888; - font-size: 12px; -} -.entry-meta abbr, -.entry-utility abbr { - border: none; -} -.entry-meta abbr:hover, -.entry-utility abbr:hover { - border-bottom: 1px dotted #666; -} -.entry-content, -.entry-summary { - clear: both; - padding: 12px 0 0 0; -} -#content .entry-summary p:last-child { - margin-bottom: 12px; -} -.entry-content fieldset { - border: 1px solid #E7E7E7; - margin: 0 0 24px 0; - padding: 24px; -} -.entry-content fieldset legend { - background: #fff; - color: #000; - font-weight: bold; - padding: 0 24px; -} -.entry-content input { - margin: 0 0 24px 0; -} -.entry-content input.file, -.entry-content input.button { - margin-right: 24px; -} -.entry-content label { - color: #888; - font-size: 12px; -} -.entry-content select { - margin: 0 0 24px 0; -} -.entry-content sup, -.entry-content sub { - font-size: 10px; -} -.entry-content blockquote.left { - float: left; - margin-left: 0; - margin-right: 24px; - text-align: right; - width: 33%; -} -.entry-content blockquote.right { - float: right; - margin-left: 24px; - margin-right: 0; - text-align: left; - width: 33%; -} -.page-link { - color: #000; - font-weight:bold; - margin:0 0 22px 0; - word-spacing:0.5em; -} -.page-link a:link, -.page-link a:visited { - background: #f1f1f1; - color:#333; - font-weight:normal; - padding:0.5em 0.75em; - text-decoration:none; -} -.home .sticky .page-link a { - background: #D9E8F7; -} -.page-link a:active, -.page-link a:hover { - color: #FF4B33; -} -.page .edit-link { - clear: both; - display: block; -} -#entry-author-info { - background: #F2F7FC; - border-top: 4px solid #000; - padding: 18px 20px; - margin: 24px 0; - overflow: hidden; - clear: both; - font-size: 14px; - line-height: 20px; -} -#entry-author-info #author-avatar { - background: #fff; - border: 1px solid #e7e7e7; - float: left; - margin: 0 -104px 0 0; - padding: 11px; - height: 60px; -} -#entry-author-info #author-description { - float: left; - margin: 0 0 0 104px; -} -#entry-author-info h2 { - color: #000; - font-weight: bold; - font-size: 100%; - margin-bottom: 0; -} -.entry-utility { - color: #888; - font-size: 12px; - line-height: 18px; - clear: both; -} -.entry-meta a, -.entry-utility a { - color: #888; -} -.entry-meta a:hover, -.entry-utility a:hover { - color: #FF4B33; -} -#content .video-player { - padding: 0; -} - - - -/* Asides --------------------------------------------------------------- */ - -.home #content .category-asides p { - font-size: 14px; - line-height: 20px; - margin-bottom: 10px; - margin-top:0; -} -.home .hentry.category-asides { - padding: 0; -} -.home #content .category-asides .entry-content { - padding-top: 0; -} - - - - -/* Gallery listing --------------------------------------------------------------- */ - -.category-gallery { - margin-bottom: 48px; -} -.category-gallery h2 { - margin-top: 10px; -} -.category-gallery .entry-meta { -} -.category-gallery .size-thumbnail img { - border: 10px solid #f1f1f1; - margin-bottom: 0; -} -.category-gallery .gallery-thumb { - float: left; - margin-right:20px; - margin-top: -4px; -} -.home #content .category-gallery .entry-content p { - display: inline; -} -.home #content .category-gallery .entry-utility { - padding-top:4px; -} - - -/* Attachment pages --------------------------------------------------------------- */ - -.entry-content .attachment img { - margin-bottom: 0; -} -.attachment .entry-content .entry-caption { - font-size: 140%; - margin-top: 24px; -} -.attachment .entry-content .nav-previous a:before { - content: '\2190\00a0'; -} -.attachment .entry-content .nav-next a:after { - content: '\00a0\2192'; -} - - - -/* Images --------------------------------------------------------------- */ - -#content img { - margin: 0; - max-width: 640px; -} -#content .attachment img { - max-width: 900px; -} -#content .alignleft, -#content img.alignleft { - display: inline; - float: left; - margin-right: 24px; - margin-top: 4px; -} -#content .alignright, -#content img.alignright { - display: inline; - float: right; - margin-left: 24px; - margin-top: 4px; -} -#content .aligncenter, -#content img.aligncenter { - clear: both; - display: block; - margin-left: auto; - margin-right: auto; -} -#content img.alignleft, -#content img.alignright, -#content img.aligncenter { - margin-bottom: 12px; -} -#content .wp-caption { - background: #f1f1f1; - line-height: 18px; - text-align: center; - margin-bottom: 20px; - padding: 4px; -} -#content .wp-caption img { - margin: 5px 5px 0; -} -#content .wp-caption p.wp-caption-text { - margin: 5px; - color: #888; - font-size: 12px; -} -#content .wp-smiley { - margin:0; -} -#content .gallery { - margin: auto; -} -#content .gallery .gallery-item { - float: left; - margin-top: 0; - text-align: center; - width: 33%; -} -#content .gallery img { - border: 2px solid #cfcfcf; -} -#content .gallery .gallery-caption { - color: #888; - font-size: 12px; - margin: 0 0 12px; -} -#content .gallery dl { - margin: 0; -} -#content .gallery img { - border: 10px solid #f1f1f1; -} -#content .gallery br+br { - display: none; -} - - - -/* =Navigation --------------------------------------------------------------- */ - -.navigation { - font-size: 12px; - line-height: 18px; - overflow: hidden; - color: #888; -} -.navigation a:link, -.navigation a:visited { - color: #888; - text-decoration: none; -} -.navigation a:active, -.navigation a:hover { - color: #FF4B33; -} -.nav-previous { - float: left; - width: 50%; -} -.nav-next { - float: right; - width: 50%; - text-align:right; -} -#nav-above { - margin: 0 0 18px 0; -} -#nav-above { - display: none; -} -.paged #nav-above, -.single #nav-above { - display: block; -} -#nav-below { - margin: -18px 0 0 0; -} - - - -/* =Comments --------------------------------------------------------------- */ -#comments { - clear: both; -} -#comments .navigation { - padding: 0 0 18px 0; -} -h3#comments-title, -h3#reply-title { - color: #000; - font-weight: bold; - font-size: 20px; - margin-bottom: 0; -} -h3#comments-title { - padding: 24px 0; -} -.commentlist { - list-style: none; - margin: 0; -} -.commentlist li.comment { - border-bottom: 1px solid #e7e7e7; - line-height: 24px; - margin: 0 0 24px 0; - padding: 0 0 0 56px; - position: relative; -} -.commentlist li:last-child { - border-bottom:none; - margin-bottom:0; -} -#comments .comment-body ul, -#comments .comment-body ol { - margin-bottom: 18px; -} -#comments .comment-body p:last-child { - margin-bottom: 6px; -} -#comments .comment-body blockquote p:last-child { - margin-bottom: 24px; -} -.commentlist ol { - list-style: decimal; -} -.commentlist .avatar { - position: absolute; - top: 4px; - left: 0; -} -.comment-author { -} -.comment-author cite { - color: #000; - font-style: normal; - font-weight: bold; -} -.comment-author .says { - font-style: italic; -} -.comment-meta { - font-size: 12px; - margin: 0 0 18px 0; -} -.comment-meta a:link, -.comment-meta a:visited { - color: #888; - text-decoration: none; -} -.comment-meta a:active, -.comment-meta a:hover { - color: #FF4B33; -} -.commentlist .even { -} -.commentlist .bypostauthor { -} -.reply { - font-size: 12px; - padding: 0 0 24px 0; -} -.reply a, -a.comment-edit-link { - color: #888; -} -.reply a:hover, -a.comment-edit-link:hover { - color: #FF4B33; -} -.commentlist .children { - list-style: none; - margin: 0; -} -.commentlist .children li { - border: none; - margin: 0; -} -.nopassword, -.nocomments { - display: none; -} -#comments .pingback { - margin-bottom: 18px; - padding-bottom: 18px; - border-bottom: 1px solid #e7e7e7; -} -.commentlist li.comment+li.pingback { - margin-top: -6px; -} -#comments .pingback p { - color: #888; - font-size: 12px; - line-height: 18px; - display:block; - margin: 0; -} -#comments .pingback .url { - font-style: italic; - font-size: 13px; -} - - - -/* Comments form */ -input[type=submit] { - color: #333; -} -#respond { - margin: 24px 0; - border-top: 1px solid #e7e7e7; - overflow: hidden; - position: relative; -} -#respond p { - margin: 0; -} -#respond .comment-notes { - margin-bottom: 1em; -} -.form-allowed-tags { - line-height: 1em; -} -.children #respond { - margin: 0 48px 0 0; -} -h3#reply-title { - margin: 18px 0; -} -#comments-list #respond { - margin: 0 0 18px 0; -} -#comments-list ul #respond { - margin: 0; -} -#cancel-comment-reply-link { - font-size: 12px; - line-height: 18px; - font-weight: normal; -} -#respond .required { - color:#FF4B33; - font-weight:bold; -} -#respond label { - color: #888; - font-size: 12px; -} -#respond input { - margin:0 0 9px; - width:98%; -} -#respond textarea { - width:98%; -} -#respond .form-allowed-tags { - color: #888; - font-size: 12px; - line-height: 18px; -} -#respond .form-allowed-tags code { - font-size: 11px; -} -#respond .form-submit { - margin: 12px 0; -} -#respond .form-submit input { - width: auto; - font-size: 14px; -} - - -/* =Widget Areas --------------------------------------------------------------- */ - -.widget-area ul { - list-style: none; - margin-left: 0; -} -.widget-area ul ul { - list-style: square; - margin-left: 1.3em; -} -.widget_search #s { /* This keeps the search inputs in line */ - width: 60%; -} -.widget_search label { - display:none; -} -.widget-container { - margin: 0 0 18px 0; -} -.widget-title { - color: #222; - font-weight: bold; -} -.widget-area a:link, -.widget-area a:visited { - text-decoration: none; -} -.widget-area a:active, -.widget-area a:hover { - text-decoration: underline; -} -.widget-area .entry-meta { - font-size: 11px; -} -#wp_tag_cloud div { - line-height: 1.6em; -} -#wp-calendar { - width:100%; -} -#wp-calendar caption { - font-weight: bold; - color: #222; - text-align: left; - font-size:14px; - padding-bottom: 4px; -} -#wp-calendar thead { - font-size:11px; -} -#wp-calendar thead th { -} -#wp-calendar tbody { - color: #aaa; -} -#wp-calendar tbody td { - padding: 3px 0 2px; - background: #f5f5f5; - border:1px solid #fff; - text-align: center; -} -#wp-calendar tbody .pad { - background: none; -} -#wp-calendar tfoot #next { - text-align: right; -} -.widget_rss a.rsswidget { - color: #000; -} -.widget_rss a.rsswidget:hover { - color: #FF4B33; -} -.widget_rss .widget-title img { - height: 11px; - width: 11px; -} - -/* Main sidebars */ -#main .widget-area ul { - margin-left: 0; - padding: 0 20px 0 0; -} -#main .widget-area ul ul { - border: none; - margin-left: 1.3em; - padding: 0; -} -#primary { -} -#secondary { -} - -/* Footer widget areas */ -#footer-widget-area { -} - - - -/* =Footer --------------------------------------------------------------- */ - -#footer { - margin-bottom: 20px; -} -#colophon { - border-top: 4px solid #000; - margin-top: -4px; - padding: 18px 0; - overflow: hidden; -} -#site-info { - font-weight: bold; -} -#site-info a { - color: #000; - text-decoration: none; -} -#site-generator { - position: relative; - font-style: italic; -} -#site-generator a { - color: #666; - display:inline-block; - text-decoration: none; - background: url(images/wordpress.png) center left no-repeat; - padding-left: 20px; - line-height: 16px; -} -#site-generator a:hover { - text-decoration: underline; -} -img#wpstats { - display:block; - margin: 0 auto 10px; -} - - - -/* Mobile Safari ( iPad, iPhone and iPod Touch ) --------------------------------------------------------------- */ - -pre { - -webkit-text-size-adjust: 140%; -} -code { - -webkit-text-size-adjust: 160%; -} -#access, -.entry-meta, -.entry-utility, -.navigation, -.widget-area { - -webkit-text-size-adjust: 120%; -} -#site-description { - -webkit-text-size-adjust: none; -} - - - -/* =Print Style --------------------------------------------------------------- */ - -@media print { - body { - background:none !important; - } - #wrapper { - float: none !important; - clear: both !important; - display: block !important; - position: relative !important; - } - #header { - border-bottom: 2pt solid #000; - padding-bottom: 18pt; - } - #colophon { - border-top: 2pt solid #000; - } - #site-title, - #site-description { - float: none; - margin: 0; - padding:0; - line-height: 1.4em; - } - #site-title { - font-size: 13pt; - } - .entry-content { - font-size: 14pt; - line-height: 1.6em; - } - .entry-title { - font-size: 21pt; - } - #access, - #branding img, - #respond, - .comment-edit-link, - .edit-link, - .navigation, - .page-link, - .widget-area { - display: none !important; - } - #container, - #header, - #footer { - width: 100%; - margin: 0; - } - #content, - .one-column #content { - width: 100%; - margin: 24pt 0 0; - } - .wp-caption p { - font-size: 11pt; - } - #site-info, - #site-generator { - float: none; - width: auto; - } - #colophon { - width: auto; - } - img#wpstats { - display:none - } - #site-generator a { - padding: 0; - margin: 0; - } - #entry-author-info { - border: 1px solid #e7e7e7; - } - #main { - display:inline; - } - .home .sticky { - border: none; - } -} diff --git a/spec/samples/wp_versions/3.1/readme.html b/spec/samples/wp_versions/3.1/readme.html deleted file mode 100755 index bd56eb59..00000000 --- a/spec/samples/wp_versions/3.1/readme.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 3.1 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory and upload everything.
    2. -
    3. Open wp-admin/install.php in your browser. It will take you through the process to set up a wp-config.php file with your database connection details. -
        -
      1. If for some reason this doesn't work, don't worry. It doesn't work on all web hosts. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
      2. -
      3. Save the file as wp-config.php and upload it.
      4. -
      5. Open wp-admin/install.php in your browser.
      6. -
      -
    4. -
    5. Once the configuration file is set up, the installer will set up the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    6. -
    7. If you did not enter a password, note the password given to you. If you did not provide a username, it will be admin.
    8. -
    9. The installer should then send you to the login page. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on 'Profile' to change the password.
    10. -
    - -

    Updating

    -

    Using the Automatic Updater

    -

    If you are updating from version 2.7 or higher, you can use the automatic updater:

    -
      -
    1. Open the wp-admin/update-core.php in your browser and follow the instructions.
    2. -
    3. You wanted more, perhaps? That's it!
    4. -
    - -

    Updating Manually

    -
      -
    1. Before you update anything, make sure you have backup copies of any files you may have modified such as index.php.
    2. -
    3. Delete your old WordPress files, saving ones you've modified.
    4. -
    5. Upload the new files.
    6. -
    7. Point your browser to /wp-admin/upgrade.php.
    8. -
    - -

    Theme Template Changes

    -

    If you have customized your theme templates, you may have to make some changes across major versions.

    - -

    Migrating from other systems

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, before using our import tools.

    - -

    System Requirements

    -
      -
    • PHP version 4.3 or higher.
    • -
    • MySQL version 4.1.2 or higher.
    • -
    - -

    System Recommendations

    - - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The WordPress Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    XML-RPC and Atom Interface

    -

    You can post to your WordPress blog with tools like Windows Live Writer, Ecto, w.bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We introduced a very flexible roles system in version 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final Notes

    -
      -
    • If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this, see the plugin documentation in the Codex. You shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    License

    -

    WordPress is free software, and is released under the terms of the GPL version 2 or (at your option) any later version. See license.txt.

    - - - - diff --git a/spec/samples/wp_versions/3.1/wp-admin/gears-manifest.php b/spec/samples/wp_versions/3.1/wp-admin/gears-manifest.php deleted file mode 100644 index bd063f86..00000000 --- a/spec/samples/wp_versions/3.1/wp-admin/gears-manifest.php +++ /dev/null @@ -1,72 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "9f1d42cdc7a2098cb65588e29c61f113", -"entries" : [ -{ "url" : "images/align-center.png", "ignoreQuery" : true } -{ "url" : "images/align-left.png", "ignoreQuery" : true } -{ "url" : "images/align-none.png", "ignoreQuery" : true } -{ "url" : "images/align-right.png", "ignoreQuery" : true } -{ "url" : "images/archive-link.png", "ignoreQuery" : true } -{ "url" : "images/blue-grad.png", "ignoreQuery" : true } -{ "url" : "images/bubble_bg.gif", "ignoreQuery" : true } -{ "url" : "images/bubble_bg-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/button-grad.png", "ignoreQuery" : true } -{ "url" : "images/button-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/comment-grey-bubble.png", "ignoreQuery" : true } -{ "url" : "images/date-button.gif", "ignoreQuery" : true } -{ "url" : "images/ed-bg.gif", "ignoreQuery" : true } -{ "url" : "images/fade-butt.png", "ignoreQuery" : true } -{ "url" : "images/fav.png", "ignoreQuery" : true } -{ "url" : "images/fav-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/fav-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/generic.png", "ignoreQuery" : true } -{ "url" : "images/gray-grad.png", "ignoreQuery" : true } -{ "url" : "images/icons32.png", "ignoreQuery" : true } -{ "url" : "images/icons32-vs.png", "ignoreQuery" : true } -{ "url" : "images/list.png", "ignoreQuery" : true } -{ "url" : "images/wpspin_light.gif", "ignoreQuery" : true } -{ "url" : "images/wpspin_dark.gif", "ignoreQuery" : true } -{ "url" : "images/logo.gif", "ignoreQuery" : true } -{ "url" : "images/logo-ghost.png", "ignoreQuery" : true } -{ "url" : "images/logo-login.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-image.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-music.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-other.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-video.gif", "ignoreQuery" : true } -{ "url" : "images/menu.png", "ignoreQuery" : true } -{ "url" : "images/menu-vs.png", "ignoreQuery" : true } -{ "url" : "images/menu-arrows.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/no.png", "ignoreQuery" : true } -{ "url" : "images/required.gif", "ignoreQuery" : true } -{ "url" : "images/resize.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right-up.gif", "ignoreQuery" : true } -{ "url" : "images/se.png", "ignoreQuery" : true } -{ "url" : "images/star.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/white-grad.png", "ignoreQuery" : true } -{ "url" : "images/white-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/wordpress-logo.png", "ignoreQuery" : true } -{ "url" : "images/wp-logo.png", "ignoreQuery" : true } -{ "url" : "images/xit.gif", "ignoreQuery" : true } -{ "url" : "images/yes.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/archive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/audio.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/code.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/default.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/document.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/interactive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/text.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/video.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/spreadsheet.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/rss.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/blank.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/upload.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/tb-close.png", "ignoreQuery" : true } -]} diff --git a/spec/samples/wp_versions/3.1/wp-includes/css/admin-bar.css b/spec/samples/wp_versions/3.1/wp-includes/css/admin-bar.css deleted file mode 100755 index 2de4f4d9..00000000 --- a/spec/samples/wp_versions/3.1/wp-includes/css/admin-bar.css +++ /dev/null @@ -1 +0,0 @@ -#wpadminbar *{height:auto;width:auto;margin:0;padding:0;position:static;text-transform:none;letter-spacing:normal;line-height:1;}#wpadminbar :before,#wpadminbar :after{content:normal;}#wpadminbar a,#wpadminbar a:hover,#wpadminbar a img,#wpadminbar a img:hover{outline:none;border:none;text-decoration:none;background:none;}#wpadminbar{direction:ltr;background-color:#777;background-image:-moz-linear-gradient(bottom,#666,#7f7f7f);background-image:-webkit-gradient(linear,left bottom,left top,from(#666),to(#7f7f7f));color:#ddd;font:normal 12px/28px Arial,Helvetica,sans-serif;height:28px;position:fixed;top:0;left:0;width:100%;z-index:99999;min-width:960px;}#wpadminbar ul,#wpadminbar ul li{background:none;list-style:none;margin:0;padding:0;position:relative;z-index:99999;}#wpadminbar .quicklinks ul{text-align:left;}#wpadminbar .quicklinks ul li{float:left;}#wpadminbar .quicklinks>ul>li>a{border-right:1px solid #686868;border-left:1px solid #808080;}#wpadminbar .quicklinks>ul>li:last-child>a{border-right:none;}#wpadminbar .quicklinks>ul>li:hover>a{border-left-color:#707070;}#wpadminbar .quicklinks a,#wpadminbar .shortlink-input{color:#ddd;height:28px;text-shadow:#555 0 -1px 0;display:block;font:normal 13px/28px Arial,Helvetica,sans-serif;padding:0 .85em;margin:0;}#wpadminbar .quicklinks a>span{line-height:28px;}#wpadminbar .quicklinks .menupop ul,#wpadminbar .shortlink-input{-moz-box-shadow:0 4px 8px rgba(0,0,0,0.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,0.1);box-shadow:0 4px 8px rgba(0,0,0,0.1);background:#fff;background:rgba(255,255,255,0.97);display:none;position:absolute;border:1px solid #dfdfdf;border-top:none;float:none;}#wpadminbar .selected .shortlink-input{display:block;}#wpadminbar .quicklinks .menupop ul li{float:none;}#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .shortlink-input{color:#555;text-shadow:none;white-space:nowrap;min-width:140px;}#wpadminbar .shortlink-input{width:200px;}#wpadminbar .quicklinks .menupop ul li:hover>a{color:#fff;text-shadow:#666 0 -1px 0;}#wpadminbar .quicklinks li:hover>ul,#wpadminbar .quicklinks li.hover>ul{display:block;}#wpadminbar .quicklinks .menupop li:hover>ul,#wpadminbar .quicklinks .menupop li.hover>ul{margin-left:100%;margin-top:-28px;}#wpadminbar .quicklinks li:hover,#wpadminbar .quicklinks .selected{background:#555;background:-moz-linear-gradient(bottom,#555,#3e3e3e);background:-webkit-gradient(linear,left bottom,left top,from(#555),to(#3e3e3e));}#wpadminbar .quicklinks .menupop li:hover{background:#888;background:-moz-linear-gradient(bottom,#888,#9d9d9d);background:-webkit-gradient(linear,left bottom,left top,from(#888),to(#9d9d9d));}#wpadminbar .quicklinks .menupop a>span{display:inline;background:url(../images/admin-bar-sprite.png?d=11122010) right -58px no-repeat;padding-right:.8em;}#wpadminbar .quicklinks .menupop ul li a>span{display:block;background:url(../images/admin-bar-sprite.png?d=11122010) right -29px no-repeat;padding-right:1.5em;}#wpadminbar .quicklinks a span#ab-awaiting-mod,#wpadminbar .quicklinks a span#ab-updates{background:#eee;color:#333;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:bold;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;}#wpadminbar .quicklinks a:hover span#ab-awaiting-mod,#wpadminbar .quicklinks a:hover span#ab-updates{background:#fff;color:#000;}#wpadminbar .quicklinks li#wp-admin-bar-my-account>a{border-left:none;}#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar>a{border-left:none;background:url(../images/admin-bar-sprite.png?d=11122010) top left no-repeat;}#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar>a img{display:inline;border:1px solid #999;vertical-align:middle;margin:-2px 23px 0 -5px;padding:0;background:#eee;float:none;}#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar ul{left:30px;}#wpadminbar .quicklinks .menupop li a img.blavatar{vertical-align:middle;margin:0 8px 0 0;padding:0;}#wpadminbar #adminbarsearch{float:right;height:18px;padding:3px;margin:0;}#wpadminbar #adminbarsearch .adminbar-input{width:140px;height:auto;float:left;font:12px Arial,Helvetica,sans-serif;color:#555;text-shadow:0 1px 0 #fff;border:1px solid #626262;padding:2px 3px;margin:0 3px 0 0;background:#ddd;-moz-box-shadow:inset 2px 2px 1px #cdcdcd;-webkit-box-shadow:inset 2px 2px 1px #cdcdcd;box-shadow:inset 2px 2px 1px #cdcdcd;-webkit-border-radius:0;-khtml-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;outline:none;}#wpadminbar #adminbarsearch .adminbar-button{font:bold 12px Arial,Helvetica,sans-serif;color:#444;text-shadow:0 1px 0 #eee;cursor:pointer;float:left;background:#aaa;background:-moz-linear-gradient(bottom,#aaa,#cecece);background:-webkit-gradient(linear,left bottom,left top,from(#aaa),to(#cecece));-webkit-border-radius:10px;-khtml-border-radius:10px;-moz-border-radius:10px;border-radius:10px;border:1px solid #626262;padding:2px 13px;margin:0;width:auto;height:auto;}#wpadminbar #adminbarsearch .adminbar-button:active{background:#a0a0a0;background:-moz-linear-gradient(bottom,#a0a0a0,#c1c1c1);background:-webkit-gradient(linear,left bottom,left top,from(#a0a0a0),to(#c1c1c1));-moz-box-shadow:inset 1px 1px 1px #9b9b9b;-webkit-box-shadow:inset 1px 1px 1px #9b9b9b;box-shadow:inset 1px 1px 1px #9b9b9b;}#wpadminbar #adminbarsearch .adminbar-button:hover{color:#000;}#wpadminbar #adminbarsearch .adminbar-button::-moz-focus-inner{border:none;}* html #wpadminbar{overflow:hidden;position:absolute;}* html #wpadminbar .quicklinks ul li a{float:left;}* html #wpadminbar .menupop a span{background-image:none;} \ No newline at end of file diff --git a/spec/samples/wp_versions/3.2.1/readme.html b/spec/samples/wp_versions/3.2.1/readme.html deleted file mode 100755 index 691753e2..00000000 --- a/spec/samples/wp_versions/3.2.1/readme.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 3.2.1 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory and upload everything.
    2. -
    3. Open wp-admin/install.php in your browser. It will take you through the process to set up a wp-config.php file with your database connection details. -
        -
      1. If for some reason this doesn't work, don't worry. It doesn't work on all web hosts. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
      2. -
      3. Save the file as wp-config.php and upload it.
      4. -
      5. Open wp-admin/install.php in your browser.
      6. -
      -
    4. -
    5. Once the configuration file is set up, the installer will set up the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    6. -
    7. If you did not enter a password, note the password given to you. If you did not provide a username, it will be admin.
    8. -
    9. The installer should then send you to the login page. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on 'Profile' to change the password.
    10. -
    - -

    Updating

    -

    Using the Automatic Updater

    -

    If you are updating from version 2.7 or higher, you can use the automatic updater:

    -
      -
    1. Open the wp-admin/update-core.php in your browser and follow the instructions.
    2. -
    3. You wanted more, perhaps? That's it!
    4. -
    - -

    Updating Manually

    -
      -
    1. Before you update anything, make sure you have backup copies of any files you may have modified such as index.php.
    2. -
    3. Delete your old WordPress files, saving ones you've modified.
    4. -
    5. Upload the new files.
    6. -
    7. Point your browser to /wp-admin/upgrade.php.
    8. -
    - -

    Theme Template Changes

    -

    If you have customized your theme templates, you may have to make some changes across major versions.

    - -

    Migrating from other systems

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, before using our import tools.

    - -

    System Requirements

    -
      -
    • PHP version 5.2.4 or higher.
    • -
    • MySQL version 5.0 or higher.
    • -
    - -

    System Recommendations

    - - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The WordPress Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    XML-RPC and Atom Interface

    -

    You can post to your WordPress blog with tools like Windows Live Writer, Ecto, w.bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We introduced a very flexible roles system in version 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final Notes

    -
      -
    • If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this, see the plugin documentation in the Codex. You shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    License

    -

    WordPress is free software, and is released under the terms of the GPL version 2 or (at your option) any later version. See license.txt.

    - - - - diff --git a/spec/samples/wp_versions/3.2.1/wp-admin/gears-manifest.php b/spec/samples/wp_versions/3.2.1/wp-admin/gears-manifest.php deleted file mode 100755 index 6811fb34..00000000 --- a/spec/samples/wp_versions/3.2.1/wp-admin/gears-manifest.php +++ /dev/null @@ -1,72 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "4c4cab4ac02dd9b2bf8f0011808232cc", -"entries" : [ -{ "url" : "images/align-center.png", "ignoreQuery" : true } -{ "url" : "images/align-left.png", "ignoreQuery" : true } -{ "url" : "images/align-none.png", "ignoreQuery" : true } -{ "url" : "images/align-right.png", "ignoreQuery" : true } -{ "url" : "images/archive-link.png", "ignoreQuery" : true } -{ "url" : "images/blue-grad.png", "ignoreQuery" : true } -{ "url" : "images/bubble_bg.gif", "ignoreQuery" : true } -{ "url" : "images/bubble_bg-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/button-grad.png", "ignoreQuery" : true } -{ "url" : "images/button-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/comment-grey-bubble.png", "ignoreQuery" : true } -{ "url" : "images/date-button.gif", "ignoreQuery" : true } -{ "url" : "images/ed-bg.gif", "ignoreQuery" : true } -{ "url" : "images/fade-butt.png", "ignoreQuery" : true } -{ "url" : "images/fav.png", "ignoreQuery" : true } -{ "url" : "images/fav-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/fav-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/generic.png", "ignoreQuery" : true } -{ "url" : "images/gray-grad.png", "ignoreQuery" : true } -{ "url" : "images/icons32.png", "ignoreQuery" : true } -{ "url" : "images/icons32-vs.png", "ignoreQuery" : true } -{ "url" : "images/list.png", "ignoreQuery" : true } -{ "url" : "images/wpspin_light.gif", "ignoreQuery" : true } -{ "url" : "images/wpspin_dark.gif", "ignoreQuery" : true } -{ "url" : "images/logo.gif", "ignoreQuery" : true } -{ "url" : "images/logo-ghost.png", "ignoreQuery" : true } -{ "url" : "images/logo-login.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-image.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-music.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-other.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-video.gif", "ignoreQuery" : true } -{ "url" : "images/menu.png", "ignoreQuery" : true } -{ "url" : "images/menu-vs.png", "ignoreQuery" : true } -{ "url" : "images/menu-arrows.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/no.png", "ignoreQuery" : true } -{ "url" : "images/required.gif", "ignoreQuery" : true } -{ "url" : "images/resize.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right-up.gif", "ignoreQuery" : true } -{ "url" : "images/se.png", "ignoreQuery" : true } -{ "url" : "images/star.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/white-grad.png", "ignoreQuery" : true } -{ "url" : "images/white-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/wordpress-logo.png", "ignoreQuery" : true } -{ "url" : "images/wp-logo.png", "ignoreQuery" : true } -{ "url" : "images/xit.gif", "ignoreQuery" : true } -{ "url" : "images/yes.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/archive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/audio.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/code.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/default.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/document.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/interactive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/text.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/video.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/spreadsheet.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/rss.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/blank.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/upload.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/tb-close.png", "ignoreQuery" : true } -]} diff --git a/spec/samples/wp_versions/3.2.1/wp-content/themes/twentyeleven/style.css b/spec/samples/wp_versions/3.2.1/wp-content/themes/twentyeleven/style.css deleted file mode 100755 index 68254b5b..00000000 --- a/spec/samples/wp_versions/3.2.1/wp-content/themes/twentyeleven/style.css +++ /dev/null @@ -1,2670 +0,0 @@ -/* -Theme Name: Twenty Eleven -Theme URI: http://wordpress.org/extend/themes/twentyeleven -Author: the WordPress team -Author URI: http://wordpress.org/ -Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. -Version: 1.2 -License: GNU General Public License -License URI: license.txt -Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready -*/ - -/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html --------------------------------------------------------------- */ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, font, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td { - border: 0; - font-family: inherit; - font-size: 100%; - font-style: inherit; - font-weight: inherit; - margin: 0; - outline: 0; - padding: 0; - vertical-align: baseline; -} -:focus {/* remember to define focus styles! */ - outline: 0; -} -body { - background: #fff; - line-height: 1; -} -ol, ul { - list-style: none; -} -table {/* tables still need 'cellspacing="0"' in the markup */ - border-collapse: separate; - border-spacing: 0; -} -caption, th, td { - font-weight: normal; - text-align: left; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ""; -} -blockquote, q { - quotes: "" ""; -} -a img { - border: 0; -} -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} - - -/* =Structure ------------------------------------------------ */ - -body { - padding: 0 2em; -} -#page { - margin: 2em auto; - max-width: 1000px; -} -#branding hgroup { - margin: 0 7.6%; -} -#access div { - margin: 0 7.6%; -} -#primary { - float: left; - margin: 0 -26.4% 0 0; - width: 100%; -} -#content { - margin: 0 34% 0 7.6%; - width: 58.4%; -} -#secondary { - float: right; - margin-right: 7.6%; - width: 18.8%; -} - -/* Singular */ -.singular #primary { - margin: 0; -} -.singular #content, -.left-sidebar.singular #content { - margin: 0 7.6%; - position: relative; - width: auto; -} -.singular .entry-header, -.singular .entry-content, -.singular footer.entry-meta, -.singular #comments-title { - margin: 0 auto; - width: 68.9%; -} - -/* Attachments */ -.singular .image-attachment .entry-content { - margin: 0 auto; - width: auto; -} -.singular .image-attachment .entry-description { - margin: 0 auto; - width: 68.9%; -} - -/* Showcase */ -.page-template-showcase-php #primary, -.left-sidebar.page-template-showcase-php #primary { - margin: 0; -} -.page-template-showcase-php #content, -.left-sidebar.page-template-showcase-php #content { - margin: 0 7.6%; - width: auto; -} -.page-template-showcase-php section.recent-posts { - float: right; - margin: 0 0 0 31%; - width: 69%; -} -.page-template-showcase-php #main .widget-area { - float: left; - margin: 0 -22.15% 0 0; - width: 22.15%; -} - -/* error404 */ -.error404 #primary { - float: none; - margin: 0; -} -.error404 #primary #content { - margin: 0 7.6%; - width: auto; -} - -/* Alignment */ -.alignleft { - display: inline; - float: left; - margin-right: 1.625em; -} -.alignright { - display: inline; - float: right; - margin-left: 1.625em; -} -.aligncenter { - clear: both; - display: block; - margin-left: auto; - margin-right: auto; -} - -/* Right Content */ -.left-sidebar #primary { - float: right; - margin: 0 0 0 -26.4%; - width: 100%; -} -.left-sidebar #content { - margin: 0 7.6% 0 34%; - width: 58.4%; -} -.left-sidebar #secondary { - float: left; - margin-left: 7.6%; - margin-right: 0; - width: 18.8%; -} - -/* One column */ -.one-column #page { - max-width: 690px; -} -.one-column #content { - margin: 0 7.6%; - width: auto; -} -.one-column #nav-below { - border-bottom: 1px solid #ddd; - margin-bottom: 1.625em; -} -.one-column #secondary { - float: none; - margin: 0 7.6%; - width: auto; -} -/* Simplify the showcase template */ -.one-column .page-template-showcase-php section.recent-posts { - float: none; - margin: 0; - width: 100%; -} -.one-column .page-template-showcase-php #main .widget-area { - float: none; - margin: 0; - width: auto; -} -.one-column .page-template-showcase-php .other-recent-posts { - border-bottom: 1px solid #ddd; -} -/* Simplify the showcase template when small feature */ -.one-column section.featured-post .attachment-small-feature { - border: none; - display: block; - height: auto; - max-width: 60%; - position: static; -} -.one-column article.feature-image.small { - margin: 0 0 1.625em; - padding: 0; -} -.one-column article.feature-image.small .entry-title { - font-size: 20px; - line-height: 1.3em; -} -.one-column article.feature-image.small .entry-summary { - height: 150px; - overflow: hidden; - padding: 0; - text-overflow: ellipsis; -} -.one-column article.feature-image.small .entry-summary a { - left: -9%; -} -/* Remove the margin on singular articles */ -.one-column.singular .entry-header, -.one-column.singular .entry-content, -.one-column.singular footer.entry-meta, -.one-column.singular #comments-title { - width: 100%; -} -/* Simplify the pullquotes and pull styles */ -.one-column.singular blockquote.pull { - margin: 0 0 1.625em; -} -.one-column.singular .pull.alignleft { - margin: 0 1.625em 0 0; -} -.one-column.singular .pull.alignright { - margin: 0 0 0 1.625em; -} -.one-column.singular .entry-meta .edit-link a { - position: absolute; - left: 0; - top: 40px; -} -.one-column.singular #author-info { - margin: 2.2em -8.8% 0; - padding: 20px 8.8%; -} -/* Make sure we have room for our comment avatars */ -.one-column .commentlist > li.comment { - margin-left: 102px; - width: auto; -} -/* Make sure the logo and search form don't collide */ -.one-column #branding #searchform { - right: 40px; - top: 4em; -} -/* Talking avatars take up too much room at this size */ -.one-column .commentlist > li.comment { - margin-left: 0; -} -.one-column .commentlist > li.comment .comment-meta, -.one-column .commentlist > li.comment .comment-content { - margin-right: 85px; -} -.one-column .commentlist .avatar { - background: transparent; - display: block; - padding: 0; - top: 1.625em; - left: auto; - right: 1.625em; -} -.one-column .commentlist .children .avatar { - background: none; - padding: 0; - position: absolute; - top: 2.2em; - left: 2.2em; -} -.one-column #respond { - width: auto; -} - - -/* =Global ------------------------------------------------ */ - -body, input, textarea { - color: #373737; - font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 300; - line-height: 1.625; -} -body { - background: #e2e2e2; -} -#page { - background: #fff; -} - -/* Headings */ -h1,h2,h3,h4,h5,h6 { - clear: both; -} -hr { - background-color: #ccc; - border: 0; - height: 1px; - margin-bottom: 1.625em; -} - -/* Text elements */ -p { - margin-bottom: 1.625em; -} -ul, ol { - margin: 0 0 1.625em 2.5em; -} -ul { - list-style: square; -} -ol { - list-style-type: decimal; -} -ol ol { - list-style: upper-alpha; -} -ol ol ol { - list-style: lower-roman; -} -ol ol ol ol { - list-style: lower-alpha; -} -ul ul, ol ol, ul ol, ol ul { - margin-bottom: 0; -} -dl { - margin: 0 1.625em; -} -dt { - font-weight: bold; -} -dd { - margin-bottom: 1.625em; -} -strong { - font-weight: bold; -} -cite, em, i { - font-style: italic; -} -blockquote { - font-family: Georgia, "Bitstream Charter", serif; - font-style: italic; - font-weight: normal; - margin: 0 3em; -} -blockquote em, blockquote i, blockquote cite { - font-style: normal; -} -blockquote cite { - color: #666; - font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 300; - letter-spacing: 0.05em; - text-transform: uppercase; -} -pre { - background: #f4f4f4; - font: 13px "Courier 10 Pitch", Courier, monospace; - line-height: 1.5; - margin-bottom: 1.625em; - overflow: auto; - padding: 0.75em 1.625em; -} -code, kbd { - font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; -} -abbr, acronym, dfn { - border-bottom: 1px dotted #666; - cursor: help; -} -address { - display: block; - margin: 0 0 1.625em; -} -ins { - background: #fff9c0; - text-decoration: none; -} -sup, -sub { - font-size: 10px; - height: 0; - line-height: 1; - position: relative; - vertical-align: baseline; -} -sup { - bottom: 1ex; -} -sub { - top: .5ex; -} - -/* Forms */ -input[type=text], -input[type=password], -textarea { - background: #fafafa; - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - border: 1px solid #ddd; - color: #888; -} -input[type=text]:focus, -textarea:focus { - color: #373737; -} -textarea { - padding-left: 3px; - width: 98%; -} -input[type=text] { - padding: 3px; -} -input#s { - background: url(images/search.png) no-repeat 5px 6px; - -moz-border-radius: 2px; - border-radius: 2px; - font-size: 14px; - height: 22px; - line-height: 1.2em; - padding: 4px 10px 4px 28px; -} -input#searchsubmit { - display: none; -} - -/* Links */ -a { - color: #1982d1; - text-decoration: none; -} -a:focus, -a:active, -a:hover { - text-decoration: underline; -} - -/* Assistive text */ -.assistive-text { - position: absolute !important; - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); -} -#access a.assistive-text:active, -#access a.assistive-text:focus { - background: #eee; - border-bottom: 1px solid #ddd; - color: #1982d1; - clip: auto !important; - font-size: 12px; - position: absolute; - text-decoration: underline; - top: 0; - left: 7.6%; -} - - -/* =Header ------------------------------------------------ */ - -#branding { - border-top: 2px solid #bbb; - padding-bottom: 10px; - position: relative; - z-index: 2; -} -#site-title { - margin-right: 270px; - padding: 3.65625em 0 0; -} -#site-title a { - color: #111; - font-size: 30px; - font-weight: bold; - line-height: 36px; - text-decoration: none; -} -#site-title a:hover, -#site-title a:focus, -#site-title a:active { - color: #1982d1; -} -#site-description { - color: #7a7a7a; - font-size: 14px; - margin: 0 270px 3.65625em 0; -} -#branding img { - height: auto; - margin-bottom: -7px; - width: 100%; -} - - -/* =Menu --------------------------------------------------------------- */ - -#access { - background: #222; /* Show a solid color for older browsers */ - background: -moz-linear-gradient(#252525, #0a0a0a); - background: -o-linear-gradient(#252525, #0a0a0a); - background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */ - background: -webkit-linear-gradient(#252525, #0a0a0a); - -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - clear: both; - display: block; - float: left; - margin: 0 auto 6px; - width: 100%; -} -#access ul { - font-size: 13px; - list-style: none; - margin: 0 0 0 -0.8125em; - padding-left: 0; -} -#access li { - float: left; - position: relative; -} -#access a { - color: #eee; - display: block; - line-height: 3.333em; - padding: 0 1.2125em; - text-decoration: none; -} -#access ul ul { - -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); - box-shadow: 0 3px 3px rgba(0,0,0,0.2); - display: none; - float: left; - margin: 0; - position: absolute; - top: 3.333em; - left: 0; - width: 188px; - z-index: 99999; -} -#access ul ul ul { - left: 100%; - top: 0; -} -#access ul ul a { - background: #f9f9f9; - border-bottom: 1px dotted #ddd; - color: #444; - font-size: 13px; - font-weight: normal; - height: auto; - line-height: 1.4em; - padding: 10px 10px; - width: 168px; -} -#access li:hover > a, -#access ul ul :hover > a, -#access a:focus { - background: #efefef; -} -#access li:hover > a, -#access a:focus { - background: #f9f9f9; /* Show a solid color for older browsers */ - background: -moz-linear-gradient(#f9f9f9, #e5e5e5); - background: -o-linear-gradient(#f9f9f9, #e5e5e5); - background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */ - background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); - color: #373737; -} -#access ul li:hover > ul { - display: block; -} -#access .current_page_item > a, -#access .current_page_ancestor > a { - font-weight: bold; -} - -/* Search Form */ -#branding #searchform { - position: absolute; - top: 3.8em; - right: 7.6%; - text-align: right; -} -#branding #searchform div { - margin: 0; -} -#branding #s { - float: right; - -webkit-transition-duration: 400ms; - -webkit-transition-property: width, background; - -webkit-transition-timing-function: ease; - -moz-transition-duration: 400ms; - -moz-transition-property: width, background; - -moz-transition-timing-function: ease; - -o-transition-duration: 400ms; - -o-transition-property: width, background; - -o-transition-timing-function: ease; - width: 72px; -} -#branding #s:focus { - background-color: #f9f9f9; - width: 196px; -} -#branding #searchsubmit { - display: none; -} -#branding .only-search #searchform { - top: 5px; - z-index: 1; -} -#branding .only-search #s { - background-color: #666; - border-color: #000; - color: #222; -} -#branding .only-search #s, -#branding .only-search #s:focus { - width: 85%; -} -#branding .only-search #s:focus { - background-color: #bbb; -} -#branding .with-image #searchform { - top: auto; - bottom: -27px; - max-width: 195px; -} -#branding .only-search + #access div { - padding-right: 205px; -} - - -/* =Content ------------------------------------------------ */ - -#main { - clear: both; - padding: 1.625em 0 0; -} -.page-title { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - margin: 0 0 2.6em; - text-transform: uppercase; -} -.page-title a { - font-size: 12px; - font-weight: bold; - letter-spacing: 0; - text-transform: none; -} -.hentry, -.no-results { - border-bottom: 1px solid #ddd; - margin: 0 0 1.625em; - padding: 0 0 1.625em; - position: relative; -} -.hentry:last-child, -.no-results { - border-bottom: none; -} -.blog .sticky .entry-header .entry-meta { - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); - position: absolute !important; -} -.entry-title, -.entry-header .entry-meta { - padding-right: 76px; -} -.entry-title { - clear: both; - color: #222; - font-size: 26px; - font-weight: bold; - line-height: 1.5em; - padding-bottom: .3em; - padding-top: 15px; -} -.entry-title, -.entry-title a { - color: #222; - text-decoration: none; -} -.entry-title a:hover, -.entry-title a:focus, -.entry-title a:active { - color: #1982d1; -} -.entry-meta { - color: #666; - clear: both; - font-size: 12px; - line-height: 18px; -} -.entry-meta a { - font-weight: bold; -} -.single-author .entry-meta .by-author { - display: none; -} -.entry-content, -.entry-summary { - padding: 1.625em 0 0; -} -.entry-content h1, -.entry-content h2, -.comment-content h1, -.comment-content h2 { - color: #000; - font-weight: bold; - margin: 0 0 .8125em; -} -.entry-content h3, -.comment-content h3 { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.entry-content table, -.comment-content table { - border-bottom: 1px solid #ddd; - margin: 0 0 1.625em; - width: 100%; -} -.entry-content th, -.comment-content th { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.entry-content td, -.comment-content td { - border-top: 1px solid #ddd; - padding: 6px 10px 6px 0; -} -.entry-content #s { - width: 75%; -} -.comment-content ul, -.comment-content ol { - margin-bottom: 1.625em; -} -.comment-content ul ul, -.comment-content ol ol, -.comment-content ul ol, -.comment-content ol ul { - margin-bottom: 0; -} -dl.gallery-item { - margin: 0; -} -.page-link { - clear: both; - display: block; - margin: 0 0 1.625em; -} -.page-link a { - background: #eee; - color: #373737; - margin: 0; - padding: 2px 3px; - text-decoration: none; -} -.page-link a:hover { - background: #888; - color: #fff; - font-weight: bold; -} -.page-link span { - margin-right: 6px; -} -.entry-meta .edit-link a, -.commentlist .edit-link a { - background: #eee; - -moz-border-radius: 3px; - border-radius: 3px; - color: #666; - float: right; - font-size: 12px; - line-height: 1.5em; - font-weight: 300; - text-decoration: none; - padding: 0 8px; -} -.entry-meta .edit-link a:hover, -.commentlist .edit-link a:hover { - background: #888; - color: #fff; -} -.entry-content .edit-link { - clear: both; - display: block; -} - -/* Images */ -.entry-content img, -.comment-content img, -.widget img { - max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ -} -img[class*="align"], -img[class*="wp-image-"] { - height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ -} -img.size-full { - max-width: 97.5%; - width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ -} -.entry-content img.wp-smiley { - border: none; - margin-bottom: 0; - margin-top: 0; - padding: 0; -} -img.alignleft, -img.alignright, -img.aligncenter { - margin-bottom: 1.625em; -} -p img, -.wp-caption { - margin-top: 0.4em; -} -.wp-caption { - background: #eee; - margin-bottom: 1.625em; - max-width: 96%; - padding: 9px; -} -.wp-caption img { - display: block; - margin: 0 auto; - max-width: 98%; -} -.wp-caption .wp-caption-text, -.gallery-caption { - color: #666; - font-family: Georgia, serif; - font-size: 12px; -} -.wp-caption .wp-caption-text { - margin-bottom: 0.6em; - padding: 10px 0 5px 40px; - position: relative; -} -.wp-caption .wp-caption-text:before { - color: #666; - content: '\2014'; - font-size: 14px; - font-style: normal; - font-weight: bold; - margin-right: 5px; - position: absolute; - left: 10px; - top: 7px; -} -#content .gallery { - margin: 0 auto 1.625em; -} -#content .gallery a img { - border: none; -} -img#wpstats { - display: block; - margin: 0 auto 1.625em; -} -#content .gallery-columns-4 .gallery-item { - width: 23%; - padding-right: 2%; -} -#content .gallery-columns-4 .gallery-item img { - width: 100%; - height: auto; -} - -/* Image borders */ -img[class*="align"], -img[class*="wp-image-"], -#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ - border: 1px solid #ddd; - padding: 6px; -} -.wp-caption img { - border-color: #eee; -} -a:focus img[class*="align"], -a:hover img[class*="align"], -a:active img[class*="align"], -a:focus img[class*="wp-image-"], -a:hover img[class*="wp-image-"], -a:active img[class*="wp-image-"], -#content .gallery .gallery-icon a:focus img, -#content .gallery .gallery-icon a:hover img, -#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */ - background: #eee; - border-color: #bbb; -} -.wp-caption a:focus img, -.wp-caption a:active img, -.wp-caption a:hover img {/* ... including captioned images! */ - background: #fff; - border-color: #ddd; -} - -/* Password Protected Posts */ -.post-password-required .entry-header .comments-link { - margin: 1.625em 0 0; -} -.post-password-required input[type=password] { - margin: 0.8125em 0; -} -.post-password-required input[type=password]:focus { - background: #f7f7f7; -} - -/* Author Info */ -#author-info { - font-size: 12px; - overflow: hidden; -} -.singular #author-info { - background: #f9f9f9; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - margin: 2.2em -35.6% 0 -35.4%; - padding: 20px 35.4%; -} -.archive #author-info { - border-bottom: 1px solid #ddd; - margin: 0 0 2.2em; - padding: 0 0 2.2em; -} -#author-avatar { - float: left; - margin-right: -78px; -} -#author-avatar img { - background: #fff; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #bbb; - -moz-box-shadow: 0 1px 2px #bbb; - box-shadow: 0 1px 2px #bbb; - padding: 3px; -} -#author-description { - float: left; - margin-left: 108px; -} -#author-description h2 { - color: #000; - font-size: 15px; - font-weight: bold; - margin: 5px 0 10px; -} - -/* Comments link */ -.entry-header .comments-link a { - background: #eee url(images/comment-bubble.png) no-repeat; - color: #666; - font-size: 13px; - font-weight: normal; - line-height: 35px; - overflow: hidden; - padding: 0 0 0; - position: absolute; - top: 1.5em; - right: 0; - text-align: center; - text-decoration: none; - width: 43px; - height: 36px; -} -.entry-header .comments-link a:hover, -.entry-header .comments-link a:focus, -.entry-header .comments-link a:active { - background-color: #1982d1; - color: #fff; - color: rgba(255,255,255,0.8); -} -.entry-header .comments-link .leave-reply { - visibility: hidden; -} - -/* -Post Formats Headings -To hide the headings, display: none the ".entry-header .entry-format" selector, -and remove the padding rules below. -*/ -.entry-header .entry-format { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - position: absolute; - text-transform: uppercase; - top: -5px; -} -.entry-header hgroup .entry-title { - padding-top: 15px; -} -article.format-aside .entry-content, -article.format-link .entry-content, -article.format-status .entry-content { - padding: 20px 0 0; -} -.recent-posts .entry-header .entry-format { - display: none; -} -.recent-posts .entry-header hgroup .entry-title { - padding-top: 0; -} - -/* Singular content styles for Posts and Pages */ -.singular .hentry { - border-bottom: none; - padding: 4.875em 0 0; - position: relative; -} -.singular.page .hentry { - padding: 3.5em 0 0; -} -.singular .entry-title { - color: #000; - font-size: 36px; - font-weight: bold; - line-height: 48px; -} -.singular .entry-title, -.singular .entry-header .entry-meta { - padding-right: 0; -} -.singular .entry-header .entry-meta { - position: absolute; - top: 0; - left: 0; -} -blockquote.pull { - font-size: 21px; - font-weight: bold; - line-height: 1.6125em; - margin: 0 0 1.625em; - text-align: center; -} -.singular blockquote.pull { - margin: 0 -22.25% 1.625em; -} -.pull.alignleft { - margin: 0 1.625em 0 0; - text-align: right; - width: 33%; -} -.singular .pull.alignleft { - margin: 0 1.625em 0 -22.25%; -} -.pull.alignright { - margin: 0 0 0 1.625em; - text-align: left; - width: 33%; -} -.singular .pull.alignright { - margin: 0 -22.25% 0 1.625em; -} -.singular blockquote.pull.alignleft, -.singular blockquote.pull.alignright { - width: 33%; -} -.singular .entry-meta .edit-link a { - bottom: auto; - left: 50px; - position: absolute; - right: auto; - top: 80px; -} - - -/* =Aside ------------------------------------------------ */ - -.format-aside .entry-title, -.format-aside .entry-header .comments-link { - display: none; -} -.singular .format-aside .entry-title { - display: block; -} -.format-aside .entry-content { - padding: 0; -} -.singular .format-aside .entry-content { - padding: 1.625em 0 0; -} - - -/* =Link ------------------------------------------------ */ - -.format-link .entry-title, -.format-link .entry-header .comments-link { - display: none; -} -.singular .format-link .entry-title { - display: block; -} -.format-link .entry-content { - padding: 0; -} -.singular .format-link .entry-content { - padding: 1.625em 0 0; -} - - -/* =Gallery ------------------------------------------------ */ - -.format-gallery .gallery-thumb { - float: left; - display: block; - margin: .375em 1.625em 0 0; -} - - -/* =Status ------------------------------------------------ */ - -.format-status .entry-title, -.format-status .entry-header .comments-link { - display: none; -} -.singular .format-status .entry-title { - display: block; -} -.format-status .entry-content { - padding: 0; -} -.singular .format-status .entry-content { - padding: 1.625em 0 0; -} -.format-status img.avatar { - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #ccc; - -moz-box-shadow: 0 1px 2px #ccc; - box-shadow: 0 1px 2px #ccc; - float: left; - margin: 4px 10px 2px 0; - padding: 0; -} - - -/* =Quote ------------------------------------------------ */ - -.format-quote blockquote { - color: #555; - font-size: 17px; - margin: 0; -} - - -/* =Image ------------------------------------------------ */ - -.indexed.format-image .entry-header { - min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */ -} -.indexed.format-image .entry-content { - padding-top: 0.5em; -} -.indexed.format-image p, -.indexed.format-image p img { - margin-bottom: 0; -} -.indexed.format-image footer.entry-meta { - background: #ddd; - margin-top: -7px; - padding: 20px 30px; - overflow: hidden; -} -.indexed.format-image div.entry-meta { - display: inline-block; - float: left; - width: 35%; -} -.indexed.format-image div.entry-meta + div.entry-meta { - float: none; - width: 65%; -} -.indexed.format-image .entry-meta span.cat-links, -.indexed.format-image .entry-meta span.tag-links, -.indexed.format-image .entry-meta span.comments-link { - display: block; -} -.indexed.format-image footer.entry-meta a { - color: #444; -} -.indexed.format-image footer.entry-meta a:hover { - color: #fff; -} -#content .indexed.format-image img { - border: none; - max-width: 100%; - padding: 0; -} -.indexed.format-image .wp-caption { - background: #111; - margin-bottom: 0; - max-width: 96%; - padding: 11px; -} -.indexed.format-image .wp-caption .wp-caption-text { - color: #ddd; -} -.indexed.format-image .wp-caption .wp-caption-text:before { - color: #444; -} -.indexed.format-image a:hover img { - opacity: 0.8; -} - - -/* =error404 ------------------------------------------------ */ - -.error404 #main #searchform { - background: #f9f9f9; - border: 1px solid #ddd; - border-width: 1px 0; - margin: 0 -8.9% 1.625em; - overflow: hidden; - padding: 1.625em 8.9%; -} -.error404 #main #s { - width: 95%; -} -.error404 #main .widget { - clear: none; - float: left; - margin-right: 3.7%; - width: 30.85%; -} -.error404 #main .widget_archive { - margin-right: 0; -} -.error404 #main .widget_tag_cloud { - float: none; - margin-right: 0; - width: 100%; -} -.error404 .widgettitle { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} - - -/* =Showcase ------------------------------------------------ */ - -h1.showcase-heading { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} - -/* Intro */ -article.intro { - background: #f9f9f9; - border-bottom: none; - margin: -1.855em -8.9% 1.625em; - padding: 0 8.9%; -} -article.intro .entry-title { - display: none; -} -article.intro .entry-content { - color: #111; - font-size: 16px; - padding: 1.625em 0 0.625em; -} -article.intro .edit-link a { - background: #aaa; - -moz-border-radius: 3px; - border-radius: 3px; - color: #fff; - font-size: 12px; - padding: 0 8px; - position: absolute; - top: 30px; - right: 20px; - text-decoration: none; -} -article.intro .edit-link a:hover, -article.intro .edit-link a:focus, -article.intro .edit-link a:active { - background: #777; -} - -/* Featured post */ -section.featured-post { - float: left; - margin: -1.625em -8.9% 1.625em; - padding: 1.625em 8.9% 0; - position: relative; - width: 100%; -} -section.featured-post .hentry { - border: none; - color: #666; - margin: 0; -} -section.featured-post .entry-meta { - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); - position: absolute !important; -} - -/* Small featured post */ -section.featured-post .attachment-small-feature { - float: right; - height: auto; - margin: 0 -8.9% 1.625em 0; - max-width: 59%; - position: relative; - right: -15px; -} -section.featured-post.small { - padding-top: 0; -} -section.featured-post .attachment-small-feature:hover, -section.featured-post .attachment-small-feature:focus, -section.featured-post .attachment-small-feature:active { - opacity: .8; -} -article.feature-image.small { - float: left; - margin: 0 0 1.625em; - width: 45%; -} -article.feature-image.small .entry-title { - line-height: 1.2em; -} -article.feature-image.small .entry-summary { - color: #555; - font-size: 13px; -} -article.feature-image.small .entry-summary p a { - background: #222; - color: #eee; - display: block; - left: -23.8%; - padding: 9px 26px 9px 85px; - position: relative; - text-decoration: none; - top: 20px; - width: 180px; - z-index: 1; -} -article.feature-image.small .entry-summary p a:hover { - background: #1982d1; - color: #eee; - color: rgba(255,255,255,0.8); -} - -/* Large featured post */ -section.feature-image.large { - border: none; - max-height: 288px; - padding: 0; - width: 100%; -} -section.feature-image.large .showcase-heading { - display: none; -} -section.feature-image.large .hentry { - border-bottom: none; - left: 9%; - margin: 1.625em 9% 0 0; - position: absolute; - top: 0; -} -article.feature-image.large .entry-title a { - background: #222; - background: rgba(0,0,0,0.8); - -moz-border-radius: 3px; - border-radius: 3px; - color: #fff; - display: inline-block; - font-weight: 300; - padding: .2em 20px; -} -section.feature-image.large:hover .entry-title a, -section.feature-image.large .entry-title:hover a { - background: #eee; - background: rgba(255,255,255,0.8); - color: #222; -} -article.feature-image.large .entry-summary { - display: none; -} -section.feature-image.large img { - display: block; - height: auto; - max-width: 117.9%; - padding: 0 0 6px; -} - -/* Featured Slider */ -.featured-posts { - border-bottom: 1px solid #ddd; - display: block; - height: 328px; - margin: 1.625em -8.9% 20px; - max-width: 1000px; - padding: 0; - position: relative; - overflow: hidden; -} -.featured-posts .showcase-heading { - padding-left: 8.9%; -} -.featured-posts section.featured-post { - background: #fff; - height: 288px; - left: 0; - margin: 0; - position: absolute; - top: 30px; - width: auto; -} -.featured-posts section.featured-post.large { - max-width: 100%; - overflow: hidden; -} -.featured-posts section.featured-post { - -webkit-transition-duration: 200ms; - -webkit-transition-property: opacity, visibility; - -webkit-transition-timing-function: ease; - -moz-transition-duration: 200ms; - -moz-transition-property: opacity, visibility; - -moz-transition-timing-function: ease; -} -.featured-posts section.featured-post { - opacity: 0; - visibility: hidden; -} -.featured-posts #featured-post-1 { - opacity: 1; - visibility: visible; -} -.featured-post .feature-text:after, -.featured-post .feature-image.small:after { - content: ' '; - background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera11.10+ */ - background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */ - background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */ - width: 100%; - height: 45px; - position: absolute; - top: 230px; -} -.featured-post .feature-image.small:after { - top: 253px; -} -#content .feature-slider { - top: 5px; - right: 8.9%; - overflow: visible; - position: absolute; -} -.feature-slider ul { - list-style-type: none; - margin: 0; -} -.feature-slider li { - float: left; - margin: 0 6px; -} -.feature-slider a { - background: #3c3c3c; - background: rgba(60,60,60,0.9); - -moz-border-radius: 12px; - border-radius: 12px; - -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - display: block; - width: 14px; - height: 14px; -} -.feature-slider a.active { - background: #1982d1; - -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - cursor: default; - opacity: 0.5; -} - -/* Recent Posts */ -section.recent-posts { - padding: 0 0 1.625em; -} -section.recent-posts .hentry { - border: none; - margin: 0; -} -section.recent-posts .other-recent-posts { - border-bottom: 1px solid #ddd; - list-style: none; - margin: 0; -} -section.recent-posts .other-recent-posts li { - padding: 0.3125em 0; - position: relative; -} -section.recent-posts .other-recent-posts .entry-title { - border-top: 1px solid #ddd; - font-size: 17px; -} -section.recent-posts .other-recent-posts a[rel="bookmark"] { - color: #373737; - float: left; - max-width: 84%; -} -section.recent-posts .other-recent-posts a[rel="bookmark"]:after { - content: '-'; - color: transparent; - font-size: 11px; -} -section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { -} -section.recent-posts .other-recent-posts .comments-link a, -section.recent-posts .other-recent-posts .comments-link > span { - border-bottom: 2px solid #999; - bottom: -2px; - color: #444; - display: block; - font-size: 10px; - font-weight: 500; - line-height: 2.76333em; - padding: 0.3125em 0 0.3125em 1em; - position: absolute; - right: 0; - text-align: right; - text-transform: uppercase; - z-index: 1; -} -section.recent-posts .other-recent-posts .comments-link > span { - border-color: #bbb; - color: #888; -} -section.recent-posts .other-recent-posts .comments-link a:hover { - color: #1982d1; - border-color: #1982d1; -} -section.recent-posts .other-recent-posts li:after { - clear: both; - content: '.'; - display: block; - height: 0; - visibility: hidden; -} - - -/* =Attachments ------------------------------------------------ */ - -.image-attachment div.attachment { - background: #f9f9f9; - border: 1px solid #ddd; - border-width: 1px 0; - margin: 0 -8.9% 1.625em; - overflow: hidden; - padding: 1.625em 1.625em 0; - text-align: center; -} -.image-attachment div.attachment img { - display: block; - height: auto; - margin: 0 auto 1.625em; - max-width: 100%; -} -.image-attachment div.attachment a img { - border-color: #f9f9f9; -} -.image-attachment div.attachment a:focus img, -.image-attachment div.attachment a:hover img, -.image-attachment div.attachment a:active img { - border-color: #ddd; - background: #fff; -} -.image-attachment .entry-caption p { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - margin: 0 0 2.6em; - text-transform: uppercase; -} - - -/* =Navigation --------------------------------------------------------------- */ - -#content nav { - clear: both; - overflow: hidden; - padding: 0 0 1.625em; -} -#content nav a { - font-size: 12px; - font-weight: bold; - line-height: 2.2em; -} -#nav-above { - padding: 0 0 1.625em; -} -#nav-above { - display: none; -} -.paged #nav-above { - display: block; -} -.nav-previous { - float: left; - width: 50%; -} -.nav-next { - float: right; - text-align: right; - width: 50%; -} -#content nav .meta-nav { - font-weight: normal; -} - -/* Singular navigation */ -#nav-single { - float: right; - position: relative; - top: -0.3em; - text-align: right; - width: 100%; - z-index: 1; -} -#nav-single .nav-previous, -#nav-single .nav-next { - float: none; - width: auto; -} -#nav-single .nav-next { - padding-left: .5em; -} - - -/* =Widgets ------------------------------------------------ */ - -.widget-area { - font-size: 12px; -} -.widget { - clear: both; - margin: 0 0 2.2em; -} -.widget-title { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.widget ul { - font-size: 15px; - margin: 0; -} -.widget ul ul { - margin-left: 1.5em; -} -.widget ul li { - color: #777; - font-size: 13px; -} -.widget a { - font-weight: bold; - text-decoration: none; -} -.widget a:hover, -.widget a:focus, -.widget a:active { - text-decoration: underline; -} - -/* Search Widget */ -.widget_search form { - margin: 0 0 1.625em; -} -.widget_search #s { - width: 77%; -} -.widget_search #searchsubmit { - background: #ddd; - border: 1px solid #ccc; - -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - color: #888; - font-size: 13px; - line-height: 25px; - position: relative; - top: -2px; -} -.widget_search #searchsubmit:active { - background: #1982d1; - border-color: #0861a5; - -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - color: #bfddf3; -} - -/* Ephemera Widget */ -section.ephemera ol, -.widget_twentyeleven_ephemera ol { - list-style: square; - margin: 5px 0 0; -} -.widget_twentyeleven_ephemera .widget-entry-title { - font-size: 15px; - font-weight: bold; - padding: 0; -} -.widget_twentyeleven_ephemera .comments-link a, -.widget_twentyeleven_ephemera .comments-link > span { - color: #666; - display: block; - font-size: 10px; - font-weight: 500; - line-height: 2.76333em; - text-transform: uppercase; -} -section.ephemera .entry-title .comments-link a:hover, -.widget_twentyeleven_ephemera .entry-title .comments-link a:hover { -} -section.ephemera .entry-title a span { - color: #29628d; -} - -/* Twitter */ -.widget_twitter li { - list-style-type: none; - margin-bottom: 14px; -} -.widget_twitter .timesince { - display: block; - font-size: 11px; - margin-right: -10px; - text-align: right; -} - -/* Widget Image */ -.widget_image img { - height: auto; - max-width: 100%; -} - -/* Calendar Widget */ - -.widget_calendar #wp-calendar { - color: #555; - width: 95%; - text-align: center; -} -.widget_calendar #wp-calendar caption, -.widget_calendar #wp-calendar td, -.widget_calendar #wp-calendar th { - text-align: center; -} -.widget_calendar #wp-calendar caption { - font-size: 11px; - font-weight: 500; - padding: 5px 0 3px 0; - text-transform: uppercase; -} -.widget_calendar #wp-calendar th { - background: #f4f4f4; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; - font-weight: bold; -} -.widget_calendar #wp-calendar tfoot td { - background: #f4f4f4; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; -} - - -/* =Comments ------------------------------------------------ */ - -#comments-title { - color: #666; - font-size: 10px; - font-weight: 500; - line-height: 2.6em; - padding: 0 0 2.6em; - text-transform: uppercase; -} -.nopassword, -.nocomments { - color: #aaa; - font-size: 24px; - font-weight: 100; - margin: 26px 0; - text-align: center; -} -.commentlist { - list-style: none; - margin: 0 auto; - width: 68.9%; -} -.content .commentlist, -.page-template-sidebar-page-php .commentlist { - width: 100%; /* reset the width for the one-column and sidebar page layout */ -} -.commentlist > li.comment { - background: #f6f6f6; - border: 1px solid #ddd; - -moz-border-radius: 3px; - border-radius: 3px; - margin: 0 0 1.625em; - padding: 1.625em; - position: relative; -} -.commentlist .pingback { - margin: 0 0 1.625em; - padding: 0 1.625em; -} -.commentlist .children { - list-style: none; - margin: 0; -} -.commentlist .children li.comment { - background: #fff; - border-left: 1px solid #ddd; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; - margin: 1.625em 0 0; - padding: 1.625em; - position: relative; -} -.commentlist .children li.comment .fn { - display: block; -} -.comment-meta .fn { - font-style: normal; -} -.comment-meta { - color: #666; - font-size: 12px; - line-height: 2.2em; -} -.commentlist .children li.comment .comment-meta { - line-height: 1.625em; - margin-left: 50px; -} -.commentlist .children li.comment .comment-content { - margin: 1.625em 0 0; -} -.comment-meta a { - font-weight: bold; -} -.comment-meta a:focus, -.comment-meta a:active, -.comment-meta a:hover { -} -.commentlist .avatar { - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #ccc; - -moz-box-shadow: 0 1px 2px #ccc; - box-shadow: 0 1px 2px #ccc; - left: -102px; - padding: 0; - position: absolute; - top: 0; -} -.commentlist > li:before { - content: url(images/comment-arrow.png); - left: -21px; - position: absolute; -} -.commentlist > li.pingback:before { - content: ''; -} -.commentlist .children .avatar { - background: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - left: 2.2em; - padding: 0; - top: 2.2em; -} -a.comment-reply-link { - background: #eee; - -moz-border-radius: 3px; - border-radius: 3px; - color: #666; - display: inline-block; - font-size: 12px; - padding: 0 8px; - text-decoration: none; -} -a.comment-reply-link:hover, -a.comment-reply-link:focus, -a.comment-reply-link:active { - background: #888; - color: #fff; -} -a.comment-reply-link > span { - display: inline-block; - position: relative; - top: -1px; -} - -/* Post author highlighting */ -.commentlist > li.bypostauthor { - background: #ddd; - border-color: #d3d3d3; -} -.commentlist > li.bypostauthor .comment-meta { - color: #575757; -} -.commentlist > li.bypostauthor .comment-meta a:focus, -.commentlist > li.bypostauthor .comment-meta a:active, -.commentlist > li.bypostauthor .comment-meta a:hover { -} -.commentlist > li.bypostauthor:before { - content: url(images/comment-arrow-bypostauthor.png); -} - -/* Post Author threaded comments */ -.commentlist .children > li.bypostauthor { - background: #ddd; - border-color: #d3d3d3; -} - -/* sidebar-page.php comments */ -/* Make sure we have room for our comment avatars */ -.page-template-sidebar-page-php .commentlist > li.comment, -.page-template-sidebar-page-php.commentlist .pingback { - margin-left: 102px; - width: auto; -} -/* And a full-width comment form */ -.page-template-sidebar-page-php #respond { - width: auto; -} - -/* Comment Form */ -#respond { - background: #ddd; - border: 1px solid #d3d3d3; - -moz-border-radius: 3px; - border-radius: 3px; - margin: 0 auto 1.625em; - padding: 1.625em; - position: relative; - width: 68.9%; -} -#respond input[type="text"], -#respond textarea { - background: #fff; - border: 4px solid #eee; - -moz-border-radius: 5px; - border-radius: 5px; - -webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - -moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - position: relative; - padding: 10px; - text-indent: 80px; -} -#respond .comment-form-author, -#respond .comment-form-email, -#respond .comment-form-url, -#respond .comment-form-comment { - position: relative; -} -#respond .comment-form-author label, -#respond .comment-form-email label, -#respond .comment-form-url label, -#respond .comment-form-comment label { - background: #eee; - -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - color: #555; - display: inline-block; - font-size: 13px; - left: 4px; - min-width: 60px; - padding: 4px 10px; - position: relative; - top: 40px; - z-index: 1; -} -#respond input[type="text"]:focus, -#respond textarea:focus { - text-indent: 0; - z-index: 1; -} -#respond textarea { - resize: vertical; - width: 95%; -} -#respond .comment-form-author .required, -#respond .comment-form-email .required { - color: #bd3500; - font-size: 22px; - font-weight: bold; - left: 75%; - position: absolute; - top: 45px; - z-index: 1; -} -#respond .comment-notes, -#respond .logged-in-as { - font-size: 13px; -} -#respond p { - margin: 10px 0; -} -#respond .form-submit { - float: right; - margin: -20px 0 10px; -} -#respond input#submit { - background: #222; - border: none; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - color: #eee; - cursor: pointer; - font-size: 15px; - margin: 20px 0; - padding: 5px 42px 5px 22px; - position: relative; - left: 30px; - text-shadow: 0 -1px 0 rgba(0,0,0,0.3); -} -#respond input#submit:active { - background: #1982d1; - color: #bfddf3; -} -#respond #cancel-comment-reply-link { - color: #666; - margin-left: 10px; - text-decoration: none; -} -#respond .logged-in-as a:hover, -#respond #cancel-comment-reply-link:hover { - text-decoration: underline; -} -.commentlist #respond { - margin: 1.625em 0 0; - width: auto; -} -#reply-title { - color: #373737; - font-size: 24px; - font-weight: bold; - line-height: 30px; -} -#cancel-comment-reply-link { - color: #888; - display: block; - font-size: 10px; - font-weight: normal; - line-height: 2.2em; - letter-spacing: 0.05em; - position: absolute; - right: 1.625em; - text-decoration: none; - text-transform: uppercase; - top: 1.1em; -} -#cancel-comment-reply-link:focus, -#cancel-comment-reply-link:active, -#cancel-comment-reply-link:hover { - color: #ff4b33; -} -#respond label { - line-height: 2.2em; -} -#respond input[type=text] { - display: block; - height: 24px; - width: 75%; -} -#respond p { - font-size: 12px; -} -p.comment-form-comment { - margin: 0; -} -.form-allowed-tags { - display: none; -} - - -/* =Footer ------------------------------------------------ */ - -#colophon { - clear: both; -} -#supplementary { - border-top: 1px solid #ddd; - padding: 1.625em 7.6%; - overflow: hidden; -} - -/* Two Footer Widget Areas */ -#supplementary.two .widget-area { - float: left; - margin-right: 3.7%; - width: 48.1%; -} -#supplementary.two .widget-area + .widget-area { - margin-right: 0; -} - -/* Three Footer Widget Areas */ -#supplementary.three .widget-area { - float: left; - margin-right: 3.7%; - width: 30.85%; -} -#supplementary.three .widget-area + .widget-area + .widget-area { - margin-right: 0; -} - -/* Site Generator Line */ -#site-generator { - background: #f9f9f9; - border-top: 1px solid #ddd; - color: #666; - font-size: 12px; - line-height: 2.2em; - padding: 2.2em 0.5em; - text-align: center; -} -#site-generator a { - color: #555; - font-weight: bold; -} -#site-generator .sep { - background: url(images/wordpress.png) center left no-repeat; - color: transparent; - display: inline-block; - height: 16px; - line-height: 16px; - margin: 0 7px; - width: 16px; -} - - -/* =Responsive Structure ------------------------------------------------ */ - -@media (max-width: 800px) { - /* Simplify the basic layout */ - #main #content { - margin: 0 7.6%; - width: auto; - } - #nav-below { - border-bottom: 1px solid #ddd; - margin-bottom: 1.625em; - } - #main #secondary { - float: none; - margin: 0 7.6%; - width: auto; - } - /* Simplify the showcase template */ - .page-template-showcase-php .featured-posts { - min-height: 280px; - } - .featured-posts section.featured-post { - height: auto; - } - .page-template-showcase-php section.recent-posts { - float: none; - margin: 0; - width: 100%; - } - .page-template-showcase-php #main .widget-area { - float: none; - margin: 0; - width: auto; - } - .page-template-showcase-php .other-recent-posts { - border-bottom: 1px solid #ddd; - } - /* Simplify the showcase template when small feature */ - section.featured-post .attachment-small-feature, - .one-column section.featured-post .attachment-small-feature { - border: none; - display: block; - float: left; - height: auto; - margin: 0.625em auto 1.025em; - max-width: 30%; - position: static; - } - article.feature-image.small { - float: right; - margin: 0 0 1.625em; - width: 64%; - } - .one-column article.feature-image.small .entry-summary { - height: auto; - } - article.feature-image.small .entry-summary p a { - left: 0; - padding-left: 20px; - padding-right: 20px; - width: auto; - } - /* Remove the margin on singular articles */ - .singular .entry-header, - .singular .entry-content, - .singular footer.entry-meta, - .singular #comments-title { - width: 100%; - } - /* Simplify the pullquotes and pull styles */ - .singular blockquote.pull { - margin: 0 0 1.625em; - } - .singular .pull.alignleft { - margin: 0 1.625em 0 0; - } - .singular .pull.alignright { - margin: 0 0 0 1.625em; - } - .singular .entry-meta .edit-link a { - left: 0; - position: absolute; - top: 40px; - } - .singular #author-info { - margin: 2.2em -8.8% 0; - padding: 20px 8.8%; - } - /* Make sure we have room for our comment avatars */ - .commentlist { - width: 100%; - } - .commentlist > li.comment, - .commentlist .pingback { - margin-left: 102px; - width: auto; - } - /* And a full-width comment form */ - #respond { - width: auto; - } - /* No need to float footer widgets at this size */ - #colophon #supplementary .widget-area { - float: none; - margin-right: 0; - width: auto; - } - /* No need to float 404 widgets at this size */ - .error404 #main .widget { - float: none; - margin-right: 0; - width: auto; - } - /* Make sure embeds fit their containers */ - embed, - object { - max-width: 100%; - } - -} -@media (max-width: 650px) { - /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ - body, input, textarea { - font-size: 13px; - } - #site-title a { - font-size: 24px; - } - #site-description { - font-size: 12px; - } - #access ul { - font-size: 12px; - } - article.intro .entry-content { - font-size: 12px; - } - .entry-title { - font-size: 21px; - } - .featured-post .entry-title { - font-size: 14px; - } - .singular .entry-title { - font-size: 28px; - } - .entry-meta { - font-size: 12px; - } - blockquote { - margin: 0; - } - blockquote.pull { - font-size: 17px; - } - /* Reposition the site title and description slightly */ - #site-title { - padding: 5.30625em 0 0; - } - #site-title, - #site-description { - margin-right: 0; - } - /* Make sure the logo and search form don't collide */ - #branding #searchform { - top: 1.625em !important; - } - /* Floated content doesn't work well at this size */ - .alignleft, - .alignright { - float: none; - margin-left: 0; - margin-right: 0; - } - /* Make sure the post-post navigation doesn't collide with anything */ - #nav-single { - display: block; - position: static; - } - .singular .hentry { - padding: 1.625em 0 0; - } - .singular.page .hentry { - padding: 1.625em 0 0; - } - /* Talking avatars take up too much room at this size */ - .commentlist > li.comment, - .commentlist > li.pingback { - margin-left: 0 !important; - } - .commentlist .avatar { - background: transparent; - display: block; - padding: 0; - position: static; - } - .commentlist .children .avatar { - background: none; - left: 2.2em; - padding: 0; - position: absolute; - top: 2.2em; - } - /* Use the available space in the smaller comment form */ - #respond input[type="text"] { - width: 95%; - } - #respond .comment-form-author .required, - #respond .comment-form-email .required { - left: 95%; - } - #content .gallery-columns-3 .gallery-item { - width: 31%; - padding-right: 2%; - } - #content .gallery-columns-3 .gallery-item img { - width: 100%; - height: auto; - } - -} -@media (max-width: 450px) { - #content .gallery-columns-2 .gallery-item { - width: 45%; - padding-right: 4%; - } - #content .gallery-columns-2 .gallery-item img { - width: 100%; - height: auto; - } - -} -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { - body { - padding: 0; - } - #page { - margin-top: 0; - } - #branding { - border-top: none; - } - -} - - -/* =Print ------------------------------------------------ */ - -@media print { - body { - background: none !important; - font-size: 10pt; - } - footer.entry-meta a[rel=bookmark]:link:after, - footer.entry-meta a[rel=bookmark]:visited:after { - content: " [" attr(href) "] "; /* Show URLs */ - } - #page { - clear: both !important; - display: block !important; - float: none !important; - max-width: 100%; - position: relative !important; - } - #branding { - border-top: none !important; - padding: 0; - } - #branding hgroup { - margin: 0; - } - #site-title a { - font-size: 21pt; - } - #site-description { - font-size: 10pt; - } - #branding #searchform { - display: none; - } - #branding img { - display: none; - } - #access { - display: none; - } - #main { - border-top: none; - box-shadow: none; - } - #primary { - float: left; - margin: 0; - width: 100%; - } - #content { - margin: 0; - width: auto; - } - .singular #content { - margin: 0; - width: 100%; - } - .singular .entry-header .entry-meta { - position: static; - } - .entry-meta .edit-link a { - display: none; - } - #content nav { - display: none; - } - .singular .entry-header, - .singular .entry-content, - .singular footer.entry-meta, - .singular #comments-title { - margin: 0; - width: 100%; - } - .singular .hentry { - padding: 0; - } - .entry-title, - .singular .entry-title { - font-size: 21pt; - } - .entry-meta { - font-size: 10pt; - } - .entry-header .comments-link { - display: none; - } - .page-link { - display: none; - } - .singular #author-info { - background: none; - border-bottom: none; - border-top: none; - margin: 2.2em 0 0; - padding: 0; - } - #respond { - display: none; - } - .widget-area { - display: none; - } - #colophon { - display: none; - } - - /* Comments */ - .commentlist > li.comment { - background: none; - border: 1px solid #ddd; - -moz-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; - margin: 0 auto 1.625em; - padding: 1.625em; - position: relative; - width: auto; - } - .commentlist .avatar { - height: 39px; - left: 2.2em; - top: 2.2em; - width: 39px; - } - .commentlist li.comment .comment-meta { - line-height: 1.625em; - margin-left: 50px; - } - .commentlist li.comment .fn { - display: block; - } - .commentlist li.comment .comment-content { - margin: 1.625em 0 0; - } - .commentlist .comment-edit-link { - display: none; - } - .commentlist > li::before, - .commentlist > li.bypostauthor::before { - content: ''; - } - .commentlist .reply { - display: none; - } - - /* Post author highlighting */ - .commentlist > li.bypostauthor { - color: #444; - } - .commentlist > li.bypostauthor .comment-meta { - color: #666; - } - .commentlist > li.bypostauthor:before { - content: none; - } - - /* Post Author threaded comments */ - .commentlist .children > li.bypostauthor { - background: #fff; - border-color: #ddd; - } - .commentlist .children > li.bypostauthor > article, - .commentlist .children > li.bypostauthor > article .comment-meta { - color: #666; - } - -} - - -/* =IE7 ------------------------------------------------ */ - -#ie7 article.intro { - margin-left: -7.6%; - margin-right: -7.6%; - padding-left: -7.6%; - padding-right: -7.6%; - max-width: 1000px; -} -#ie7 section.featured-post { - margin-left: -7.6%; - margin-right: -7.6%; - max-width: 850px; -} -#ie7 section.recent-posts { - margin-right: 7.6%; -} diff --git a/spec/samples/wp_versions/3.2/readme.html b/spec/samples/wp_versions/3.2/readme.html deleted file mode 100755 index bc57c4ec..00000000 --- a/spec/samples/wp_versions/3.2/readme.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 3.2 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory and upload everything.
    2. -
    3. Open wp-admin/install.php in your browser. It will take you through the process to set up a wp-config.php file with your database connection details. -
        -
      1. If for some reason this doesn't work, don't worry. It doesn't work on all web hosts. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
      2. -
      3. Save the file as wp-config.php and upload it.
      4. -
      5. Open wp-admin/install.php in your browser.
      6. -
      -
    4. -
    5. Once the configuration file is set up, the installer will set up the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    6. -
    7. If you did not enter a password, note the password given to you. If you did not provide a username, it will be admin.
    8. -
    9. The installer should then send you to the login page. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on 'Profile' to change the password.
    10. -
    - -

    Updating

    -

    Using the Automatic Updater

    -

    If you are updating from version 2.7 or higher, you can use the automatic updater:

    -
      -
    1. Open the wp-admin/update-core.php in your browser and follow the instructions.
    2. -
    3. You wanted more, perhaps? That's it!
    4. -
    - -

    Updating Manually

    -
      -
    1. Before you update anything, make sure you have backup copies of any files you may have modified such as index.php.
    2. -
    3. Delete your old WordPress files, saving ones you've modified.
    4. -
    5. Upload the new files.
    6. -
    7. Point your browser to /wp-admin/upgrade.php.
    8. -
    - -

    Theme Template Changes

    -

    If you have customized your theme templates, you may have to make some changes across major versions.

    - -

    Migrating from other systems

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, before using our import tools.

    - -

    System Requirements

    -
      -
    • PHP version 5.2.4 or higher.
    • -
    • MySQL version 5.0 or higher.
    • -
    - -

    System Recommendations

    - - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The WordPress Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    XML-RPC and Atom Interface

    -

    You can post to your WordPress blog with tools like Windows Live Writer, Ecto, w.bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We introduced a very flexible roles system in version 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final Notes

    -
      -
    • If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this, see the plugin documentation in the Codex. You shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    License

    -

    WordPress is free software, and is released under the terms of the GPL version 2 or (at your option) any later version. See license.txt.

    - - - - diff --git a/spec/samples/wp_versions/3.2/wp-admin/gears-manifest.php b/spec/samples/wp_versions/3.2/wp-admin/gears-manifest.php deleted file mode 100644 index 6811fb34..00000000 --- a/spec/samples/wp_versions/3.2/wp-admin/gears-manifest.php +++ /dev/null @@ -1,72 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "4c4cab4ac02dd9b2bf8f0011808232cc", -"entries" : [ -{ "url" : "images/align-center.png", "ignoreQuery" : true } -{ "url" : "images/align-left.png", "ignoreQuery" : true } -{ "url" : "images/align-none.png", "ignoreQuery" : true } -{ "url" : "images/align-right.png", "ignoreQuery" : true } -{ "url" : "images/archive-link.png", "ignoreQuery" : true } -{ "url" : "images/blue-grad.png", "ignoreQuery" : true } -{ "url" : "images/bubble_bg.gif", "ignoreQuery" : true } -{ "url" : "images/bubble_bg-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/button-grad.png", "ignoreQuery" : true } -{ "url" : "images/button-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/comment-grey-bubble.png", "ignoreQuery" : true } -{ "url" : "images/date-button.gif", "ignoreQuery" : true } -{ "url" : "images/ed-bg.gif", "ignoreQuery" : true } -{ "url" : "images/fade-butt.png", "ignoreQuery" : true } -{ "url" : "images/fav.png", "ignoreQuery" : true } -{ "url" : "images/fav-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/fav-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/generic.png", "ignoreQuery" : true } -{ "url" : "images/gray-grad.png", "ignoreQuery" : true } -{ "url" : "images/icons32.png", "ignoreQuery" : true } -{ "url" : "images/icons32-vs.png", "ignoreQuery" : true } -{ "url" : "images/list.png", "ignoreQuery" : true } -{ "url" : "images/wpspin_light.gif", "ignoreQuery" : true } -{ "url" : "images/wpspin_dark.gif", "ignoreQuery" : true } -{ "url" : "images/logo.gif", "ignoreQuery" : true } -{ "url" : "images/logo-ghost.png", "ignoreQuery" : true } -{ "url" : "images/logo-login.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-image.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-music.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-other.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-video.gif", "ignoreQuery" : true } -{ "url" : "images/menu.png", "ignoreQuery" : true } -{ "url" : "images/menu-vs.png", "ignoreQuery" : true } -{ "url" : "images/menu-arrows.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/no.png", "ignoreQuery" : true } -{ "url" : "images/required.gif", "ignoreQuery" : true } -{ "url" : "images/resize.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right-up.gif", "ignoreQuery" : true } -{ "url" : "images/se.png", "ignoreQuery" : true } -{ "url" : "images/star.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/white-grad.png", "ignoreQuery" : true } -{ "url" : "images/white-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/wordpress-logo.png", "ignoreQuery" : true } -{ "url" : "images/wp-logo.png", "ignoreQuery" : true } -{ "url" : "images/xit.gif", "ignoreQuery" : true } -{ "url" : "images/yes.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/archive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/audio.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/code.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/default.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/document.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/interactive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/text.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/video.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/spreadsheet.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/rss.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/blank.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/upload.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/tb-close.png", "ignoreQuery" : true } -]} diff --git a/spec/samples/wp_versions/3.2/wp-content/themes/twentyeleven/style.css b/spec/samples/wp_versions/3.2/wp-content/themes/twentyeleven/style.css deleted file mode 100755 index 83f57c02..00000000 --- a/spec/samples/wp_versions/3.2/wp-content/themes/twentyeleven/style.css +++ /dev/null @@ -1,2669 +0,0 @@ -/* -Theme Name: Twenty Eleven -Theme URI: http://wordpress.org/extend/themes/twentyeleven -Author: the WordPress team -Author URI: http://wordpress.org/ -Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. -Version: 1.1 -License: GNU General Public License -License URI: license.txt -Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready -*/ - -/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html --------------------------------------------------------------- */ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, font, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td { - border: 0; - font-family: inherit; - font-size: 100%; - font-style: inherit; - font-weight: inherit; - margin: 0; - outline: 0; - padding: 0; - vertical-align: baseline; -} -:focus {/* remember to define focus styles! */ - outline: 0; -} -body { - background: #fff; - line-height: 1; -} -ol, ul { - list-style: none; -} -table {/* tables still need 'cellspacing="0"' in the markup */ - border-collapse: separate; - border-spacing: 0; -} -caption, th, td { - font-weight: normal; - text-align: left; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ""; -} -blockquote, q { - quotes: "" ""; -} -a img { - border: 0; -} -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} - - -/* =Structure ------------------------------------------------ */ - -body { - padding: 0 2em; -} -#page { - margin: 2em auto; - max-width: 1000px; -} -#branding hgroup { - margin: 0 7.6%; -} -#access div { - margin: 0 7.6%; -} -#primary { - float: left; - margin: 0 -26.4% 0 0; - width: 100%; -} -#content { - margin: 0 34% 0 7.6%; - width: 58.4%; -} -#secondary { - float: right; - margin-right: 7.6%; - width: 18.8%; -} - -/* Singular */ -.singular #primary { - margin: 0; -} -.singular #content, -.left-sidebar.singular #content { - margin: 0 7.6%; - position: relative; - width: auto; -} -.singular .entry-header, -.singular .entry-content, -.singular footer.entry-meta, -.singular #comments-title { - margin: 0 auto; - width: 68.9%; -} - -/* Attachments */ -.singular .image-attachment .entry-content { - margin: 0 auto; - width: auto; -} -.singular .image-attachment .entry-description { - margin: 0 auto; - width: 68.9%; -} - -/* Showcase */ -.page-template-showcase-php #primary, -.left-sidebar.page-template-showcase-php #primary { - margin: 0; -} -.page-template-showcase-php #content, -.left-sidebar.page-template-showcase-php #content { - margin: 0 7.6%; - width: auto; -} -.page-template-showcase-php section.recent-posts { - float: right; - margin: 0 0 0 31%; - width: 69%; -} -.page-template-showcase-php #main .widget-area { - float: left; - margin: 0 -22.15% 0 0; - width: 22.15%; -} - -/* error404 */ -.error404 #primary { - float: none; - margin: 0; -} -.error404 #primary #content { - margin: 0 7.6%; - width: auto; -} - -/* Alignment */ -.alignleft { - display: inline; - float: left; - margin-right: 1.625em; -} -.alignright { - display: inline; - float: right; - margin-left: 1.625em; -} -.aligncenter { - clear: both; - display: block; - margin-left: auto; - margin-right: auto; -} - -/* Right Content */ -.left-sidebar #primary { - float: right; - margin: 0 0 0 -26.4%; - width: 100%; -} -.left-sidebar #content { - margin: 0 7.6% 0 34%; - width: 58.4%; -} -.left-sidebar #secondary { - float: left; - margin-left: 7.6%; - margin-right: 0; - width: 18.8%; -} - -/* One column */ -.one-column #page { - max-width: 690px; -} -.one-column #content { - margin: 0 7.6%; - width: auto; -} -.one-column #nav-below { - border-bottom: 1px solid #ddd; - margin-bottom: 1.625em; -} -.one-column #secondary { - float: none; - margin: 0 7.6%; - width: auto; -} -/* Simplify the showcase template */ -.one-column .page-template-showcase-php section.recent-posts { - float: none; - margin: 0; - width: 100%; -} -.one-column .page-template-showcase-php #main .widget-area { - float: none; - margin: 0; - width: auto; -} -.one-column .page-template-showcase-php .other-recent-posts { - border-bottom: 1px solid #ddd; -} -/* Simplify the showcase template when small feature */ -.one-column section.featured-post .attachment-small-feature { - border: none; - display: block; - height: auto; - max-width: 60%; - position: static; -} -.one-column article.feature-image.small { - margin: 0 0 1.625em; - padding: 0; -} -.one-column article.feature-image.small .entry-title { - font-size: 20px; - line-height: 1.3em; -} -.one-column article.feature-image.small .entry-summary { - height: 150px; - overflow: hidden; - padding: 0; - text-overflow: ellipsis; -} -.one-column article.feature-image.small .entry-summary a { - left: -9%; -} -/* Remove the margin on singular articles */ -.one-column.singular .entry-header, -.one-column.singular .entry-content, -.one-column.singular footer.entry-meta, -.one-column.singular #comments-title { - width: 100%; -} -/* Simplify the pullquotes and pull styles */ -.one-column.singular blockquote.pull { - margin: 0 0 1.625em; -} -.one-column.singular .pull.alignleft { - margin: 0 1.625em 0 0; -} -.one-column.singular .pull.alignright { - margin: 0 0 0 1.625em; -} -.one-column.singular .entry-meta .edit-link a { - position: absolute; - left: 0; - top: 40px; -} -.one-column.singular #author-info { - margin: 2.2em -8.8% 0; - padding: 20px 8.8%; -} -/* Make sure we have room for our comment avatars */ -.one-column .commentlist > li.comment { - margin-left: 102px; - width: auto; -} -/* Make sure the logo and search form don't collide */ -.one-column #branding #searchform { - right: 40px; - top: 4em; -} -/* Talking avatars take up too much room at this size */ -.one-column .commentlist > li.comment { - margin-left: 0; -} -.one-column .commentlist > li.comment .comment-meta, -.one-column .commentlist > li.comment .comment-content { - margin-right: 85px; -} -.one-column .commentlist .avatar { - background: transparent; - display: block; - padding: 0; - top: 1.625em; - left: auto; - right: 1.625em; -} -.one-column .commentlist .children .avatar { - background: none; - padding: 0; - position: absolute; - top: 2.2em; - left: 2.2em; -} -.one-column #respond { - width: auto; -} - - -/* =Global ------------------------------------------------ */ - -body, input, textarea { - color: #373737; - font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 300; - line-height: 1.625; -} -body { - background: #e2e2e2; -} -#page { - background: #fff; -} - -/* Headings */ -h1,h2,h3,h4,h5,h6 { - clear: both; -} -hr { - background-color: #ccc; - border: 0; - height: 1px; - margin-bottom: 1.625em; -} - -/* Text elements */ -p { - margin-bottom: 1.625em; -} -ul, ol { - margin: 0 0 1.625em 2.5em; -} -ul { - list-style: square; -} -ol { - list-style-type: decimal; -} -ol ol { - list-style: upper-alpha; -} -ol ol ol { - list-style: lower-roman; -} -ol ol ol ol { - list-style: lower-alpha; -} -ul ul, ol ol, ul ol, ol ul { - margin-bottom: 0; -} -dl { - margin: 0 1.625em; -} -dt { - font-weight: bold; -} -dd { - margin-bottom: 1.625em; -} -strong { - font-weight: bold; -} -cite, em, i { - font-style: italic; -} -blockquote { - font-family: Georgia, "Bitstream Charter", serif; - font-style: italic; - font-weight: normal; - margin: 0 3em; -} -blockquote em, blockquote i, blockquote cite { - font-style: normal; -} -blockquote cite { - color: #666; - font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 300; - letter-spacing: 0.05em; - text-transform: uppercase; -} -pre { - background: #f4f4f4; - font: 13px "Courier 10 Pitch", Courier, monospace; - line-height: 1.5; - margin-bottom: 1.625em; - overflow: auto; - padding: 0.75em 1.625em; -} -code, kbd { - font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; -} -abbr, acronym, dfn { - border-bottom: 1px dotted #666; - cursor: help; -} -address { - display: block; - margin: 0 0 1.625em; -} -ins { - background: #fff9c0; - text-decoration: none; -} -sup, -sub { - font-size: 10px; - height: 0; - line-height: 1; - position: relative; - vertical-align: baseline; -} -sup { - bottom: 1ex; -} -sub { - top: .5ex; -} - -/* Forms */ -input[type=text], -input[type=password], -textarea { - background: #fafafa; - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - border: 1px solid #ddd; - color: #888; -} -input[type=text]:focus, -textarea:focus { - color: #373737; -} -textarea { - padding-left: 3px; - width: 98%; -} -input[type=text] { - padding: 3px; -} -input#s { - background: url(images/search.png) no-repeat 5px 6px; - -moz-border-radius: 2px; - border-radius: 2px; - font-size: 14px; - height: 22px; - line-height: 1.2em; - padding: 4px 10px 4px 28px; -} -input#searchsubmit { - display: none; -} - -/* Links */ -a { - color: #1982d1; - text-decoration: none; -} -a:focus, -a:active, -a:hover { - text-decoration: underline; -} - -/* Assistive text */ -.assistive-text { - position: absolute !important; - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); -} -#access a.assistive-text:active, -#access a.assistive-text:focus { - background: #eee; - border-bottom: 1px solid #ddd; - color: #1982d1; - clip: auto !important; - font-size: 12px; - position: absolute; - text-decoration: underline; - top: 0; - left: 7.6%; -} - - -/* =Header ------------------------------------------------ */ - -#branding { - border-top: 2px solid #bbb; - padding-bottom: 10px; - position: relative; - z-index: 2; -} -#site-title { - margin-right: 270px; - padding: 3.65625em 0 0; -} -#site-title a { - color: #111; - font-size: 30px; - font-weight: bold; - line-height: 36px; - text-decoration: none; -} -#site-title a:hover, -#site-title a:focus, -#site-title a:active { - color: #1982d1; -} -#site-description { - color: #7a7a7a; - font-size: 14px; - margin: 0 270px 3.65625em 0; -} -#branding img { - height: auto; - margin-bottom: -7px; - width: 100%; -} - - -/* =Menu --------------------------------------------------------------- */ - -#access { - background: #222; /* Show a solid color for older browsers */ - background: -moz-linear-gradient(#252525, #0a0a0a); - background: -o-linear-gradient(#252525, #0a0a0a); - background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */ - background: -webkit-linear-gradient(#252525, #0a0a0a); - -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - clear: both; - display: block; - float: left; - margin: 0 auto 6px; - width: 100%; -} -#access ul { - font-size: 13px; - list-style: none; - margin: 0 0 0 -0.8125em; - padding-left: 0; -} -#access li { - float: left; - position: relative; -} -#access a { - color: #eee; - display: block; - line-height: 3.333em; - padding: 0 1.2125em; - text-decoration: none; -} -#access ul ul { - -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); - box-shadow: 0 3px 3px rgba(0,0,0,0.2); - display: none; - float: left; - margin: 0; - position: absolute; - top: 3.333em; - left: 0; - width: 188px; - z-index: 99999; -} -#access ul ul ul { - left: 100%; - top: 0; -} -#access ul ul a { - background: #f9f9f9; - border-bottom: 1px dotted #ddd; - color: #444; - font-size: 13px; - font-weight: normal; - height: auto; - line-height: 1.4em; - padding: 10px 10px; - width: 168px; -} -#access li:hover > a, -#access ul ul :hover > a, -#access a:focus { - background: #efefef; -} -#access li:hover > a, -#access a:focus { - background: #f9f9f9; /* Show a solid color for older browsers */ - background: -moz-linear-gradient(#f9f9f9, #e5e5e5); - background: -o-linear-gradient(#f9f9f9, #e5e5e5); - background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */ - background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); - color: #373737; -} -#access ul li:hover > ul { - display: block; -} -#access .current_page_item > a, -#access .current_page_ancestor > a { - font-weight: bold; -} - -/* Search Form */ -#branding #searchform { - position: absolute; - top: 3.8em; - right: 7.6%; - text-align: right; -} -#branding #searchform div { - margin: 0; -} -#branding #s { - float: right; - -webkit-transition-duration: 400ms; - -webkit-transition-property: width, background; - -webkit-transition-timing-function: ease; - -moz-transition-duration: 400ms; - -moz-transition-property: width, background; - -moz-transition-timing-function: ease; - -o-transition-duration: 400ms; - -o-transition-property: width, background; - -o-transition-timing-function: ease; - width: 72px; -} -#branding #s:focus { - background-color: #f9f9f9; - width: 196px; -} -#branding #searchsubmit { - display: none; -} -#branding .only-search #searchform { - top: 5px; - z-index: 1; -} -#branding .only-search #s { - background-color: #666; - border-color: #000; - color: #222; -} -#branding .only-search #s, -#branding .only-search #s:focus { - width: 85%; -} -#branding .only-search #s:focus { - background-color: #bbb; -} -#branding .with-image #searchform { - top: auto; - bottom: -27px; -} -#branding .only-search + #access div { - padding-right: 205px; -} - - -/* =Content ------------------------------------------------ */ - -#main { - clear: both; - padding: 1.625em 0 0; -} -.page-title { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - margin: 0 0 2.6em; - text-transform: uppercase; -} -.page-title a { - font-size: 12px; - font-weight: bold; - letter-spacing: 0; - text-transform: none; -} -.hentry, -.no-results { - border-bottom: 1px solid #ddd; - margin: 0 0 1.625em; - padding: 0 0 1.625em; - position: relative; -} -.hentry:last-child, -.no-results { - border-bottom: none; -} -.blog .sticky .entry-header .entry-meta { - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); - position: absolute !important; -} -.entry-title, -.entry-header .entry-meta { - padding-right: 76px; -} -.entry-title { - clear: both; - color: #222; - font-size: 26px; - font-weight: bold; - line-height: 1.5em; - padding-bottom: .3em; - padding-top: 15px; -} -.entry-title, -.entry-title a { - color: #222; - text-decoration: none; -} -.entry-title a:hover, -.entry-title a:focus, -.entry-title a:active { - color: #1982d1; -} -.entry-meta { - color: #666; - clear: both; - font-size: 12px; - line-height: 18px; -} -.entry-meta a { - font-weight: bold; -} -.single-author .entry-meta .by-author { - display: none; -} -.entry-content, -.entry-summary { - padding: 1.625em 0 0; -} -.entry-content h1, -.entry-content h2, -.comment-content h1, -.comment-content h2 { - color: #000; - font-weight: bold; - margin: 0 0 .8125em; -} -.entry-content h3, -.comment-content h3 { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.entry-content table, -.comment-content table { - border-bottom: 1px solid #ddd; - margin: 0 0 1.625em; - width: 100%; -} -.entry-content th, -.comment-content th { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.entry-content td, -.comment-content td { - border-top: 1px solid #ddd; - padding: 6px 10px 6px 0; -} -.entry-content #s { - width: 75%; -} -.comment-content ul, -.comment-content ol { - margin-bottom: 1.625em; -} -.comment-content ul ul, -.comment-content ol ol, -.comment-content ul ol, -.comment-content ol ul { - margin-bottom: 0; -} -dl.gallery-item { - margin: 0; -} -.page-link { - clear: both; - display: block; - margin: 0 0 1.625em; -} -.page-link a { - background: #eee; - color: #373737; - margin: 0; - padding: 2px 3px; - text-decoration: none; -} -.page-link a:hover { - background: #888; - color: #fff; - font-weight: bold; -} -.page-link span { - margin-right: 6px; -} -.entry-meta .edit-link a, -.commentlist .edit-link a { - background: #eee; - -moz-border-radius: 3px; - border-radius: 3px; - color: #666; - float: right; - font-size: 12px; - line-height: 1.5em; - font-weight: 300; - text-decoration: none; - padding: 0 8px; -} -.entry-meta .edit-link a:hover, -.commentlist .edit-link a:hover { - background: #888; - color: #fff; -} -.entry-content .edit-link { - clear: both; - display: block; -} - -/* Images */ -.entry-content img, -.comment-content img, -.widget img { - max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ -} -img[class*="align"], -img[class*="wp-image-"] { - height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ -} -img.size-full { - max-width: 97.5%; - width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ -} -.entry-content img.wp-smiley { - border: none; - margin-bottom: 0; - margin-top: 0; - padding: 0; -} -img.alignleft, -img.alignright, -img.aligncenter { - margin-bottom: 1.625em; -} -p img, -.wp-caption { - margin-top: 0.4em; -} -.wp-caption { - background: #eee; - margin-bottom: 1.625em; - max-width: 96%; - padding: 9px; -} -.wp-caption img { - display: block; - margin: 0 auto; - max-width: 98%; -} -.wp-caption .wp-caption-text, -.gallery-caption { - color: #666; - font-family: Georgia, serif; - font-size: 12px; -} -.wp-caption .wp-caption-text { - margin-bottom: 0.6em; - padding: 10px 0 5px 40px; - position: relative; -} -.wp-caption .wp-caption-text:before { - color: #666; - content: '\2014'; - font-size: 14px; - font-style: normal; - font-weight: bold; - margin-right: 5px; - position: absolute; - left: 10px; - top: 7px; -} -#content .gallery { - margin: 0 auto 1.625em; -} -#content .gallery a img { - border: none; -} -img#wpstats { - display: block; - margin: 0 auto 1.625em; -} -#content .gallery-columns-4 .gallery-item { - width: 23%; - padding-right: 2%; -} -#content .gallery-columns-4 .gallery-item img { - width: 100%; - height: auto; -} - -/* Image borders */ -img[class*="align"], -img[class*="wp-image-"], -#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ - border: 1px solid #ddd; - padding: 6px; -} -.wp-caption img { - border-color: #eee; -} -a:focus img[class*="align"], -a:hover img[class*="align"], -a:active img[class*="align"], -a:focus img[class*="wp-image-"], -a:hover img[class*="wp-image-"], -a:active img[class*="wp-image-"], -#content .gallery .gallery-icon a:focus img, -#content .gallery .gallery-icon a:hover img, -#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */ - background: #eee; - border-color: #bbb; -} -.wp-caption a:focus img, -.wp-caption a:active img, -.wp-caption a:hover img {/* ... including captioned images! */ - background: #fff; - border-color: #ddd; -} - -/* Password Protected Posts */ -.post-password-required .entry-header .comments-link { - margin: 1.625em 0 0; -} -.post-password-required input[type=password] { - margin: 0.8125em 0; -} -.post-password-required input[type=password]:focus { - background: #f7f7f7; -} - -/* Author Info */ -#author-info { - font-size: 12px; - overflow: hidden; -} -.singular #author-info { - background: #f9f9f9; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - margin: 2.2em -35.6% 0 -35.4%; - padding: 20px 35.4%; -} -.archive #author-info { - border-bottom: 1px solid #ddd; - margin: 0 0 2.2em; - padding: 0 0 2.2em; -} -#author-avatar { - float: left; - margin-right: -78px; -} -#author-avatar img { - background: #fff; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #bbb; - -moz-box-shadow: 0 1px 2px #bbb; - box-shadow: 0 1px 2px #bbb; - padding: 3px; -} -#author-description { - float: left; - margin-left: 108px; -} -#author-description h2 { - color: #000; - font-size: 15px; - font-weight: bold; - margin: 5px 0 10px; -} - -/* Comments link */ -.entry-header .comments-link a { - background: #eee url(images/comment-bubble.png) no-repeat; - color: #666; - font-size: 13px; - font-weight: normal; - line-height: 35px; - overflow: hidden; - padding: 0 0 0; - position: absolute; - top: 1.5em; - right: 0; - text-align: center; - text-decoration: none; - width: 43px; - height: 36px; -} -.entry-header .comments-link a:hover, -.entry-header .comments-link a:focus, -.entry-header .comments-link a:active { - background-color: #1982d1; - color: #fff; - color: rgba(255,255,255,0.8); -} -.entry-header .comments-link .leave-reply { - visibility: hidden; -} - -/* -Post Formats Headings -To hide the headings, display: none the ".entry-header .entry-format" selector, -and remove the padding rules below. -*/ -.entry-header .entry-format { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - position: absolute; - text-transform: uppercase; - top: -5px; -} -.entry-header hgroup .entry-title { - padding-top: 15px; -} -article.format-aside .entry-content, -article.format-link .entry-content, -article.format-status .entry-content { - padding: 20px 0 0; -} -.recent-posts .entry-header .entry-format { - display: none; -} -.recent-posts .entry-header hgroup .entry-title { - padding-top: 0; -} - -/* Singular content styles for Posts and Pages */ -.singular .hentry { - border-bottom: none; - padding: 4.875em 0 0; - position: relative; -} -.singular.page .hentry { - padding: 3.5em 0 0; -} -.singular .entry-title { - color: #000; - font-size: 36px; - font-weight: bold; - line-height: 48px; -} -.singular .entry-title, -.singular .entry-header .entry-meta { - padding-right: 0; -} -.singular .entry-header .entry-meta { - position: absolute; - top: 0; - left: 0; -} -blockquote.pull { - font-size: 21px; - font-weight: bold; - line-height: 1.6125em; - margin: 0 0 1.625em; - text-align: center; -} -.singular blockquote.pull { - margin: 0 -22.25% 1.625em; -} -.pull.alignleft { - margin: 0 1.625em 0 0; - text-align: right; - width: 33%; -} -.singular .pull.alignleft { - margin: 0 1.625em 0 -22.25%; -} -.pull.alignright { - margin: 0 0 0 1.625em; - text-align: left; - width: 33%; -} -.singular .pull.alignright { - margin: 0 -22.25% 0 1.625em; -} -.singular blockquote.pull.alignleft, -.singular blockquote.pull.alignright { - width: 33%; -} -.singular .entry-meta .edit-link a { - bottom: auto; - left: 50px; - position: absolute; - right: auto; - top: 80px; -} - - -/* =Aside ------------------------------------------------ */ - -.format-aside .entry-title, -.format-aside .entry-header .comments-link { - display: none; -} -.singular .format-aside .entry-title { - display: block; -} -.format-aside .entry-content { - padding: 0; -} -.singular .format-aside .entry-content { - padding: 1.625em 0 0; -} - - -/* =Link ------------------------------------------------ */ - -.format-link .entry-title, -.format-link .entry-header .comments-link { - display: none; -} -.singular .format-link .entry-title { - display: block; -} -.format-link .entry-content { - padding: 0; -} -.singular .format-link .entry-content { - padding: 1.625em 0 0; -} - - -/* =Gallery ------------------------------------------------ */ - -.format-gallery .gallery-thumb { - float: left; - display: block; - margin: .375em 1.625em 0 0; -} - - -/* =Status ------------------------------------------------ */ - -.format-status .entry-title, -.format-status .entry-header .comments-link { - display: none; -} -.singular .format-status .entry-title { - display: block; -} -.format-status .entry-content { - padding: 0; -} -.singular .format-status .entry-content { - padding: 1.625em 0 0; -} -.format-status img.avatar { - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #ccc; - -moz-box-shadow: 0 1px 2px #ccc; - box-shadow: 0 1px 2px #ccc; - float: left; - margin: 4px 10px 2px 0; - padding: 0; -} - - -/* =Quote ------------------------------------------------ */ - -.format-quote blockquote { - color: #555; - font-size: 17px; - margin: 0; -} - - -/* =Image ------------------------------------------------ */ - -.indexed.format-image .entry-header { - min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */ -} -.indexed.format-image .entry-content { - padding-top: 0.5em; -} -.indexed.format-image p, -.indexed.format-image p img { - margin-bottom: 0; -} -.indexed.format-image footer.entry-meta { - background: #ddd; - margin-top: -7px; - padding: 20px 30px; - overflow: hidden; -} -.indexed.format-image div.entry-meta { - display: inline-block; - float: left; - width: 35%; -} -.indexed.format-image div.entry-meta + div.entry-meta { - float: none; - width: 65%; -} -.indexed.format-image .entry-meta span.cat-links, -.indexed.format-image .entry-meta span.tag-links, -.indexed.format-image .entry-meta span.comments-link { - display: block; -} -.indexed.format-image footer.entry-meta a { - color: #444; -} -.indexed.format-image footer.entry-meta a:hover { - color: #fff; -} -#content .indexed.format-image img { - border: none; - max-width: 100%; - padding: 0; -} -.indexed.format-image .wp-caption { - background: #111; - margin-bottom: 0; - max-width: 96%; - padding: 11px; -} -.indexed.format-image .wp-caption .wp-caption-text { - color: #ddd; -} -.indexed.format-image .wp-caption .wp-caption-text:before { - color: #444; -} -.indexed.format-image a:hover img { - opacity: 0.8; -} - - -/* =error404 ------------------------------------------------ */ - -.error404 #main #searchform { - background: #f9f9f9; - border: 1px solid #ddd; - border-width: 1px 0; - margin: 0 -8.9% 1.625em; - overflow: hidden; - padding: 1.625em 8.9%; -} -.error404 #main #s { - width: 95%; -} -.error404 #main .widget { - clear: none; - float: left; - margin-right: 3.7%; - width: 30.85%; -} -.error404 #main .widget_archive { - margin-right: 0; -} -.error404 #main .widget_tag_cloud { - float: none; - margin-right: 0; - width: 100%; -} -.error404 .widgettitle { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} - - -/* =Showcase ------------------------------------------------ */ - -h1.showcase-heading { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} - -/* Intro */ -article.intro { - background: #f9f9f9; - border-bottom: none; - margin: -1.855em -8.9% 1.625em; - padding: 0 8.9%; -} -article.intro .entry-title { - display: none; -} -article.intro .entry-content { - color: #111; - font-size: 16px; - padding: 1.625em 0 0.625em; -} -article.intro .edit-link a { - background: #aaa; - -moz-border-radius: 3px; - border-radius: 3px; - color: #fff; - font-size: 12px; - padding: 0 8px; - position: absolute; - top: 30px; - right: 20px; - text-decoration: none; -} -article.intro .edit-link a:hover, -article.intro .edit-link a:focus, -article.intro .edit-link a:active { - background: #777; -} - -/* Featured post */ -section.featured-post { - float: left; - margin: -1.625em -8.9% 1.625em; - padding: 1.625em 8.9% 0; - position: relative; - width: 100%; -} -section.featured-post .hentry { - border: none; - color: #666; - margin: 0; -} -section.featured-post .entry-meta { - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); - position: absolute !important; -} - -/* Small featured post */ -section.featured-post .attachment-small-feature { - float: right; - height: auto; - margin: 0 -8.9% 1.625em 0; - max-width: 59%; - position: relative; - right: -15px; -} -section.featured-post.small { - padding-top: 0; -} -section.featured-post .attachment-small-feature:hover, -section.featured-post .attachment-small-feature:focus, -section.featured-post .attachment-small-feature:active { - opacity: .8; -} -article.feature-image.small { - float: left; - margin: 0 0 1.625em; - width: 45%; -} -article.feature-image.small .entry-title { - line-height: 1.2em; -} -article.feature-image.small .entry-summary { - color: #555; - font-size: 13px; -} -article.feature-image.small .entry-summary p a { - background: #222; - color: #eee; - display: block; - left: -23.8%; - padding: 9px 26px 9px 85px; - position: relative; - text-decoration: none; - top: 20px; - width: 180px; - z-index: 1; -} -article.feature-image.small .entry-summary p a:hover { - background: #1982d1; - color: #eee; - color: rgba(255,255,255,0.8); -} - -/* Large featured post */ -section.feature-image.large { - border: none; - max-height: 288px; - padding: 0; - width: 100%; -} -section.feature-image.large .showcase-heading { - display: none; -} -section.feature-image.large .hentry { - border-bottom: none; - left: 9%; - margin: 1.625em 9% 0 0; - position: absolute; - top: 0; -} -article.feature-image.large .entry-title a { - background: #222; - background: rgba(0,0,0,0.8); - -moz-border-radius: 3px; - border-radius: 3px; - color: #fff; - display: inline-block; - font-weight: 300; - padding: .2em 20px; -} -section.feature-image.large:hover .entry-title a, -section.feature-image.large .entry-title:hover a { - background: #eee; - background: rgba(255,255,255,0.8); - color: #222; -} -article.feature-image.large .entry-summary { - display: none; -} -section.feature-image.large img { - display: block; - height: auto; - max-width: 117.9%; - padding: 0 0 6px; -} - -/* Featured Slider */ -.featured-posts { - border-bottom: 1px solid #ddd; - display: block; - height: 328px; - margin: 1.625em -8.9% 20px; - max-width: 1000px; - padding: 0; - position: relative; - overflow: hidden; -} -.featured-posts .showcase-heading { - padding-left: 8.9%; -} -.featured-posts section.featured-post { - background: #fff; - height: 288px; - left: 0; - margin: 0; - position: absolute; - top: 30px; - width: auto; -} -.featured-posts section.featured-post.large { - max-width: 100%; - overflow: hidden; -} -.featured-posts section.featured-post { - -webkit-transition-duration: 200ms; - -webkit-transition-property: opacity, visibility; - -webkit-transition-timing-function: ease; - -moz-transition-duration: 200ms; - -moz-transition-property: opacity, visibility; - -moz-transition-timing-function: ease; -} -.featured-posts section.featured-post { - opacity: 0; - visibility: hidden; -} -.featured-posts #featured-post-1 { - opacity: 1; - visibility: visible; -} -.featured-post .feature-text:after, -.featured-post .feature-image.small:after { - content: ' '; - background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera11.10+ */ - background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */ - background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */ - width: 100%; - height: 45px; - position: absolute; - top: 230px; -} -.featured-post .feature-image.small:after { - top: 253px; -} -#content .feature-slider { - top: 5px; - right: 8.9%; - overflow: visible; - position: absolute; -} -.feature-slider ul { - list-style-type: none; - margin: 0; -} -.feature-slider li { - float: left; - margin: 0 6px; -} -.feature-slider a { - background: #3c3c3c; - background: rgba(60,60,60,0.9); - -moz-border-radius: 12px; - border-radius: 12px; - -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - display: block; - width: 14px; - height: 14px; -} -.feature-slider a.active { - background: #1982d1; - -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - cursor: default; - opacity: 0.5; -} - -/* Recent Posts */ -section.recent-posts { - padding: 0 0 1.625em; -} -section.recent-posts .hentry { - border: none; - margin: 0; -} -section.recent-posts .other-recent-posts { - border-bottom: 1px solid #ddd; - list-style: none; - margin: 0; -} -section.recent-posts .other-recent-posts li { - padding: 0.3125em 0; - position: relative; -} -section.recent-posts .other-recent-posts .entry-title { - border-top: 1px solid #ddd; - font-size: 17px; -} -section.recent-posts .other-recent-posts a[rel="bookmark"] { - color: #373737; - float: left; - max-width: 84%; -} -section.recent-posts .other-recent-posts a[rel="bookmark"]:after { - content: '-'; - color: transparent; - font-size: 11px; -} -section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { -} -section.recent-posts .other-recent-posts .comments-link a, -section.recent-posts .other-recent-posts .comments-link > span { - border-bottom: 2px solid #999; - bottom: -2px; - color: #444; - display: block; - font-size: 10px; - font-weight: 500; - line-height: 2.76333em; - padding: 0.3125em 0 0.3125em 1em; - position: absolute; - right: 0; - text-align: right; - text-transform: uppercase; - z-index: 1; -} -section.recent-posts .other-recent-posts .comments-link > span { - border-color: #bbb; - color: #888; -} -section.recent-posts .other-recent-posts .comments-link a:hover { - color: #1982d1; - border-color: #1982d1; -} -section.recent-posts .other-recent-posts li:after { - clear: both; - content: '.'; - display: block; - height: 0; - visibility: hidden; -} - - -/* =Attachments ------------------------------------------------ */ - -.image-attachment div.attachment { - background: #f9f9f9; - border: 1px solid #ddd; - border-width: 1px 0; - margin: 0 -8.9% 1.625em; - overflow: hidden; - padding: 1.625em 1.625em 0; - text-align: center; -} -.image-attachment div.attachment img { - display: block; - height: auto; - margin: 0 auto 1.625em; - max-width: 100%; -} -.image-attachment div.attachment a img { - border-color: #f9f9f9; -} -.image-attachment div.attachment a:focus img, -.image-attachment div.attachment a:hover img, -.image-attachment div.attachment a:active img { - border-color: #ddd; - background: #fff; -} -.image-attachment .entry-caption p { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - margin: 0 0 2.6em; - text-transform: uppercase; -} - - -/* =Navigation --------------------------------------------------------------- */ - -#content nav { - clear: both; - overflow: hidden; - padding: 0 0 1.625em; -} -#content nav a { - font-size: 12px; - font-weight: bold; - line-height: 2.2em; -} -#nav-above { - padding: 0 0 1.625em; -} -#nav-above { - display: none; -} -.paged #nav-above { - display: block; -} -.nav-previous { - float: left; - width: 50%; -} -.nav-next { - float: right; - text-align: right; - width: 50%; -} -#content nav .meta-nav { - font-weight: normal; -} - -/* Singular navigation */ -#nav-single { - float: right; - position: relative; - top: -0.3em; - text-align: right; - width: 100%; - z-index: 1; -} -#nav-single .nav-previous, -#nav-single .nav-next { - float: none; - width: auto; -} -#nav-single .nav-next { - padding-left: .5em; -} - - -/* =Widgets ------------------------------------------------ */ - -.widget-area { - font-size: 12px; -} -.widget { - clear: both; - margin: 0 0 2.2em; -} -.widget-title { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.widget ul { - font-size: 15px; - margin: 0; -} -.widget ul ul { - margin-left: 1.5em; -} -.widget ul li { - color: #777; - font-size: 13px; -} -.widget a { - font-weight: bold; - text-decoration: none; -} -.widget a:hover, -.widget a:focus, -.widget a:active { - text-decoration: underline; -} - -/* Search Widget */ -.widget_search form { - margin: 0 0 1.625em; -} -.widget_search #s { - width: 77%; -} -.widget_search #searchsubmit { - background: #ddd; - border: 1px solid #ccc; - -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - color: #888; - font-size: 13px; - line-height: 25px; - position: relative; - top: -2px; -} -.widget_search #searchsubmit:active { - background: #1982d1; - border-color: #0861a5; - -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - color: #bfddf3; -} - -/* Ephemera Widget */ -section.ephemera ol, -.widget_twentyeleven_ephemera ol { - list-style: square; - margin: 5px 0 0; -} -.widget_twentyeleven_ephemera .widget-entry-title { - font-size: 15px; - font-weight: bold; - padding: 0; -} -.widget_twentyeleven_ephemera .comments-link a, -.widget_twentyeleven_ephemera .comments-link > span { - color: #666; - display: block; - font-size: 10px; - font-weight: 500; - line-height: 2.76333em; - text-transform: uppercase; -} -section.ephemera .entry-title .comments-link a:hover, -.widget_twentyeleven_ephemera .entry-title .comments-link a:hover { -} -section.ephemera .entry-title a span { - color: #29628d; -} - -/* Twitter */ -.widget_twitter li { - list-style-type: none; - margin-bottom: 14px; -} -.widget_twitter .timesince { - display: block; - font-size: 11px; - margin-right: -10px; - text-align: right; -} - -/* Widget Image */ -.widget_image img { - height: auto; - max-width: 100%; -} - -/* Calendar Widget */ - -.widget_calendar #wp-calendar { - color: #555; - width: 95%; - text-align: center; -} -.widget_calendar #wp-calendar caption, -.widget_calendar #wp-calendar td, -.widget_calendar #wp-calendar th { - text-align: center; -} -.widget_calendar #wp-calendar caption { - font-size: 11px; - font-weight: 500; - padding: 5px 0 3px 0; - text-transform: uppercase; -} -.widget_calendar #wp-calendar th { - background: #f4f4f4; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; - font-weight: bold; -} -.widget_calendar #wp-calendar tfoot td { - background: #f4f4f4; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; -} - - -/* =Comments ------------------------------------------------ */ - -#comments-title { - color: #666; - font-size: 10px; - font-weight: 500; - line-height: 2.6em; - padding: 0 0 2.6em; - text-transform: uppercase; -} -.nopassword, -.nocomments { - color: #aaa; - font-size: 24px; - font-weight: 100; - margin: 26px 0; - text-align: center; -} -.commentlist { - list-style: none; - margin: 0 auto; - width: 68.9%; -} -.content .commentlist, -.page-template-sidebar-page-php .commentlist { - width: 100%; /* reset the width for the one-column and sidebar page layout */ -} -.commentlist > li.comment { - background: #f6f6f6; - border: 1px solid #ddd; - -moz-border-radius: 3px; - border-radius: 3px; - margin: 0 0 1.625em; - padding: 1.625em; - position: relative; -} -.commentlist .pingback { - margin: 0 0 1.625em; - padding: 0 1.625em; -} -.commentlist .children { - list-style: none; - margin: 0; -} -.commentlist .children li.comment { - background: #fff; - border-left: 1px solid #ddd; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; - margin: 1.625em 0 0; - padding: 1.625em; - position: relative; -} -.commentlist .children li.comment .fn { - display: block; -} -.comment-meta .fn { - font-style: normal; -} -.comment-meta { - color: #666; - font-size: 12px; - line-height: 2.2em; -} -.commentlist .children li.comment .comment-meta { - line-height: 1.625em; - margin-left: 50px; -} -.commentlist .children li.comment .comment-content { - margin: 1.625em 0 0; -} -.comment-meta a { - font-weight: bold; -} -.comment-meta a:focus, -.comment-meta a:active, -.comment-meta a:hover { -} -.commentlist .avatar { - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #ccc; - -moz-box-shadow: 0 1px 2px #ccc; - box-shadow: 0 1px 2px #ccc; - left: -102px; - padding: 0; - position: absolute; - top: 0; -} -.commentlist > li:before { - content: url(images/comment-arrow.png); - left: -21px; - position: absolute; -} -.commentlist > li.pingback:before { - content: ''; -} -.commentlist .children .avatar { - background: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - left: 2.2em; - padding: 0; - top: 2.2em; -} -a.comment-reply-link { - background: #eee; - -moz-border-radius: 3px; - border-radius: 3px; - color: #666; - display: inline-block; - font-size: 12px; - padding: 0 8px; - text-decoration: none; -} -a.comment-reply-link:hover, -a.comment-reply-link:focus, -a.comment-reply-link:active { - background: #888; - color: #fff; -} -a.comment-reply-link > span { - display: inline-block; - position: relative; - top: -1px; -} - -/* Post author highlighting */ -.commentlist > li.bypostauthor { - background: #ddd; - border-color: #d3d3d3; -} -.commentlist > li.bypostauthor .comment-meta { - color: #575757; -} -.commentlist > li.bypostauthor .comment-meta a:focus, -.commentlist > li.bypostauthor .comment-meta a:active, -.commentlist > li.bypostauthor .comment-meta a:hover { -} -.commentlist > li.bypostauthor:before { - content: url(images/comment-arrow-bypostauthor.png); -} - -/* Post Author threaded comments */ -.commentlist .children > li.bypostauthor { - background: #ddd; - border-color: #d3d3d3; -} - -/* sidebar-page.php comments */ -/* Make sure we have room for our comment avatars */ -.page-template-sidebar-page-php .commentlist > li.comment, -.page-template-sidebar-page-php.commentlist .pingback { - margin-left: 102px; - width: auto; -} -/* And a full-width comment form */ -.page-template-sidebar-page-php #respond { - width: auto; -} - -/* Comment Form */ -#respond { - background: #ddd; - border: 1px solid #d3d3d3; - -moz-border-radius: 3px; - border-radius: 3px; - margin: 0 auto 1.625em; - padding: 1.625em; - position: relative; - width: 68.9%; -} -#respond input[type="text"], -#respond textarea { - background: #fff; - border: 4px solid #eee; - -moz-border-radius: 5px; - border-radius: 5px; - -webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - -moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - position: relative; - padding: 10px; - text-indent: 80px; -} -#respond .comment-form-author, -#respond .comment-form-email, -#respond .comment-form-url, -#respond .comment-form-comment { - position: relative; -} -#respond .comment-form-author label, -#respond .comment-form-email label, -#respond .comment-form-url label, -#respond .comment-form-comment label { - background: #eee; - -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - color: #555; - display: inline-block; - font-size: 13px; - left: 4px; - min-width: 60px; - padding: 4px 10px; - position: relative; - top: 40px; - z-index: 1; -} -#respond input[type="text"]:focus, -#respond textarea:focus { - text-indent: 0; - z-index: 1; -} -#respond textarea { - resize: vertical; - width: 95%; -} -#respond .comment-form-author .required, -#respond .comment-form-email .required { - color: #bd3500; - font-size: 22px; - font-weight: bold; - left: 75%; - position: absolute; - top: 45px; - z-index: 1; -} -#respond .comment-notes, -#respond .logged-in-as { - font-size: 13px; -} -#respond p { - margin: 10px 0; -} -#respond .form-submit { - float: right; - margin: -20px 0 10px; -} -#respond input#submit { - background: #222; - border: none; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - color: #eee; - cursor: pointer; - font-size: 15px; - margin: 20px 0; - padding: 5px 42px 5px 22px; - position: relative; - left: 30px; - text-shadow: 0 -1px 0 rgba(0,0,0,0.3); -} -#respond input#submit:active { - background: #1982d1; - color: #bfddf3; -} -#respond #cancel-comment-reply-link { - color: #666; - margin-left: 10px; - text-decoration: none; -} -#respond .logged-in-as a:hover, -#respond #cancel-comment-reply-link:hover { - text-decoration: underline; -} -.commentlist #respond { - margin: 1.625em 0 0; - width: auto; -} -#reply-title { - color: #373737; - font-size: 24px; - font-weight: bold; - line-height: 30px; -} -#cancel-comment-reply-link { - color: #888; - display: block; - font-size: 10px; - font-weight: normal; - line-height: 2.2em; - letter-spacing: 0.05em; - position: absolute; - right: 1.625em; - text-decoration: none; - text-transform: uppercase; - top: 1.1em; -} -#cancel-comment-reply-link:focus, -#cancel-comment-reply-link:active, -#cancel-comment-reply-link:hover { - color: #ff4b33; -} -#respond label { - line-height: 2.2em; -} -#respond input[type=text] { - display: block; - height: 24px; - width: 75%; -} -#respond p { - font-size: 12px; -} -p.comment-form-comment { - margin: 0; -} -.form-allowed-tags { - display: none; -} - - -/* =Footer ------------------------------------------------ */ - -#colophon { - clear: both; -} -#supplementary { - border-top: 1px solid #ddd; - padding: 1.625em 7.6%; - overflow: hidden; -} - -/* Two Footer Widget Areas */ -#supplementary.two .widget-area { - float: left; - margin-right: 3.7%; - width: 48.1%; -} -#supplementary.two .widget-area + .widget-area { - margin-right: 0; -} - -/* Three Footer Widget Areas */ -#supplementary.three .widget-area { - float: left; - margin-right: 3.7%; - width: 30.85%; -} -#supplementary.three .widget-area + .widget-area + .widget-area { - margin-right: 0; -} - -/* Site Generator Line */ -#site-generator { - background: #f9f9f9; - border-top: 1px solid #ddd; - color: #666; - font-size: 12px; - line-height: 2.2em; - padding: 2.2em 0.5em; - text-align: center; -} -#site-generator a { - color: #555; - font-weight: bold; -} -#site-generator .sep { - background: url(images/wordpress.png) center left no-repeat; - color: transparent; - display: inline-block; - height: 16px; - line-height: 16px; - margin: 0 7px; - width: 16px; -} - - -/* =Responsive Structure ------------------------------------------------ */ - -@media (max-width: 800px) { - /* Simplify the basic layout */ - #main #content { - margin: 0 7.6%; - width: auto; - } - #nav-below { - border-bottom: 1px solid #ddd; - margin-bottom: 1.625em; - } - #main #secondary { - float: none; - margin: 0 7.6%; - width: auto; - } - /* Simplify the showcase template */ - .page-template-showcase-php .featured-posts { - min-height: 280px; - } - .featured-posts section.featured-post { - height: auto; - } - .page-template-showcase-php section.recent-posts { - float: none; - margin: 0; - width: 100%; - } - .page-template-showcase-php #main .widget-area { - float: none; - margin: 0; - width: auto; - } - .page-template-showcase-php .other-recent-posts { - border-bottom: 1px solid #ddd; - } - /* Simplify the showcase template when small feature */ - section.featured-post .attachment-small-feature, - .one-column section.featured-post .attachment-small-feature { - border: none; - display: block; - float: left; - height: auto; - margin: 0.625em auto 1.025em; - max-width: 30%; - position: static; - } - article.feature-image.small { - float: right; - margin: 0 0 1.625em; - width: 64%; - } - .one-column article.feature-image.small .entry-summary { - height: auto; - } - article.feature-image.small .entry-summary p a { - left: 0; - padding-left: 20px; - padding-right: 20px; - width: auto; - } - /* Remove the margin on singular articles */ - .singular .entry-header, - .singular .entry-content, - .singular footer.entry-meta, - .singular #comments-title { - width: 100%; - } - /* Simplify the pullquotes and pull styles */ - .singular blockquote.pull { - margin: 0 0 1.625em; - } - .singular .pull.alignleft { - margin: 0 1.625em 0 0; - } - .singular .pull.alignright { - margin: 0 0 0 1.625em; - } - .singular .entry-meta .edit-link a { - left: 0; - position: absolute; - top: 40px; - } - .singular #author-info { - margin: 2.2em -8.8% 0; - padding: 20px 8.8%; - } - /* Make sure we have room for our comment avatars */ - .commentlist { - width: 100%; - } - .commentlist > li.comment, - .commentlist .pingback { - margin-left: 102px; - width: auto; - } - /* And a full-width comment form */ - #respond { - width: auto; - } - /* No need to float footer widgets at this size */ - #colophon #supplementary .widget-area { - float: none; - margin-right: 0; - width: auto; - } - /* No need to float 404 widgets at this size */ - .error404 #main .widget { - float: none; - margin-right: 0; - width: auto; - } - /* Make sure embeds fit their containers */ - embed, - object { - max-width: 100%; - } - -} -@media (max-width: 650px) { - /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ - body, input, textarea { - font-size: 13px; - } - #site-title a { - font-size: 24px; - } - #site-description { - font-size: 12px; - } - #access ul { - font-size: 12px; - } - article.intro .entry-content { - font-size: 12px; - } - .entry-title { - font-size: 21px; - } - .featured-post .entry-title { - font-size: 14px; - } - .singular .entry-title { - font-size: 28px; - } - .entry-meta { - font-size: 12px; - } - blockquote { - margin: 0; - } - blockquote.pull { - font-size: 17px; - } - /* Reposition the site title and description slightly */ - #site-title { - padding: 5.30625em 0 0; - } - #site-title, - #site-description { - margin-right: 0; - } - /* Make sure the logo and search form don't collide */ - #branding #searchform { - top: 1.625em !important; - } - /* Floated content doesn't work well at this size */ - .alignleft, - .alignright { - float: none; - margin-left: 0; - margin-right: 0; - } - /* Make sure the post-post navigation doesn't collide with anything */ - #nav-single { - display: block; - position: static; - } - .singular .hentry { - padding: 1.625em 0 0; - } - .singular.page .hentry { - padding: 1.625em 0 0; - } - /* Talking avatars take up too much room at this size */ - .commentlist > li.comment, - .commentlist > li.pingback { - margin-left: 0 !important; - } - .commentlist .avatar { - background: transparent; - display: block; - padding: 0; - position: static; - } - .commentlist .children .avatar { - background: none; - left: 2.2em; - padding: 0; - position: absolute; - top: 2.2em; - } - /* Use the available space in the smaller comment form */ - #respond input[type="text"] { - width: 95%; - } - #respond .comment-form-author .required, - #respond .comment-form-email .required { - left: 95%; - } - #content .gallery-columns-3 .gallery-item { - width: 31%; - padding-right: 2%; - } - #content .gallery-columns-3 .gallery-item img { - width: 100%; - height: auto; - } - -} -@media (max-width: 450px) { - #content .gallery-columns-2 .gallery-item { - width: 45%; - padding-right: 4%; - } - #content .gallery-columns-2 .gallery-item img { - width: 100%; - height: auto; - } - -} -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { - body { - padding: 0; - } - #page { - margin-top: 0; - } - #branding { - border-top: none; - } - -} - - -/* =Print ------------------------------------------------ */ - -@media print { - body { - background: none !important; - font-size: 10pt; - } - footer.entry-meta a[rel=bookmark]:link:after, - footer.entry-meta a[rel=bookmark]:visited:after { - content: " [" attr(href) "] "; /* Show URLs */ - } - #page { - clear: both !important; - display: block !important; - float: none !important; - max-width: 100%; - position: relative !important; - } - #branding { - border-top: none !important; - padding: 0; - } - #branding hgroup { - margin: 0; - } - #site-title a { - font-size: 21pt; - } - #site-description { - font-size: 10pt; - } - #branding #searchform { - display: none; - } - #branding img { - display: none; - } - #access { - display: none; - } - #main { - border-top: none; - box-shadow: none; - } - #primary { - float: left; - margin: 0; - width: 100%; - } - #content { - margin: 0; - width: auto; - } - .singular #content { - margin: 0; - width: 100%; - } - .singular .entry-header .entry-meta { - position: static; - } - .entry-meta .edit-link a { - display: none; - } - #content nav { - display: none; - } - .singular .entry-header, - .singular .entry-content, - .singular footer.entry-meta, - .singular #comments-title { - margin: 0; - width: 100%; - } - .singular .hentry { - padding: 0; - } - .entry-title, - .singular .entry-title { - font-size: 21pt; - } - .entry-meta { - font-size: 10pt; - } - .entry-header .comments-link { - display: none; - } - .page-link { - display: none; - } - .singular #author-info { - background: none; - border-bottom: none; - border-top: none; - margin: 2.2em 0 0; - padding: 0; - } - #respond { - display: none; - } - .widget-area { - display: none; - } - #colophon { - display: none; - } - - /* Comments */ - .commentlist > li.comment { - background: none; - border: 1px solid #ddd; - -moz-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; - margin: 0 auto 1.625em; - padding: 1.625em; - position: relative; - width: auto; - } - .commentlist .avatar { - height: 39px; - left: 2.2em; - top: 2.2em; - width: 39px; - } - .commentlist li.comment .comment-meta { - line-height: 1.625em; - margin-left: 50px; - } - .commentlist li.comment .fn { - display: block; - } - .commentlist li.comment .comment-content { - margin: 1.625em 0 0; - } - .commentlist .comment-edit-link { - display: none; - } - .commentlist > li::before, - .commentlist > li.bypostauthor::before { - content: ''; - } - .commentlist .reply { - display: none; - } - - /* Post author highlighting */ - .commentlist > li.bypostauthor { - color: #444; - } - .commentlist > li.bypostauthor .comment-meta { - color: #666; - } - .commentlist > li.bypostauthor:before { - content: none; - } - - /* Post Author threaded comments */ - .commentlist .children > li.bypostauthor { - background: #fff; - border-color: #ddd; - } - .commentlist .children > li.bypostauthor > article, - .commentlist .children > li.bypostauthor > article .comment-meta { - color: #666; - } - -} - - -/* =IE7 ------------------------------------------------ */ - -#ie7 article.intro { - margin-left: -7.6%; - margin-right: -7.6%; - padding-left: -7.6%; - padding-right: -7.6%; - max-width: 1000px; -} -#ie7 section.featured-post { - margin-left: -7.6%; - margin-right: -7.6%; - max-width: 850px; -} -#ie7 section.recent-posts { - margin-right: 7.6%; -} diff --git a/spec/samples/wp_versions/3.3.1/wp-admin/gears-manifest.php b/spec/samples/wp_versions/3.3.1/wp-admin/gears-manifest.php deleted file mode 100755 index 15b402f6..00000000 --- a/spec/samples/wp_versions/3.3.1/wp-admin/gears-manifest.php +++ /dev/null @@ -1,165 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "5ac7244b5aa005b569735c705aaf614a", -"entries" : [ -{ "url" : "images/align-center.png", "ignoreQuery" : true } -{ "url" : "images/align-left.png", "ignoreQuery" : true } -{ "url" : "images/align-none.png", "ignoreQuery" : true } -{ "url" : "images/align-right.png", "ignoreQuery" : true } -{ "url" : "images/archive-link.png", "ignoreQuery" : true } -{ "url" : "images/blue-grad.png", "ignoreQuery" : true } -{ "url" : "images/bubble_bg.gif", "ignoreQuery" : true } -{ "url" : "images/bubble_bg-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/button-grad.png", "ignoreQuery" : true } -{ "url" : "images/button-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/comment-grey-bubble.png", "ignoreQuery" : true } -{ "url" : "images/date-button.gif", "ignoreQuery" : true } -{ "url" : "images/ed-bg.gif", "ignoreQuery" : true } -{ "url" : "images/fade-butt.png", "ignoreQuery" : true } -{ "url" : "images/fav.png", "ignoreQuery" : true } -{ "url" : "images/fav-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/fav-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/generic.png", "ignoreQuery" : true } -{ "url" : "images/gray-grad.png", "ignoreQuery" : true } -{ "url" : "images/icons32.png", "ignoreQuery" : true } -{ "url" : "images/icons32-vs.png", "ignoreQuery" : true } -{ "url" : "images/list.png", "ignoreQuery" : true } -{ "url" : "images/wpspin_light.gif", "ignoreQuery" : true } -{ "url" : "images/wpspin_dark.gif", "ignoreQuery" : true } -{ "url" : "images/logo.gif", "ignoreQuery" : true } -{ "url" : "images/logo-ghost.png", "ignoreQuery" : true } -{ "url" : "images/logo-login.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-image.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-music.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-other.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-video.gif", "ignoreQuery" : true } -{ "url" : "images/menu.png", "ignoreQuery" : true } -{ "url" : "images/menu-vs.png", "ignoreQuery" : true } -{ "url" : "images/menu-arrows.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/no.png", "ignoreQuery" : true } -{ "url" : "images/required.gif", "ignoreQuery" : true } -{ "url" : "images/resize.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right-up.gif", "ignoreQuery" : true } -{ "url" : "images/se.png", "ignoreQuery" : true } -{ "url" : "images/star.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/white-grad.png", "ignoreQuery" : true } -{ "url" : "images/white-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/wordpress-logo.png", "ignoreQuery" : true } -{ "url" : "images/wp-logo.png", "ignoreQuery" : true } -{ "url" : "images/xit.gif", "ignoreQuery" : true } -{ "url" : "images/yes.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/archive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/audio.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/code.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/default.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/document.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/interactive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/text.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/video.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/spreadsheet.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/rss.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/blank.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/upload.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/tb-close.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/wp-tinymce.php", "src" : "../wp-includes/js/tinymce/wp-tinymce.php?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/tiny_mce.js", "src" : "../wp-includes/js/tinymce/tiny_mce.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/langs/wp-langs-en.js", "src" : "../wp-includes/js/tinymce/langs/wp-langs-en.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/utils/mctabs.js", "src" : "../wp-includes/js/tinymce/utils/mctabs.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/utils/validate.js", "src" : "../wp-includes/js/tinymce/utils/validate.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/utils/form_utils.js", "src" : "../wp-includes/js/tinymce/utils/form_utils.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/utils/editable_selects.js", "src" : "../wp-includes/js/tinymce/utils/editable_selects.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/tiny_mce_popup.js", "src" : "../wp-includes/js/tinymce/tiny_mce_popup.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/editor_template.js", "src" : "../wp-includes/js/tinymce/themes/advanced/editor_template.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/source_editor.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/source_editor.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/anchor.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/anchor.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/image.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/image.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/link.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/link.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/color_picker.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/color_picker.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/charmap.htm", "src" : "../wp-includes/js/tinymce/themes/advanced/charmap.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/color_picker.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/color_picker.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/charmap.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/charmap.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/image.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/image.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/link.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/link.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/source_editor.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/source_editor.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/anchor.js", "src" : "../wp-includes/js/tinymce/themes/advanced/js/anchor.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css", "src" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css", "src" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css", "src" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/fullscreen/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/fullscreen/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm", "src" : "../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/template.htm", "src" : "../wp-includes/js/tinymce/plugins/inlinepopups/template.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css", "src" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/media/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/js/media.js", "src" : "../wp-includes/js/tinymce/plugins/media/js/media.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/media.htm", "src" : "../wp-includes/js/tinymce/plugins/media/media.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/css/content.css", "src" : "../wp-includes/js/tinymce/plugins/media/css/content.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/media/css/media.css", "src" : "../wp-includes/js/tinymce/plugins/media/css/media.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/paste/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pasteword.js", "src" : "../wp-includes/js/tinymce/plugins/paste/js/pasteword.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pastetext.js", "src" : "../wp-includes/js/tinymce/plugins/paste/js/pastetext.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/pasteword.htm", "src" : "../wp-includes/js/tinymce/plugins/paste/pasteword.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/blank.htm", "src" : "../wp-includes/js/tinymce/plugins/paste/blank.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/paste/pastetext.htm", "src" : "../wp-includes/js/tinymce/plugins/paste/pastetext.htm?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/safari/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/safari/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/css/content.css", "src" : "../wp-includes/js/tinymce/plugins/spellchecker/css/content.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/tabfocus/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/tabfocus/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/css/content.css", "src" : "../wp-includes/js/tinymce/plugins/wordpress/css/content.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css", "src" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js", "src" : "../wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js?ver=345-20111127", "ignoreQuery" : true }, -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/icons.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/colorpicker.jpg", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/fm.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/gotmoxie.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/sflogo.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/fade-butt.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/tabs.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/down_arrow.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/progress.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_check.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_arrow.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/drag.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/flash.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/quicktime.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/realmedia.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/shockwave.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/windowsmedia.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/media/img/trans.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/img/wline.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/more.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/more_bug.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/page.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/page_bug.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/toolbars.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/help.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/image.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/media.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/video.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/audio.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/image.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/delete.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wpgallery/img/delete.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wpgallery/img/edit.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/tinymce/plugins/wpgallery/img/gallery.png", "ignoreQuery" : true } -]} diff --git a/spec/samples/wp_versions/3.3.1/wp-content/themes/twentyeleven/style.css b/spec/samples/wp_versions/3.3.1/wp-content/themes/twentyeleven/style.css deleted file mode 100755 index 40979239..00000000 --- a/spec/samples/wp_versions/3.3.1/wp-content/themes/twentyeleven/style.css +++ /dev/null @@ -1,2679 +0,0 @@ -/* -Theme Name: Twenty Eleven -Theme URI: http://wordpress.org/extend/themes/twentyeleven -Author: the WordPress team -Author URI: http://wordpress.org/ -Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. -Version: 1.3 -License: GNU General Public License -License URI: license.txt -Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready -*/ - -/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html --------------------------------------------------------------- */ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, font, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td { - border: 0; - font-family: inherit; - font-size: 100%; - font-style: inherit; - font-weight: inherit; - margin: 0; - outline: 0; - padding: 0; - vertical-align: baseline; -} -:focus {/* remember to define focus styles! */ - outline: 0; -} -body { - background: #fff; - line-height: 1; -} -ol, ul { - list-style: none; -} -table {/* tables still need 'cellspacing="0"' in the markup */ - border-collapse: separate; - border-spacing: 0; -} -caption, th, td { - font-weight: normal; - text-align: left; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ""; -} -blockquote, q { - quotes: "" ""; -} -a img { - border: 0; -} -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} - - -/* =Structure ------------------------------------------------ */ - -body { - padding: 0 2em; -} -#page { - margin: 2em auto; - max-width: 1000px; -} -#branding hgroup { - margin: 0 7.6%; -} -#access div { - margin: 0 7.6%; -} -#primary { - float: left; - margin: 0 -26.4% 0 0; - width: 100%; -} -#content { - margin: 0 34% 0 7.6%; - width: 58.4%; -} -#secondary { - float: right; - margin-right: 7.6%; - width: 18.8%; -} - -/* Singular */ -.singular #primary { - margin: 0; -} -.singular #content, -.left-sidebar.singular #content { - margin: 0 7.6%; - position: relative; - width: auto; -} -.singular .entry-header, -.singular .entry-content, -.singular footer.entry-meta, -.singular #comments-title { - margin: 0 auto; - width: 68.9%; -} - -/* Attachments */ -.singular .image-attachment .entry-content { - margin: 0 auto; - width: auto; -} -.singular .image-attachment .entry-description { - margin: 0 auto; - width: 68.9%; -} - -/* Showcase */ -.page-template-showcase-php #primary, -.left-sidebar.page-template-showcase-php #primary { - margin: 0; -} -.page-template-showcase-php #content, -.left-sidebar.page-template-showcase-php #content { - margin: 0 7.6%; - width: auto; -} -.page-template-showcase-php section.recent-posts { - float: right; - margin: 0 0 0 31%; - width: 69%; -} -.page-template-showcase-php #main .widget-area { - float: left; - margin: 0 -22.15% 0 0; - width: 22.15%; -} - -/* error404 */ -.error404 #primary { - float: none; - margin: 0; -} -.error404 #primary #content { - margin: 0 7.6%; - width: auto; -} - -/* Alignment */ -.alignleft { - display: inline; - float: left; - margin-right: 1.625em; -} -.alignright { - display: inline; - float: right; - margin-left: 1.625em; -} -.aligncenter { - clear: both; - display: block; - margin-left: auto; - margin-right: auto; -} - -/* Right Content */ -.left-sidebar #primary { - float: right; - margin: 0 0 0 -26.4%; - width: 100%; -} -.left-sidebar #content { - margin: 0 7.6% 0 34%; - width: 58.4%; -} -.left-sidebar #secondary { - float: left; - margin-left: 7.6%; - margin-right: 0; - width: 18.8%; -} - -/* One column */ -.one-column #page { - max-width: 690px; -} -.one-column #content { - margin: 0 7.6%; - width: auto; -} -.one-column #nav-below { - border-bottom: 1px solid #ddd; - margin-bottom: 1.625em; -} -.one-column #secondary { - float: none; - margin: 0 7.6%; - width: auto; -} -/* Simplify the showcase template */ -.one-column .page-template-showcase-php section.recent-posts { - float: none; - margin: 0; - width: 100%; -} -.one-column .page-template-showcase-php #main .widget-area { - float: none; - margin: 0; - width: auto; -} -.one-column .page-template-showcase-php .other-recent-posts { - border-bottom: 1px solid #ddd; -} -/* Simplify the showcase template when small feature */ -.one-column section.featured-post .attachment-small-feature { - border: none; - display: block; - height: auto; - max-width: 60%; - position: static; -} -.one-column article.feature-image.small { - margin: 0 0 1.625em; - padding: 0; -} -.one-column article.feature-image.small .entry-title { - font-size: 20px; - line-height: 1.3em; -} -.one-column article.feature-image.small .entry-summary { - height: 150px; - overflow: hidden; - padding: 0; - text-overflow: ellipsis; -} -.one-column article.feature-image.small .entry-summary a { - left: -9%; -} -/* Remove the margin on singular articles */ -.one-column.singular .entry-header, -.one-column.singular .entry-content, -.one-column.singular footer.entry-meta, -.one-column.singular #comments-title { - width: 100%; -} -/* Simplify the pullquotes and pull styles */ -.one-column.singular blockquote.pull { - margin: 0 0 1.625em; -} -.one-column.singular .pull.alignleft { - margin: 0 1.625em 0 0; -} -.one-column.singular .pull.alignright { - margin: 0 0 0 1.625em; -} -.one-column.singular .entry-meta .edit-link a { - position: absolute; - left: 0; - top: 40px; -} -.one-column.singular #author-info { - margin: 2.2em -8.8% 0; - padding: 20px 8.8%; -} -/* Make sure we have room for our comment avatars */ -.one-column .commentlist > li.comment { - margin-left: 102px; - width: auto; -} -/* Make sure the logo and search form don't collide */ -.one-column #branding #searchform { - right: 40px; - top: 4em; -} -/* Talking avatars take up too much room at this size */ -.one-column .commentlist > li.comment { - margin-left: 0; -} -.one-column .commentlist > li.comment .comment-meta, -.one-column .commentlist > li.comment .comment-content { - margin-right: 85px; -} -.one-column .commentlist .avatar { - background: transparent; - display: block; - padding: 0; - top: 1.625em; - left: auto; - right: 1.625em; -} -.one-column .commentlist .children .avatar { - background: none; - padding: 0; - position: absolute; - top: 2.2em; - left: 2.2em; -} -.one-column #respond { - width: auto; -} - - -/* =Global ------------------------------------------------ */ - -body, input, textarea { - color: #373737; - font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 300; - line-height: 1.625; -} -body { - background: #e2e2e2; -} -#page { - background: #fff; -} - -/* Headings */ -h1,h2,h3,h4,h5,h6 { - clear: both; -} -hr { - background-color: #ccc; - border: 0; - height: 1px; - margin-bottom: 1.625em; -} - -/* Text elements */ -p { - margin-bottom: 1.625em; -} -ul, ol { - margin: 0 0 1.625em 2.5em; -} -ul { - list-style: square; -} -ol { - list-style-type: decimal; -} -ol ol { - list-style: upper-alpha; -} -ol ol ol { - list-style: lower-roman; -} -ol ol ol ol { - list-style: lower-alpha; -} -ul ul, ol ol, ul ol, ol ul { - margin-bottom: 0; -} -dl { - margin: 0 1.625em; -} -dt { - font-weight: bold; -} -dd { - margin-bottom: 1.625em; -} -strong { - font-weight: bold; -} -cite, em, i { - font-style: italic; -} -blockquote { - font-family: Georgia, "Bitstream Charter", serif; - font-style: italic; - font-weight: normal; - margin: 0 3em; -} -blockquote em, blockquote i, blockquote cite { - font-style: normal; -} -blockquote cite { - color: #666; - font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 300; - letter-spacing: 0.05em; - text-transform: uppercase; -} -pre { - background: #f4f4f4; - font: 13px "Courier 10 Pitch", Courier, monospace; - line-height: 1.5; - margin-bottom: 1.625em; - overflow: auto; - padding: 0.75em 1.625em; -} -code, kbd { - font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; -} -abbr, acronym, dfn { - border-bottom: 1px dotted #666; - cursor: help; -} -address { - display: block; - margin: 0 0 1.625em; -} -ins { - background: #fff9c0; - text-decoration: none; -} -sup, -sub { - font-size: 10px; - height: 0; - line-height: 1; - position: relative; - vertical-align: baseline; -} -sup { - bottom: 1ex; -} -sub { - top: .5ex; -} - -/* Forms */ -input[type=text], -input[type=password], -textarea { - background: #fafafa; - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - border: 1px solid #ddd; - color: #888; -} -input[type=text]:focus, -textarea:focus { - color: #373737; -} -textarea { - padding-left: 3px; - width: 98%; -} -input[type=text] { - padding: 3px; -} -input#s { - background: url(images/search.png) no-repeat 5px 6px; - -moz-border-radius: 2px; - border-radius: 2px; - font-size: 14px; - height: 22px; - line-height: 1.2em; - padding: 4px 10px 4px 28px; -} -input#searchsubmit { - display: none; -} - -/* Links */ -a { - color: #1982d1; - text-decoration: none; -} -a:focus, -a:active, -a:hover { - text-decoration: underline; -} - -/* Assistive text */ -.assistive-text { - position: absolute !important; - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); -} -#access a.assistive-text:active, -#access a.assistive-text:focus { - background: #eee; - border-bottom: 1px solid #ddd; - color: #1982d1; - clip: auto !important; - font-size: 12px; - position: absolute; - text-decoration: underline; - top: 0; - left: 7.6%; -} - - -/* =Header ------------------------------------------------ */ - -#branding { - border-top: 2px solid #bbb; - padding-bottom: 10px; - position: relative; - z-index: 9999; -} -#site-title { - margin-right: 270px; - padding: 3.65625em 0 0; -} -#site-title a { - color: #111; - font-size: 30px; - font-weight: bold; - line-height: 36px; - text-decoration: none; -} -#site-title a:hover, -#site-title a:focus, -#site-title a:active { - color: #1982d1; -} -#site-description { - color: #7a7a7a; - font-size: 14px; - margin: 0 270px 3.65625em 0; -} -#branding img { - height: auto; - margin-bottom: -7px; - width: 100%; -} - - -/* =Menu --------------------------------------------------------------- */ - -#access { - background: #222; /* Show a solid color for older browsers */ - background: -moz-linear-gradient(#252525, #0a0a0a); - background: -o-linear-gradient(#252525, #0a0a0a); - background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */ - background: -webkit-linear-gradient(#252525, #0a0a0a); - -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; - clear: both; - display: block; - float: left; - margin: 0 auto 6px; - width: 100%; -} -#access ul { - font-size: 13px; - list-style: none; - margin: 0 0 0 -0.8125em; - padding-left: 0; -} -#access li { - float: left; - position: relative; -} -#access a { - color: #eee; - display: block; - line-height: 3.333em; - padding: 0 1.2125em; - text-decoration: none; -} -#access ul ul { - -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); - box-shadow: 0 3px 3px rgba(0,0,0,0.2); - display: none; - float: left; - margin: 0; - position: absolute; - top: 3.333em; - left: 0; - width: 188px; - z-index: 99999; -} -#access ul ul ul { - left: 100%; - top: 0; -} -#access ul ul a { - background: #f9f9f9; - border-bottom: 1px dotted #ddd; - color: #444; - font-size: 13px; - font-weight: normal; - height: auto; - line-height: 1.4em; - padding: 10px 10px; - width: 168px; -} -#access li:hover > a, -#access ul ul :hover > a, -#access a:focus { - background: #efefef; -} -#access li:hover > a, -#access a:focus { - background: #f9f9f9; /* Show a solid color for older browsers */ - background: -moz-linear-gradient(#f9f9f9, #e5e5e5); - background: -o-linear-gradient(#f9f9f9, #e5e5e5); - background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */ - background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); - color: #373737; -} -#access ul li:hover > ul { - display: block; -} -#access .current-menu-item > a, -#access .current-menu-ancestor > a, -#access .current_page_item > a, -#access .current_page_ancestor > a { - font-weight: bold; -} - -/* Search Form */ -#branding #searchform { - position: absolute; - top: 3.8em; - right: 7.6%; - text-align: right; -} -#branding #searchform div { - margin: 0; -} -#branding #s { - float: right; - -webkit-transition-duration: 400ms; - -webkit-transition-property: width, background; - -webkit-transition-timing-function: ease; - -moz-transition-duration: 400ms; - -moz-transition-property: width, background; - -moz-transition-timing-function: ease; - -o-transition-duration: 400ms; - -o-transition-property: width, background; - -o-transition-timing-function: ease; - width: 72px; -} -#branding #s:focus { - background-color: #f9f9f9; - width: 196px; -} -#branding #searchsubmit { - display: none; -} -#branding .only-search #searchform { - top: 5px; - z-index: 1; -} -#branding .only-search #s { - background-color: #666; - border-color: #000; - color: #222; -} -#branding .only-search #s, -#branding .only-search #s:focus { - width: 85%; -} -#branding .only-search #s:focus { - background-color: #bbb; -} -#branding .with-image #searchform { - top: auto; - bottom: -27px; - max-width: 195px; -} -#branding .only-search + #access div { - padding-right: 205px; -} - - -/* =Content ------------------------------------------------ */ - -#main { - clear: both; - padding: 1.625em 0 0; -} -.page-title { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - margin: 0 0 2.6em; - text-transform: uppercase; -} -.page-title a { - font-size: 12px; - font-weight: bold; - letter-spacing: 0; - text-transform: none; -} -.hentry, -.no-results { - border-bottom: 1px solid #ddd; - margin: 0 0 1.625em; - padding: 0 0 1.625em; - position: relative; -} -.hentry:last-child, -.no-results { - border-bottom: none; -} -.blog .sticky .entry-header .entry-meta { - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); - position: absolute !important; -} -.entry-title, -.entry-header .entry-meta { - padding-right: 76px; -} -.entry-title { - clear: both; - color: #222; - font-size: 26px; - font-weight: bold; - line-height: 1.5em; - padding-bottom: .3em; - padding-top: 15px; -} -.entry-title, -.entry-title a { - color: #222; - text-decoration: none; -} -.entry-title a:hover, -.entry-title a:focus, -.entry-title a:active { - color: #1982d1; -} -.entry-meta { - color: #666; - clear: both; - font-size: 12px; - line-height: 18px; -} -.entry-meta a { - font-weight: bold; -} -.single-author .entry-meta .by-author { - display: none; -} -.entry-content, -.entry-summary { - padding: 1.625em 0 0; -} -.entry-content h1, -.entry-content h2, -.comment-content h1, -.comment-content h2 { - color: #000; - font-weight: bold; - margin: 0 0 .8125em; -} -.entry-content h3, -.comment-content h3 { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.entry-content table, -.comment-content table { - border-bottom: 1px solid #ddd; - margin: 0 0 1.625em; - width: 100%; -} -.entry-content th, -.comment-content th { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.entry-content td, -.comment-content td { - border-top: 1px solid #ddd; - padding: 6px 10px 6px 0; -} -.entry-content #s { - width: 75%; -} -.comment-content ul, -.comment-content ol { - margin-bottom: 1.625em; -} -.comment-content ul ul, -.comment-content ol ol, -.comment-content ul ol, -.comment-content ol ul { - margin-bottom: 0; -} -dl.gallery-item { - margin: 0; -} -.page-link { - clear: both; - display: block; - margin: 0 0 1.625em; -} -.page-link a { - background: #eee; - color: #373737; - margin: 0; - padding: 2px 3px; - text-decoration: none; -} -.page-link a:hover { - background: #888; - color: #fff; - font-weight: bold; -} -.page-link span { - margin-right: 6px; -} -.entry-meta .edit-link a, -.commentlist .edit-link a { - background: #eee; - -moz-border-radius: 3px; - border-radius: 3px; - color: #666; - float: right; - font-size: 12px; - line-height: 1.5em; - font-weight: 300; - text-decoration: none; - padding: 0 8px; -} -.entry-meta .edit-link a:hover, -.commentlist .edit-link a:hover { - background: #888; - color: #fff; -} -.entry-content .edit-link { - clear: both; - display: block; -} - -/* Images */ -.entry-content img, -.comment-content img, -.widget img { - max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ -} -img[class*="align"], -img[class*="wp-image-"], -img[class*="attachment-"] { - height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ -} -img.size-full, -img.size-large { - max-width: 97.5%; - width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ - height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ -} -.entry-content img.wp-smiley { - border: none; - margin-bottom: 0; - margin-top: 0; - padding: 0; -} -img.alignleft, -img.alignright, -img.aligncenter { - margin-bottom: 1.625em; -} -p img, -.wp-caption { - margin-top: 0.4em; -} -.wp-caption { - background: #eee; - margin-bottom: 1.625em; - max-width: 96%; - padding: 9px; -} -.wp-caption img { - display: block; - margin: 0 auto; - max-width: 98%; -} -.wp-caption .wp-caption-text, -.gallery-caption { - color: #666; - font-family: Georgia, serif; - font-size: 12px; -} -.wp-caption .wp-caption-text { - margin-bottom: 0.6em; - padding: 10px 0 5px 40px; - position: relative; -} -.wp-caption .wp-caption-text:before { - color: #666; - content: '\2014'; - font-size: 14px; - font-style: normal; - font-weight: bold; - margin-right: 5px; - position: absolute; - left: 10px; - top: 7px; -} -#content .gallery { - margin: 0 auto 1.625em; -} -#content .gallery a img { - border: none; -} -img#wpstats { - display: block; - margin: 0 auto 1.625em; -} -#content .gallery-columns-4 .gallery-item { - width: 23%; - padding-right: 2%; -} -#content .gallery-columns-4 .gallery-item img { - width: 100%; - height: auto; -} - -/* Image borders */ -img[class*="align"], -img[class*="wp-image-"], -#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ - border: 1px solid #ddd; - padding: 6px; -} -.wp-caption img { - border-color: #eee; -} -a:focus img[class*="align"], -a:hover img[class*="align"], -a:active img[class*="align"], -a:focus img[class*="wp-image-"], -a:hover img[class*="wp-image-"], -a:active img[class*="wp-image-"], -#content .gallery .gallery-icon a:focus img, -#content .gallery .gallery-icon a:hover img, -#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */ - background: #eee; - border-color: #bbb; -} -.wp-caption a:focus img, -.wp-caption a:active img, -.wp-caption a:hover img {/* ... including captioned images! */ - background: #fff; - border-color: #ddd; -} - -/* Make sure embeds and iframes fit their containers */ -embed, -iframe, -object { - max-width: 100%; -} - -/* Password Protected Posts */ -.post-password-required .entry-header .comments-link { - margin: 1.625em 0 0; -} -.post-password-required input[type=password] { - margin: 0.8125em 0; -} -.post-password-required input[type=password]:focus { - background: #f7f7f7; -} - -/* Author Info */ -#author-info { - font-size: 12px; - overflow: hidden; -} -.singular #author-info { - background: #f9f9f9; - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - margin: 2.2em -35.6% 0 -35.4%; - padding: 20px 35.4%; -} -.archive #author-info { - border-bottom: 1px solid #ddd; - margin: 0 0 2.2em; - padding: 0 0 2.2em; -} -#author-avatar { - float: left; - margin-right: -78px; -} -#author-avatar img { - background: #fff; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #bbb; - -moz-box-shadow: 0 1px 2px #bbb; - box-shadow: 0 1px 2px #bbb; - padding: 3px; -} -#author-description { - float: left; - margin-left: 108px; -} -#author-description h2 { - color: #000; - font-size: 15px; - font-weight: bold; - margin: 5px 0 10px; -} - -/* Comments link */ -.entry-header .comments-link a { - background: #eee url(images/comment-bubble.png) no-repeat; - color: #666; - font-size: 13px; - font-weight: normal; - line-height: 35px; - overflow: hidden; - padding: 0 0 0; - position: absolute; - top: 1.5em; - right: 0; - text-align: center; - text-decoration: none; - width: 43px; - height: 36px; -} -.entry-header .comments-link a:hover, -.entry-header .comments-link a:focus, -.entry-header .comments-link a:active { - background-color: #1982d1; - color: #fff; - color: rgba(255,255,255,0.8); -} -.entry-header .comments-link .leave-reply { - visibility: hidden; -} - -/* -Post Formats Headings -To hide the headings, display: none the ".entry-header .entry-format" selector, -and remove the padding rules below. -*/ -.entry-header .entry-format { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - position: absolute; - text-transform: uppercase; - top: -5px; -} -.entry-header hgroup .entry-title { - padding-top: 15px; -} -article.format-aside .entry-content, -article.format-link .entry-content, -article.format-status .entry-content { - padding: 20px 0 0; -} -article.format-status .entry-content { - min-height: 65px; -} -.recent-posts .entry-header .entry-format { - display: none; -} -.recent-posts .entry-header hgroup .entry-title { - padding-top: 0; -} - -/* Singular content styles for Posts and Pages */ -.singular .hentry { - border-bottom: none; - padding: 4.875em 0 0; - position: relative; -} -.singular.page .hentry { - padding: 3.5em 0 0; -} -.singular .entry-title { - color: #000; - font-size: 36px; - font-weight: bold; - line-height: 48px; -} -.singular .entry-title, -.singular .entry-header .entry-meta { - padding-right: 0; -} -.singular .entry-header .entry-meta { - position: absolute; - top: 0; - left: 0; -} -blockquote.pull { - font-size: 21px; - font-weight: bold; - line-height: 1.6125em; - margin: 0 0 1.625em; - text-align: center; -} -.singular blockquote.pull { - margin: 0 -22.25% 1.625em; -} -.pull.alignleft { - margin: 0 1.625em 0 0; - text-align: right; - width: 33%; -} -.singular .pull.alignleft { - margin: 0 1.625em 0 -22.25%; -} -.pull.alignright { - margin: 0 0 0 1.625em; - text-align: left; - width: 33%; -} -.singular .pull.alignright { - margin: 0 -22.25% 0 1.625em; -} -.singular blockquote.pull.alignleft, -.singular blockquote.pull.alignright { - width: 33%; -} -.singular .entry-meta .edit-link a { - bottom: auto; - left: 50px; - position: absolute; - right: auto; - top: 80px; -} - - -/* =Aside ------------------------------------------------ */ - -.format-aside .entry-title, -.format-aside .entry-header .comments-link { - display: none; -} -.singular .format-aside .entry-title { - display: block; -} -.format-aside .entry-content { - padding: 0; -} -.singular .format-aside .entry-content { - padding: 1.625em 0 0; -} - - -/* =Link ------------------------------------------------ */ - -.format-link .entry-title, -.format-link .entry-header .comments-link { - display: none; -} -.singular .format-link .entry-title { - display: block; -} -.format-link .entry-content { - padding: 0; -} -.singular .format-link .entry-content { - padding: 1.625em 0 0; -} - - -/* =Gallery ------------------------------------------------ */ - -.format-gallery .gallery-thumb { - float: left; - display: block; - margin: .375em 1.625em 0 0; -} - - -/* =Status ------------------------------------------------ */ - -.format-status .entry-title, -.format-status .entry-header .comments-link { - display: none; -} -.singular .format-status .entry-title { - display: block; -} -.format-status .entry-content { - padding: 0; -} -.singular .format-status .entry-content { - padding: 1.625em 0 0; -} -.format-status img.avatar { - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #ccc; - -moz-box-shadow: 0 1px 2px #ccc; - box-shadow: 0 1px 2px #ccc; - float: left; - margin: 4px 10px 2px 0; - padding: 0; -} - - -/* =Quote ------------------------------------------------ */ - -.format-quote blockquote { - color: #555; - font-size: 17px; - margin: 0; -} - - -/* =Image ------------------------------------------------ */ - -.indexed.format-image .entry-header { - min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */ -} -.indexed.format-image .entry-content { - padding-top: 0.5em; -} -.indexed.format-image p, -.indexed.format-image p img { - margin-bottom: 0; -} -.indexed.format-image footer.entry-meta { - background: #ddd; - margin-top: -7px; - padding: 20px 30px; - overflow: hidden; -} -.indexed.format-image div.entry-meta { - display: inline-block; - float: left; - width: 35%; -} -.indexed.format-image div.entry-meta + div.entry-meta { - float: none; - width: 65%; -} -.indexed.format-image .entry-meta span.cat-links, -.indexed.format-image .entry-meta span.tag-links, -.indexed.format-image .entry-meta span.comments-link { - display: block; -} -.indexed.format-image footer.entry-meta a { - color: #444; -} -.indexed.format-image footer.entry-meta a:hover { - color: #fff; -} -#content .indexed.format-image img { - border: none; - max-width: 100%; - padding: 0; -} -.indexed.format-image .wp-caption { - background: #111; - margin-bottom: 0; - max-width: 96%; - padding: 11px; -} -.indexed.format-image .wp-caption .wp-caption-text { - color: #ddd; -} -.indexed.format-image .wp-caption .wp-caption-text:before { - color: #444; -} -.indexed.format-image a:hover img { - opacity: 0.8; -} - - -/* =error404 ------------------------------------------------ */ - -.error404 #main #searchform { - background: #f9f9f9; - border: 1px solid #ddd; - border-width: 1px 0; - margin: 0 -8.9% 1.625em; - overflow: hidden; - padding: 1.625em 8.9%; -} -.error404 #main #s { - width: 95%; -} -.error404 #main .widget { - clear: none; - float: left; - margin-right: 3.7%; - width: 30.85%; -} -.error404 #main .widget_archive { - margin-right: 0; -} -.error404 #main .widget_tag_cloud { - float: none; - margin-right: 0; - width: 100%; -} -.error404 .widgettitle { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} - - -/* =Showcase ------------------------------------------------ */ - -h1.showcase-heading { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} - -/* Intro */ -article.intro { - background: #f9f9f9; - border-bottom: none; - margin: -1.855em -8.9% 1.625em; - padding: 0 8.9%; -} -article.intro .entry-title { - display: none; -} -article.intro .entry-content { - color: #111; - font-size: 16px; - padding: 1.625em 0 0.625em; -} -article.intro .edit-link a { - background: #aaa; - -moz-border-radius: 3px; - border-radius: 3px; - color: #fff; - font-size: 12px; - padding: 0 8px; - position: absolute; - top: 30px; - right: 20px; - text-decoration: none; -} -article.intro .edit-link a:hover, -article.intro .edit-link a:focus, -article.intro .edit-link a:active { - background: #777; -} - -/* Featured post */ -section.featured-post { - float: left; - margin: -1.625em -8.9% 1.625em; - padding: 1.625em 8.9% 0; - position: relative; - width: 100%; -} -section.featured-post .hentry { - border: none; - color: #666; - margin: 0; -} -section.featured-post .entry-meta { - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); - position: absolute !important; -} - -/* Small featured post */ -section.featured-post .attachment-small-feature { - float: right; - height: auto; - margin: 0 -8.9% 1.625em 0; - max-width: 59%; - position: relative; - right: -15px; -} -section.featured-post.small { - padding-top: 0; -} -section.featured-post .attachment-small-feature:hover, -section.featured-post .attachment-small-feature:focus, -section.featured-post .attachment-small-feature:active { - opacity: .8; -} -article.feature-image.small { - float: left; - margin: 0 0 1.625em; - width: 45%; -} -article.feature-image.small .entry-title { - line-height: 1.2em; -} -article.feature-image.small .entry-summary { - color: #555; - font-size: 13px; -} -article.feature-image.small .entry-summary p a { - background: #222; - color: #eee; - display: block; - left: -23.8%; - padding: 9px 26px 9px 85px; - position: relative; - text-decoration: none; - top: 20px; - width: 180px; - z-index: 1; -} -article.feature-image.small .entry-summary p a:hover { - background: #1982d1; - color: #eee; - color: rgba(255,255,255,0.8); -} - -/* Large featured post */ -section.feature-image.large { - border: none; - max-height: 288px; - padding: 0; - width: 100%; -} -section.feature-image.large .showcase-heading { - display: none; -} -section.feature-image.large .hentry { - border-bottom: none; - left: 9%; - margin: 1.625em 9% 0 0; - position: absolute; - top: 0; -} -article.feature-image.large .entry-title a { - background: #222; - background: rgba(0,0,0,0.8); - -moz-border-radius: 3px; - border-radius: 3px; - color: #fff; - display: inline-block; - font-weight: 300; - padding: .2em 20px; -} -section.feature-image.large:hover .entry-title a, -section.feature-image.large .entry-title:hover a { - background: #eee; - background: rgba(255,255,255,0.8); - color: #222; -} -article.feature-image.large .entry-summary { - display: none; -} -section.feature-image.large img { - display: block; - height: auto; - max-width: 117.9%; - padding: 0 0 6px; -} - -/* Featured Slider */ -.featured-posts { - border-bottom: 1px solid #ddd; - display: block; - height: 328px; - margin: 1.625em -8.9% 20px; - max-width: 1000px; - padding: 0; - position: relative; - overflow: hidden; -} -.featured-posts .showcase-heading { - padding-left: 8.9%; -} -.featured-posts section.featured-post { - background: #fff; - height: 288px; - left: 0; - margin: 0; - position: absolute; - top: 30px; - width: auto; -} -.featured-posts section.featured-post.large { - max-width: 100%; - overflow: hidden; -} -.featured-posts section.featured-post { - -webkit-transition-duration: 200ms; - -webkit-transition-property: opacity, visibility; - -webkit-transition-timing-function: ease; - -moz-transition-duration: 200ms; - -moz-transition-property: opacity, visibility; - -moz-transition-timing-function: ease; -} -.featured-posts section.featured-post { - opacity: 0; - visibility: hidden; -} -.featured-posts #featured-post-1 { - opacity: 1; - visibility: visible; -} -.featured-post .feature-text:after, -.featured-post .feature-image.small:after { - content: ' '; - background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera11.10+ */ - background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */ - background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */ - width: 100%; - height: 45px; - position: absolute; - top: 230px; -} -.featured-post .feature-image.small:after { - top: 253px; -} -#content .feature-slider { - top: 5px; - right: 8.9%; - overflow: visible; - position: absolute; -} -.feature-slider ul { - list-style-type: none; - margin: 0; -} -.feature-slider li { - float: left; - margin: 0 6px; -} -.feature-slider a { - background: #3c3c3c; - background: rgba(60,60,60,0.9); - -moz-border-radius: 12px; - border-radius: 12px; - -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); - display: block; - width: 14px; - height: 14px; -} -.feature-slider a.active { - background: #1982d1; - -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); - cursor: default; - opacity: 0.5; -} - -/* Recent Posts */ -section.recent-posts { - padding: 0 0 1.625em; -} -section.recent-posts .hentry { - border: none; - margin: 0; -} -section.recent-posts .other-recent-posts { - border-bottom: 1px solid #ddd; - list-style: none; - margin: 0; -} -section.recent-posts .other-recent-posts li { - padding: 0.3125em 0; - position: relative; -} -section.recent-posts .other-recent-posts .entry-title { - border-top: 1px solid #ddd; - font-size: 17px; -} -section.recent-posts .other-recent-posts a[rel="bookmark"] { - color: #373737; - float: left; - max-width: 84%; -} -section.recent-posts .other-recent-posts a[rel="bookmark"]:after { - content: '-'; - color: transparent; - font-size: 11px; -} -section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { -} -section.recent-posts .other-recent-posts .comments-link a, -section.recent-posts .other-recent-posts .comments-link > span { - border-bottom: 2px solid #999; - bottom: -2px; - color: #444; - display: block; - font-size: 10px; - font-weight: 500; - line-height: 2.76333em; - padding: 0.3125em 0 0.3125em 1em; - position: absolute; - right: 0; - text-align: right; - text-transform: uppercase; - z-index: 1; -} -section.recent-posts .other-recent-posts .comments-link > span { - border-color: #bbb; - color: #888; -} -section.recent-posts .other-recent-posts .comments-link a:hover { - color: #1982d1; - border-color: #1982d1; -} -section.recent-posts .other-recent-posts li:after { - clear: both; - content: '.'; - display: block; - height: 0; - visibility: hidden; -} - - -/* =Attachments ------------------------------------------------ */ - -.image-attachment div.attachment { - background: #f9f9f9; - border: 1px solid #ddd; - border-width: 1px 0; - margin: 0 -8.9% 1.625em; - overflow: hidden; - padding: 1.625em 1.625em 0; - text-align: center; -} -.image-attachment div.attachment img { - display: block; - height: auto; - margin: 0 auto 1.625em; - max-width: 100%; -} -.image-attachment div.attachment a img { - border-color: #f9f9f9; -} -.image-attachment div.attachment a:focus img, -.image-attachment div.attachment a:hover img, -.image-attachment div.attachment a:active img { - border-color: #ddd; - background: #fff; -} -.image-attachment .entry-caption p { - font-size: 10px; - letter-spacing: 0.1em; - line-height: 2.6em; - margin: 0 0 2.6em; - text-transform: uppercase; -} - - -/* =Navigation --------------------------------------------------------------- */ - -#content nav { - clear: both; - overflow: hidden; - padding: 0 0 1.625em; -} -#content nav a { - font-size: 12px; - font-weight: bold; - line-height: 2.2em; -} -#nav-above { - padding: 0 0 1.625em; -} -#nav-above { - display: none; -} -.paged #nav-above { - display: block; -} -.nav-previous { - float: left; - width: 50%; -} -.nav-next { - float: right; - text-align: right; - width: 50%; -} -#content nav .meta-nav { - font-weight: normal; -} - -/* Singular navigation */ -#nav-single { - float: right; - position: relative; - top: -0.3em; - text-align: right; - z-index: 1; -} -#nav-single .nav-previous, -#nav-single .nav-next { - float: none; - width: auto; -} -#nav-single .nav-next { - padding-left: .5em; -} - - -/* =Widgets ------------------------------------------------ */ - -.widget-area { - font-size: 12px; -} -.widget { - clear: both; - margin: 0 0 2.2em; -} -.widget-title { - color: #666; - font-size: 10px; - font-weight: 500; - letter-spacing: 0.1em; - line-height: 2.6em; - text-transform: uppercase; -} -.widget ul { - font-size: 15px; - margin: 0; -} -.widget ul ul { - margin-left: 1.5em; -} -.widget ul li { - color: #777; - font-size: 13px; -} -.widget a { - font-weight: bold; - text-decoration: none; -} -.widget a:hover, -.widget a:focus, -.widget a:active { - text-decoration: underline; -} - -/* Search Widget */ -.widget_search form { - margin: 0 0 1.625em; -} -.widget_search #s { - width: 77%; -} -.widget_search #searchsubmit { - background: #ddd; - border: 1px solid #ccc; - -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); - color: #888; - font-size: 13px; - line-height: 25px; - position: relative; - top: -2px; -} -.widget_search #searchsubmit:active { - background: #1982d1; - border-color: #0861a5; - -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); - color: #bfddf3; -} - -/* Ephemera Widget */ -section.ephemera ol, -.widget_twentyeleven_ephemera ol { - list-style: square; - margin: 5px 0 0; -} -.widget_twentyeleven_ephemera .widget-entry-title { - font-size: 15px; - font-weight: bold; - padding: 0; -} -.widget_twentyeleven_ephemera .comments-link a, -.widget_twentyeleven_ephemera .comments-link > span { - color: #666; - display: block; - font-size: 10px; - font-weight: 500; - line-height: 2.76333em; - text-transform: uppercase; -} -section.ephemera .entry-title .comments-link a:hover, -.widget_twentyeleven_ephemera .entry-title .comments-link a:hover { -} -section.ephemera .entry-title a span { - color: #29628d; -} - -/* Twitter */ -.widget_twitter li { - list-style-type: none; - margin-bottom: 14px; -} -.widget_twitter .timesince { - display: block; - font-size: 11px; - margin-right: -10px; - text-align: right; -} - -/* Widget Image */ -.widget_image img { - height: auto; - max-width: 100%; -} - -/* Calendar Widget */ - -.widget_calendar #wp-calendar { - color: #555; - width: 95%; - text-align: center; -} -.widget_calendar #wp-calendar caption, -.widget_calendar #wp-calendar td, -.widget_calendar #wp-calendar th { - text-align: center; -} -.widget_calendar #wp-calendar caption { - font-size: 11px; - font-weight: 500; - padding: 5px 0 3px 0; - text-transform: uppercase; -} -.widget_calendar #wp-calendar th { - background: #f4f4f4; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; - font-weight: bold; -} -.widget_calendar #wp-calendar tfoot td { - background: #f4f4f4; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; -} - - -/* =Comments ------------------------------------------------ */ - -#comments-title { - color: #666; - font-size: 10px; - font-weight: 500; - line-height: 2.6em; - padding: 0 0 2.6em; - text-transform: uppercase; -} -.nopassword, -.nocomments { - color: #aaa; - font-size: 24px; - font-weight: 100; - margin: 26px 0; - text-align: center; -} -.commentlist { - list-style: none; - margin: 0 auto; - width: 68.9%; -} -.content .commentlist, -.page-template-sidebar-page-php .commentlist { - width: 100%; /* reset the width for the one-column and sidebar page layout */ -} -.commentlist > li.comment { - background: #f6f6f6; - border: 1px solid #ddd; - -moz-border-radius: 3px; - border-radius: 3px; - margin: 0 0 1.625em; - padding: 1.625em; - position: relative; -} -.commentlist .pingback { - margin: 0 0 1.625em; - padding: 0 1.625em; -} -.commentlist .children { - list-style: none; - margin: 0; -} -.commentlist .children li.comment { - background: #fff; - border-left: 1px solid #ddd; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; - margin: 1.625em 0 0; - padding: 1.625em; - position: relative; -} -.commentlist .children li.comment .fn { - display: block; -} -.comment-meta .fn { - font-style: normal; -} -.comment-meta { - color: #666; - font-size: 12px; - line-height: 2.2em; -} -.commentlist .children li.comment .comment-meta { - line-height: 1.625em; - margin-left: 50px; -} -.commentlist .children li.comment .comment-content { - margin: 1.625em 0 0; -} -.comment-meta a { - font-weight: bold; -} -.comment-meta a:focus, -.comment-meta a:active, -.comment-meta a:hover { -} -.commentlist .avatar { - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 2px #ccc; - -moz-box-shadow: 0 1px 2px #ccc; - box-shadow: 0 1px 2px #ccc; - left: -102px; - padding: 0; - position: absolute; - top: 0; -} -.commentlist > li:before { - content: url(images/comment-arrow.png); - left: -21px; - position: absolute; -} -.commentlist > li.pingback:before { - content: ''; -} -.commentlist .children .avatar { - background: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - left: 2.2em; - padding: 0; - top: 2.2em; -} -a.comment-reply-link { - background: #eee; - -moz-border-radius: 3px; - border-radius: 3px; - color: #666; - display: inline-block; - font-size: 12px; - padding: 0 8px; - text-decoration: none; -} -a.comment-reply-link:hover, -a.comment-reply-link:focus, -a.comment-reply-link:active { - background: #888; - color: #fff; -} -a.comment-reply-link > span { - display: inline-block; - position: relative; - top: -1px; -} - -/* Post author highlighting */ -.commentlist > li.bypostauthor { - background: #ddd; - border-color: #d3d3d3; -} -.commentlist > li.bypostauthor .comment-meta { - color: #575757; -} -.commentlist > li.bypostauthor .comment-meta a:focus, -.commentlist > li.bypostauthor .comment-meta a:active, -.commentlist > li.bypostauthor .comment-meta a:hover { -} -.commentlist > li.bypostauthor:before { - content: url(images/comment-arrow-bypostauthor.png); -} - -/* Post Author threaded comments */ -.commentlist .children > li.bypostauthor { - background: #ddd; - border-color: #d3d3d3; -} - -/* sidebar-page.php comments */ -/* Make sure we have room for our comment avatars */ -.page-template-sidebar-page-php .commentlist > li.comment, -.page-template-sidebar-page-php.commentlist .pingback { - margin-left: 102px; - width: auto; -} -/* And a full-width comment form */ -.page-template-sidebar-page-php #respond { - width: auto; -} - -/* Comment Form */ -#respond { - background: #ddd; - border: 1px solid #d3d3d3; - -moz-border-radius: 3px; - border-radius: 3px; - margin: 0 auto 1.625em; - padding: 1.625em; - position: relative; - width: 68.9%; -} -#respond input[type="text"], -#respond textarea { - background: #fff; - border: 4px solid #eee; - -moz-border-radius: 5px; - border-radius: 5px; - -webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - -moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); - position: relative; - padding: 10px; - text-indent: 80px; -} -#respond .comment-form-author, -#respond .comment-form-email, -#respond .comment-form-url, -#respond .comment-form-comment { - position: relative; -} -#respond .comment-form-author label, -#respond .comment-form-email label, -#respond .comment-form-url label, -#respond .comment-form-comment label { - background: #eee; - -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - box-shadow: 1px 2px 2px rgba(204,204,204,0.8); - color: #555; - display: inline-block; - font-size: 13px; - left: 4px; - min-width: 60px; - padding: 4px 10px; - position: relative; - top: 40px; - z-index: 1; -} -#respond input[type="text"]:focus, -#respond textarea:focus { - text-indent: 0; - z-index: 1; -} -#respond textarea { - resize: vertical; - width: 95%; -} -#respond .comment-form-author .required, -#respond .comment-form-email .required { - color: #bd3500; - font-size: 22px; - font-weight: bold; - left: 75%; - position: absolute; - top: 45px; - z-index: 1; -} -#respond .comment-notes, -#respond .logged-in-as { - font-size: 13px; -} -#respond p { - margin: 10px 0; -} -#respond .form-submit { - float: right; - margin: -20px 0 10px; -} -#respond input#submit { - background: #222; - border: none; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - box-shadow: 0px 1px 2px rgba(0,0,0,0.3); - color: #eee; - cursor: pointer; - font-size: 15px; - margin: 20px 0; - padding: 5px 42px 5px 22px; - position: relative; - left: 30px; - text-shadow: 0 -1px 0 rgba(0,0,0,0.3); -} -#respond input#submit:active { - background: #1982d1; - color: #bfddf3; -} -#respond #cancel-comment-reply-link { - color: #666; - margin-left: 10px; - text-decoration: none; -} -#respond .logged-in-as a:hover, -#respond #cancel-comment-reply-link:hover { - text-decoration: underline; -} -.commentlist #respond { - margin: 1.625em 0 0; - width: auto; -} -#reply-title { - color: #373737; - font-size: 24px; - font-weight: bold; - line-height: 30px; -} -#cancel-comment-reply-link { - color: #888; - display: block; - font-size: 10px; - font-weight: normal; - line-height: 2.2em; - letter-spacing: 0.05em; - position: absolute; - right: 1.625em; - text-decoration: none; - text-transform: uppercase; - top: 1.1em; -} -#cancel-comment-reply-link:focus, -#cancel-comment-reply-link:active, -#cancel-comment-reply-link:hover { - color: #ff4b33; -} -#respond label { - line-height: 2.2em; -} -#respond input[type=text] { - display: block; - height: 24px; - width: 75%; -} -#respond p { - font-size: 12px; -} -p.comment-form-comment { - margin: 0; -} -.form-allowed-tags { - display: none; -} - - -/* =Footer ------------------------------------------------ */ - -#colophon { - clear: both; -} -#supplementary { - border-top: 1px solid #ddd; - padding: 1.625em 7.6%; - overflow: hidden; -} - -/* Two Footer Widget Areas */ -#supplementary.two .widget-area { - float: left; - margin-right: 3.7%; - width: 48.1%; -} -#supplementary.two .widget-area + .widget-area { - margin-right: 0; -} - -/* Three Footer Widget Areas */ -#supplementary.three .widget-area { - float: left; - margin-right: 3.7%; - width: 30.85%; -} -#supplementary.three .widget-area + .widget-area + .widget-area { - margin-right: 0; -} - -/* Site Generator Line */ -#site-generator { - background: #f9f9f9; - border-top: 1px solid #ddd; - color: #666; - font-size: 12px; - line-height: 2.2em; - padding: 2.2em 0.5em; - text-align: center; -} -#site-generator a { - color: #555; - font-weight: bold; -} -#site-generator .sep { - background: url(images/wordpress.png) center left no-repeat; - color: transparent; - display: inline-block; - height: 16px; - line-height: 16px; - margin: 0 7px; - width: 16px; -} - - -/* =Responsive Structure ------------------------------------------------ */ - -@media (max-width: 800px) { - /* Simplify the basic layout */ - #main #content { - margin: 0 7.6%; - width: auto; - } - #nav-below { - border-bottom: 1px solid #ddd; - margin-bottom: 1.625em; - } - #main #secondary { - float: none; - margin: 0 7.6%; - width: auto; - } - /* Simplify the showcase template */ - .page-template-showcase-php .featured-posts { - min-height: 280px; - } - .featured-posts section.featured-post { - height: auto; - } - .page-template-showcase-php section.recent-posts { - float: none; - margin: 0; - width: 100%; - } - .page-template-showcase-php #main .widget-area { - float: none; - margin: 0; - width: auto; - } - .page-template-showcase-php .other-recent-posts { - border-bottom: 1px solid #ddd; - } - /* Simplify the showcase template when small feature */ - section.featured-post .attachment-small-feature, - .one-column section.featured-post .attachment-small-feature { - border: none; - display: block; - float: left; - height: auto; - margin: 0.625em auto 1.025em; - max-width: 30%; - position: static; - } - article.feature-image.small { - float: right; - margin: 0 0 1.625em; - width: 64%; - } - .one-column article.feature-image.small .entry-summary { - height: auto; - } - article.feature-image.small .entry-summary p a { - left: 0; - padding-left: 20px; - padding-right: 20px; - width: auto; - } - /* Remove the margin on singular articles */ - .singular .entry-header, - .singular .entry-content, - .singular footer.entry-meta, - .singular #comments-title { - width: 100%; - } - /* Simplify the pullquotes and pull styles */ - .singular blockquote.pull { - margin: 0 0 1.625em; - } - .singular .pull.alignleft { - margin: 0 1.625em 0 0; - } - .singular .pull.alignright { - margin: 0 0 0 1.625em; - } - .singular .entry-meta .edit-link a { - left: 0; - position: absolute; - top: 40px; - } - .singular #author-info { - margin: 2.2em -8.8% 0; - padding: 20px 8.8%; - } - /* Make sure we have room for our comment avatars */ - .commentlist { - width: 100%; - } - .commentlist > li.comment, - .commentlist .pingback { - margin-left: 102px; - width: auto; - } - /* And a full-width comment form */ - #respond { - width: auto; - } - /* No need to float footer widgets at this size */ - #colophon #supplementary .widget-area { - float: none; - margin-right: 0; - width: auto; - } - /* No need to float 404 widgets at this size */ - .error404 #main .widget { - float: none; - margin-right: 0; - width: auto; - } - -} -@media (max-width: 650px) { - /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ - body, input, textarea { - font-size: 13px; - } - #site-title a { - font-size: 24px; - } - #site-description { - font-size: 12px; - } - #access ul { - font-size: 12px; - } - article.intro .entry-content { - font-size: 12px; - } - .entry-title { - font-size: 21px; - } - .featured-post .entry-title { - font-size: 14px; - } - .singular .entry-title { - font-size: 28px; - } - .entry-meta { - font-size: 12px; - } - blockquote { - margin: 0; - } - blockquote.pull { - font-size: 17px; - } - /* Reposition the site title and description slightly */ - #site-title { - padding: 5.30625em 0 0; - } - #site-title, - #site-description { - margin-right: 0; - } - /* Make sure the logo and search form don't collide */ - #branding #searchform { - top: 1.625em !important; - } - /* Floated content doesn't work well at this size */ - .alignleft, - .alignright { - float: none; - margin-left: 0; - margin-right: 0; - } - /* Make sure the post-post navigation doesn't collide with anything */ - #nav-single { - display: block; - position: static; - } - .singular .hentry { - padding: 1.625em 0 0; - } - .singular.page .hentry { - padding: 1.625em 0 0; - } - /* Talking avatars take up too much room at this size */ - .commentlist > li.comment, - .commentlist > li.pingback { - margin-left: 0 !important; - } - .commentlist .avatar { - background: transparent; - display: block; - padding: 0; - position: static; - } - .commentlist .children .avatar { - background: none; - left: 2.2em; - padding: 0; - position: absolute; - top: 2.2em; - } - /* Use the available space in the smaller comment form */ - #respond input[type="text"] { - width: 95%; - } - #respond .comment-form-author .required, - #respond .comment-form-email .required { - left: 95%; - } - #content .gallery-columns-3 .gallery-item { - width: 31%; - padding-right: 2%; - } - #content .gallery-columns-3 .gallery-item img { - width: 100%; - height: auto; - } - -} -@media (max-width: 450px) { - #content .gallery-columns-2 .gallery-item { - width: 45%; - padding-right: 4%; - } - #content .gallery-columns-2 .gallery-item img { - width: 100%; - height: auto; - } - -} -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { - body { - padding: 0; - } - #page { - margin-top: 0; - } - #branding { - border-top: none; - } - -} - - -/* =Print ------------------------------------------------ */ - -@media print { - body { - background: none !important; - font-size: 10pt; - } - footer.entry-meta a[rel=bookmark]:link:after, - footer.entry-meta a[rel=bookmark]:visited:after { - content: " [" attr(href) "] "; /* Show URLs */ - } - #page { - clear: both !important; - display: block !important; - float: none !important; - max-width: 100%; - position: relative !important; - } - #branding { - border-top: none !important; - padding: 0; - } - #branding hgroup { - margin: 0; - } - #site-title a { - font-size: 21pt; - } - #site-description { - font-size: 10pt; - } - #branding #searchform { - display: none; - } - #branding img { - display: none; - } - #access { - display: none; - } - #main { - border-top: none; - box-shadow: none; - } - #primary { - float: left; - margin: 0; - width: 100%; - } - #content { - margin: 0; - width: auto; - } - .singular #content { - margin: 0; - width: 100%; - } - .singular .entry-header .entry-meta { - position: static; - } - .entry-meta .edit-link a { - display: none; - } - #content nav { - display: none; - } - .singular .entry-header, - .singular .entry-content, - .singular footer.entry-meta, - .singular #comments-title { - margin: 0; - width: 100%; - } - .singular .hentry { - padding: 0; - } - .entry-title, - .singular .entry-title { - font-size: 21pt; - } - .entry-meta { - font-size: 10pt; - } - .entry-header .comments-link { - display: none; - } - .page-link { - display: none; - } - .singular #author-info { - background: none; - border-bottom: none; - border-top: none; - margin: 2.2em 0 0; - padding: 0; - } - #respond { - display: none; - } - .widget-area { - display: none; - } - #colophon { - display: none; - } - - /* Comments */ - .commentlist > li.comment { - background: none; - border: 1px solid #ddd; - -moz-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; - margin: 0 auto 1.625em; - padding: 1.625em; - position: relative; - width: auto; - } - .commentlist .avatar { - height: 39px; - left: 2.2em; - top: 2.2em; - width: 39px; - } - .commentlist li.comment .comment-meta { - line-height: 1.625em; - margin-left: 50px; - } - .commentlist li.comment .fn { - display: block; - } - .commentlist li.comment .comment-content { - margin: 1.625em 0 0; - } - .commentlist .comment-edit-link { - display: none; - } - .commentlist > li::before, - .commentlist > li.bypostauthor::before { - content: ''; - } - .commentlist .reply { - display: none; - } - - /* Post author highlighting */ - .commentlist > li.bypostauthor { - color: #444; - } - .commentlist > li.bypostauthor .comment-meta { - color: #666; - } - .commentlist > li.bypostauthor:before { - content: none; - } - - /* Post Author threaded comments */ - .commentlist .children > li.bypostauthor { - background: #fff; - border-color: #ddd; - } - .commentlist .children > li.bypostauthor > article, - .commentlist .children > li.bypostauthor > article .comment-meta { - color: #666; - } - -} - - -/* =IE7 ------------------------------------------------ */ - -#ie7 article.intro { - margin-left: -7.6%; - margin-right: -7.6%; - padding-left: -7.6%; - padding-right: -7.6%; - max-width: 1000px; -} -#ie7 section.featured-post { - margin-left: -7.6%; - margin-right: -7.6%; - max-width: 850px; -} -#ie7 section.recent-posts { - margin-right: 7.6%; -} diff --git a/spec/samples/wp_versions/3.3.2/wp-admin/gears-manifest.php b/spec/samples/wp_versions/3.3.2/wp-admin/gears-manifest.php deleted file mode 100755 index c098d940..00000000 --- a/spec/samples/wp_versions/3.3.2/wp-admin/gears-manifest.php +++ /dev/null @@ -1,72 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "5ac7244b5aa005b569735c705aaf614a", -"entries" : [ -{ "url" : "images/align-center.png", "ignoreQuery" : true } -{ "url" : "images/align-left.png", "ignoreQuery" : true } -{ "url" : "images/align-none.png", "ignoreQuery" : true } -{ "url" : "images/align-right.png", "ignoreQuery" : true } -{ "url" : "images/archive-link.png", "ignoreQuery" : true } -{ "url" : "images/blue-grad.png", "ignoreQuery" : true } -{ "url" : "images/bubble_bg.gif", "ignoreQuery" : true } -{ "url" : "images/bubble_bg-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/button-grad.png", "ignoreQuery" : true } -{ "url" : "images/button-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/comment-grey-bubble.png", "ignoreQuery" : true } -{ "url" : "images/date-button.gif", "ignoreQuery" : true } -{ "url" : "images/ed-bg.gif", "ignoreQuery" : true } -{ "url" : "images/fade-butt.png", "ignoreQuery" : true } -{ "url" : "images/fav.png", "ignoreQuery" : true } -{ "url" : "images/fav-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/fav-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/generic.png", "ignoreQuery" : true } -{ "url" : "images/gray-grad.png", "ignoreQuery" : true } -{ "url" : "images/icons32.png", "ignoreQuery" : true } -{ "url" : "images/icons32-vs.png", "ignoreQuery" : true } -{ "url" : "images/list.png", "ignoreQuery" : true } -{ "url" : "images/wpspin_light.gif", "ignoreQuery" : true } -{ "url" : "images/wpspin_dark.gif", "ignoreQuery" : true } -{ "url" : "images/logo.gif", "ignoreQuery" : true } -{ "url" : "images/logo-ghost.png", "ignoreQuery" : true } -{ "url" : "images/logo-login.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-image.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-music.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-other.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-video.gif", "ignoreQuery" : true } -{ "url" : "images/menu.png", "ignoreQuery" : true } -{ "url" : "images/menu-vs.png", "ignoreQuery" : true } -{ "url" : "images/menu-arrows.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/no.png", "ignoreQuery" : true } -{ "url" : "images/required.gif", "ignoreQuery" : true } -{ "url" : "images/resize.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right-up.gif", "ignoreQuery" : true } -{ "url" : "images/se.png", "ignoreQuery" : true } -{ "url" : "images/star.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/white-grad.png", "ignoreQuery" : true } -{ "url" : "images/white-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/wordpress-logo.png", "ignoreQuery" : true } -{ "url" : "images/wp-logo.png", "ignoreQuery" : true } -{ "url" : "images/xit.gif", "ignoreQuery" : true } -{ "url" : "images/yes.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/archive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/audio.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/code.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/default.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/document.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/interactive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/text.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/video.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/spreadsheet.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/rss.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/blank.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/upload.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/tb-close.png", "ignoreQuery" : true } -]} diff --git a/spec/samples/wp_versions/3.3.2/wp-includes/js/plupload/plupload.js b/spec/samples/wp_versions/3.3.2/wp-includes/js/plupload/plupload.js deleted file mode 100755 index bc0c3f8b..00000000 --- a/spec/samples/wp_versions/3.3.2/wp-includes/js/plupload/plupload.js +++ /dev/null @@ -1,2 +0,0 @@ -/*1.5.4*/ -(function(){var f=0,k=[],m={},i={},a={"<":"lt",">":"gt","&":"amp",'"':"quot","'":"#39"},l=/[<>&\"\']/g,b,c=window.setTimeout,d={},e;function h(){this.returnValue=false}function j(){this.cancelBubble=true}(function(n){var o=n.split(/,/),p,r,q;for(p=0;p0){g.each(o,function(r,q){n[q]=r})}});return n},cleanName:function(n){var o,p;p=[/[\300-\306]/g,"A",/[\340-\346]/g,"a",/\307/g,"C",/\347/g,"c",/[\310-\313]/g,"E",/[\350-\353]/g,"e",/[\314-\317]/g,"I",/[\354-\357]/g,"i",/\321/g,"N",/\361/g,"n",/[\322-\330]/g,"O",/[\362-\370]/g,"o",/[\331-\334]/g,"U",/[\371-\374]/g,"u"];for(o=0;o0?"&":"?")+p}return o},each:function(q,r){var p,o,n;if(q){p=q.length;if(p===b){for(o in q){if(q.hasOwnProperty(o)){if(r(q[o],o)===false){return}}}}else{for(n=0;n1073741824){return Math.round(n/1073741824,1)+" GB"}if(n>1048576){return Math.round(n/1048576,1)+" MB"}if(n>1024){return Math.round(n/1024,1)+" KB"}return n+" b"},getPos:function(o,s){var t=0,r=0,v,u=document,p,q;o=o;s=s||u.body;function n(B){var z,A,w=0,C=0;if(B){A=B.getBoundingClientRect();z=u.compatMode==="CSS1Compat"?u.documentElement:u.body;w=A.left+z.scrollLeft;C=A.top+z.scrollTop}return{x:w,y:C}}if(o&&o.getBoundingClientRect&&((navigator.userAgent.indexOf("MSIE")>0)&&(u.documentMode<8))){p=n(o);q=n(s);return{x:p.x-q.x,y:p.y-q.y}}v=o;while(v&&v!=s&&v.nodeType){t+=v.offsetLeft||0;r+=v.offsetTop||0;v=v.offsetParent}v=o.parentNode;while(v&&v!=s&&v.nodeType){t-=v.scrollLeft||0;r-=v.scrollTop||0;v=v.parentNode}return{x:t,y:r}},getSize:function(n){return{w:n.offsetWidth||n.clientWidth,h:n.offsetHeight||n.clientHeight}},parseSize:function(n){var o;if(typeof(n)=="string"){n=/^([0-9]+)([mgk]?)$/.exec(n.toLowerCase().replace(/[^0-9mkg]/g,""));o=n[2];n=+n[1];if(o=="g"){n*=1073741824}if(o=="m"){n*=1048576}if(o=="k"){n*=1024}}return n},xmlEncode:function(n){return n?(""+n).replace(l,function(o){return a[o]?"&"+a[o]+";":o}):n},toArray:function(p){var o,n=[];for(o=0;o=0;o--){if(q[o].key===p||q[o].orig===t){if(s.removeEventListener){s.removeEventListener(n,q[o].func,false)}else{if(s.detachEvent){s.detachEvent("on"+n,q[o].func)}}q[o].orig=null;q[o].func=null;q.splice(o,1);if(t!==b){break}}}if(!q.length){delete d[s[e]][n]}if(g.isEmptyObj(d[s[e]])){delete d[s[e]];try{delete s[e]}catch(r){s[e]=b}}},removeAllEvents:function(o){var n=arguments[1];if(o[e]===b||!o[e]){return}g.each(d[o[e]],function(q,p){g.removeEvent(o,p,n)})}};g.Uploader=function(r){var o={},u,t=[],q,p=false;u=new g.QueueProgress();r=g.extend({chunk_size:0,multipart:true,multi_selection:true,file_data_name:"file",filters:[]},r);function s(){var w,x=0,v;if(this.state==g.STARTED){for(v=0;v0?Math.ceil(u.uploaded/t.length*100):0}else{u.bytesPerSec=Math.ceil(u.loaded/((+new Date()-q||1)/1000));u.percent=u.size>0?Math.ceil(u.loaded/u.size*100):0}}g.extend(this,{state:g.STOPPED,runtime:"",features:{},files:t,settings:r,total:u,id:g.guid(),init:function(){var A=this,B,x,w,z=0,y;if(typeof(r.preinit)=="function"){r.preinit(A)}else{g.each(r.preinit,function(D,C){A.bind(C,D)})}r.page_url=r.page_url||document.location.pathname.replace(/\/[^\/]+$/g,"/");if(!/^(\w+:\/\/|\/)/.test(r.url)){r.url=r.page_url+r.url}r.chunk_size=g.parseSize(r.chunk_size);r.max_file_size=g.parseSize(r.max_file_size);A.bind("FilesAdded",function(C,F){var E,D,H=0,I,G=r.filters;if(G&&G.length){I=[];g.each(G,function(J){g.each(J.extensions.split(/,/),function(K){if(/^\s*\*\s*$/.test(K)){I.push("\\.*")}else{I.push("\\."+K.replace(new RegExp("["+("/^$.*+?|()[]{}\\".replace(/./g,"\\$&"))+"]","g"),"\\$&"))}})});I=new RegExp(I.join("|")+"$","i")}for(E=0;Er.max_file_size){C.trigger("Error",{code:g.FILE_SIZE_ERROR,message:g.translate("File size error."),file:D});continue}t.push(D);H++}if(H){c(function(){A.trigger("QueueChanged");A.refresh()},1)}else{return false}});if(r.unique_names){A.bind("UploadFile",function(C,D){var F=D.name.match(/\.([^.]+)$/),E="tmp";if(F){E=F[1]}D.target_name=D.id+"."+E})}A.bind("UploadProgress",function(C,D){D.percent=D.size>0?Math.ceil(D.loaded/D.size*100):100;n()});A.bind("StateChanged",function(C){if(C.state==g.STARTED){q=(+new Date())}else{if(C.state==g.STOPPED){for(B=C.files.length-1;B>=0;B--){if(C.files[B].status==g.UPLOADING){C.files[B].status=g.QUEUED;n()}}}}});A.bind("QueueChanged",n);A.bind("Error",function(C,D){if(D.file){D.file.status=g.FAILED;n();if(C.state==g.STARTED){c(function(){s.call(A)},1)}}});A.bind("FileUploaded",function(C,D){D.status=g.DONE;D.loaded=D.size;C.trigger("UploadProgress",D);c(function(){s.call(A)},1)});if(r.runtimes){x=[];y=r.runtimes.split(/\s?,\s?/);for(B=0;B=0;v--){if(t[v].id===w){return t[v]}}},removeFile:function(w){var v;for(v=t.length-1;v>=0;v--){if(t[v].id===w.id){return this.splice(v,1)[0]}}},splice:function(x,v){var w;w=t.splice(x===b?0:x,v===b?t.length:v);this.trigger("FilesRemoved",w);this.trigger("QueueChanged");return w},trigger:function(w){var y=o[w.toLowerCase()],x,v;if(y){v=Array.prototype.slice.call(arguments);v[0]=this;for(x=0;x=0;w--){if(y[w].func===x){y.splice(w,1);break}}}else{y=[]}if(!y.length){delete o[v]}}},unbindAll:function(){var v=this;g.each(o,function(x,w){v.unbind(w)})},destroy:function(){this.stop();this.trigger("Destroy");this.unbindAll()}})};g.File=function(q,o,p){var n=this;n.id=q;n.name=o;n.size=p;n.loaded=0;n.percent=0;n.status=0};g.Runtime=function(){this.getFeatures=function(){};this.init=function(n,o){}};g.QueueProgress=function(){var n=this;n.size=0;n.loaded=0;n.uploaded=0;n.failed=0;n.queued=0;n.percent=0;n.bytesPerSec=0;n.reset=function(){n.size=n.loaded=n.uploaded=n.failed=n.queued=n.percent=n.bytesPerSec=0}};g.runtimes={};window.plupload=g})(); \ No newline at end of file diff --git a/spec/samples/wp_versions/3.3/readme.html b/spec/samples/wp_versions/3.3/readme.html deleted file mode 100755 index 72e21ee6..00000000 --- a/spec/samples/wp_versions/3.3/readme.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - WordPress › ReadMe - - - -

    - WordPress -
    Version 3.3 -

    -

    Semantic Personal Publishing Platform

    - -

    First Things First

    -

    Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I'm proud to be a part of. Thousands of hours have gone into WordPress, and we're dedicated to making it better every day. Thank you for making it part of your world.

    -

    — Matt Mullenweg

    - -

    Installation: Famous 5-minute install

    -
      -
    1. Unzip the package in an empty directory and upload everything.
    2. -
    3. Open wp-admin/install.php in your browser. It will take you through the process to set up a wp-config.php file with your database connection details. -
        -
      1. If for some reason this doesn't work, don't worry. It doesn't work on all web hosts. Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
      2. -
      3. Save the file as wp-config.php and upload it.
      4. -
      5. Open wp-admin/install.php in your browser.
      6. -
      -
    4. -
    5. Once the configuration file is set up, the installer will set up the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.
    6. -
    7. If you did not enter a password, note the password given to you. If you did not provide a username, it will be admin.
    8. -
    9. The installer should then send you to the login page. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on 'Profile' to change the password.
    10. -
    - -

    Updating

    -

    Using the Automatic Updater

    -

    If you are updating from version 2.7 or higher, you can use the automatic updater:

    -
      -
    1. Open the wp-admin/update-core.php in your browser and follow the instructions.
    2. -
    3. You wanted more, perhaps? That's it!
    4. -
    - -

    Updating Manually

    -
      -
    1. Before you update anything, make sure you have backup copies of any files you may have modified such as index.php.
    2. -
    3. Delete your old WordPress files, saving ones you've modified.
    4. -
    5. Upload the new files.
    6. -
    7. Point your browser to /wp-admin/upgrade.php.
    8. -
    - -

    Theme Template Changes

    -

    If you have customized your theme templates, you may have to make some changes across major versions.

    - -

    Migrating from other systems

    -

    WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, before using our import tools.

    - -

    System Requirements

    -
      -
    • PHP version 5.2.4 or higher.
    • -
    • MySQL version 5.0 or higher.
    • -
    - -

    System Recommendations

    - - -

    Online Resources

    -

    If you have any questions that aren't addressed in this document, please take advantage of WordPress' numerous online resources:

    -
    -
    The WordPress Codex
    -
    The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.
    -
    The WordPress Blog
    -
    This is where you'll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.
    -
    WordPress Planet
    -
    The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.
    -
    WordPress Support Forums
    -
    If you've looked everywhere and still can't find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.
    -
    WordPress IRC Channel
    -
    There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
    -
    - -

    XML-RPC and Atom Interface

    -

    You can post to your WordPress blog with tools like Windows Live Writer, Ecto, w.bloggar, Radio Userland (which means you can use Radio's email-to-blog feature), NewzCrawler, and other tools that support the blogging APIs! :) You can read more about XML-RPC support on the Codex.

    - -

    Post via Email

    -

    You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

    -

    Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will delete emails that are successfully posted.

    - -

    User Roles

    -

    We introduced a very flexible roles system in version 2.0. You can read more about Roles and Capabilities on the Codex.

    - -

    Final Notes

    -
      -
    • If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the Support Forums.
    • -
    • WordPress has a robust plugin API that makes extending the code easy. If you are a developer interested in utilizing this, see the plugin documentation in the Codex. You shouldn't modify any of the core code.
    • -
    - -

    Share the Love

    -

    WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

    - -

    WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

    - -

    License

    -

    WordPress is free software, and is released under the terms of the GPL version 2 or (at your option) any later version. See license.txt.

    - - - - diff --git a/spec/samples/wp_versions/3.3/wp-admin/gears-manifest.php b/spec/samples/wp_versions/3.3/wp-admin/gears-manifest.php deleted file mode 100755 index c098d940..00000000 --- a/spec/samples/wp_versions/3.3/wp-admin/gears-manifest.php +++ /dev/null @@ -1,72 +0,0 @@ -{ -"betaManifestVersion" : 1, -"version" : "5ac7244b5aa005b569735c705aaf614a", -"entries" : [ -{ "url" : "images/align-center.png", "ignoreQuery" : true } -{ "url" : "images/align-left.png", "ignoreQuery" : true } -{ "url" : "images/align-none.png", "ignoreQuery" : true } -{ "url" : "images/align-right.png", "ignoreQuery" : true } -{ "url" : "images/archive-link.png", "ignoreQuery" : true } -{ "url" : "images/blue-grad.png", "ignoreQuery" : true } -{ "url" : "images/bubble_bg.gif", "ignoreQuery" : true } -{ "url" : "images/bubble_bg-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/button-grad.png", "ignoreQuery" : true } -{ "url" : "images/button-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/comment-grey-bubble.png", "ignoreQuery" : true } -{ "url" : "images/date-button.gif", "ignoreQuery" : true } -{ "url" : "images/ed-bg.gif", "ignoreQuery" : true } -{ "url" : "images/fade-butt.png", "ignoreQuery" : true } -{ "url" : "images/fav.png", "ignoreQuery" : true } -{ "url" : "images/fav-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/fav-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/generic.png", "ignoreQuery" : true } -{ "url" : "images/gray-grad.png", "ignoreQuery" : true } -{ "url" : "images/icons32.png", "ignoreQuery" : true } -{ "url" : "images/icons32-vs.png", "ignoreQuery" : true } -{ "url" : "images/list.png", "ignoreQuery" : true } -{ "url" : "images/wpspin_light.gif", "ignoreQuery" : true } -{ "url" : "images/wpspin_dark.gif", "ignoreQuery" : true } -{ "url" : "images/logo.gif", "ignoreQuery" : true } -{ "url" : "images/logo-ghost.png", "ignoreQuery" : true } -{ "url" : "images/logo-login.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-image.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-music.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-other.gif", "ignoreQuery" : true } -{ "url" : "images/media-button-video.gif", "ignoreQuery" : true } -{ "url" : "images/menu.png", "ignoreQuery" : true } -{ "url" : "images/menu-vs.png", "ignoreQuery" : true } -{ "url" : "images/menu-arrows.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits.gif", "ignoreQuery" : true } -{ "url" : "images/menu-bits-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark.gif", "ignoreQuery" : true } -{ "url" : "images/menu-dark-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/no.png", "ignoreQuery" : true } -{ "url" : "images/required.gif", "ignoreQuery" : true } -{ "url" : "images/resize.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right.gif", "ignoreQuery" : true } -{ "url" : "images/screen-options-right-up.gif", "ignoreQuery" : true } -{ "url" : "images/se.png", "ignoreQuery" : true } -{ "url" : "images/star.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow.gif", "ignoreQuery" : true } -{ "url" : "images/toggle-arrow-rtl.gif", "ignoreQuery" : true } -{ "url" : "images/white-grad.png", "ignoreQuery" : true } -{ "url" : "images/white-grad-active.png", "ignoreQuery" : true } -{ "url" : "images/wordpress-logo.png", "ignoreQuery" : true } -{ "url" : "images/wp-logo.png", "ignoreQuery" : true } -{ "url" : "images/xit.gif", "ignoreQuery" : true } -{ "url" : "images/yes.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/archive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/audio.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/code.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/default.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/document.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/interactive.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/text.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/video.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/crystal/spreadsheet.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/rss.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/blank.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/images/upload.png", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif", "ignoreQuery" : true } -{ "url" : "../wp-includes/js/thickbox/tb-close.png", "ignoreQuery" : true } -]} diff --git a/spec/samples/wp_versions/3.3/wp-admin/js/common.js b/spec/samples/wp_versions/3.3/wp-admin/js/common.js deleted file mode 100755 index d03d5b49..00000000 --- a/spec/samples/wp_versions/3.3/wp-admin/js/common.js +++ /dev/null @@ -1 +0,0 @@ -var showNotice,adminMenu,columns,validateForm,screenMeta,autofold_menu;(function(a){adminMenu={init:function(){},fold:function(){},restoreMenuState:function(){},toggle:function(){},favorites:function(){}};columns={init:function(){var b=this;a(".hide-column-tog","#adv-settings").click(function(){var d=a(this),c=d.val();if(d.prop("checked")){b.checked(c)}else{b.unchecked(c)}columns.saveManageColumnsState()})},saveManageColumnsState:function(){var b=this.hidden();a.post(ajaxurl,{action:"hidden-columns",hidden:b,screenoptionnonce:a("#screenoptionnonce").val(),page:pagenow})},checked:function(b){a(".column-"+b).show();this.colSpanChange(+1)},unchecked:function(b){a(".column-"+b).hide();this.colSpanChange(-1)},hidden:function(){return a(".manage-column").filter(":hidden").map(function(){return this.id}).get().join(",")},useCheckboxesForHidden:function(){this.hidden=function(){return a(".hide-column-tog").not(":checked").map(function(){var b=this.id;return b.substring(b,b.length-5)}).get().join(",")}},colSpanChange:function(b){var d=a("table").find(".colspanchange"),c;if(!d.length){return}c=parseInt(d.attr("colspan"),10)+b;d.attr("colspan",c.toString())}};a(document).ready(function(){columns.init()});validateForm=function(b){return !a(b).find(".form-required").filter(function(){return a("input:visible",this).val()==""}).addClass("form-invalid").find("input:visible").change(function(){a(this).closest(".form-invalid").removeClass("form-invalid")}).size()};showNotice={warn:function(){var b=commonL10n.warnDelete||"";if(confirm(b)){return true}return false},note:function(b){alert(b)}};screenMeta={element:null,toggles:null,page:null,init:function(){this.element=a("#screen-meta");this.toggles=a(".screen-meta-toggle a");this.page=a("#wpcontent");this.toggles.click(this.toggleEvent)},toggleEvent:function(c){var b=a(this.href.replace(/.+#/,"#"));c.preventDefault();if(!b.length){return}if(b.is(":visible")){screenMeta.close(b,a(this))}else{screenMeta.open(b,a(this))}},open:function(b,c){a(".screen-meta-toggle").not(c.parent()).css("visibility","hidden");b.parent().show();b.slideDown("fast",function(){c.addClass("screen-meta-active")})},close:function(b,c){b.slideUp("fast",function(){c.removeClass("screen-meta-active");a(".screen-meta-toggle").css("visibility","");b.parent().hide()})}};a(".contextual-help-tabs").delegate("a","click focus",function(d){var c=a(this),b;d.preventDefault();if(c.is(".active a")){return false}a(".contextual-help-tabs .active").removeClass("active");c.parent("li").addClass("active");b=a(c.attr("href"));a(".help-tab-content").not(b).removeClass("active").hide();b.addClass("active").show()});a(document).ready(function(){var j=false,c,e,k,i,b=a("#adminmenu"),d=a("input.current-page"),f=d.val(),h,g;g=function(l,n){var o=a(n),m=o.attr("tabindex");if(m){o.attr("tabindex","0").attr("tabindex",m)}};a("#collapse-menu",b).click(function(){var l=a(document.body);if(l.hasClass("folded")){l.removeClass("folded");setUserSetting("mfold","o")}else{l.addClass("folded");setUserSetting("mfold","f")}return false});a("li.wp-has-submenu",b).hoverIntent({over:function(t){var u,r,l,s,n=a(this).find(".wp-submenu"),v,p,q;if(!a(document.body).hasClass("folded")&&a(this).hasClass("wp-menu-open")){return}v=a(this).offset().top;p=a(window).scrollTop();q=v-p-30;u=v+n.height()+1;r=a("#wpwrap").height();l=60+u-r;s=a(window).height()+p-15;if(s<(u-l)){l=u-s}if(l>q){l=q}if(l>1){n.css({marginTop:"-"+l+"px"})}else{if(n.css("marginTop")){n.css({marginTop:""})}}n.addClass("sub-open")},out:function(){a(this).find(".wp-submenu").removeClass("sub-open")},timeout:200,sensitivity:7,interval:90});a("li.wp-has-submenu > a.wp-not-current-submenu",b).bind("keydown.adminmenu",function(m){if(m.which!=13){return}var l=a(m.target);m.stopPropagation();m.preventDefault();b.find(".wp-submenu").removeClass("sub-open");l.siblings(".wp-submenu").toggleClass("sub-open").find('a[role="menuitem"]').each(g)}).each(g);a('a[role="menuitem"]',b).bind("keydown.adminmenu",function(m){if(m.which!=27){return}var l=a(m.target);m.stopPropagation();m.preventDefault();l.add(l.siblings()).closest(".sub-open").removeClass("sub-open").siblings("a.wp-not-current-submenu").focus()});a("div.wrap h2:first").nextAll("div.updated, div.error").addClass("below-h2");a("div.updated, div.error").not(".below-h2, .inline").insertAfter(a("div.wrap h2:first"));screenMeta.init();a("tbody").children().children(".check-column").find(":checkbox").click(function(l){if("undefined"==l.shiftKey){return true}if(l.shiftKey){if(!j){return true}c=a(j).closest("form").find(":checkbox");e=c.index(j);k=c.index(this);i=a(this).prop("checked");if(0=0){l=this.scrollTop;n.value=r.substring(0,s).concat("\t",r.substring(m));n.selectionStart=n.selectionEnd=s+1;this.scrollTop=l}}if(q.stopPropagation){q.stopPropagation()}if(q.preventDefault){q.preventDefault()}});a("#newcontent").bind("blur.wpevent_InsertTab",function(l){if(this.lastKey&&9==this.lastKey){this.focus()}});if(d.length){d.closest("form").submit(function(l){if(a('select[name="action"]').val()==-1&&a('select[name="action2"]').val()==-1&&d.val()==f){d.val("1")}})}a(window).bind("resize.autofold",function(){if(getUserSetting("mfold")=="f"){return}var l=a(window).width();if(l<=800){if(!h){a(document.body).addClass("folded");h=true}}else{if(h){a(document.body).removeClass("folded");h=false}}}).triggerHandler("resize")});a(document).bind("wp_CloseOnEscape",function(c,b){if(typeof(b.cb)!="function"){return}if(typeof(b.condition)!="function"||b.condition()){b.cb()}return true})})(jQuery); \ No newline at end of file diff --git a/spec/samples/wpscan/wp_version/meta-generator/3.3.2.htm b/spec/samples/wpscan/wp_version/meta-generator/3.3.2.htm deleted file mode 100755 index 965d5606..00000000 --- a/spec/samples/wpscan/wp_version/meta-generator/3.3.2.htm +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - - - -Wordpress 3.3.2 | Just another WordPress site - - - - - - - - - - - - - - - - - -
    - - - -
    -
    -
    - - - - - - - - - - -
    -
    - - - -
    - - -
    - - - - - - - \ No newline at end of file diff --git a/spec/samples/wpscan/wp_version/meta-generator/3.4-beta4.htm b/spec/samples/wpscan/wp_version/meta-generator/3.4-beta4.htm deleted file mode 100755 index fc56f179..00000000 --- a/spec/samples/wpscan/wp_version/meta-generator/3.4-beta4.htm +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - -Wordpress 3.4 beta 4 | Just another WordPress site - - - - - - - - - - - - - - -
    - - - -
    - -
    -
    - - - - - - - - - - -
    -
    - - - -
    - - -
    - - - - \ No newline at end of file diff --git a/spec/samples/wpscan/wp_version/meta-generator/invalid_version.htm b/spec/samples/wpscan/wp_version/meta-generator/invalid_version.htm deleted file mode 100755 index 218567d7..00000000 --- a/spec/samples/wpscan/wp_version/meta-generator/invalid_version.htm +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - - - -Wordpress 3.3.2 | Just another WordPress site - - - - - - - - - - - - - - - - - -
    - - - -
    -
    -
    - - - - - - - - - - -
    -
    - - - -
    - - -
    - - - - - - -