@@ -8,9 +8,9 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | // see: http://php.net/tokenizer |
| 10 | 10 | if ( ! defined( 'T_ML_COMMENT' ) ) |
| 11 | - define( 'T_ML_COMMENT', T_COMMENT ); |
|
| 11 | + define( 'T_ML_COMMENT', T_COMMENT ); |
|
| 12 | 12 | else |
| 13 | - define( 'T_DOC_COMMENT', T_ML_COMMENT ); |
|
| 13 | + define( 'T_DOC_COMMENT', T_ML_COMMENT ); |
|
| 14 | 14 | |
| 15 | 15 | $pomo = dirname( dirname( dirname( __FILE__ ) ) ) . '/src/wp-includes/pomo'; |
| 16 | 16 | require_once "$pomo/po.php"; |
@@ -43,15 +43,15 @@ |
||
| 43 | 43 | <api name="MetaWeblog" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> |
| 44 | 44 | <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> |
| 45 | 45 | <?php |
| 46 | - /** |
|
| 47 | - * Add additional APIs to the Really Simple Discovery (RSD) endpoint. |
|
| 48 | - * |
|
| 49 | - * @link http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html |
|
| 46 | + /** |
|
| 47 | + * Add additional APIs to the Really Simple Discovery (RSD) endpoint. |
|
| 50 | 48 | * |
| 51 | - * @since 3.5.0 |
|
| 52 | - */ |
|
| 53 | - do_action( 'xmlrpc_rsd_apis' ); |
|
| 54 | - ?> |
|
| 49 | + * @link http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html |
|
| 50 | + * |
|
| 51 | + * @since 3.5.0 |
|
| 52 | + */ |
|
| 53 | + do_action( 'xmlrpc_rsd_apis' ); |
|
| 54 | + ?> |
|
| 55 | 55 | </apis> |
| 56 | 56 | </service> |
| 57 | 57 | </rsd> |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | ?> |
| 76 | 76 | <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php |
| 77 | 77 | /** |
| 78 | - * Filter the image attachment size to use. |
|
| 78 | + * Filter the image attachment size to use. |
|
| 79 | 79 | * |
| 80 | 80 | * @since Twenty Twelve 1.0 |
| 81 | 81 | * |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | /** |
| 55 | 55 | * Check the current user's permissions. |
| 56 | 56 | * |
| 57 | - * @since 3.1.0 |
|
| 57 | + * @since 3.1.0 |
|
| 58 | 58 | * @access public |
| 59 | 59 | * |
| 60 | 60 | * @return bool |
@@ -1039,7 +1039,7 @@ |
||
| 1039 | 1039 | * @since 4.2.0 |
| 1040 | 1040 | * @access public |
| 1041 | 1041 | * |
| 1042 | - * @param array $data The site's data. |
|
| 1042 | + * @param array $data The site's data. |
|
| 1043 | 1043 | * @return string Discovered canonical URL, or empty |
| 1044 | 1044 | */ |
| 1045 | 1045 | public function get_canonical_link( $data ) { |
@@ -45,14 +45,14 @@ |
||
| 45 | 45 | 'title' => __('Overview'), |
| 46 | 46 | 'content' => |
| 47 | 47 | '<p>' . sprintf(__('You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in the WordPress community are included as examples.'), 'widgets.php') . '</p>' . |
| 48 | - '<p>' . __('Links may be separated into Link Categories; these are different than the categories used on your posts.') . '</p>' . |
|
| 49 | - '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' |
|
| 48 | + '<p>' . __('Links may be separated into Link Categories; these are different than the categories used on your posts.') . '</p>' . |
|
| 49 | + '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' |
|
| 50 | 50 | ) ); |
| 51 | 51 | get_current_screen()->add_help_tab( array( |
| 52 | 52 | 'id' => 'deleting-links', |
| 53 | 53 | 'title' => __('Deleting Links'), |
| 54 | 54 | 'content' => |
| 55 | - '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '</p>' |
|
| 55 | + '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '</p>' |
|
| 56 | 56 | ) ); |
| 57 | 57 | |
| 58 | 58 | get_current_screen()->set_help_sidebar( |
@@ -528,7 +528,7 @@ |
||
| 528 | 528 | return $oggheader; |
| 529 | 529 | } |
| 530 | 530 | |
| 531 | - // http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-810005 |
|
| 531 | + // http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-810005 |
|
| 532 | 532 | public function ParseVorbisComments() { |
| 533 | 533 | $info = &$this->getid3->info; |
| 534 | 534 | |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | if (isset($info['flac']['STREAMINFO']['audio_signature'])) { |
| 168 | 168 | |
| 169 | 169 | if ($info['flac']['STREAMINFO']['audio_signature'] === str_repeat("\x00", 16)) { |
| 170 | - $this->warning('FLAC STREAMINFO.audio_signature is null (known issue with libOggFLAC)'); |
|
| 170 | + $this->warning('FLAC STREAMINFO.audio_signature is null (known issue with libOggFLAC)'); |
|
| 171 | 171 | } |
| 172 | 172 | else { |
| 173 | 173 | $info['md5_data_source'] = ''; |
@@ -346,9 +346,9 @@ discard block |
||
| 346 | 346 | } |
| 347 | 347 | |
| 348 | 348 | /** |
| 349 | - * Parse METADATA_BLOCK_PICTURE flac structure and extract attachment |
|
| 350 | - * External usage: audio.ogg |
|
| 351 | - */ |
|
| 349 | + * Parse METADATA_BLOCK_PICTURE flac structure and extract attachment |
|
| 350 | + * External usage: audio.ogg |
|
| 351 | + */ |
|
| 352 | 352 | public function parsePICTURE() { |
| 353 | 353 | $info = &$this->getid3->info; |
| 354 | 354 | |
@@ -693,7 +693,7 @@ discard block |
||
| 693 | 693 | 'capturedfile' => 0x00010000, |
| 694 | 694 | 'copyrighted' => 0x00020010, |
| 695 | 695 | ); |
| 696 | - foreach ($flags as $flag => $value) { |
|
| 696 | + foreach ($flags as $flag => $value) { |
|
| 697 | 697 | $thisfile_riff_raw_avih['flags'][$flag] = (bool) ($thisfile_riff_raw_avih['dwFlags'] & $value); |
| 698 | 698 | } |
| 699 | 699 | |
@@ -912,7 +912,7 @@ discard block |
||
| 912 | 912 | // http://en.wikipedia.org/wiki/CD-DA |
| 913 | 913 | case 'CDDA': |
| 914 | 914 | $info['fileformat'] = 'cda'; |
| 915 | - unset($info['mime_type']); |
|
| 915 | + unset($info['mime_type']); |
|
| 916 | 916 | |
| 917 | 917 | $thisfile_audio_dataformat = 'cda'; |
| 918 | 918 | |
@@ -945,7 +945,7 @@ discard block |
||
| 945 | 945 | } |
| 946 | 946 | break; |
| 947 | 947 | |
| 948 | - // http://en.wikipedia.org/wiki/AIFF |
|
| 948 | + // http://en.wikipedia.org/wiki/AIFF |
|
| 949 | 949 | case 'AIFF': |
| 950 | 950 | case 'AIFC': |
| 951 | 951 | $info['fileformat'] = 'aiff'; |
@@ -2007,8 +2007,7 @@ discard block |
||
| 2007 | 2007 | ©cdt cdtitle |
| 2008 | 2008 | ©alb library |
| 2009 | 2009 | ©com composer |
| 2010 | - |
|
| 2011 | - */ |
|
| 2010 | + */ |
|
| 2012 | 2011 | |
| 2013 | 2012 | return getid3_lib::EmbeddedLookup($tagshortname, $begin, __LINE__, __FILE__, 'riff-sndm'); |
| 2014 | 2013 | } |
@@ -2176,8 +2175,7 @@ discard block |
||
| 2176 | 2175 | 0x7A22 GSM-AMR (VBR, including SID) |
| 2177 | 2176 | 0xFFFE WAVE_FORMAT_EXTENSIBLE |
| 2178 | 2177 | 0xFFFF WAVE_FORMAT_DEVELOPMENT |
| 2179 | - |
|
| 2180 | - */ |
|
| 2178 | + */ |
|
| 2181 | 2179 | |
| 2182 | 2180 | return getid3_lib::EmbeddedLookup('0x'.str_pad(strtoupper(dechex($wFormatTag)), 4, '0', STR_PAD_LEFT), $begin, __LINE__, __FILE__, 'riff-wFormatTag'); |
| 2183 | 2181 | } |
@@ -2570,8 +2568,7 @@ discard block |
||
| 2570 | 2568 | YVYU YVYU 4:2:2 Packed |
| 2571 | 2569 | ZLIB Lossless Codec Library zlib compression (www.geocities.co.jp/Playtown-Denei/2837/LRC.htm) |
| 2572 | 2570 | ZPEG Metheus Video Zipper |
| 2573 | - |
|
| 2574 | - */ |
|
| 2571 | + */ |
|
| 2575 | 2572 | |
| 2576 | 2573 | return getid3_lib::EmbeddedLookup($fourcc, $begin, __LINE__, __FILE__, 'riff-fourcc'); |
| 2577 | 2574 | } |