code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
/* ---------------------------------------------------------------------------- WordPress-style Buttons ======================= Create a button by adding the `.button` class to an element. For backwards compatibility, we support several other classes (such as `.button-secondary`), but these will *not* work with the s...
zyblog
trunk/zyblog/wp-includes/css/buttons.css
CSS
asf20
9,593
.wp-pointer { } .wp-pointer-content { padding: 0 0 10px; position: relative; font-size: 13px; background: #fff; border-style: solid; border-width: 1px; /* Fallback for non-rgba-compliant browsers */ border-color: #dfdfdf; /* Use rgba to look better against non-white backgrounds. */ border-color: rgba(0,0,0,...
zyblog
trunk/zyblog/wp-includes/css/wp-pointer.css
CSS
asf20
4,480
#wpadminbar * { font-family: Tahoma, Arial, Helvetica, sans-serif; } #wpadminbar { direction: rtl; font-family: Tahoma, Arial, Helvetica, sans-serif; left: auto; right: 0; } #wpadminbar .quicklinks ul { text-align: right; } #wpadminbar li { float: right; } #wpadminbar .quicklinks > ul > li { border-right: 0...
zyblog
trunk/zyblog/wp-includes/css/admin-bar-rtl.css
CSS
asf20
3,549
/*------------------------------------------------------------------------------ TinyMCE and Quicklinks toolbars ------------------------------------------------------------------------------*/ /* wp_theme/ui.css */ .wp_themeSkin table, .wp_themeSkin tbody, .wp_themeSkin a, .wp_themeSkin img, .wp_themeSkin tr, .wp_t...
zyblog
trunk/zyblog/wp-includes/css/editor.css
CSS
asf20
52,729
#wpadminbar * { height: auto; width: auto; margin: 0; padding: 0; position: static; text-transform: none; letter-spacing: normal; line-height: 1; font: normal 13px/28px sans-serif; color: #ccc; text-shadow: #444 0px -1px 0px; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: ...
zyblog
trunk/zyblog/wp-includes/css/admin-bar.css
CSS
asf20
14,969
<?php /** * Template loading functions. * * @package WordPress * @subpackage Template */ /** * Retrieve path to a template * * Used to quickly retrieve the path of a template without including the file * extension. It will also check the parent theme, if the file exists, with * the use of {@link locate_templ...
zyblog
trunk/zyblog/wp-includes/template.php
PHP
asf20
10,638
<?php /** * BackPress script procedural API. * * @package BackPress * @since r16 */ /** * Prints script tags in document head. * * Called by admin-header.php and by wp_head hook. Since it is called by wp_head * on every page load, the function does not instantiate the WP_Scripts object * unless script names ...
zyblog
trunk/zyblog/wp-includes/functions.wp-scripts.php
PHP
asf20
6,647
<?php /** * These functions are needed to load Multisite. * * @since 3.0.0 * * @package WordPress * @subpackage Multisite */ /** * Whether a subdomain configuration is enabled. * * @since 3.0.0 * * @return bool True if subdomain configuration is enabled, false otherwise. */ function is_subdomain_install()...
zyblog
trunk/zyblog/wp-includes/ms-load.php
PHP
asf20
9,553
<?php /** * WordPress CRON API * * @package WordPress */ /** * Schedules a hook to run only once. * * Schedules a hook which will be executed once by the WordPress actions core at * a time which you specify. The action will fire off when someone visits your * WordPress site, if the schedule time has passed. ...
zyblog
trunk/zyblog/wp-includes/cron.php
PHP
asf20
12,684
<?php /** * API for easily embedding rich media such as videos and images into content. * * @package WordPress * @subpackage Embed * @since 2.9.0 */ class WP_Embed { var $handlers = array(); var $post_ID; var $usecache = true; var $linkifunknown = true; /** * Constructor */ function __construct() { /...
zyblog
trunk/zyblog/wp-includes/class-wp-embed.php
PHP
asf20
8,823
<?php /** * Customize Manager. * * @package WordPress * @subpackage Customize * @since 3.4.0 */ final class WP_Customize_Manager { protected $theme; protected $original_stylesheet; protected $previewing = false; protected $settings = array(); protected $sections = array(); protected $controls = array(); ...
zyblog
trunk/zyblog/wp-includes/class-wp-customize-manager.php
PHP
asf20
26,975
<?php /** * WordPress DB Class * * Original code from {@link http://php.justinvincent.com Justin Vincent (justin@visunet.ie)} * * @package WordPress * @subpackage Database * @since 0.71 */ /** * @since 0.71 */ define( 'EZSQL_VERSION', 'WP1.25' ); /** * @since 0.71 */ define( 'OBJECT', 'OBJECT', true ); /...
zyblog
trunk/zyblog/wp-includes/wp-db.php
PHP
asf20
47,144
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Copyright.php
PHP
asf20
3,367
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Cache/MySQL.php
PHP
asf20
12,280
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Cache/Memcache.php
PHP
asf20
5,141
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Cache/Base.php
PHP
asf20
3,452
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Cache/DB.php
PHP
asf20
4,726
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Cache/File.php
PHP
asf20
4,424
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Exception.php
PHP
asf20
2,187
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2009, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Core.php
PHP
asf20
2,268
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/IRI.php
PHP
asf20
28,359
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Sanitize.php
PHP
asf20
15,703
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Content/Type/Sniffer.php
PHP
asf20
8,137
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Rating.php
PHP
asf20
3,451
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Decode/HTML/Entities.php
PHP
asf20
17,321
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Restriction.php
PHP
asf20
3,800
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Registry.php
PHP
asf20
5,991
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Author.php
PHP
asf20
3,592
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/gzdecode.php
PHP
asf20
8,572
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Misc.php
PHP
asf20
51,559
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Parse/Date.php
PHP
asf20
19,683
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Caption.php
PHP
asf20
4,510
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Source.php
PHP
asf20
20,539
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Parser.php
PHP
asf20
11,851
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/XML/Declaration/Parser.php
PHP
asf20
7,149
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Credit.php
PHP
asf20
3,721
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Locator.php
PHP
asf20
11,185
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Category.php
PHP
asf20
3,707
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Enclosure.php
PHP
asf20
27,487
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/HTTP/Parser.php
PHP
asf20
10,882
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Item.php
PHP
asf20
98,299
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Net/IPv6.php
PHP
asf20
7,576
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/Cache.php
PHP
asf20
4,296
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
zyblog
trunk/zyblog/wp-includes/SimplePie/File.php
PHP
asf20
9,678
<?php /** * RSS2 Feed Template for displaying RSS2 Posts feed. * * @package WordPress */ header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true); $more = 1; echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> <rss version="2.0" xmlns:c...
zyblog
trunk/zyblog/wp-includes/feed-rss2.php
PHP
asf20
2,551
<?php /** * WordPress GD Image Editor * * @package WordPress * @subpackage Image_Editor */ /** * WordPress Image Editor Class for Image Manipulation through GD * * @since 3.5.0 * @package WordPress * @subpackage Image_Editor * @uses WP_Image_Editor Extends class */ class WP_Image_Editor_GD extends WP_Image...
zyblog
trunk/zyblog/wp-includes/class-wp-image-editor-gd.php
PHP
asf20
10,620
<?php /** * Used to set up and fix common variables and include * the Multisite procedural and class library. * * Allows for some configuration in wp-config.php (see ms-default-constants.php) * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ /** Include Multisite initialization functions */ req...
zyblog
trunk/zyblog/wp-includes/ms-settings.php
PHP
asf20
5,419
<?php /** * WordPress Post Template Functions. * * Gets content for the current post in the loop. * * @package WordPress * @subpackage Template */ /** * Display the ID of the current item in the WordPress Loop. * * @since 0.71 */ function the_ID() { echo get_the_ID(); } /** * Retrieve the ID of the curre...
zyblog
trunk/zyblog/wp-includes/post-template.php
PHP
asf20
43,116
<?php /** * API for creating dynamic sidebar without hardcoding functionality into * themes. Includes both internal WordPress routines and theme use routines. * * This functionality was found in a plugin before WordPress 2.2 release which * included it in the core from that point on. * * @link http://codex.wordp...
zyblog
trunk/zyblog/wp-includes/widgets.php
PHP
asf20
38,849
<?php /** * Link/Bookmark API * * @package WordPress * @subpackage Bookmark */ /** * Retrieve Bookmark data * * @since 2.1.0 * @uses $wpdb Database Object * * @param mixed $bookmark * @param string $output Optional. Either OBJECT, ARRAY_N, or ARRAY_A constant * @param string $filter Optional, default is '...
zyblog
trunk/zyblog/wp-includes/bookmark.php
PHP
asf20
12,111
<?php /** * Deprecated. No longer needed. * * @package WordPress */ _deprecated_file( basename(__FILE__), '3.1', null, __( 'This file no longer needs to be included.' ) );
zyblog
trunk/zyblog/wp-includes/registration.php
PHP
asf20
176
<?php /** * Atom Syndication Format PHP Library * * @package AtomLib * @link http://code.google.com/p/phpatomlib/ * * @author Elias Torres <elias@torrez.us> * @version 0.4 * @since 2.3 */ /** * Structure that store common Atom Feed Properties * * @package AtomLib */ class AtomFeed { /** * Stores Links ...
zyblog
trunk/zyblog/wp-includes/atomlib.php
PHP
asf20
10,924
<?php /** * WordPress Rewrite API * * @package WordPress * @subpackage Rewrite */ /** * Add a straight rewrite rule. * * @see WP_Rewrite::add_rule() for long description. * @since 2.1.0 * * @param string $regex Regular Expression to match request against. * @param string $redirect Page to redirect to. * @...
zyblog
trunk/zyblog/wp-includes/rewrite.php
PHP
asf20
60,125
<?php /** * Metadata API * * Functions for retrieving and manipulating metadata of various WordPress object types. Metadata * for an object is a represented by a simple key-value pair. Objects may contain multiple * metadata entries that share the same key and differ only in their value. * * @package WordPress ...
zyblog
trunk/zyblog/wp-includes/meta.php
PHP
asf20
27,217
<?php /** * Portable PHP password hashing framework. * @package phpass * @since 2.5 * @version 0.3 / WordPress * @link http://www.openwall.com/phpass/ */ # # Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in # the public domain. Revised in subsequent years, still public domain. # # Th...
zyblog
trunk/zyblog/wp-includes/class-phpass.php
PHP
asf20
6,991
<?php /** * Author Template functions for use in themes. * * These functions must be used within the WordPress Loop. * * @link http://codex.wordpress.org/Author_Templates * * @package WordPress * @subpackage Template */ /** * Retrieve the author of the current post. * * @since 1.5 * @uses $authordata The ...
zyblog
trunk/zyblog/wp-includes/author-template.php
PHP
asf20
12,156
<?php /** * Manages WordPress comments * * @package WordPress * @subpackage Comment */ /** * Checks whether a comment passes internal checks to be allowed to add. * * If comment moderation is set in the administration, then all comments, * regardless of their type and whitelist will be set to false. If the nu...
zyblog
trunk/zyblog/wp-includes/comment.php
PHP
asf20
68,001
<?php /** * WordPress User API * * @package WordPress */ /** * Authenticate user with remember capability. * * The credentials is an array that has 'user_login', 'user_password', and * 'remember' indices. If the credentials is not given, then the log in form * will be assumed and used if set. * * The variou...
zyblog
trunk/zyblog/wp-includes/user.php
PHP
asf20
47,537
<?php /** * WordPress media templates. * * @package WordPress * @subpackage Media * @since 3.5.0 */ /** * Prints the templates used in the media manager. * * @since 3.5.0 */ function wp_print_media_templates() { global $is_IE; $class = 'media-modal wp-core-ui'; if ( $is_IE && strpos($_SERVER['HTTP_USER_AG...
zyblog
trunk/zyblog/wp-includes/media-template.php
PHP
asf20
14,813
<?php /** * General template tags that can go anywhere in a template. * * @package WordPress * @subpackage Template */ /** * Load header template. * * Includes the header template for a theme or if a name is specified then a * specialised header will be included. * * For the parameter, if the file is called...
zyblog
trunk/zyblog/wp-includes/general-template.php
PHP
asf20
78,501
<?php /** * Confirms that the activation key that is sent in an email after a user signs * up for a new blog matches the key for that user and then displays confirmation. * * @package WordPress */ /** Define ABSPATH as this file's directory */ define( 'WP_INSTALLING', true ); /** Sets up the WordPress Environmen...
zyblog
trunk/zyblog/wp-activate.php
PHP
asf20
4,663
<?php /** * @package Hello_Dolly * @version 1.6 */ /* Plugin Name: Hello Dolly Plugin URI: http://wordpress.org/extend/plugins/hello-dolly/ Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly....
zyblog
trunk/zyblog/wp-content/plugins/hello.php
PHP
asf20
2,262
<?php /** * @package Akismet */ class Akismet_Widget extends WP_Widget { function __construct() { parent::__construct( 'akismet_widget', __( 'Akismet Widget' ), array( 'description' => __( 'Display the number of spam comments Akismet has caught' ) ) ); if ( is_active_widget( false, false, $this->id_...
zyblog
trunk/zyblog/wp-content/plugins/akismet/widget.php
PHP
asf20
2,618
<?php add_action( 'admin_menu', 'akismet_admin_menu' ); akismet_admin_warnings(); function akismet_admin_init() { global $wp_version; // all admin functions are disabled in old versions if ( !function_exists('is_multisite') && version_compare( $wp_version, '3.0', '<' ) ) { function ...
zyblog
trunk/zyblog/wp-content/plugins/akismet/admin.php
PHP
asf20
37,204
#submitted-on { position: relative; } #the-comment-list .author .akismet-user-comment-count { display: inline; } #the-comment-list .author a span { text-decoration: none; color: #999; } #the-comment-list .remove_url { margin-left: 3px; color: #999; padding: 2px 3px 2px 0; } #the-comment-list .remove_url:hover { color: ...
zyblog
trunk/zyblog/wp-content/plugins/akismet/akismet.css
CSS
asf20
1,116
<?php /** * @package Akismet */ /* Plugin Name: Akismet Plugin URI: http://akismet.com/?return=true Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from comment and trackback spam</strong>. It keeps your site protected from spam even while you sleep. To ...
zyblog
trunk/zyblog/wp-content/plugins/akismet/akismet.php
PHP
asf20
22,870
jQuery(document).ready(function () { jQuery('.akismet-status').each(function () { var thisId = jQuery(this).attr('commentid'); jQuery(this).prependTo('#comment-' + thisId + ' .column-comment div:first-child'); }); jQuery('.akismet-user-comment-count').each(function () { var thisId = jQuery(this).attr('commenti...
zyblog
trunk/zyblog/wp-content/plugins/akismet/akismet.js
JavaScript
asf20
4,600
<?php function akismet_spam_comments( $type = false, $page = 1, $per_page = 50 ) { global $wpdb; $page = (int) $page; if ( $page < 2 ) $page = 1; $per_page = (int) $per_page; if ( $per_page < 1 ) $per_page = 50; $start = ( $page - 1 ) * $per_page; $end = $start + $per_page; if ( $type ) { if ( 'comme...
zyblog
trunk/zyblog/wp-content/plugins/akismet/legacy.php
PHP
asf20
14,480
<?php # Silence is golden.
zyblog
trunk/zyblog/wp-content/plugins/akismet/index.php
PHP
asf20
27
<?php // Silence is golden. ?>
zyblog
trunk/zyblog/wp-content/plugins/index.php
PHP
asf20
30
<?php /** * WordPress China Localization Patches Collection */ /** * Legacy database options cleanup * * Cleanup of all options that were introduced pre-3.4. * To save time, this function is only to be called on admin pages. * * @since 3.4.0 */ function zh_cn_l10n_legacy_option_cleanup() { // 3.3 series d...
zyblog
trunk/zyblog/wp-content/languages/zh_CN.php
PHP
asf20
4,843
(function($) { wpWordCount = { settings : { strip : /<[a-zA-Z\/][^<>]*>/g, // strip HTML tags clean : /[0-9.(),;:!?%#$¿'"_+=\\/-]+/g, // regexp to remove punctuation, etc. count : /\S\s+/g // counting regexp }, settingsEastAsia : { count : /[\u3100-\u312F\u31A0-\u31BF\u4E00-\u9FCF\u3400-\u4DBF\uF90...
zyblog
trunk/zyblog/wp-content/languages/zh_CN-word-count.dev.js
JavaScript
asf20
1,347
/** * Dashboard General * * .howto remove italic property * remove italic from p.help, p.description, span.description, .form-wrap p * Enlarge font size of dashboard gadgets "configure" link */ .howto { font-style: normal; } p.help, p.description, span.description, .form-wrap p { font-style: normal !important; } ...
zyblog
trunk/zyblog/wp-content/languages/zh_CN-administration-screens.dev.css
CSS
asf20
1,545
<?php /** * The template for displaying posts in the Link post format * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header><?php _e( 'Link', 'twentytwelve' ); ?></header> <div class="entry-content"> <?php...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/content-link.php
PHP
asf20
1,170
<?php /** * Template Name: Front Page Template * * Description: A page template that provides a key component of WordPress as a CMS * by meeting the need for a carefully crafted introductory page. The front page template * in Twenty Twelve consists of a page content area for adding text, images, video -- * anythi...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/page-templates/front-page.php
PHP
asf20
1,004
<?php /** * Template Name: Full-width Page Template, No Sidebar * * Description: Twenty Twelve loves the no-sidebar look as much as * you do. Use this page template to remove the sidebar from any page. * * Tip: to remove the sidebar from all posts and pages simply remove * any active widgets from the Main Sideba...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/page-templates/full-width.php
PHP
asf20
817
/* Theme Name: Twenty Twelve Description: Used to style the TinyMCE editor for RTL languages. See also rtl.css file. */ html .mceContentBody { direction: rtl; unicode-bidi: embed; } li { margin: 0 24px 0 0; margin: 0 1.714285714rem 0 0; } dl { margin: 0 24px; margin: 0 1.714285714rem; } tr th { text-align: righ...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/editor-style-rtl.css
CSS
asf20
413
<?php /** * Twenty Twelve functions and definitions. * * Sets up the theme and provides some helper functions, which are used * in the theme as custom template tags. Others are attached to action and * filter hooks in WordPress to change core functionality. * * When using a child theme (see http://codex.wordpres...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/functions.php
PHP
asf20
25,570
<?php /** * The template for displaying Author Archive pages. * * Used to display archive-type pages for posts by an author. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ get_header(); ?> <section id="primary" ...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/author.php
PHP
asf20
2,340
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package WordPress * @subpackage Twenty_Twelve * @sin...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/page.php
PHP
asf20
726
/** * Theme Customizer enhancements for a better user experience. * * Contains handlers to make Theme Customizer preview reload changes asynchronously. * Things like site title, description, and background color changes. */ ( function( $ ) { // Site title and description. wp.customize( 'blogname', function( val...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/js/theme-customizer.js
JavaScript
asf20
1,002
/** * navigation.js * * Handles toggling the navigation menu for small screens. */ ( function() { var nav = document.getElementById( 'site-navigation' ), button, menu; if ( ! nav ) return; button = nav.getElementsByTagName( 'h3' )[0]; menu = nav.getElementsByTagName( 'ul' )[0]; if ( ! button ) return; ...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/js/navigation.js
JavaScript
asf20
863
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?><!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> ...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/header.php
PHP
asf20
2,285
<?php /** * The default template for displaying content. Used for both single and index/archive/search. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_sticky() && is_home() && ! is_paged() ) : ?> ...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/content.php
PHP
asf20
2,972
<?php /** * The template for displaying posts in the Image post format * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-content"> <?php the_content( __( 'Continue reading <span class="meta-nav...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/content-image.php
PHP
asf20
1,256
<?php /** * The template for displaying Archive pages. * * Used to display archive-type pages if nothing more specific matches a query. * For example, puts together date-based pages if no date.php file exists. * * If you'd like to further customize these archive views, you may create a * new template file for ea...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/archive.php
PHP
asf20
2,068
<?php /** * The template for displaying posts in the Status post format * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-header"> <header> <h1><?php the_author(); ?></h1> <h2><a href="...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/content-status.php
PHP
asf20
1,359
<?php /** * Implements an optional custom header for Twenty Twelve. * See http://codex.wordpress.org/Custom_Headers * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ /** * Sets up the WordPress core custom header arguments and settings. * * @uses add_theme_support() to register...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/inc/custom-header.php
PHP
asf20
4,124
<?php /** * The template for displaying Search Results pages. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ get_header(); ?> <section id="primary" class="site-content"> <div id="content" role="main"> <?php if ( have_posts() ) : ?> <header class="page-header"> <h1...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/search.php
PHP
asf20
1,348
<?php /** * The sidebar containing the main widget area. * * If no active widgets in sidebar, let's hide it completely. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> <div id="secondary" class="widget-area" role="complem...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/sidebar.php
PHP
asf20
417
<?php /** * The template for displaying 404 pages (Not Found). * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ get_header(); ?> <div id="primary" class="site-content"> <div id="content" role="main"> <article id="post-0" class="post error404 no-results not-found"> <hea...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/404.php
PHP
asf20
814
<?php /** * The template for displaying Category pages. * * Used to display archive-type pages for posts in a category. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ get_header(); ?> <section id="primary" class...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/category.php
PHP
asf20
1,434
/* Theme Name: Twenty Twelve Theme URI: http://wordpress.org/extend/themes/twentytwelve Author: the WordPress team Author URI: http://wordpress.org/ Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optio...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/style.css
CSS
asf20
35,292
<?php /** * The Template for displaying all single posts. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ get_header(); ?> <div id="primary" class="site-content"> <div id="content" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'c...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/single.php
PHP
asf20
1,036
<?php /** * The template for displaying Comments. * * The area of the page that contains both current comments * and the comment form. The actual display of comments is * handled by a callback to twentytwelve_comment() which is * located in the functions.php file. * * @package WordPress * @subpackage Twenty_Tw...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/comments.php
PHP
asf20
2,167
/* Styles for older IE versions (previous to IE9). */ body { background-color: #e6e6e6; } body.custom-background-empty { background-color: #fff; } body.custom-background-empty .site, body.custom-background-white .site { box-shadow: none; margin-bottom: 0; margin-top: 0; padding: 0; } .assistive-text, .site .scre...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/css/ie.css
CSS
asf20
4,788
<?php /** * The sidebar containing the front page widget areas. * * If no active widgets in either sidebar, they will be hidden completely. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ /* * The front page widget area is triggered if any of the areas * have widgets. So let'...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/sidebar-front.php
PHP
asf20
987
/* Theme Name: Twenty Twelve Description: Adds support for languages written in a Right To Left (RTL) direction. It's easy, just a matter of overwriting all the horizontal positioning attributes of your CSS stylesheet in a separate stylesheet file named rtl.css. See http://codex.wordpress.org/Right_to_Left_Language_Su...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/rtl.css
CSS
asf20
4,712
<?php /** * The template for displaying the footer. * * Contains footer content and the closing of the * #main and #page div elements. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> </div><!-- #main .wrapper --> <footer id="colophon" role="contentinfo"> <div class="site...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/footer.php
PHP
asf20
749
<?php /** * The template for displaying Tag pages. * * Used to display archive-type pages for posts in a tag. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ get_header(); ?> <section id="primary" class="site-con...
zyblog
trunk/zyblog/wp-content/themes/twentytwelve/tag.php
PHP
asf20
1,404