mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Pinking shears.
Built from https://develop.svn.wordpress.org/trunk@29707 git-svn-id: http://core.svn.wordpress.org/trunk@29481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
89e9363adb
commit
f7392ef917
@ -23,14 +23,14 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_List_Table::__construct() for more information on default arguments.
|
||||
*
|
||||
* @param array $args An associative array of arguments.
|
||||
*/
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
global $post_id;
|
||||
|
||||
|
@ -196,7 +196,7 @@ class WP_Importer {
|
||||
/**
|
||||
* Bump up the request timeout for http requests
|
||||
*
|
||||
* @param int $val
|
||||
* @param int $val
|
||||
* @return int
|
||||
*/
|
||||
public function bump_request_timeout( $val ) {
|
||||
|
@ -11,14 +11,14 @@ class WP_Links_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_List_Table::__construct() for more information on default arguments.
|
||||
*
|
||||
* @param array $args An associative array of arguments.
|
||||
*/
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
parent::__construct( array(
|
||||
'plural' => 'bookmarks',
|
||||
|
@ -89,7 +89,7 @@ class WP_List_Table {
|
||||
* screen. If left null, the current screen will be automatically set.
|
||||
* Default null.
|
||||
* }
|
||||
*/
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
$args = wp_parse_args( $args, array(
|
||||
'plural' => '',
|
||||
|
@ -11,14 +11,14 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_List_Table::__construct() for more information on default arguments.
|
||||
*
|
||||
* @param array $args An associative array of arguments.
|
||||
*/
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
parent::__construct( array(
|
||||
'plural' => 'sites',
|
||||
|
@ -11,14 +11,14 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_List_Table::__construct() for more information on default arguments.
|
||||
*
|
||||
* @param array $args An associative array of arguments.
|
||||
*/
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
global $status, $page;
|
||||
|
||||
|
@ -47,7 +47,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
|
@ -13,14 +13,14 @@ class WP_Terms_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_List_Table::__construct() for more information on default arguments.
|
||||
*
|
||||
* @param array $args An associative array of arguments.
|
||||
*/
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
global $post_type, $taxonomy, $action, $tax;
|
||||
|
||||
|
@ -14,14 +14,14 @@ class WP_Themes_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_List_Table::__construct() for more information on default arguments.
|
||||
*
|
||||
* @param array $args An associative array of arguments.
|
||||
*/
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
parent::__construct( array(
|
||||
'ajax' => true,
|
||||
|
@ -30,14 +30,14 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_List_Table::__construct() for more information on default arguments.
|
||||
*
|
||||
* @param array $args An associative array of arguments.
|
||||
*/
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
parent::__construct( array(
|
||||
'singular' => 'user',
|
||||
|
@ -832,7 +832,7 @@ add_filter( 'heartbeat_received', 'heartbeat_autosave', 500, 2 );
|
||||
* as they disregard the autocomplete setting on the editor textarea. That can break the editor
|
||||
* when the user navigates to it with the browser's Back button. See #28037
|
||||
*
|
||||
* @since 4.0
|
||||
* @since 4.0
|
||||
*/
|
||||
function post_form_autocomplete_off() {
|
||||
global $is_safari, $is_chrome;
|
||||
|
@ -248,7 +248,7 @@ case 'delete':
|
||||
/**
|
||||
* Fires at the end of the delete users form prior to the confirm button.
|
||||
*
|
||||
* @since 4.0.0
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @param WP_User $current_user WP_User object for the user being deleted.
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@ class WP_Embed {
|
||||
/**
|
||||
* When an URL cannot be embedded, return false instead of returning a link
|
||||
* or the URL. Bypasses the 'embed_maybe_make_link' filter.
|
||||
*/
|
||||
*/
|
||||
public $return_false_on_fail = false;
|
||||
|
||||
/**
|
||||
|
@ -147,7 +147,7 @@ function wptexturize($text, $reset = false) {
|
||||
$dynamic_characters['apos'] = array_keys( $dynamic );
|
||||
$dynamic_replacements['apos'] = array_values( $dynamic );
|
||||
$dynamic = array();
|
||||
|
||||
|
||||
// Quoted Numbers like "42"
|
||||
if ( '"' !== $opening_quote && '"' !== $closing_quote ) {
|
||||
$dynamic[ '/(?<=\A|' . $spaces . ')"(\d[.,\d]*)"/' ] = $opening_quote . '$1' . $closing_quote;
|
||||
@ -167,11 +167,11 @@ function wptexturize($text, $reset = false) {
|
||||
if ( '"' !== $closing_quote ) {
|
||||
$dynamic[ '/"/' ] = $closing_quote;
|
||||
}
|
||||
|
||||
|
||||
$dynamic_characters['quote'] = array_keys( $dynamic );
|
||||
$dynamic_replacements['quote'] = array_values( $dynamic );
|
||||
$dynamic = array();
|
||||
|
||||
|
||||
// Dashes and spaces
|
||||
$dynamic[ '/---/' ] = $em_dash;
|
||||
$dynamic[ '/(?<=' . $spaces . ')--(?=' . $spaces . ')/' ] = $em_dash;
|
||||
|
Loading…
Reference in New Issue
Block a user