Changeset 1916055
- Timestamp:
- 07/27/2018 11:13:06 PM (8 years ago)
- Location:
- wp-writup/trunk
- Files:
-
- 9 edited
-
_assets/js/_fctn/wpw_global.js (modified) (14 diffs)
-
_assets/js/_fctn/wpw_start.js (modified) (7 diffs)
-
_assets/js/_fctn/wpw_turnapp.js (modified) (2 diffs)
-
_inc/wpw_box_top.php (modified) (2 diffs)
-
_inc/wpw_core.php (modified) (25 diffs)
-
_inc/wpw_enqueue.php (modified) (6 diffs)
-
_inc/wpw_fnc.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
wpwritup.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-writup/trunk/_assets/js/_fctn/wpw_global.js
r1867753 r1916055 83 83 } 84 84 85 if(n_0A !== '' && n_0B != '' ){85 if(n_0A !== '' && n_0B != '' && n_0A !== 'Array' && n_0B != 'Array'){ 86 86 $("#wpw_select_lng").removeClass("wpw_show").addClass("wpw_hide"); 87 87 $("#wpw_lang_displyslc").removeClass("wpw_hide").addClass("wpw_show"); … … 110 110 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 111 111 $("#wpw_step_1 .wpw_next") .removeClass("wpw_hide").addClass("wpw_show"); 112 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");112 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 113 113 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 114 114 $('html, body').animate({ … … 137 137 $("#wpw_finish_4").removeClass("wpw_show").addClass("wpw_hide"); 138 138 $("#post-body-content").removeClass("wpw_hide_solo").addClass("wpw_show_solo"); 139 $("#wpw-speech").removeClass("wpw_hide").addClass("wpw_show");139 //$("#wpw-speech").removeClass("wpw_hide").addClass("wpw_show"); 140 140 $("#wpw_speech_results").removeClass("wpw_hide").addClass("wpw_show"); 141 141 }else{ … … 154 154 $("#wpw_finish_4").removeClass("wpw_show").addClass("wpw_hide"); 155 155 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 156 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");156 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 157 157 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide");; 158 158 } … … 173 173 $("#wpw_addkey_step_previous").removeClass("wpw_hide").addClass("wpw_show"); 174 174 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 175 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");175 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 176 176 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 177 177 } … … 192 192 $("#wpw_finish_4").removeClass("wpw_show").addClass("wpw_hide"); 193 193 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 194 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");194 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 195 195 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 196 196 } … … 211 211 $("#wpw_finish_4").removeClass("wpw_show").addClass("wpw_hide"); 212 212 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 213 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");213 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 214 214 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 215 215 } … … 224 224 $("#wpw_step_finish").removeClass("wpw_show").addClass("wpw_hide"); 225 225 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 226 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");226 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 227 227 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 228 228 }else{ … … 234 234 $("#wpw_step_finish").removeClass("wpw_show").addClass("wpw_hide"); 235 235 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 236 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");236 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 237 237 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 238 238 }else{ … … 244 244 $("#wpw_step_finish").removeClass("wpw_show").addClass("wpw_hide"); 245 245 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 246 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");246 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 247 247 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 248 248 }else{ … … 262 262 $("#wpw_finish_4").removeClass("wpw_show").addClass("wpw_hide"); 263 263 $("#post-body-content").removeClass("wpw_hide_solo").addClass("wpw_show_solo"); 264 $("#wpw-speech").removeClass("wpw_hide").addClass("wpw_show");264 //$("#wpw-speech").removeClass("wpw_hide").addClass("wpw_show"); 265 265 $("#wpw_speech_results").removeClass("wpw_hide").addClass("wpw_show"); 266 266 $('html, body').animate({ … … 280 280 $("#wpw_step_finish").removeClass("wpw_show").addClass("wpw_hide"); 281 281 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 282 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");282 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 283 283 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 284 284 }else{ … … 290 290 $("#wpw_step_finish").removeClass("wpw_show").addClass("wpw_hide"); 291 291 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 292 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");292 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 293 293 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 294 294 }else{ … … 300 300 $("#wpw_step_finish").removeClass("wpw_show").addClass("wpw_hide"); 301 301 $("#post-body-content").removeClass("wpw_show_solo").addClass("wpw_hide_solo"); 302 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");302 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 303 303 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 304 304 } -
wp-writup/trunk/_assets/js/_fctn/wpw_start.js
r1867753 r1916055 10 10 $('textarea #content').keyup(function(e) { 11 11 wpw_external_delay(function(){wpw_analyse_content(e)}); 12 }); 13 12 }); 13 14 14 if($("#wpw_step_2").is(':visible')){ 15 15 wpw_suggest_slurm(2); … … 34 34 $("#wpw_step_3_badd .wpw_this_suggest ").removeClass("wpw_show").addClass("wpw_hide"); 35 35 wpw_suggest_slurm(2); 36 } 36 } 37 37 }); 38 38 $("a.wpw_addkey_btnfinish").click(function(){ … … 52 52 $("#wpw_box_keyword").hide(); 53 53 $("#wpw_box_bottom").hide(); 54 $("#wpw-speech").hide();54 //$("#wpw-speech").hide(); 55 55 $("#wpw_speech_results").hide(); 56 56 $("#post-body-content").removeClass("wpw_hide_solo").addClass("wpw_show_solo"); 57 57 $('html, body').animate({ 58 58 scrollTop: $("#wpwrap").offset().top 59 }, 0); 59 }, 0); 60 60 }; 61 61 $("#synthesis_label").on('click', function(event) { … … 91 91 selected.removeClass('selected-1 selected-2 selected-3').addClass('selected-'+index); 92 92 selected.hasClass('color') && updateSlider(selected, index-1); 93 93 94 94 if(index=='1'){ 95 var value_select = "small"; 95 var value_select = "small"; 96 96 } 97 97 if(index=='2'){ 98 var value_select = "medium"; 98 var value_select = "medium"; 99 99 } 100 100 if(index=='3'){ 101 var value_select = "large"; 101 var value_select = "large"; 102 102 } 103 103 $("#synthesis_small").removeClass("wpw_show").addClass("wpw_hide"); … … 110 110 } 111 111 }); 112 WPW_GoogleSeoTtile(); 113 WPW_GoogleSeoDesc(); 112 WPW_GoogleSeoTtile(); 113 WPW_GoogleSeoDesc(); 114 114 $('#iptgp_title').keyup(function(e) { 115 115 WPW_GoogleSeoTtile(); … … 123 123 var gp_dsc_len = $( "#iptgp_desc" ).val().length; 124 124 if(gp_dsc_len!=0){ 125 if(gp_dsc_len<= 320){125 if(gp_dsc_len<=155){ 126 126 $(".GooglePreview .GP_descp").html($( "#iptgp_desc" ).val()); 127 127 }else{ 128 $(".GooglePreview .GP_descp").html($( "#iptgp_desc" ).val().slice(0, 320)+'...');128 $(".GooglePreview .GP_descp").html($( "#iptgp_desc" ).val().slice(0,155)+'...'); 129 129 } 130 130 }else{ 131 131 $(".GooglePreview .GP_descp").html('...'); 132 132 } 133 $("#limit_decp").html(gp_dsc_len+"/ 320");133 $("#limit_decp").html(gp_dsc_len+"/155"); 134 134 } 135 135 function WPW_GoogleSeoTtile(){ … … 138 138 var title_len = $("#title").val().length; 139 139 if(gp_title_len==0){ 140 if(title_len<= 60){140 if(title_len<=75){ 141 141 $(".GooglePreview .GP_title").html($("#title").val()); 142 142 }else{ 143 $(".GooglePreview .GP_title").html($( "#title" ).val().slice(0, 60)+'...');143 $(".GooglePreview .GP_title").html($( "#title" ).val().slice(0,75)+'...'); 144 144 } 145 145 }else{ 146 if(gp_title_len<= 60){146 if(gp_title_len<=75){ 147 147 $(".GooglePreview .GP_title").html($( "#iptgp_title" ).val()); 148 148 }else{ 149 $(".GooglePreview .GP_title").html($( "#iptgp_title" ).val().slice(0, 60)+'...');149 $(".GooglePreview .GP_title").html($( "#iptgp_title" ).val().slice(0,75)+'...'); 150 150 } 151 151 } 152 $("#limit_title").html(gp_title_len+"/ 60");152 $("#limit_title").html(gp_title_len+"/75"); 153 153 } 154 154 -
wp-writup/trunk/_assets/js/_fctn/wpw_turnapp.js
r1867753 r1916055 16 16 $("#wpw_box_keyword").show(); 17 17 $("#wpw_box_bottom").show(); 18 $("#wpw-speech").removeClass("wpw_hide").addClass("wpw_show");18 //$("#wpw-speech").removeClass("wpw_hide").addClass("wpw_show"); 19 19 $("#wpw_speech_results").removeClass("wpw_hide").addClass("wpw_show"); 20 20 … … 56 56 $("#wpw_box_keyword").hide(); 57 57 $("#wpw_box_bottom").hide(); 58 $("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide");58 //$("#wpw-speech").removeClass("wpw_show").addClass("wpw_hide"); 59 59 $("#wpw_speech_results").removeClass("wpw_show").addClass("wpw_hide"); 60 60 $("#post-body-content").removeClass("wpw_hide_solo").addClass("wpw_show_solo"); -
wp-writup/trunk/_inc/wpw_box_top.php
r1867753 r1916055 8 8 $Get = new wpw_get_data( $post_type ); 9 9 global $post; 10 require_once dirname( __FILE__ ) . '/wpw_ajx_translate.php'; 10 require_once dirname( __FILE__ ) . '/wpw_ajx_translate.php'; 11 11 ?> 12 12 <div id="wpw_box_top"> … … 21 21 <label for="wpw_actif"><span class="ui"></span></label> 22 22 </div> 23 </div> 24 </div> 25 23 </div> 24 </div> 26 25 27 26 -
wp-writup/trunk/_inc/wpw_core.php
r1867753 r1916055 1 <?php 1 <?php 2 2 if(!defined('ABSPATH'))exit; 3 3 class wpw_core { … … 49 49 } 50 50 if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ) return; 51 52 51 52 53 53 if(isset($_POST['wpw_button_actif_pugin'])) 54 54 { … … 57 57 if($Get->power == 2){ 58 58 $sch_keywords['power'] = 2; 59 }else{ 59 }else{ 60 60 $sch_keywords['power'] = 1; 61 61 } 62 } 62 } 63 63 $sch_keywords['keywords1'] = PostArraySanitizeText($_POST['keyword1']); 64 64 $sch_keywords['keywords2'] = PostArraySanitizeText($_POST['keyword2']); … … 70 70 $sch_keywords['wpw_metatitle'] = sanitize_text_field($_POST['wpw_metatitle']); 71 71 $sch_keywords['wpw_metadesc'] = sanitize_text_field($_POST['wpw_metadesc']); 72 72 73 73 update_post_meta( $post_id, 'WPWriting', $sch_keywords); 74 } 74 } 75 75 function wpw_box_bottom($post_type) { 76 76 $Get = new wpw_get_data( $post_type ); 77 global $post; 77 global $post; 78 78 ?> 79 79 <div id="wpw_box_bottom"> 80 80 <div id="wpw_box_keyword" class="padd10 this_finish"> 81 81 <div class="tabs" class="keyword-tabs"> 82 <div id="wpw_menu_bottom" class="wpw_hide"> 82 <div id="wpw_menu_bottom" class="wpw_hide"> 83 83 <div id="wpw_box_sb_1" class="wpw_button_bottom"><?php _e('Keywords','wp-writup');?></div> 84 84 <div id="wpw_box_sb_2" class="wpw_button_bottom"><?php _e('Synonyms','wp-writup');?></div> … … 95 95 <div class="cd-single-point"> 96 96 <a class="cd-img-replace" href="#0"><span>i</span></a> 97 97 98 98 <?php echo wpw_lng_conversely_string('<div class="cd-more-info cd-left">','','<div class="cd-more-info cd-right">'); ?> 99 99 <p> … … 109 109 <?php _e('Localization is optional, but it is useful for targeting a very presente place like writing an article about a city.','wp-writup');?> 110 110 </p> 111 111 112 112 <a href="#0" class="cd-close-info cd-img-replace">Close</a> 113 113 <?php echo '</div>'; ?> 114 114 </div> 115 115 </div> 116 </div> 116 </div> 117 117 </div> 118 118 <div class="contenu"> … … 122 122 <div id="wpw_select_lng" class="add-form"> 123 123 <input name="wpw_country_p" id="wpw_country_p" value="<?php echo $Get->country; ?>" type="hidden"> 124 <input name="wpw_language_p" id="wpw_language_p" value="<?php echo $Get->language; ?>" type="hidden"> 124 <input name="wpw_language_p" id="wpw_language_p" value="<?php echo $Get->language; ?>" type="hidden"> 125 125 <li id="loader_id-fdg45fdg4r" class="laoder_ajax"> 126 126 <div class="Loader Loader--full"></div> … … 157 157 <div class="cd-single-point"> 158 158 <a class="cd-img-replace" href="#0"><span>i</span></a> 159 159 160 160 <?php echo wpw_lng_conversely_string('<div class="cd-more-info cd-left">','','<div class="cd-more-info cd-right">'); ?> 161 161 <p> 162 162 <?php _e('For a good SEO, you need to start setting up a content strategy. The first thing to do is to choose the right keywords to position your web pages.','wp-writup');?> 163 </p> 163 </p> 164 164 <p> 165 165 <?php _e("Do not forget that this is a crucial phase for your SEO and at the same time it's not that simple. Use our suggestion system that will help you during your keyword search.","wp-writup");?> … … 168 168 <?php _e("Writup will display as you type your keyword, proposals of the best queries based on the keyword you have indicated.","wp-writup");?> 169 169 </p> 170 170 171 171 <a href="#0" class="cd-close-info cd-img-replace">Close</a> 172 172 <?php echo '</div>'; ?> 173 173 </div> 174 174 </div> 175 </div> 175 </div> 176 176 </div> 177 177 <div class="contenu"> … … 220 220 <p> 221 221 <?php _e("Secondary keywords are declinations of your main keyword. To enrich the semantics of your content, not forgetting that it is the easiest way to google to notice you and appreciate your editorial.","wp-writup");?> 222 </p> 222 </p> 223 223 <p> 224 224 <?php _e("Having a relationship between keywords will promote understanding of your content by search engine robots. We advise you to put between 2 and 4 secondary keywords.","wp-writup");?> … … 240 240 </li> 241 241 <div class="wpw_this_suggest scrollbar wpw_hide"><div class="vertical"></div></div> 242 </div> 242 </div> 243 243 <div id="wpw_step_2_badd" class="wpw_left"> 244 244 <div id="add_keyword2" class="add-form"> … … 272 272 </a> 273 273 <a class="wpw_next wpw_hide wpw_click_button"> 274 274 275 275 <?php echo wpw_lng_conversely_string('<div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <g class="nc-icon-wrapper" fill="#ffffff"> <path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"></path> </g> </svg></div>',__('Next','wp-writup'),'<div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <g class="nc-icon-wrapper" fill="#ffffff"> <path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"></path> </g> </svg></div>'); ?> 276 276 </a> … … 287 287 <p> 288 288 <?php _e("Lexical keywords are terms related to your main and secondary keywords, which are only intended to show the search engines that you master all the vocabulary surrounding the subject.","wp-writup");?> 289 </p> 289 </p> 290 290 <a href="#0" class="cd-close-info cd-img-replace">Close</a> 291 291 </div> … … 305 305 <div class="wpw_this_suggest scrollbar"><div class="vertical"></div></div> 306 306 307 </div> 307 </div> 308 308 <div id="wpw_step_3_badd" class="wpw_left"> 309 309 <div id="add_keyword3" class="add-form"> … … 322 322 <input class="wpw_searchkey"/> 323 323 <span class="submit-keywords button wpw_submit_key"><div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g class="nc-icon-wrapper" fill="#ffffff"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g></svg></div><?php _e('Add','wp-writup');?></span> 324 </div> 325 </div> 326 <legend class="subtitle this_add_key wpw_hide"><?php _e('Lexical keywords','wp-writup');?> :</legend> 324 </div> 325 </div> 326 <legend class="subtitle this_add_key wpw_hide"><?php _e('Lexical keywords','wp-writup');?> :</legend> 327 327 <div class="keywords3"> 328 328 <span class="words"> … … 337 337 </div> 338 338 </fieldset> 339 </div> 339 </div> 340 340 <a class="wpw_previous wpw_click_button"> 341 341 <?php echo wpw_lng_conversely_string('<div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <g class="nc-icon-wrapper" fill="#ffffff"> <path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"></path> </g> </svg></div>',__('Previous','wp-writup'),'<div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <g class="nc-icon-wrapper" fill="#ffffff"> <path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"></path> </g> </svg></div>'); ?> 342 342 </a> 343 343 <a class="wpw_addkey_btnfinish wpw_next wpw_hide wpw_click_button"> 344 344 345 345 <?php echo wpw_lng_conversely_string('<div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <g class="nc-icon-wrapper" fill="#ffffff"> <path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"></path> </g> </svg></div>',__('Finish','wp-writup'),'<div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <g class="nc-icon-wrapper" fill="#ffffff"> <path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"></path> </g> </svg></div>'); ?> 346 346 </a> … … 357 357 <span class="keyword keyword1bis tab" data-value="<?php echo $keyword1; ?>"> 358 358 <div> 359 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_add"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"></path> </g> </svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg><?php echo $keyword1; ?> <?php echo $keyword_count;?> 359 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_add"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"></path> </g> </svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg><?php echo $keyword1; ?> <?php echo $keyword_count;?> 360 360 </div> 361 361 </span> … … 377 377 </span> 378 378 </div> 379 <legend class="subtitle"><?php _e('Lexical keywords','wp-writup');?> :</legend> 379 <legend class="subtitle"><?php _e('Lexical keywords','wp-writup');?> :</legend> 380 380 <div class="keywords3bis"> 381 381 <span class="words"> … … 416 416 <div class="wpw_bar"></div> 417 417 </div> 418 </div> 418 </div> 419 419 </div> 420 420 <div class="load_text"><?php _e('Octave prepares the semantics of this writing, this operation takes a few minutes.',"wp-writup");?> <br /><?php _e('The operation is carried out in the background, you can continue your work, your navigation or close your browser.',"wp-writup");?></div> … … 431 431 <div id="wpw_cloud_keyword" class="jqcloud wpw_cloud"></div> 432 432 </div> 433 433 434 434 </div> 435 435 <div id="wpw_finish_5" class="wpw_hide"> 436 436 <div class="configuratio_core"> 437 437 <div class="conf_left"> 438 <legend class="subtitle"><?php _e('Meta title','wp-writup');?> : <div id="limit_title" class="gp_limit">0/ 60</div></legend>438 <legend class="subtitle"><?php _e('Meta title','wp-writup');?> : <div id="limit_title" class="gp_limit">0/75</div></legend> 439 439 <input class="wpw_inputf" name="wpw_metatitle" id="iptgp_title" placeholder="<?php _e('Enter your meta title','wp-writup');?>" value="<?php if(!empty($Get->wpw_metatitle)){ echo $Get->wpw_metatitle; }else{ echo the_title();} ?>" /> 440 440 <div id="gp_title_gradient" class="wpw_title_gradient"></div> 441 <legend class="subtitle"><?php _e('Meta description','wp-writup');?> : <div id="limit_decp" class="gp_limit">0/ 320</div></legend>442 <textarea class="wpw_inputf" rows="4" id="iptgp_desc" name="wpw_metadesc" placeholder="<?php _e('Enter your meta description','wp-writup');?>"><?php if(!empty($Get->wpw_metadesc)){ echo $Get->wpw_metadesc; }else{ $content = get_post_field( 'post_content', get_the_ID() ); echo substr(trim(preg_replace('/\s\s+/', ' ', strip_tags($content))), 0, 320).'...';441 <legend class="subtitle"><?php _e('Meta description','wp-writup');?> : <div id="limit_decp" class="gp_limit">0/155</div></legend> 442 <textarea class="wpw_inputf" rows="4" id="iptgp_desc" name="wpw_metadesc" placeholder="<?php _e('Enter your meta description','wp-writup');?>"><?php if(!empty($Get->wpw_metadesc)){ echo $Get->wpw_metadesc; }else{ $content = get_post_field( 'post_content', get_the_ID() ); echo substr(trim(preg_replace('/\s\s+/', ' ', strip_tags($content))), 0, 155).'...'; 443 443 } ?></textarea> 444 444 <div id="gp_dsc_gradient" class="wpw_dsc_gradient"></div> … … 453 453 </div> 454 454 </div> 455 455 456 456 </div> 457 457 </div> … … 467 467 </div> 468 468 </div> 469 <?php } 469 <?php } 470 470 public function wpw_box_analyse() { ?> 471 471 <div id="wpw_box_analyse_result"> … … 493 493 <div class="status_analyse"></div> 494 494 <strong></strong> 495 </div> 495 </div> 496 496 <div id="analyse_ttl" class="analyseur_blz wpw_noview"> 497 497 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> … … 513 513 <div class="status_analyse"></div> 514 514 <strong></strong> 515 </div> 515 </div> 516 516 <div id="analyse_h3" class="analyseur_blz wpw_noview"> 517 517 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> 518 518 <div class="status_analyse"></div> 519 519 <strong></strong> 520 </div> 520 </div> 521 521 <div id="analyse_h4h5h6" class="analyseur_blz wpw_noview"> 522 522 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> … … 535 535 <strong class="title_long"></strong> 536 536 <strong class="contenu_long"></strong> 537 </div> 537 </div> 538 538 <div id="analyse_wdc" class="analyseur_blz wpw_noview"> 539 539 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> 540 540 <div class="status_analyse"></div> 541 541 <strong></strong> 542 </div> 542 </div> 543 543 <div id="analyse_wdp" class="analyseur_blz wpw_noview"> 544 544 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> 545 545 <div class="status_analyse"></div> 546 546 <strong></strong> 547 </div> 547 </div> 548 548 <div id="analyse_wdt" class="analyseur_blz wpw_noview"> 549 549 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> 550 550 <div class="status_analyse"></div> 551 551 <strong></strong> 552 </div> 552 </div> 553 553 <div id="analyse_pk1" class="analyseur_blz wpw_noview"> 554 554 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> 555 555 <div class="status_analyse"></div> 556 556 <strong></strong> 557 </div> 557 </div> 558 558 <div id="analyse_pk23" class="analyseur_blz wpw_noview"> 559 559 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> 560 560 <div class="status_analyse"></div> 561 561 <strong></strong> 562 </div> 562 </div> 563 563 <div id="analyse_sk1" class="analyseur_blz wpw_noview"> 564 564 <div class="icon_view wpw_hide"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="wpw_svg_eye"> <g class="nc-icon-wrapper" fill="#124a66"> <path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path> </g> </svg></div> 565 565 <div class="status_analyse"></div> 566 566 <strong></strong> 567 </div> 567 </div> 568 568 <div id="analyse_wdf" class="analyseur_blz disabled_cursor"> 569 569 <div class="status_analyse"></div> -
wp-writup/trunk/_inc/wpw_enqueue.php
r1867753 r1916055 1 <?php 1 <?php 2 2 if(!defined('ABSPATH'))exit; 3 3 function wpw_enqueue() { … … 6 6 wp_enqueue_style( 'wpw_modal_intro', plugins_url( '_assets/css/wpw_modal_intro.css', __DIR__ ),'',WPW_CACHE); 7 7 wp_enqueue_script( 'wpw-start', plugins_url( '_assets/js/_fctn/wpw_start.js', __DIR__ ),'','',WPW_CACHE); 8 wp_enqueue_script( 'wpw-modal-intro', plugins_url( '_assets/js/_fctn/wpw_modal_intro.js', __DIR__ ),'',WPW_CACHE); 9 wp_enqueue_script( 'wpw-metabox', plugins_url( '_assets/js/_fctn/wpw_metabox.js', __DIR__ ),'',WPW_CACHE); 8 wp_enqueue_script( 'wpw-modal-intro', plugins_url( '_assets/js/_fctn/wpw_modal_intro.js', __DIR__ ),'',WPW_CACHE); 9 wp_enqueue_script( 'wpw-metabox', plugins_url( '_assets/js/_fctn/wpw_metabox.js', __DIR__ ),'',WPW_CACHE); 10 10 wp_enqueue_script( 'wpw-global', plugins_url( '_assets/js/_fctn/wpw_global.js', __DIR__ ),'',WPW_CACHE); 11 11 wp_enqueue_script( 'wpw-turnapp', plugins_url( '_assets/js/_fctn/wpw_turnapp.js', __DIR__ ),'',WPW_CACHE); … … 19 19 wp_enqueue_script( 'wpw-jqcloud', plugins_url( '_assets/js/lib/jqcloud.min.js', __DIR__ ),'',WPW_CACHE); 20 20 if(get_locale()=="ar"){ 21 wp_enqueue_style( 'wpw_lng_ar', plugins_url( '_assets/css/wpw_lng_ar.css', __DIR__ ),'',WPW_CACHE); 21 wp_enqueue_style( 'wpw_lng_ar', plugins_url( '_assets/css/wpw_lng_ar.css', __DIR__ ),'',WPW_CACHE); 22 22 } 23 23 } … … 48 48 wp_enqueue_script( 'wpw-modal-animated', plugins_url( '_assets/js/_fctn/wpw_modal_animated.js', __DIR__ ),'',WPW_CACHE); 49 49 wp_enqueue_script( 'wpw-manage-sub', plugins_url( '_assets/js/_fctn/wpw_manage_subscription.js', __DIR__ ),'',WPW_CACHE); 50 wp_enqueue_script( 'wpw-stripe-lib', plugins_url( '_assets/js/lib/stripe.min.js', __DIR__ ),'',WPW_CACHE); 50 wp_enqueue_script( 'wpw-stripe-lib', plugins_url( '_assets/js/lib/stripe.min.js', __DIR__ ),'',WPW_CACHE); 51 51 wp_enqueue_script( 'wpw-stripe', plugins_url( '_assets/js/_fctn/wpw_stripe.js', __DIR__ ),'',WPW_CACHE); 52 52 } … … 63 63 case 'wpw-modal-intro': 64 64 $tag = str_replace( " src", " id='wpw_modal_intro' wpw_url_ajax='".WPW_URL_AJAX."' src", $tag ); 65 break; 65 break; 66 66 case 'wpw-manage-sub': 67 67 $tag = str_replace( " src", " id='wpw_manage_sub' wpw_url_ajax='".WPW_URL_AJAX."' wpw_ukey='".WPW_UKEY."' wpw_token='".WPW_TOKEN."' wpw_path='".WPW_PATH."' wpw_ysu='".WPW_UKEY."' wpw_wpkey='".WPW_WPKEY."' wpw_license='".WPW_LICENSE."' wpw_agreement='".WPW_AGREEMENT."' wpw_install='".WPW_INSTALL."' wpw_url_adm='".WPW_URL_ADM."' wpw_external_acc='".WPW_EXTERNAL_ACC."' src", $tag ); 68 break; 68 break; 69 69 case 'wpw-stripe': 70 70 $tag = str_replace( " src", " id='wpw_stripe' wpw_pk_key='".WPW_STRIPE_PK."' wpw_url_ajax='".WPW_URL_AJAX."' wpw_url_adm='".WPW_URL_ADM."' wpw_external_acc='".WPW_EXTERNAL_ACC."' src", $tag ); … … 82 82 $tag = str_replace( " src", " id='wpw_stripe' wpw_pk_key='".WPW_STRIPE_PK."' wpw_url_ajax='".WPW_URL_AJAX."' wpw_url_adm='".WPW_URL_ADM."' src", $tag ); 83 83 break; 84 case 'wpw-speech':85 $tag = str_replace( " src", " id='wpw_speech' wpw_url_assets='".WPW_URL_ASSETS."' src", $tag );86 break;87 84 } 88 85 return $tag; -
wp-writup/trunk/_inc/wpw_fnc.php
r1769827 r1916055 1 1 <?php 2 2 if(!defined('ABSPATH'))exit; 3 4 function wpw_pages_columns( $columns ){ 5 $new_columns = array(); 6 foreach( $columns as $key => $value ) { 7 $new_columns[ $key ] = $value; 8 if ( $key == 'date' ) 9 $new_columns[ 'wpwritup' ] = '<svg id="wpw_writup_logo_min" data-name="wpw_writup_logo_min" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29.44 23.89" style=" height: 18px; "><defs><style>.cls-1{fill:#29c5e5;}.cls-2{fill:#fff;}.cls-3{fill:#393f3f;}</style></defs><path class="cls-1" d="M29.71,17.27v4.18a5.52,5.52,0,0,1-4.5,5.42h0a5.46,5.46,0,0,1-1,.1,5.53,5.53,0,0,1-4-1.73,5.54,5.54,0,0,0,.34-1.9V19.17H18.66v4.18a3.68,3.68,0,0,1-2.58,3.51l-0.07,0a5.63,5.63,0,0,1-2,0l-0.07,0a3.68,3.68,0,0,1-2.58-3.51V19.17H9.46v4.18a5.56,5.56,0,0,0,.34,1.89,5.47,5.47,0,0,1-5,1.63h0a5.53,5.53,0,0,1-4.5-5.42V17.27H2.12v4.18a3.62,3.62,0,0,0,.46,1.76c0.08,0.13,1.52,2.19,3.12.35,1-1.2-.24-3.84-0.24-3.84h0a10.93,10.93,0,0,1-1.53-5.6,11,11,0,1,1,20.56,5.6h0s-1.28,2.64-.24,3.84c1.61,1.85,3-.25,3.12-0.35a3.62,3.62,0,0,0,.45-1.76V17.27h1.85Z" transform="translate(-0.27 -3.09)"/><path class="cls-2" d="M19.27,11.68a4.27,4.27,0,1,1-2.65-4A2.18,2.18,0,1,0,19,10.11,4.19,4.19,0,0,1,19.27,11.68Z" transform="translate(-0.27 -3.09)"/><path class="cls-3" d="M19,10.11a2.18,2.18,0,1,1-2.35-2.39A4.3,4.3,0,0,1,19,10.11Z" transform="translate(-0.27 -3.09)"/><path class="cls-3" d="M13.19,18.37l0.57,0.13c0.17,0,.37.07,0.58,0.1a4.39,4.39,0,0,0,.66.06,3.54,3.54,0,0,0,.66,0,3.61,3.61,0,0,0,.57-0.1,2.89,2.89,0,0,0,.4-0.12l0.15-.05a2.29,2.29,0,0,1-.5.31,2.43,2.43,0,0,1-.59.18,3.7,3.7,0,0,1-.7.06,4.63,4.63,0,0,1-.69-0.1,3.87,3.87,0,0,1-.58-0.18A2.73,2.73,0,0,1,13.19,18.37Z" transform="translate(-0.27 -3.09)"/></svg>'; 10 } 11 return $new_columns; 12 } 13 3 14 function wpw_posts_columns( $columns, $post_type ) { 4 15 switch ( $post_type ) { -
wp-writup/trunk/readme.txt
r1867753 r1916055 7 7 Requires at least: 4.4+ 8 8 Tested up to: 4.9 9 Stable tag: 1.1. 89 Stable tag: 1.1.9 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 58 58 59 59 == Changelog == 60 = WP Writup 1.1.9 is now available to Beta users = 61 * FIXED : Versions supportées PHP 7.1.20 & 7.2.0 60 62 61 63 = WP Writup 1.1.8 is now available to Beta users = 62 * UPDATE : Preview google64 * NEW : Dicter du texte (Reconnaissance vocale) 63 65 64 66 = WP Writup 1.1.7 is now available for everyone = … … 133 135 = WP Writup 0.9.0 is now available to Beta users = 134 136 * Version Release Candidate 135 * Tests unitaires, tests d'intégration, tests fonctionnels 137 * Tests unitaires, tests d'intégration, tests fonctionnels 136 138 137 139 = WP Writup 0.8.0 is now available to Beta users = -
wp-writup/trunk/wpwritup.php
r1867753 r1916055 5 5 Description: Le compagnon idéal pour la rédaction de vos pages de contenu WordPress. 6 6 Author: Dailycom Agency. 7 Version: 1.1. 87 Version: 1.1.9 8 8 Text Domain: wp-writup 9 9 Domain Path: /languages/ … … 20 20 */ 21 21 function WPW_get_version() { 22 if ( ! function_exists( 'get_plugins' ) )23 require_once( ABSPATH . 'wp-admin/includes/plugin.php' );24 $plugin_folder = get_plugins( '/' . plugin_basename( dirname( __FILE__ ) ) );25 $plugin_file = basename( ( __FILE__ ) );26 return $plugin_folder[$plugin_file]['Version'];22 if ( ! function_exists( 'get_plugins' ) ) 23 require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 24 $plugin_folder = get_plugins( '/' . plugin_basename( dirname( __FILE__ ) ) ); 25 $plugin_file = basename( ( __FILE__ ) ); 26 return $plugin_folder[$plugin_file]['Version']; 27 27 } 28 28 // Récupération des indispensable 29 29 require_once dirname( __FILE__ ) . '/_inc/init.php'; 30 if(WPW_VERSION!=WPW_get_version()){ 31 $Cleaning = 'xed25'; 32 WPW_get_define(WPW_get_version(),$Cleaning); 33 } 30 $Cleaning = 'xed25'; 31 WPW_get_define( WPW_get_version(), $Cleaning ); 34 32 35 33 // Activate, Disabled … … 60 58 add_filter( 'manage_posts_columns', 'wpw_posts_columns', 10, 2 ); 61 59 add_action( 'manage_posts_custom_column', 'wpw_posts_columns_contenu', 10, 2 ); 62 add_filter( 'manage_pages_columns', 'wpw_p osts_columns', 10, 2);60 add_filter( 'manage_pages_columns', 'wpw_pages_columns', 10 ); 63 61 add_action( 'manage_pages_custom_column', 'wpw_posts_columns_contenu', 10, 2 ); 64 62 add_action('admin_head', 'wpw_style_admin'); … … 106 104 */ 107 105 function WPWriting_CreateTable(){ 108 global $wpdb;106 global $wpdb; 109 107 $wpw_db = $wpdb->prefix."wp_writup"; 110 if($wpdb->get_var("show tables like '{$wpw_db}'") != $wpw_db)111 {112 $wpw_sql_creat = "CREATE TABLE " . $wpw_db . " (`id` mediumint(9) NOT NULL AUTO_INCREMENT,`license` text,`agreement` text,`wpkey` text,`path` text,`install` text,`registration` text, `wpw_ukey` text, `wpw_token` text, `wpw_help` char(1), UNIQUE KEY id (id));";108 if($wpdb->get_var("show tables like '{$wpw_db}'") != $wpw_db) 109 { 110 $wpw_sql_creat = "CREATE TABLE " . $wpw_db . " (`id` mediumint(9) NOT NULL AUTO_INCREMENT,`license` text,`agreement` text,`wpkey` text,`path` text,`install` text,`registration` text, `wpw_ukey` text, `wpw_token` text, `wpw_help` char(1), UNIQUE KEY id (id));"; 113 111 $wpdb->query($wpw_sql_creat); 114 112 $wpw_install = wpw_genrandom_string(18); 115 113 $wpdb->query($wpdb->prepare("INSERT INTO $wpw_db (id,license,agreement,wpkey,path,install,wpw_ukey,wpw_token,wpw_help) VALUES(%d,%s,%s,%s,%s,%s,%s,%s,%d)", array(1,'','','','',$wpw_install,'','',1))); 116 }114 } 117 115 } 118 116 /** … … 120 118 */ 121 119 function WPWriting_DelectTable(){ 122 global $wpdb;120 global $wpdb; 123 121 $wpw_table = $wpdb->prefix."wp_writup"; 124 122 $sql = "DROP TABLE IF EXISTS " . $wpw_table. ";"; … … 152 150 return true; 153 151 } 152 153 154
Note: See TracChangeset
for help on using the changeset viewer.